Custom Paypal field on button

限于喜欢 提交于 2019-12-23 12:36:26

问题


I need to include a custom field when PayPal notifies me of a payment. I'm trying to use the advanced variables, but I don't see a way that I can make them dynamic.

Pretend I have a field "xyzzy" with a value of "plugh". I would like PayPal to include form.xyzzy=plugh with all the other fields that it sends to my notify_url.

Of course, the value of xyzzy might be "foo", depending upon what they user wants.


回答1:


There's only "custom": input type="hidden" name="custom" value="plugh"

This is returned in the IPN message as well.



来源:https://stackoverflow.com/questions/6833192/custom-paypal-field-on-button

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!