> 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/shopify-1.md).

# Shopify（本地化）

{% hint style="warning" %}
在开始之前，请确保您的 Shopify 店铺账户拥有该 Shopify 店铺后台设置Payment methods权限
{% endhint %}

## 安装UseePay Payment（本地化）  <a href="#install-useepay" id="install-useepay"></a>

**1)** **连接VPN并登录shopify后台，网页框输入：**[**https://apps.shopify.com/local-payment-1**](https://apps.shopify.com/local-payment-1)**，添加应用。**

<mark style="color:red;">**注意：请添加localpayment的app应用，不要勾选其他app应用**</mark>

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

<figure><img src="/files/0AD7k61ksnQbjAiAYDYI" alt=""><figcaption></figcaption></figure>

Security Key获取(需登录MC后台-配置中心-域名管理，点击详情查看)：<https://useepay.gitbook.io/useepay/faq/securitykey-cha-zhao>）

商户号信息获取（需登录MC后台-账号管理-账号信息查看）：<https://useepay.gitbook.io/useepay/faq/merchantno-shang-hu-hao-cha-zhao>）

**点击Install**

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

**选择对应的本地化支付方式进行勾选，并激活Active，**<mark style="color:red;">**请勿勾选测试模式**</mark>

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

**如您开通了afterpay支付，需单独展示afterpay支付，请在网页框输入：**[**https://apps.shopify.com/afterpay-3?locale=zh-CN**](<https://apps.shopify.com/afterpay-3?locale=zh-CN&#xA;>)**，添加应用**

<figure><img src="/files/8aEEUATc8DWfIF7be74V" alt=""><figcaption></figcaption></figure>

**如您开通了klarna支付，需单独展示klarna支付，请在网页框输入：**[**https://apps.shopify.com/klarna-useepay?st\_source=autocomplete**](<https://apps.shopify.com/klarna-useepay?st_source=autocomplete&#xA;>)**添加应用**

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

**3）**<mark style="color:red;">**请在shopify后台设置以邮箱结账，否则会导致交易失败**</mark>**。具体操作方式见如下图：**

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

**4）以上全部设置完成后请进行交易测试：**

登录贵司店铺网站，任意选择大于1美元的商品进行支付

支付环节卡号选择说明：

1.选择自己真实的卡号

ps：若是使用真实的卡进行支付，会根据合同收取一定手续费和比例费。

2.选择假卡进行测试：4111111111111111

ps：卡号有效期及cvv填写合理即可，由于是测试卡会显示订单不成功即交易失败，会根据合同收取处理费

支付后均可在MC后台-->交易查询中看到一笔交易成功/失败的订单

<mark style="color:red;">**5) 物流插件绑定**</mark>

<mark style="color:red;">**为了不影响您订单结算请shopfiy建站网站在MC后台绑定物流插件并同步。**</mark>

<mark style="color:red;">MC后台链接：</mark>[<mark style="color:red;">https://mc.useepay.com/</mark>](https://mc.useepay.com/)\ <mark style="color:red;">物流管理-物流绑定-点击新增并查根据操作手册新增添加</mark>

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://useepay.gitbook.io/useepay/plugins/shopify-1.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.
