> For the complete documentation index, see [llms.txt](https://useepay.gitbook.io/useepay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://useepay.gitbook.io/useepay/plugins/opencart-1.md).

# OpenCart

注意：如果之前已经装过 UseePay 插件，请先卸载之前安装 UseePay 支付插件，再重新安装。

{% file src="/files/DqXwVDY9s3OM7Xbvd2oi" %}

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2F1impsfHjtoGUb3bCnM0v%2F1.png?alt=media&amp;token=2af890ed-1f31-4329-b144-0bb971861041" alt=""><figcaption></figcaption></figure>

1、上传插件中的 admin 和 catalog 文件夹到网站相应目录下（保持相同目录结构，注意不要 删除相应目录下的其他文件）

2、进入管理页面的 Extensions->Extensions 菜单下，选择 extension type 为 Payments

![](https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FZdyCPwJb1vqG7d2PeP3E%2F%E5%9B%BE%E7%89%878.png?alt=media\&token=937825c9-4343-4509-81dc-2c6aa86f64ed)

**3、找到 UseePay  支付方式，点击操作按钮**![](https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2F6XbRityVuCFKcFJlBCQZ%2F%E5%9B%BE%E7%89%879.png?alt=media\&token=6bf41533-c623-4d30-ba5d-301a73aa39ad)，**进行支付方式添加**

![](https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FMOENWfsmwBx8WF2q5ZOP%2F%E5%9B%BE%E7%89%8710.png?alt=media\&token=0aada345-9699-4ff7-8039-34f9557b9b8a)

4、**添加完成后，点击操作按钮**![](https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FWzc7DAMPA7uPZfwNJHLM%2F%E5%9B%BE%E7%89%8711.png?alt=media\&token=53416dbe-699d-4d17-a1c4-760189785969)**，进行支付参数配置**

![](https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FhyrZIhx0Qu0BwOfstu3b%2F%E5%9B%BE%E7%89%8712.png?alt=media\&token=9a6da0b3-e30a-45f8-b06c-8ae89775d768)

5、**配置支付参数设置，除特殊标红的参数外，其他参数可使用默认值，区分测试环境和生产 环境。**

特别提醒：

域名必须为已在 MC 商户控台审核通过的域名

若要启用 UseePay 支付请务必将 Status 设置为 Enabled

使用生产环境参数配置完成后，才可以正式收单

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FFE7ciexIiR0rR5UA651N%2F78.jpeg?alt=media&amp;token=b4f1e731-5627-4a5c-838b-0ffbfe618696" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FauIXvwrG6icI5V29mx7T%2F77.png?alt=media&amp;token=8473e28c-5f32-49d4-a80e-362d1bcbd910" alt=""><figcaption></figcaption></figure>
