PayPal return URL
Posted
by Sam
on Stack Overflow
See other posts from Stack Overflow
or by Sam
Published on 2010-04-29T10:35:07Z
Indexed on
2010/04/29
10:37 UTC
Read the original article
Hit count: 364
Here's the code for my Paypal button:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="rm" value="0">
<input type="hidden" name="return" value="http://www.example.com">
<input type="hidden" name="item_name" value="My Item">
<input type="hidden" name="amount" value="25.00">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="bn" value="PP-BuyNowBF:proceed_btn.gif:NonHosted">
<input type="hidden" name="item_number" value="4BD9569402CDE">
<input type="image" src="http://www.example.com/image.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
Is it possible to add the item_number
to the return URL?
For example, after completing the payment within PayPal the user gets sent back to http://www.example.com?item_number=4BD9569402CDE
© Stack Overflow or respective owner