How to integrate Easypaisa with bSecure?
Enable Easypaisa payment method on your website
Below is the step by step guide to enable Easypaisa payments on your website with bSecure.
To enable Easypaisa payments for your customers with bSecure you need the following pre-requisites:
· Easypaisa merchant credentials
· Active Easypaisa merchant account
To initiate Easypaisa merchant account opening request. Use below official Easypaisa link:
Official Merchant Registration guide:
Note : To understand from where to get those credentials, follow easypaisa credentials guide first and then come back to this article.
Step by Step guide – Enable EasyPaisa Payment Options with bSecure:
Please carefully follow below steps:
Login into https://builder.bsecure.app/ with valid credentials followed by OTP verification
It is being assumed that you have to open an EasyPaisa Merchant account.
Let's begin, so to enable Easypaisa payments with bSecure you need the following credentials:
o User ID
o Store ID
o Public Key
o Private Key
User ID: This will be provided by the Easypaisa team
Password: This will be provided by the Easypaisa team
Store ID: This will be provided by the Easypaisa team
Generate Public / Private Key:
a. First, Go to Link: https://travistidwell.com/jsencrypt/demo/
b. Now, select "2048 bit" from the drop-down.
c. Then click on the "Generate New Keys" button to generate your Public & Private key pair.
d. Save these two keys in two separate text files for later use.
e.g.: PrivateKey.txt & PublicKey.txt
Note: These two keys will be used in Step 5 of Easypaisa Merchant Credentials
Now, you need to share your public with Easypaisa.
In order to do that, first, change the extension of PublicKey.txt to PublicKey.PEM extension.
Now, login into Easypaisa official merchant portal with your valid credentials: https://easypay.easypaisa.com.pk/easypay-merchant/faces/pg/site/Login.jsf
Then, Click on the Account Settings tab:
Then, Click on Public Key Configuration tab from the left menu
Then, You should see a screen something like this:
Now, click on Add button and upload your PublicKey.pem file here
Click on the Upload button. Let the upload complete, you will see a progress bar.
You are done here! Now with these Credentials, please complete the process on Builder Portal to activate an EasyPaisa Merchant account.
- Go to Settings from the main menu.
- Then click on the Merchant Credentials in the Business portal.
- In the Merchant Credentials, select the Payment gateway to EasyPaisa.
- Then set the Environment to Live.
Now carefully input your EasyPaisa Merchant Credentials generated above.
· User ID
· Store ID
· Public Key
· Private Key
You are done. Now checkout with bSecure and you should see the following options enabled:
Easypaisa: Customer will opt for this option to pay via Easypaisa wallet
Easypaisa OTC: Customer will opt for this option to pay via Easypaisa Over the Counter (OTC).
If you still do not see Easypaisa options in your payment type list, please feel free to contact our support center via Live Chat option on Builder Portal.