> For the complete documentation index, see [llms.txt](https://docs.ottpay.com/payment-plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ottpay.com/payment-plugins/ecshop-plugin.md).

# ECSHOP PlugIns

Support both of PC-Browser and Mobile-Browser/WebChat-Browser on Alipay and WeChat Pay

## :white\_check\_mark: **PlugIn Download and Installation**

### :ballot\_box\_with\_check: Download of PlugIn Installation Kit from the following URL

{% file src="/files/-M8CWK0STY6IOhPzQFrO" %}
PlugIn Installation Kit Download from here
{% endfile %}

### :ballot\_box\_with\_check: **Installation of the Plugin**

#### :digit\_one: Unzip the plugin file and copy the inner files to root of ECSHOP folder

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7jn9dWraC-ivVsGim1%2F-M7jnFsaaPfY-PGUsT--%2Fimage.png?alt=media\&token=edaafc61-ee3f-47e2-b31f-28441b0b4495)

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7joEVp1nxHjWVnHNM8%2F-M7joKoKr-XxUqG4f7o8%2Fimage.png?alt=media\&token=0a47b370-9cf0-4e71-808a-da105899fe3c)

## :white\_check\_mark: **PlugIns for PC-Browser (WebChat & Alipay) Configuration**

:digit\_two: Login to ECSHOP Admin Panel --> System Settings --> Payment Methods

```
http://localhost:8090/ecshopjcw/index.php
```

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7kButkEMNq_qeoBIS0%2F-M7kCAyFO_qTKB-xHIr5%2Fimage.png?alt=media\&token=ac6389e5-f125-465b-ae94-71cbb37feee9)

:asterisk\_symbol: Click 'Edit' buttons above highlighted to set up the Configuration of WeChat-Pay and Ali-Pay

### :ballot\_box\_with\_check: **Configuration of the plugin**

&#x20; :digit\_one: The following settings are with WeChat Payment methods, fill the form and save.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7juMC_2hKUUD9hTlmZ%2F-M7jwzXs79M0Evz0l_wv%2Fimage.png?alt=media\&token=084662bc-9f20-45a1-8a27-74486763ee0a)

```
OTT-API-URL =  http://qrpay.ottpay.com/h5Pay?
Callbackup(Example) = https://ezshops.ott.ca/wxnativeOTTPAY_callback.php
```

:digit\_two: The following settings are with **Alipay** Payment methods, fill the form and save.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7kDkhTHs4ylSruoaSe%2F-M7kE3RXffJpmKX4Y_E9%2Fimage.png?alt=media\&token=c4aa7f30-b2f3-4fca-9b2a-4dae79ed1dee)

```
OTT-API-URL =  https://frontapi.ottpay.com/processV2
Callbackup(Example) = https://ezshops.ott.ca/mobile/AliH5OTTPAY_callback.php
```

### :ballot\_box\_with\_check: Payment Process Flow&#x20;

:digit\_one: Payment method options display in this page, select one and place order.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7k-ZkyRbLyLenRWopX%2F-M7k0ZxDJGMy8YZMs84S%2Fimage.png?alt=media\&token=835404a7-14e8-4300-99c3-ad80c6b97c0d)

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7k-ZkyRbLyLenRWopX%2F-M7k1RsDoiB9nxk58Uew%2Fimage.png?alt=media\&token=b522c019-b2a6-4b76-be45-56f4c3d65f38)

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7k1W2_dM4_Pw_hYj5U%2F-M7k1iBl1zMQENc34Dl7%2Fimage.png?alt=media\&token=411a6494-e2af-4a13-81a1-6ad432859eaa)

:digit\_two: Scan the QR code

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7k1rB7FbzH39Tas8g8%2F-M7k2kRKfSNhqshBVRG-%2Fimage.png?alt=media\&token=87a7012e-69b3-4e56-97eb-8742869163dc)

:asterisk\_symbol: The Billing details information will display if the purchase succeeds.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7k3FWOcDCUafRRHdTT%2F-M7k40BAUIm4-DeEaFCB%2Fimage.png?alt=media\&token=aada78c6-ed4a-4e6e-b543-7e79481cb02f)

## :white\_check\_mark: **PlugIn for Mobile Browsers (WebChat-Pay & H5 Ali-Pay)**

### :ballot\_box\_with\_check: **Installation of the Plugin**

#### :digit\_one: Unzip the plugin file and copy the inner files to root of ECSHOP folder

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7jn9dWraC-ivVsGim1%2F-M7jnFsaaPfY-PGUsT--%2Fimage.png?alt=media\&token=edaafc61-ee3f-47e2-b31f-28441b0b4495)

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7joEVp1nxHjWVnHNM8%2F-M7joKoKr-XxUqG4f7o8%2Fimage.png?alt=media\&token=0a47b370-9cf0-4e71-808a-da105899fe3c)

:digit\_two: Login to ECSHOP **Mobile** Admin Panel --> System Settings --> Payment Methods

```
http://localhost:8090/mobile/ecshopjcw/index.php
```

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7kCHZfYYiHHhLSBqhN%2F-M7kCXYwARZy2Vx9Fqox%2Fimage.png?alt=media\&token=d973bfff-ce56-48e4-941f-2fee72ad1b68)

:asterisk\_symbol: Click 'Edit' buttons above highlighted to set up the Configuration of WeChat-Pay and Ali-Pay

### :ballot\_box\_with\_check: **Configuration of the plugin**

&#x20; :digit\_one: The following settings are with WeChat Payment methods, fill the form and save.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7kCavxsYPh8aDTAflq%2F-M7kDEg62G7iOBHv9ROr%2Fimage.png?alt=media\&token=907cb821-da49-48c8-b20b-0be20428c956)

```
OTT-API-URL =  https://frontapi.ottpay.com/processV2
Callbackup(Example) = https://ezshops.ott.ca/mobile/wxpayOTTPAY_h5_callback.php
```

:digit\_two: The following settings are with **Alipay** Payment methods, fill the form and save.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7jyWZt23tVSUDvMMdq%2F-M7jywvYL2_7rMUPAxUh%2Fimage.png?alt=media\&token=34fc9e2f-3da7-4b64-9f9b-2c4500ad8cc3)

```
OTT-API-URL =  https://frontapi.ottpay.com/processV2
Callbackup(Example) = https://ezshops.ott.ca/AliQrOTTPAY_callback.php
```

### :ballot\_box\_with\_check: Payment Flow

:digit\_one: Payment method options display in this page, select one and place order.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7kEEg0c3UXqyErDiFs%2F-M7kHAA8l6xMaruwA6a5%2Fimage.png?alt=media\&token=4012d4ec-f4d2-4f40-924c-05a7f25e56cb)

:digit\_two:Click 'WeChat H5 OTT Pay' button as below,

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7kEEg0c3UXqyErDiFs%2F-M7kHXcX4zvkNN1Do5-l%2Fimage.png?alt=media\&token=9ef46ba5-e32d-417b-899c-d7268c77855e)

:asterisk\_symbol: The Billing details information will display if the purchase succeeds.

![](https://3402525001-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6WLd2JqAuvn1Dcj7t4%2F-M7k3FWOcDCUafRRHdTT%2F-M7k40BAUIm4-DeEaFCB%2Fimage.png?alt=media\&token=aada78c6-ed4a-4e6e-b543-7e79481cb02f)
