> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-alipay-cross-border-payment-extension/configuration.md). Agents can also search and read this documentation through its [MCP server](https://docs.magecomp.com/~gitbook/mcp).

# 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FvAnCkqrKW7AwvGkEDMoM%2Fimage.png?alt=media&amp;token=12f095d1-2ff6-437f-9fd0-8c9bf29ec20d" 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FNZgEbjKNJyY8ImGxe8Ju%2Fimage.png?alt=media&amp;token=99a9b61b-da87-4b26-a8e6-6741e1124ca4" 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.
