Variables upon submitting Paypal form
<form>
<!--- paypal form --->
</form>
How to send data thru paypal when submitting?
For example:
Upon submitting the form with an #ID value of "12345" and开发者_开发百科 after paying successfully.
It will return back to my site ThankYou.php
Question: how will I get the value 12345? or can I use
//ThankYou.php
<?php
echo $_REQUEST["#ID"];
?>
Thanks in advance!!
PayPal allows you to post custom values. You should be able to put a hidden form field value on your form that will make the trip back on return. Their documentation has all that information.
This may work:
<input type="hidden" name="custom" value="Id value" />
精彩评论