VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Payment Modules => Topic started by: xavier_BL on February 16, 2006, 15:15:33 PM

Title: On which page can i redirect my shoppers once the payment is finished
Post by: xavier_BL on February 16, 2006, 15:15:33 PM
Hello,

I  send my shoppers to a specific url for payment, so i create my payment method like paypal one.
When the shopper has chosen all the products he wants, the final step is replaced by the payment page where he seized his card number. He validates the form and then, a confirmation page appears with a button to come back to the merchant site.

My question is: on which page can i redirect the shoppers.

Is there a response page on  VirtueMart?

Thank you a lot for your help and congratulations for your payment module which is very easy to use and very easy to add modules.
Title: Re: On which page can i redirect my shoppers once the payment is finished
Post by: deneb on February 17, 2006, 06:56:47 AM
in the PayPal config...Payment Extra Info

"cancel_return" => SECUREURL ."index.php"

this brings user back to Joomla home page

example:
bring them back to shop index:
"cancel_return" => SECUREURL ."index.php?option=com_virtuemart"

"cancel_return" is PayPal's variable name. You can use this name or another in your script on the 'specific url'.
Title: Re: On which page can i redirect my shoppers once the payment is finished
Post by: xavier_BL on February 17, 2006, 09:39:47 AM
Ok
Thank you for your help