Quick StartWeb AppPayPal Integration

Paypal Integration

Head over to Paypal Developer and create and account. Once you are on the dashboard:

  1. Click on “Testing Tools” -> “Sandbox Accounts”

Paypal
  1. Scroll down and view the details of the business account.

Paypal
  1. Under the REST Api Apps section, copy the Client ID and the Secret.

Paypal
  1. Add the Client ID and the Secret inside the .env file in the NodeJS server.
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=

Test the integration

Take note that when you try to test the integration, you will be redirected to the Paypal login page. In this page, you need to use the credentials of the Personal account. (Check again step 2 where you will have the credentials of the Personal account)