# 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.

{% 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

How you configure Alipay (domestic) depends on whether you're using [DigitalRiver.js with Elements](https://docs.digitalriver.com/digital-river-api/payments/payment-integrations-1/digitalriver.js) or [Drop-in payments](https://docs.digitalriver.com/digital-river-api/payments/payment-integrations-1/drop-in).

| DigitalRiver.js with Elements                                                                                                                           | Drop-in payments                                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| [Configuring Alipay (domestic)](https://docs.digitalriver.com/digital-river-api/payments/payment-integrations-1/digitalriver.js/payment-methods/alipay) | [Payment methods in Dashboard](https://docs.digitalriver.com/digital-river-api/administration/dashboard/settings/payment-methods) |

## How it works

Alipay (domestic) uses a [submit then redirect (STR) payment flow](https://docs.digitalriver.com/digital-river-api/integration-options/checkouts/building-you-workflows/handling-redirect-payment-methods).

## Supported markets

For information on supported markets and currencies for Drop-in and DigitalRiver.js, go to:

* **Payment Method Guide:** digitalriver.com/payment-method-guide
* **Country Guide:** digitalriver.com/country-guide/


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/digital-river-api/payments/supported-payment-methods/alipay-domestic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
