Customers pay with their PayPal balance or with a card through PayPal, and the money goes to your PayPal Business account. PayPal has no sign-in connection for us yet, so you copy two values from your PayPal developer account. What PayPal charges is on PayPal's own website.
Get your Client ID and Secret
- Go to developer.paypal.com and sign in with your PayPal Business account. You need a Business account to take real money.
- At the top of the dashboard, choose Sandbox for testing or Live for real money. Each has its own keys.
- Open Apps & Credentials. The Sandbox and Live tabs are here too.
- Press Create App, give it a name such as your business name, choose the type Merchant and create it. A Default Application already exists and you can use that instead.
- On the app page, copy the Client ID, and show and copy the Secret.
- Keep Accept payments switched on under the app's features. For live payments, your PayPal account must be able to receive payments, with a confirmed email.
Connect it
- In the app, open Settings, then Payment methods.
- Under Pay online, press Connect PayPal.
- Choose Test (use the Sandbox pair) or Real money (use the Live pair).
- Paste the Client ID and the Secret, then press Connect and check.
The app asks PayPal if the pair works and says if it is connected. The secret is stored safely and never shown again.
The webhook
We set up the webhook at PayPal ourselves, so payments show as paid without your help. You do not need to add one.
Tips
- Use the Sandbox pair with Test and the Live pair with Real money. Mixing them is the usual reason for a refusal.
- Use Check again on the connection card after changing anything at PayPal.
- Remove stops new payments through PayPal. Payments already taken stay in your list.
See also: Connect a payment provider, Stripe, Checkout links.