# 在EasyStore接受Bayarcash付款

> 在EasyStore管理后台把Bayarcash添加为付款方式，使用你Bayarcash Team profile里的资料。
>
> Source: https://docs.bayarcash.com/zh/easystore/

你可以在EasyStore商店把Bayarcash添加为付款方式，让顾客用你已开启的Bayarcash渠道付款。

想看看Bayarcash在EasyStore商店结账时的样子，可以试试[演示商店](https://bayarcash-2.easy.co/)。

## 开始之前

你需要准备好：

- 已获批准的Bayarcash商家账号，并已开启你的付款渠道。
- 一个bcl.my账号。Bayarcash商家可以免费使用。
- EasyStore付款设置的访问权限，商店货币设为马币（MYR）。

## 把Bayarcash添加到EasyStore

从你的EasyStore管理后台开始。添加付款方式的步骤：

1. 前往**Settings** → **Payments**。
2. 选择**Add payment method**，然后搜索**Bayarcash**。你也可以使用[EasyStore里的Bayarcash链接](https://admin.easystore.co/settings/gateway/bayarcash)。

## 从bcl.my复制你的资料

EasyStore需要你Team profile里的两项资料。查找步骤：

1. 登录你的bcl.my账号。
2. 前往**Team** → **Team Profile**。
3. 复制你的**Team ID**和**Bayarcash API secret key**。
4. 把它们粘贴到EasyStore的Bayarcash设置里。

检查设置并保存，然后在你的EasyStore结账页面下一个测试订单，确认付款正常。

> **Caution**
> 不要把你的secret key告诉别人。不要在信息或截图里分享它。

## 小贴士

- **提供多个渠道**。你可以开启多个Bayarcash渠道，让顾客在结账时自己选择。
- **在Bayarcash查找付款**。交易和报告都在你的商家后台（merchant dashboard）。请参阅[交易](/zh/transactions/)。

## 常见问题

### 付款失败，显示Transaction Failed或Payment Processing Error，为什么？

检查你的EasyStore货币是否是马币（MYR），因为Bayarcash只处理MYR。然后检查你粘贴的Team ID和secret key是否正确。
