PDA

View Full Version : I bypass checkout_success.php


mick106153
07-08-2009, 05:31 PM
When I submit an order I am taken to confirm.php, once there I click on "Submit Order" and am taken directly to thankyou.php not to checkout_success.php as you do in your online demo of PowerStore.
I do receive an email receipt and order confirmation.
Your Thoughts?

Mick

http://014da19.netsolhost.com/INTUHORSES_dbtest/

Ray Borduin
07-09-2009, 06:57 AM
Open up the confirm page in Dreamweaver and search for "thankyou.php". Where does it appear in the code? If everything else works you may just need to update the redirect.

Please post a support incident if you didn't update the files and are having this problem. We would want to look at your files and see how and where they might have changed.

mick106153
07-09-2009, 08:55 AM
You are right of course.
Lines 322-324 in confirm.php…

$WAGatewayResponse = AuthNet_Post($AuthNet_required,$AuthNet_itemized,$ AuthNet_optional);
if ($WAGatewayResponse) {
$WA_Store_Cart->redirStr = "thankyou.php";

I've changed to…

$WAGatewayResponse = AuthNet_Post($AuthNet_required,$AuthNet_itemized,$ AuthNet_optional);
if ($WAGatewayResponse) {
$WA_Store_Cart->redirStr = "checkout_success.php";
and it works as expected.

Two questions.
First. Is this the result of implementing Authorize.net?
Second. What is thankyou.php for anyway?

Mick

Ray Borduin
07-09-2009, 08:57 AM
You specified the page when you implemented authorize.net, so yes it does have to do with that.

the thank you page I believe is for after you register... or maybe after you send an email contact.