[Resolved] WooCommerce Return URL setting for PayPal?
I have more than one shop using the same PayPal account. When I only had one shop I set the “Return URL” in my PayPal account to yoursite.com/checkout/order-received/
as described here: http://wcdocs.woothemes.com/user-guide/payment-gateways-user-guide/paypal-standard/#section-4
PayPal handles multiple sites per account by allowing us to add separate “return URL”-parameter in the PayPal form value set going from our apps to PayPal like this:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<input type="hidden" name="notify_url" value="[YOURSITEURL_WHICH_HANDLES_IPN]"> <input type="hidden" name="return" value="[YOUR_SITE_URL_WHICH_HANDLES_RETURN_URL]"> <input type="hidden" name="_notify-synch:cmd" value="_notify-synch">\
This works only if your turn off the “hard” return URL sat in the PayPal account settings.
(Since now that information is supposed to follow the order information form, and is specific to each site connected to the common Paypal account)
Like you can see in the order form code above, this is easy to do.
The problem is that I can’t find any parameter in WooCommerce settings for the return URL. Please help!
- The topic ‘[Resolved] WooCommerce Return URL setting for PayPal?’ is closed to new replies.