> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 如何连接 Public Bank

###### 在这篇文章中：
1. [开始使用](#2-1)
2. [连接 Public Bank 至您的网店](#2-2-public-bank)
3. [实行用户验收测试 User Acceptance Test ( UAT )](#2-3-user-acceptance-test-uat)
4. [如何取得 ID 和 Keys？ ](#2-4-id-keys)
---
## 1. 开始使用

确保您已在大众银行 (Public bank) 注册了账户。 您将需要这些资料来继续设置：
*   Profile ID    
*   Access Key    
*   Secret Key    

您可能需要联系 Public Bank 团队，他们会安排与您预约以解释有关方案的更多信息，并会要求您提供公司文件、信息等以供申请。 以下为注册链接：
https://apply.pbebank.com/MOSOnboardApp/

---
## 2. 连接 Public Bank 至您的网店

**步骤 1 :** 到 [EasyStore 后台](https://admin.easystore.co/home) > 功能设定 > 支付方式 > 新增支付方式 > 选择 **Visa/Mastercard via Public Bank**

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/screenshot-2024-01-15-at-23511_l70zuu.png)

**步骤 2 :** 输入 **显示名称 (Display name)** 以及 **描述 (Description)** ， 这将在客户结账时显示在结账页面。

|| 📌 **小笔记：** 别忘记输入您的 **Profile ID**, **Access Key** & **Secret Key**

![](https://storage.crisp.chat/users/helpdesk/website/14faa0d434d06400/1149421c-e349-424d-a005-3abfa6_19aemcu.png)

**步骤 3 :** 请确保您的 URL 配置准确且必须是主域名。 假设您的主域名是 _[www.easystore.co](http://www.easystore.co)_ ，则意味着您的 URL 将是 https://www.easystore.co/payments/pbbcc/notifications

您可以到 **销售渠道 > 线上网店 > 网域名称** 查看您的主域名 (Primary Domain)

*   **Merchant POST URL:** [https://www.yourdomainname.com/payments/pbbcc/notifications](https://www.yourdomainname.com/payments/pbbcc/notifications)
    
*   **Transaction Response Page URL:** [https://www.yourdomainname.com/payments/pbbcc/redirect](https://www.yourdomainname.com/payments/pbbcc/redirect)
    
*   **Custom Cancel Response Page URL:** [https://www.yourdomainname.com/payments/pbbcc/redirect](https://www.yourdomainname.com/payments/pbbcc/redirect)    

**步骤 4 :** 请确保 '已启用Visa/Mastercard via Public Bank为结帐付款方式'。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/screenshot-2024-01-15-at-25001_odehep.png)

**步骤 5：** 储存即完成。

**📌 小笔记：** 如需了解更多大众银行的信息，请通过以下方式联系他们：
*   **客户服务 :** 1-800-22-5555    
*   **信用卡服务** : 03-2176 8000    
*   [https://www.pbebank.com/Contact/Call-Us.aspx](https://www.pbebank.com/Contact/Call-Us.aspx)
---
## 3. 实行用户验收测试 User Acceptance Test ( UAT )

|| 📌 **小笔记：** 在开始测试之前，请确保您已联系 Public bank 以获取测试环境所需的信息。 确保您已按照上述步骤与 Public Bank 串接。 

当您收到大众银行团队的信息后，您可以进行以下 UAT 测试：

**步骤 1 :** 浏览您的网页 > 将商品加入购物车并继续进入到结帐付款方式页面。

**步骤 2 :** 添加 **"?testing=true"** 在网页 URL 末端 > 按 **“Enter”** 刷新页面。

| 💡  **小提示：** 单击右键并选择在新选项中打开下面的图像以获得更好的质量

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/garen-5_170k8u9.png)

**步骤 3 :** 刷新页面之后 > 选择 **Public Bank** > 点击 **"立即下单"** 。
  
单击“立即订单”后，返回 EasyStore 后台 > **订单管理**，然后点击查看最新的订单。 如果订单状态为 **已付款 (PAID)** ， 表示您已成功与 Public Bank 串接，您可以开始通过 Public Bank 收款了！

如果您对 UAT 测试有任何疑问，请联系 Public Bank 团队以获取进一步说明。
---
## 4. 如何取得 ID 和 Keys？

**步骤 1 :** 登入到您的 Business Center (Cybersource Portal)

|| **📌 小笔记：** Public bank 团队将为您提供 Cybersource Portal 的登录信息

![](https://storage.crisp.chat/users/helpdesk/website/88e105bd037b2800/a6e273b8-27e5-41e3-9d32-a05a95_vr28op.png)

**步骤 2 :** 点击进入 **Payment Configuration** > Secure Acceptance Settings > 选择您的 Hosted Checkout Profile > 复制 **Profile ID** 后将其贴在 EasyStore 支付方式设定

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/garen-6_1chcc6i.png)

**步骤 3 :** 欲获取 **Access Key** 和 **Security Key**， 点击 Security > 选择 Key Name > 点击 👁️ 图标
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/garen-7_1gud0sd.png)

**步骤 4 :** 右侧栏将会显示您的 **Access Key** & **Security Key** >复制该密钥并贴在 EasyStore 支付方式设定。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/garen-8_1wilvzl.png)

**步骤 5 :** 在此处贴上 **Profile ID, Access Key** 和 **Secret key**

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/screenshot-2024-01-15-at-32423_1jwxhsb.png)

**步骤 6 :** 保存即可完成！