# Meshop

## 选择 UseePay 作为您的第三方支付供应商 <a href="#select-useepay" id="select-useepay"></a>

登录Meshop店铺管理后台，点击**基础设置**，选择**支付管理**，打卡页面后点击**选择信用卡**

![](/files/-MhSInbFX0N_xGVufzrG)

进入页面后选择**UseePay**

![](/files/-MhSInbGTqQgVxpWN_zm)

进入UseePay页面后填写信息，

**Merchant Code**可以在UseePay的MC后台查看；

**Private Key**和**Public Key** 请查看下方**验签页面的RSA教程**

![](/files/-MhSInbHTxNl3XEZ6mOW)

## **RSA验签页面教程**

**1）网站上获取到的RSA秘钥对**

访问 <http://www.metools.info/code/c80.html> 生成商户RSA密钥对:

注意: RSA的格式为 1024 PKCS8

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

RSA加密公钥直接在网站上复制

**请将公钥字符串中的首行(-----BEGIN PUBLIC KEY-----)与尾行(------END PUBLICK KEY-----)删除, 然后将中间部分格式化成一行粘贴进去**

（复制到word 上有时候会有乱码，请在text文本复制，然后化成一行，然后复制在mc后台上传）

**2）将网站上获取到的公钥，上传至UseePay后台（注意公钥要调整为1行）**

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

3）登录到Meshop 后台

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

私钥：网站上生成的秘钥对中的私钥（注意私钥要调整为1行）

公钥：UseePay后台的公钥(直接复制即可，UseePay后台公钥做了一行处理）

### **获取商户号**

登录 UseePay 商户后台, 在账号管理页面查看商户号

![](/files/-MhSInbIyDdyvreFlAKh)

填写完毕后，请点击保存。

在店铺中下一笔大于1美元的订单进行付款测试，确认进入UseePay 收银台


---

# Agent Instructions: 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/meshop.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.
