问题描述
当PayPal通知我付款时,我需要包括一个自定义字段.我正在尝试使用高级变量,但是我看不到可以使它们动态化的方法.
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.
假装我有一个值为"plugh"的字段"xyzzy".我希望贝宝将form.xyzzy = plugh包含在它发送到我的notify_url的所有其他字段中.
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.
当然,xyzzy的值可能是"foo",具体取决于用户的需求.
Of course, the value of xyzzy might be "foo", depending upon what they user wants.
推荐答案
只有自定义":输入type ="hidden" name ="custom" value ="plugh"
There's only "custom": input type="hidden" name="custom" value="plugh"
这也将在 IPN 消息中返回.
这篇关于按钮上的“自定义贝宝"字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!