Multiple URL for auto-return url for paypal

Mxicoders
New Community Member

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.

 

Login to Me Too
1 REPLY 1

snowshoe
Frequent Advisor
Frequent Advisor

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.

 

 

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.