【发布时间】:2010-02-21 00:20:36
【问题描述】:
我有一个快速的问题,我正在为 paypal 设置定期订阅,我无法配置但保存按钮,(不像 web_accept 我可以在表单中定义所有变量以发送......)所以结果像这样的表格:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="KN7ACTU8MVZNE">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
这样基本上可以识别保存的按钮并处理我的请求...
现在我希望从我的购物车数据库中识别一个 ID,例如 1122 将其发送到贝宝并在回发时接收它,在正常的网络支付标准上,我会发送如下内容:
<input type="hidden" name="custom" value="1122">
我会收到带有该自定义变量的 ipn 通知...
在 subscr_signup 版本中是否仍然可用?有保存的按钮吗?
【问题讨论】:
标签: postback paypal paypal-ipn recurring