Reply
Highlighted
Contributor
Posts: 14
Registered: ‎02-23-2015
Accepted Solution

How to prevent form resubmission with DPM?

I'm trying to use the PRG pattern to prevent form resubmmision with Authorize.Net DPM method.  My check out form post s the necesary data to authorize.net with the relay URL posts to my first ASP page on our site, then from that page I have it redirect to a second ASP page.  However, when I refresh the second page, which has the URL displayed on the browser as https://secure.authorize.net/gateway/transact.dll with the content of my second ASP page, it prompt me if I want to resubmit the form, if I click on continue then the original checkout form get resubmitted to authorize.net.  How do I prevent form resubmission with DPM.

 

I have no problem with PayPal in applying this PRG pattern in this situation because I think PayPal redirects to my relay response page while Authorize.Net posts to my relay response page.


Accepted Solutions
Highlighted
Solution
Accepted by topic author phongn
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: How to prevent form resubmission with DPM?

How are you doing the redirect? did you use javascript?

http://developer.authorize.net/api/howitworks/dpm/

View solution in original post


All Replies
Highlighted
Contributor
Posts: 14
Registered: ‎02-23-2015

Re: How to prevent form resubmission with DPM?

This is urgent.  Please help.  

Highlighted
Solution
Accepted by topic author phongn
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: How to prevent form resubmission with DPM?

How are you doing the redirect? did you use javascript?

http://developer.authorize.net/api/howitworks/dpm/