Connect with Public Bank
In this article :
Integrate with Public Bank
Perform User Acceptance Test ( UAT )
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 :
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:
2. Integrate with Public Bank
Step 1 : Go to EasyStore Admin > Settings > Payments > Add payment method > select Visa/Mastercard via Public Bank
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
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
You can check out your primary domain at Channels > Online Store > Domains
Merchant POST URL: https://www.yourdomainname.com/payments/pbbcc/notifications
Transaction Response Page URL: https://www.yourdomainname.com/payments/pbbcc/redirect
Custom Cancel Response Page URL: https://www.yourdomainname.com/payments/pbbcc/redirect
Step 4 : Make sure 'Visa/Mastercard via Public Bank is now enabled' is selected.
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
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
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
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
Step 3 : To get the Access Key and Security Key, click Security > Select Key Name > Click the 👁️ icon
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
Step 5 : Paste the Profile ID, Access Key and Secret key here
Step 6 : Save and you are done!
Updated on: 10/11/2023