> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/payments/supported-payment-methods/alipay-domestic.md).

# Alipay (domestic)

Established in 2004, Alipay (domestic) is China's leader in third-party online payments and has an estimated 300 million users. It works much like PayPal, where the consumer chooses to make a payment and is directed to the external Alipay (domestic) site, where they enter (or choose existing) payment information.&#x20;

{% hint style="info" %}
Alipay (domestic) does not support recurring payments.
{% endhint %}

Contact your Customer Success Manager and sign an Alipay (domestic) addendum if you want to use Alipay (domestic).

## How to configure&#x20;

How you configure Alipay (domestic) depends on whether you're using [DigitalRiver.js with Elements](/commerce-api/payments/payments-solutions/digitalriver.js.md) or[ Drop-in payments](/commerce-api/payments/payments-solutions/drop-in.md).

<table><thead><tr><th width="413">DigitalRiver.js with Elements</th><th>Drop-in payments</th></tr></thead><tbody><tr><td><a href="/pages/-M24U5R4AA6at9rT3xJe">Configuring Alipay</a><a href="/pages/-M24U5R4AA6at9rT3xJe"> (domestic)</a></td><td><a href="/pages/-M4QkPmjkcIVqKR6tT5J">Drop-in Payments Integration Guide</a></td></tr></tbody></table>

## How it works

Alipay (domestic) uses a [redirect then submit (RTS) payment flow](/commerce-api/payments/building-your-workflows/flows-by-payment-type.md#redirect-then-submit-rts-payment-flow).
