PayPal IPN - 发送链接以支付金额?

发布于 2024-09-16 04:08:35 字数 172 浏览 1 评论 0原文

我有一个使用 IPN 的 PayPal 实施,它工作正常。但是,在某些情况下,我需要能够向用户发送一封电子邮件,其中包含点击并支付发票金额的链接。我不太确定如何做到这一点 - 我知道我可以使用查询字符串变量将它们发送到我网站上的特定页面 - 但是 PP 代码会是什么样子让用户看到一个按钮,上面写着 - “支付 X点击此处金额”。

I have a PayPal implementation using IPN and it works fine. However, in some cases, I will need to be able to send out an email to a user with a link to click on and pay an invoice amount. I'm not really sure how to do this - I know I can send them to a particular page on my site with query string variables - but what would the PP code look like to have the user see a button that says - "Pay X amount by clicking here".

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

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

发布评论

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

评论(1

野鹿林 2024-09-23 04:08:35

用户下“订单”后,他们应该付款。您应该向他们发送一个没有过多变量的链接。类似于:

http://www.yoursite.com/PayInvoice.aspx?i=ENCODED_INVOICE_NUMBER

然后当他们登陆发票页面时。您可以从查询字符串中的“o”参数检索发票信息。加载发票摘要(产品列表等),并在底部/顶部有一个按钮,显示“立即付款”。

After the user places the "order" they are supposed to pay. You should send them a link that is not overloaded with variables. Something like:

http://www.yoursite.com/PayInvoice.aspx?i=ENCODED_INVOICE_NUMBER

Then when they land on the invoice page. You can retrieve the information for their invoice from the "o" parameter in the query string. Load the invoice summary (list of products, etc...) and have button at the bottom/top saying "Pay Now".

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