每笔交易使用不同的 PayPal IPN URL
我已经了解并知道如何使用 IPN 进行 PayPal 付款,但我遇到了一个小问题。使用 IPN,您需要在 PayPal 文件中输入 IPN 地址,以便它知道您已收到付款(即时激活产品)。如果我有多个站点,则无法执行此操作,因为它只允许一个。
我已经看到 WHMCS 系统设法使用网站付款标准(不需要任何 IPN 设置)来做到这一点,其中用户的发票在付款发送后被标记为已付款。用户不需要被重定向到另一个页面,作为卖家,您需要输入的唯一信息是您的 PayPal 电子邮件,以便开始工作。
有谁知道这是如何工作的以及在哪里学习?
感谢您的帮助
I have seen and know how to use IPN for paypal payments but I am having a small issue. With IPN you need to enter an IPN address to your PayPal File so it knows you got sent the payment (Instant Activation of Product). If I have multiple sites, I can't do this as It only allows one.
I have seen the WHMCS system manage to do this using Website Payments Standard (Does not require any IPN Settings) where the user's invoice is marked as paid after the payment is sent. The user does not need to be redirected to another page and as a seller, the only info you need to put in is your paypal email for things to start working.
Does anyone know how this works and where to learn this?
Thank you for your help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过传入
notify_url
以及表单中的其他数据来指定每笔交易的 IPN URL。例如
这将覆盖您在 PayPal 个人资料中设置的任何内容。
You can specify a per-transaction IPN URL by passing in
notify_url
along with the other data in the form.E.g.
<input type="hidden" name="notify_url" value="http://....">
This will override whatever you have set up within your PayPal Profile.