Forum Moderators: buckworks
If I have a button that still works, but uses their old coding, is there a snippet of code that I can add that would redirect a buyer to a specific URL of a website after checking out through Paypal?
In other words, if the old code looks like:
input type="hidden" name="add" value="1"
input type="hidden" name="cmd" value="_cart"
input type="hidden" name="business" value="me@mysite.com"
input type="hidden" name="item_name" value="Widget"
input type="hidden" name="item_number" value="WIDGET"
input type="hidden" name="amount" value="50.00"
input type="hidden" name="currency_code" value="USD"
Is there a snippet of code that I can add so that a buyer is redirected to a confirmation/thanks page?
I sent Paypal tech support an email asking this exact same question just in case I didn't get an adequate response on here. Paypal tech support emailed me saying that I couldn't update the code (per your suggestion), I'd have to recreate all of the buttons one by one in Paypal.
Gotta love Tech Support.
On that, in retrospect,
If I have a button that still works, but uses their old coding, is there a snippet of code that I can add that would redirect a buyer to a specific URL of a website after checking out through Paypal?
It won't actually redirect, it refers to the "return to Merchant" link, but in the PayPal account there should be a return url setting if you only have one purchase type. Worth looking into.