Recently researched the next PayPal payment.
Previous tutorials were less accurate because of recent updates to the PayPal test site.
In simple words, three steps:
1, registered PayPal official account. Https://www.paypal.com/c2/webapps/mpp/merchant
2. Log in to the test environment with an official account. https://developer.paypal.com/
After login, in Application->sandbox accounts->create account, add two test accounts, one is a buyer, one is a merchant.
3, Login test account, can view account information. Https://www.sandbox.paypal.com/c2/webapps/mpp/home
In addition, you can check the official documentation for the interface or anything else.
The main trading process is to send the form (including parameters) to PayPal, jump to PayPal to pay, and then specify the URL to pay for the success immediately.
PayPal will request this IPN URL, and then the database processing.