Get started
Color

Connect PayPal

Create a PayPal developer app, copy its credentials and connect them so Pop Dispatch can verify your PayPal account.

For
OwnerAdministrator
Hosting
Office serverYour own hosting
Devices
ServerWeb browser
Business
All businesses

Checked against Pop Dispatch 0.1.0

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 #

  1. Open the PayPal Developer Dashboard at developer.paypal.com and sign in.
  2. Open Apps & Credentials.
  3. Create an app. Give it a name you will recognize.
  4. 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 #

  1. Open Settings > Connections and find "PayPal payments".
  2. Type the Client ID and Client secret.
  3. In Mode, type sandbox while you test, or live when you are ready for real payments.
  4. Select "Save details", then "Switch on".
  5. 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.