Prerequisites
Before you start integrating Alipay, make sure you have the following in place.
What you need
| Artifact | Where to get it |
|---|---|
Alipay-enabled terminal (terminalId) | Provided by DNA Payments. Alipay activation on the terminal is handled by DNA Payments during onboarding: contact your account manager if Alipay is not yet enabled on your terminal. |
OAuth client credentials (clientId / clientSecret) | Provided by DNA Payments after merchant onboarding |
| HTTPS-enabled web server | Your 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 Alipay-side setup: merchant account, gateway configuration, server-side communication with the Alipay backend.
- Generation of the payment order on the Alipay side and the resulting QR code returned to the component.
You only need a DNA Payments terminal with Alipay enabled and a public HTTPS-hosted page.
With these prerequisites in place, you are ready to move on to Integration.