You will connect your own PayPal account so Pop Dispatch can save the credentials and check them with Test connection. PayPal charges you for payments on your account; Pop Dispatch adds no fee. Today this card only saves your account details and runs Test connection.
Before you start #
- You need the owner or manager role.
- Sign in to PayPal with the business account you want to use. Read PayPal's own pages on developer apps and sandbox versus live mode at developer.paypal.com.
Create a REST app #
- Open the PayPal Developer Dashboard at developer.paypal.com and sign in.
- Open Apps & Credentials.
- Create an app. Give it a name you will recognize.
- Copy the Client ID and Secret for the environment you want (Sandbox or Live). PayPal shows the secret once; copy it before you leave the page.
Connect it in Pop Dispatch #
- Open Settings > Connections and find "PayPal payments".
- Type the Client ID and Client secret.
- In Mode, type
sandboxwhile you test, orlivewhen you are ready for real payments. - Select "Save details", then "Switch on".
- Select "Test connection". Pop Dispatch asks PayPal for an access token with your credentials. The test sends no payment and charges nothing.
Technical details
Pop Dispatch checks the connection with a POST to https://api-m.sandbox.paypal.com/v1/oauth2/token when Mode is sandbox, or https://api-m.paypal.com/v1/oauth2/token when Mode is live. The body is grant_type=client_credentials with Basic authentication using the Client ID and Client secret. PayPal documents this at developer.paypal.com.
If something goes wrong #
- "PayPal did not accept the account details": copy the Client ID and Secret again from Apps & Credentials. Check that Mode matches the credentials (sandbox keys with sandbox, live keys with live).
- "PayPal did not answer": check the server's internet connection and try again.