Skip to main content

Alipay Integration

Alipay Logo

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

  1. Prerequisites: what to set up in the DNA Payments portal before integrating.
  2. Integration: full step-by-step guide and API reference.
  3. Full Example: copy-paste-ready HTML.
  4. Testing: sandbox scenarios and expected events.
  5. Handling Error Codes: every error the component can emit.
  6. Deployment: go-live checklist.