# Configuration

Once you have successfully installed the extension, go to **Store -> Configuration** -> **Sales -> Payment Methods -> Alipay Payment** to configure the extension for use. Here you can find various settings for the Alipay Payment method to configure the extension for use.

Sandbox Details You Can Get From Here: [Alipay Sandbox](https://isandbox.alipaydev.com/user/intlAccountDetails.htm?redirect_from=isandbox-2-1-2.daily.alipaydev.com%40RZ00YSTARtX5JbWpGrcfwC3UCLmnOHauthRZ00GZ00\&app_id=2016071201605841\&source=alipay_wallet\&scope=auth_base\&auth_code=c8be6960bdd64c59b9ecf79e42acQA52)

<figure><img src="/files/KY7NFvtNYtSJATlJ8Jb5" alt=""><figcaption></figcaption></figure>

* **Enabled:** Enable Alipay payment Gateway Extension from here.
* **Title:** Enter payment method title to show in frontend.
* **Partner ID:** Enter partner ID provided while registration with Alipay.
* **Security Code:** Enter security code for Alipay.

<figure><img src="/files/cQApIdcjSffiHffj4RCD" alt=""><figcaption></figcaption></figure>

* **Seller Email:** Enter seller Email ID.
* **Transport:** Select transport from drop down.
* **Staging/Testing Mode:** Set Yes to enable testing mode for Alipay.
* **New Order Status:** Set status for new orders paid with Alipay.
* **Order Status when Payment Accepted by Alipay:** Select order status when payment gets accepted by Alipay gateway.
* **Order Status when Payment Refused by Alipay:** Select order status when payment gets rejected by Alipay gateway.
* **Payment from Applicable Countries:** Select countries to allow payments.
* **Sort Order:** Set sort order to display alipay on top of all payment methods.


---

# 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.magecomp.com/magento-2-alipay-cross-border-payment-extension/configuration.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.
