Multiple URL for auto-return url for paypal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a site in that there are two different process related to paypal.
I use standard paypal method.
I had put one Url to auto-url in paypal.
But i face problem with other link for which there is no auto-url set up.
It works well when i manually click to return. But when its auto redirected it goes to the url which is set in paypal.
Both the paypal process use same account.
Any solution rather then changing my complete code?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would need to include the "return" variable in your item button code. Doing so will override the URL you have setup in your Account Profile.
If you are manually coding your item button code, you would include this line of code in your item button code:
<!-- Replace value with the web page you want the customer to return to after a successful transaction --> <input type="hidden" name="return" value="http://www.yourwebsite.com/yourwebpage.html">
If you are using the online button creator, you can go back to My saved buttons and modify your code. In Step 3, look for "Take customers to this URL when they finish checkout". Check the Box and enter your URL. Then save.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PayPal Debit Card unreliable method of payment! in About Payments (Archive)
- paypal scam and hacks. in About Protections (Archive)
- Add Money to Paypal zero or positive balance from Bank Account - Policy change as of June 2016 in About Payments (Archive)
- Currency Conversion not working in Paypal Subscription button in About Payments (Archive)
- Paypal Credit Isn't Working Anybody Else Having Problem?? in About Products (Archive)