使用哪种 PAYPAL 方式?
我正在工作一个电子商务网站,付款完成后就可以下载 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我只想使用 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.