将“自定义”发送至 paypal保存按钮上的变量 iPN 问题

发布于 2024-08-23 02:41:28 字数 879 浏览 5 评论 0原文

我有一个简单的问题,我正在为 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,将其发送到paypal并在回发中接收它,按照我会发送的正常网络支付标准像这样:

<input type="hidden" name="custom" value="1122">

我会收到带有该自定义变量的 iPN 通知...

它在 subscr_signup 版本中仍然可用吗?与保存的按钮?

i have quick question, i'm setting up recurring subscriptions for paypal and i can't configure but saved buttons, (not like web_accept where i could define all the vars in the form to send...) so it results a form like this:

<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>

so basicaly that identifies a saved button and proceses my request...

now i wish to identify one ID from my cart DB say 1122 send it to paypal and receive it on the postback, on the normal web payments standard i would of send something like:

<input type="hidden" name="custom" value="1122">

and i would of get a ipn notification with that custom var...

Is it still availabe in the subscr_signup version? with saved buttons?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寄居人 2024-08-30 02:41:28

是的,除了这种情况,您可以将信息填充到 profile_reference 字段中。事实上,我不能百分百确定我是正确的,但我想我会回答以防万一为您指明正确的方向。

Yes, except in this case, you can stuff information into the profile_reference field. Actually, I'm not 100% sure that I'm correct, but I figured I'd answer just in case to point you in the right direction.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文