Alipay Integration
This guide walks you through integrating the DNA Payments Alipay Component (a QR-based Alipay button rendered by our SDK) into your web application.
The Alipay merchant account, gateway configuration, and the server-side communication with the Alipay backend are handled by DNA Payments. You only need a terminal with Alipay enabled in the portal and a public HTTPS-hosted page.
Looking for WeChat Pay or Alipay+?
If you want to accept WeChat Pay or Alipay+ instead of (or alongside) Alipay, use the dedicated WeChat Pay or Alipay+ component. The integration steps are the same as on this page.
Where to go next
- Prerequisites: what to set up in the DNA Payments portal before integrating.
- Integration: full step-by-step guide and API reference.
- Full Example: copy-paste-ready HTML.
- Testing: sandbox scenarios and expected events.
- Handling Error Codes: every error the component can emit.
- Deployment: go-live checklist.