> ## 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).

# Connect with Public Bank

###### In this article :
1. Get started
2. Integrate with Public Bank
3. Perform User Acceptance Test ( UAT )
4. Where to get the ID and Keys?    
---
## 1. Get started

Make sure you have a registered account with Public Bank. You will need these to proceed with the setup :
*   Profile ID    
*   Access Key    
*   Secret Key    

You may need to contact Public Bank team and they will arrange an appointment with you to explain more on the package, also will request for your company document, information etc. for application. Here would be the registration link:
https://apply.pbebank.com/MOSOnboardApp/

---
## 2. Integrate with Public Bank

**Step 1 :** Go to [EasyStore Admin](https://admin.easystore.co/home) > Settings > Payments > Add payment method > select **Visa/Mastercard via Public Bank**

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

**Step 2 :** Fill in the **Display name** and fill in **Description** which will be shown to customers at checkout

|| 📌 **Note :** Don't forget to insert your **Profile ID**, **Access Key** & **Secret Key**

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

**Step 3 :** Please make sure that your URL configuration is accurate and it has to be under the primary domain. Let's say if your primary domain is _[www.easystore.co](http://www.easystore.co)_, means your URL will be [https://www.easystore.co/payments/pbbcc/notifications](https://www.easystore.co/payments/pbbcc/notifications)

You can check out your primary domain at **Channels > Online Store > Domains**

*   **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)    

**Step 4 :** Make sure 'Visa/Mastercard via Public Bank is now enabled' is selected.

![](https://storage.crisp.chat/users/helpdesk/website/d267607eb34f5000/c54d3688-1daf-4db9-8929-b8652b_11hl2am.png)

**Step 4** : Save and you are done

**📌 Note :** For more Public Bank's information, kindly contact them through :
*   **Customer service :** 1-800-22-5555    
*   **Credit card support** : 03-2176 8000    
*   [https://www.pbebank.com/Contact/Call-Us.aspx](https://www.pbebank.com/Contact/Call-Us.aspx)
---
## 3. Perform User Acceptance Test ( UAT )

|| 📌 **Note :** Before starting the test, please make sure you have contacted Public Bank to obtain the required information for the testing environment. Make sure you have integrated with Public Bank with the steps above.

After you have received the information from Public Bank team, you may proceed with the UAT Testing below:  

**Step 1 :** Visit your website > add a product to cart and proceed to checkout Payment method page.

**Step 2 :** Add "**?testing=true**" at the end of the URL > press "**Enter**" to refresh the page.

| 💡  **Tips :** Right-click and select open image below in a new tab for better quality

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

**Step 3 :** After the page is refreshed > select **Public Bank** > click **"Place Order Now"**.
  
Once you have clicked the Place Order Now, go back to your EasyStore admin panel > **Orders** and click on the latest order number. If the order status is **PAID,** it means that you have successfully integrated with Public Bank and you can start collect payments via Public Bank!

If you are having any issues with the UAT Test, kindly contact the Public Bank team for further clarifications.
---
## 4. Where to get the ID and Keys?

**Step 1 :** Login to your Business Center (Cybersource Portal)

|| **📌 Note :** Public Team will provide you the Cybersource Portal login details

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

**Step 2 :** Click into **Payment Configuration** > Secure Acceptance Settings > Select your Hosted Checkout Profile > Copy **Profile ID** and paste it in the EasyStore payment settings

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

**Step 3 :** To get the **Access Key** and **Security Key**, click Security > Select Key Name > Click the 👁️ icon

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

**Step 4 :** There will be a right slide which consist of **Access Key** & **Security Key** > Copy the Keys and paste it in the EasyStore payment settings

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

**Step 5 :** Paste the **Profile ID, Access Key** and **Secret key** here

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

**Step 6 :** Save and you are done!