Looking for paypal payments tutorial [closed]

丶灬走出姿态 提交于 2019-12-03 08:56:12

问题


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.

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.

Does such a tutorial exist?

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.


回答1:


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




回答2:


PayPal has multiple ways to accept payment. Here is the site to PayPal developer site where you will find all the options: https://www.x.com/community/ppx/dev-tools




回答3:


Here is a good tutorial on how to integrate your shopping cart with PayPal Website Payments Standard.

The PayPalIPN class provided by the toolkit I developed handles the entire IPN confirmation under the hood. You only need to get the data and update the order in the database. Optionally, you can also notify the customer with your own customized invoice or other information.



来源:https://stackoverflow.com/questions/5593136/looking-for-paypal-payments-tutorial

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!