How to integrate EasyPaisa with bSecure?

How to integrate EasyPaisa with bSecure?

Video Guide

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:

Step 1:

Login into with valid credentials followed by OTP verification

Step 2:

EasyPaisa Credentials Guide

This write-up is a step by step guide to identifying the credentials for Easypaisa Merchant Account.


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 Password

o Store ID

o Public Key

o Private Key

Note :

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:


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:

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.

Step 3:

  1. Go to Settings from the main menu.
  2. Then click on the Merchant Credentials in the Business portal.

Step 4:

  1. In the Merchant Credentials, select the Payment gateway to EasyPaisa.
  2. Then set the Environment to Live.

Step 5:

Now carefully input your EasyPaisa Merchant Credentials generated above.

· User ID

· Password

· Store ID

· Public Key

· Private Key


Step 6:

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.