 |
 |
Showing the Correct "Approved" or "Declined" Response from Authorize.net
Displaying a "Success" or "Transaction Failed" Page
You can use the response from authorize.net to either show a thank you page or show a "payment incomplete" page with a link to go back and fill out the form again. The steps involved are: - Set up two autoresponder profiles, one named "failed" and one named "success". While testing, use the built in Post Submission Thank You page and dump all of the [Authorize_* variables/fields onto the page. This will help us to see what is coming back from authorize and to ensure the correct profile is being triggered.
- Next, create the Success Rule, that will display the "Success" Profile. The rule should check the [authorize_responsecode] field for a value of "Approved".
- The 2nd Rule, that will trigger the failure profile should check for "Error" in the [authorize_responsecode] field.
Once those rules and profiles are setup you can begin testing your form. Remember also, you can select "TESTMODE = TRUE" in the Authorize.net Profile Setup to run test transactions. The results from Authorize.net will help you ensure everything is setup and running smoothly.
HINT: On the "payment incomplete" page, you can use this code to create a link back to the form. The form will remain populated so the user does not need to enter all their information again. The code to put on your autoresponder page is:
<a href="javascript:history.go(-1)">Click here to go back and try again</a>.
Note: When adding this code in the post submission thank you page editor, you must first toggle to source code mode or you can optionally use the link menu to insert this code.
Return to KB Article Index
|
|
 |
 |
|
 |
|
 |
|
 |
|
 |
"The Logiforms forms integrated smoothly with our website. Our website is one of the primary means of communication with our clients and it was imperative that the forms look like they were hosted on our own site -- Logiforms does all the hard work and we get all the credit."
Shahid Shah
Marketing Manager
Netspective Corporation
|
|
 |
"I have referred numerous people to your service as I feel it is the best hosted forms solution I've seen.
My service provides basic contact us, newsletter, and survey forms, but when I get customers who need a more
customized solution, I refer them to you."
Josh Jacobs
VP Sales & Marketing
Bigstep.com
|
|
 |
 |
Web Design Resources
Check out these other great sites.
|
|
|
|
|
 |