VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: Maurice on May 18, 2009, 13:44:51 pm

Title: After succesful Paypal payment I get checkout.result instead of ThankYou page?
Post by: Maurice on May 18, 2009, 13:44:51 pm
Hello,

I have configured PayPal on the site and did a test with it. I discovered that when a Paypal transaction has been succesfully finished, you get redirected to checkout.result instead of the thank you page.

If I choose Purchase order I do get redirected to the thank you page.

What I want is the standard Thank You page instead of the checkout.result page when I finish a paypal transaction.

Can anyone tell me where to set this?

Maurice
Title: Re: After succesful Paypal payment I get checkout.result instead of ThankYou page?
Post by: Maurice on May 18, 2009, 17:48:57 pm
Ok, never mind. i fixed it already by changing:

"return" => SECUREURL ."index.php?option=com_virtuemart&page=checkout.result&order_id=".$db->f("order_id"),

into

"return" => SECUREURL ."index.php?option=com_virtuemart&page=checkout.thankyou&order_id=".$db->f("order_id"),


Title: Re: After succesful Paypal payment I get checkout.result instead of ThankYou page?
Post by: midnightstyling on February 06, 2010, 01:18:03 am
Thats great. Thanks for your help.

Adam
Title: Re: After succesful Paypal payment I get checkout.result instead of ThankYou page?
Post by: justlovejoomla on May 06, 2010, 08:09:02 am
Hi  -  where you are modifying this - could you let me know which file this code is in - thanks
Title: Re: After succesful Paypal payment I get checkout.result instead of ThankYou page?
Post by: justlovejoomla on May 06, 2010, 08:21:44 am
Oops I see it's just in teh extra info box at the backend -