开发者

Variables upon submitting Paypal form

<form>
    <!--- paypal form --->
</form>

How to send data thru paypal when submitting?

For example:

  1. Upon submitting the form with an #ID value of "12345" and开发者_开发百科 after paying successfully.

  2. 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" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜