使用哪种 PAYPAL 方式?

发布于 2024-08-23 09:40:00 字数 193 浏览 3 评论 0原文

我正在工作一个电子商务网站,付款完成后就可以下载 pdf 文件。 因此,用户将它们放入购物车,单击使用 PayPal 购买,然后返回以在成功页面上看到下载链接。 我已经实施了PDT。 不确定哪个是最好的选择? 请帮忙。我也想处理任何连接丢失的情况,比如用户在 PAYPAL 上完成付款,当返回到我们网站的成功页面时,连接丢失,并且在某些 n 天里,用户也无法访问互联网。

I am working an e-commerce site which will allow pdfs to be downloaded once payment is done.
So, user will put them in a cart, click buy using paypal and from there will come back to see download link on a success page.
I have implemented PDT.
Not sure which is the best option ?
Please help. I want to take care of any connection lost scenario too, like user completes payment at PAYPAL and while returning back to our site's success page, connection is lost and for some n days, user couldnt access internet as well.

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

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

发布评论

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

评论(1

望她远 2024-08-30 09:40:00

我只想使用 IPN。
在数据库中保留包含所有订单项目的记录。
例如订单和订单项目(在 2 个表中)

然后将该主键作为“自定义”变量发送。

然后,您的 iPN 处理程序页面将验证付款,然后通过电子邮件向客户发送其数字商品。

I would just use the IPN.
Keep a record in your database that has all of the order items.
e.g. Order and Order Items (in 2 tables)

Then send that primary key across as the "custom" variable.

Then your ipn handler page will validate the payment and then email the customer their digital goods.

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