寻找贝宝支付教程

2021-12-29 00:00:00 php paypal paypal-ipn paypal-sandbox

我正在寻找一个教程,该教程将向我展示如何接受贝宝付款,因为我对文档不太满意.

I am looking for a tutorial which will show me how to accept paypal payments as I am not having much luck with the documentation.

在教程中,我只需要了解如何在发起支付时捕获唯一标识符,然后在支付通过 ipn 确认支付时使用唯一标识符更新数据库记录.

In the tutorial, I just need to understand how to capture a unique identifier when the payment has been initiated, and then use the unique identifier to update the database record when payment confirms the payment via ipn.

有这样的教程吗?

基本上,我已经开始付款了,即用户可以付款并且付款可以向 ipn 脚本发送通知,但我不知道贝宝接受了哪种付款.

Basically, I already have the payments working i.e. a user can make a payment and payment can send a notification to the ipn script, but I can't tell which payment paypal has accepted.

推荐答案

指南写得很好,涵盖了所有这些:

There guide is pretty well written and covers all of this:

https://cms.paypal.com/cms_content/en_US/files/developer/PP_OrderMgmt_IntegrationGuide.pdf

相关文章