> For the complete documentation index, see [llms.txt](https://asiabill.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://asiabill.gitbook.io/docs/cha-jian-ping-tai/kai-yuan-zi-jian-zhan/zencart.md).

# zencart

请先阅读[开源自建站说明](/docs/cha-jian-ping-tai/kai-yuan-zi-jian-zhan.md)

{% hint style="info" %}
插件版本：1.0
{% endhint %}

### 安装插件

1. 下载插件：<https://github.com/Asiabill/asiabill_plugin_zencart>
2. 解压后把<mark style="color:orange;">`includes`</mark>目录上传到站点根目录
3. 后台：<mark style="color:purple;">Modules</mark> -> <mark style="color:purple;">Payment</mark>，找到<mark style="color:orange;">Asiabill Credit Card</mark>，点击右侧`install`按钮

![](/files/Mt0UGAfqR8hjCzzs1GYS)

### 插件设置

* Enable Credit Card Module：是否开启
* Mode：交易模式
  * test：测试
  * live：正式
* Mer No、Gateway No、Signkey：账户信息，非测试模式下使用
* Test Mer No、Test Gateway No、Test Signkey：测试账户信息，测试模式下使用，默认已设置
* Setting the Pending order status：设置待处理订单状态
* Setting the Successful order status：设置成功订单状态
* Setting the Failure order status：设置失败订单状态
* Sort order of display：排序
* Payment Zone：地区

### 信用卡支付

* 在购物网站选择商品到结算页面&#x20;
* 选择<mark style="color:orange;">信用卡支付</mark>&#x20;
* 网站将重定向到<mark style="color:orange;">AsiaBill支付页面</mark>，输入卡信息，完成支付

<div align="center"><img src="/files/2kyxXPmTba6gGOULhkEn" alt=""></div>

测试卡号：[查看](/docs/cha-jian-ping-tai/kai-yuan-zi-jian-zhan.md)
