# Shopastro

**一、登录Shopastro后台**

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FfkEJVP9NBOc7MMnhvih6%2F%E5%9B%BE%E7%89%871.png?alt=media&#x26;token=66e8fc38-2a7d-489b-8112-be3d8b21c136" 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%2FkFlU96IuC138vMzMSec1%2F%E5%9B%BE%E7%89%872.png?alt=media&#x26;token=83055c11-a53d-46d8-a9e8-5898bc3ccf0c" alt=""><figcaption></figcaption></figure>

添加收款方式-选择USEEPAY，点击确定

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FjzC0gHP4jfX5ahOfBP37%2F%E5%9B%BE%E7%89%873.png?alt=media&#x26;token=e7b99903-8baa-4cba-ac19-e008c3f01078" 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%2FoJf3uN3Vv3KoYYWkc5Eb%2F%E5%9B%BE%E7%89%874.png?alt=media&#x26;token=edd8d8b9-abc5-4093-8a1d-c4d1e97b51da" alt=""><figcaption></figcaption></figure>

添加收款方式后进入管理，添加参数配置

商户号：MC后台 配置中心-密钥管理-商户号

Secret key：MC后台 配置中心-密钥管理-MD5密钥

商家应用ID：MC后台配置中心-域名管理-审核通过域名

并勾选支持的卡类型确认后点击保存

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2F0CKpdQWC3pDr0AmWV4Rp%2F%E5%9B%BE%E7%89%875.png?alt=media&#x26;token=4ff37924-f272-40a7-aea3-ee1498580675" alt=""><figcaption></figcaption></figure>

登录USEEPAY操作后台获取商户号和Secret key（密钥）、域名；

网址：<https://mc.useepay.com/#/login，登录账号和密码为激活时设置的密码和账号，操作员一般为：admin，如遇无法登陆等问题请联系USEEPAY运营人员>

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FsSrpVeJYYP27hSh2SLdr%2F%E5%9B%BE%E7%89%876.png?alt=media&#x26;token=edfebbf2-9d7c-4f17-8320-42c03c857c60" alt=""><figcaption></figcaption></figure>

登录后进入配置中心-域名管理和密钥管理，获取商户号、Secret key（密钥）、域名

<figure><img src="https://2979444288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQHZQcHwx5gTbDr4V6t%2Fuploads%2FboR6kxwLG3PckWIW2RWr%2F%E5%9B%BE%E7%89%877.png?alt=media&#x26;token=43bae160-9c33-44c6-9fde-5a502b98e7bc" 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%2F6AR5mlfINTW7TcMYaw5Q%2F%E5%9B%BE%E7%89%878.png?alt=media&#x26;token=6b14e65a-137b-4fd0-b18b-a22ec807d50f" alt=""><figcaption></figcaption></figure>

**三、交易测试**

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

设置完插件后，登录贵司店铺网站，任意选择大于1美金的商品进行支付

支付环节卡号选择说明：

1.选择自己真实的卡号

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

2.选择测试卡号:4111111111111111

ps:日期有效期：大于当前日期，例如当前日期是2024/4/23，您填写2024/4/23日之后的任一日期即可，如2024/4/25，填写0425，CVV：任意3位数字

由于是测试卡会显示订单不成功即交易失败，会根据合同收取处理费，支付后均可在MC后台-->交易查询中看到一笔交易成功/失败的订单


---

# 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/shopastro.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.
