Skip to main content

Prerequisites

Before you start integrating PayPal, make sure you have the following in place.

What you need

ArtifactWhere to get it
PayPal-enabled terminal (terminalId)Test-portal / portal → Settings → Online payment methods → PayPal: see your terminals, find the terminalId, and toggle PayPal on/off per terminal.
OAuth client credentials (clientId / clientSecret)Provided by DNA Payments after merchant onboarding
HTTPS-enabled web serverYour hosting

The OAuth credentials are used to generate an access token on your backend: see Authentication for the full flow.

What DNA Payments handles for you
  • All PayPal-side setup: merchant account, gateway configuration, server-side communication with the PayPal backend.
  • Loading and configuring the PayPal JS SDK based on your terminal settings.
  • Creating and approving the PayPal order against the DNA Payments backend.

You only need a DNA Payments terminal with PayPal enabled and a public HTTPS-hosted page.

With these prerequisites in place, you are ready to move on to Integration.