简体   繁体   中英

Paypal Payment Integration with PHP

I have been searching for Paypal Payment integration code with PHP.

There are too many documents about PayPal Payment API, and I got confused which I have to use.

I hope you can help me what PayPal Code that I can use.

Here is the point for my website payment.

  • PHP website
  • A user will type amount of fund that they want to put on the website.
  • A user clicks submit button and it will redirect to Paypal Page (The user can log in with his or her Paypal account)
  • After the user successfully pay the fund through Paypal, it redirects back to website.

If you know a website or article to figure out this process, please put a comment with the address.

Thank you!

You probably want to use their Adaptive Payments APi. Their site has all the documentation you should need.

If it's a donation site you can use paypal button factory to get a button and add to your site and done. Else go to this site and select digital goods option. https://www.paypal-labs.com/integrationwizard/ This gives you readymade code :) Best part is payment is made on your site. No redirects :)

只是为了扩展我以前的答案,解决方案是1.index.php-付款表格,2.ipn.php-响应Paypal,发送电子邮件并写入数据库的引擎和3.reconcile.php-后端允许收款人查看交易的工具

I have been working on a similar proposition. I have created a simple php/html page that takes an amount, an invoice number and some payer details (name,email and phone). This passes to paypal, processes a payment and then returns. Emails are sent to the sender and receiver of the payment and the payee has a "reconciliation" listing of all payments received. Have a look at ingram.org.au and follow the links to PayMyTradie.. The concept is based on Tradesmen (Electricians, plumbers, etc) who have websites, but, because they dont sell a product, are pretty much excluded from a "shopping cart" payment process. They are excluded no longer and the concept is taking off!!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM