This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

bKash For WooCommerce


bKash Payment Gateway provides range of payment solutions to merchants of the online sphere. This is the official bKash PGW plugin, by installing this plugin you’ll be able to integrate the bKash PGW, into your WooCommerce Webshop. The bKash PGW plugin extends WooCommerce allowing you to take payments directly on your store via bKash’s API. This will only take a few minutes. If the plugin is successfully installed your customers will then be able to check out with bKash payment gateway.
bKash has different payment option available, by installing this plugin merchant will be able to integrate bKash “Regular Checkout and Tokenized Checkout”.
Regular Checkout: On the checkout page, the plugin loads an iFrame which is provided by bKash, customer will complete the payment by entering their bKash account credentials (Account Number, Verification Code, PIN).
Tokenized Checkout: bKash’s tokenized checkout provides the customers a more convenient way of payment. Using this product, the customers can create an agreement in merchant websites/apps that for further payment using bKash, they will only use bKash wallet PIN. In this case the merchant system needs to store these agreements against different user accounts. This provides a faster and convenient payment opportunity for both the merchant and the customer.
bKash PGW plugin is available for Merchants in Bangladesh, to accepts payments from customer you need to be a bKash merchant first.

Technical Requirements:

  • WordPress (4.0 or above).
  • WooCommerce (2.0 or above).
  • PHP (7.0 or above)
  • MySQL (5.6 or above)
  • Change in Permalink so that .htaccess can be rewritable. (
  • File write permission for wp-content directory.

Non-Technical Requirements:

  • Active bKash Merchant Wallet.
  • bKash payment gateway credentials (Sandbox and Production)

Available Environments

This plugin supports below environments of bKash payment gateway.
* Sandbox
* Production

Available Payment Methods for bKash Payment Gateway in this plugin

  • Checkout – Sale (Regular Checkout)
  • Checkout – Authorised and Capture Payment
  • Tokenized – Without Agreement
  • Tokenized – With Agreement Only
  • Tokenized – Agreement and Without Agreement
  • Tokenized – Authorised and Capture Payment

Additional Features of different bKash payment gateway products.

  • Merchant Wallet Balance Check (In Checkout Only)
  • B2C Payout (In Checkout Only)
  • Intra Account Transfer
  • Web-hooks
  • Refund
  • Search Transaction

Available Menus for Merchant (Based on selected product, Checkout or Tokenized)

  • Transaction List
  • Search a transaction
  • Check Balances
  • Intra account transfer
  • Disburse Money
  • Transfer History
  • Refund a Transaction
  • Agreements
  • Web-hooks
  • Payment Settings

Actions for Merchant:

  • For Checkout:
    – Can make a payment.
    – Can set up bKash payment gateway.
    – Can manage credentials for bKash payment gateway.
    – Can set intent of payment modes. (Sale or Authorise)
    – Can view all transactions – online and offline (using webhook integration).
    – Can transfer money within wallet parts (Collection, Disbursement).
    – Can refund a transaction.
    – Can disburse money to bKash customer wallet.
    – Can search a transaction from its merchant wallet.
  • For Tokenization:
    – Can make a payment
    – Can set up bKash payment gateway.
    – Can manage credentials for bKash payment gateway.
    – Can set intent of payment modes. (Sale or Authorise)
    – Can view all transactions – online and offline (using webhook integration).
    – Can refund a transaction.
    – Can search a transaction from its merchant wallet.
    – Can view and delete all agreements from customers.

سکرین شاٹاں

  • bKash payment method in Woocommerce payment method list
  • Settings page of bKash payment method
  • User paying with bKash Payment method
  • Transaction list for admin to check

انسٹال کرݨ

This section describes how to install the plugin and get it working.

  • Manual Installation

    1. Upload bkash-for-wooCommerce-main folder to the /wp-content/plugins/ directory
    2. Activate the plugin through the ‘Plugins’ menu in WordPress
    3. Go to WooCommerce Settings -> Payment -> Select bKash Payment and process for setup.
    4. Set your desired setup and set bKash provided credentials (App Key, App Secret, Username and Password).
  • Install by Searching

    1. Go to Plugins
    2. Click Add new button
    3. Search for bKash For WooCommerce
    4. Click install and activate.


  1. Log into your WordPress admin and activate the bKash plugin in WordPress Plugin Manager.
  2. Log into your WooCommerce Webstore account, navigate to Settings and click the Payment tab.
  3. Scroll down to the Payment page and go to the manage option of bKash Payment Gateway under Gateway Display.
  4. Click on bKash Payment Gateway to edit the settings. If you do not see bKash Payment Gateway in the list, make sure you have activated the plugin in the WordPress Plugin Manager.
  • Fill in the following credentials.
    • Enable – Enable bKash PGW
    • Title – bKash Payment Gateway
    • Description – Pay with bKash PGW.
    • Integration Type – Checkout/Checkout URL/Tokenized (With Agreement)/Tokenized (Without Agreement)
    • Intent – Sale/Authorized (Intent of the payment. For checkout the value should be “sale”.)
    • API Version – v1.2.0-beta
    • B2C Payout – Enable B2C Payout (Using this solution a specific amount of fund can be transferred to a receiver’s personal bKash account)
    • Debug Log – Enable logging (If you need API response)
    • Webhook – Enable Webhook listener (You will need to share this webhook link with bKash team)
    • Sandbox – Enable if you need to do sandbox testing, otherwise live credentials’ field will be available there.
    • Application Key – Sandbox/Production Key
    • Application Secrete – Sandbox/Production Secrete
    • UserName – Sandbox/Production username shared by bKash
    • Password – Sandbox/Production Password shared by bKash
    • Your bKash payment gateway is enabled. Now you can accept payment through bKash.

Sandbox Result:

For sandbox validation, you may need to share sandbox responses with bKash integration team.
To do that navigate to Woo-commerce and click Status Tab. Scroll down and go to Log tab,
there you will find a log file called bKash sandbox log. Copy sandbox results which you required from that log
and share it through a Microsoft docs file.

Change Permalink

  • Important! Change Permalink from WordPress Settings → Reading to Post Name (etc).
  • Align .htaccess file accordingly with the guidance of WordPress on permalink setting page.

Webhook configuration process:

Share webhook URL to bKash team by collecting from WooCommerce settings for bKash payment gateway.

Authorisation (Capture/Void) process:

To capture a payment collected from customer, merchant has to change order status from ON-HOLD to ‘COMPLETED’.
To void a payment initiate by merchant, merchant has to change order status from ON-HOLD to ‘CANCELLED’.

If merchant wants to handle Capture/Void scenario programmatically, use standard WooCommerce API/Hooks to change the status.

Additional Features

  • Logging of request and response traces, so that file can be prepared for SO validation.
    (In WooCommerce Status Page you can find logs tab and Search for bKash_PGW_API_LOG_ file).
  • Refund can also be initiated from WooCommerce Orders actions.
  • Authorised and Capture action can be performed by changing order status On Hold → Completed.
  • All transactions and history list are made using pagination, so on each page 10 entries can be viewed.

ہرہک دے سوال

How can I get a bKash Merchant Account?

Ans: You can register here – , Except this interested merchants can call bKash customer care for this. Then CS forwards the request to business team for acquisition.

What bKash Payment methods are available through this plugin?

Ans: Regular checkout and tokenized checkout and besides Refund, webhooks, search transaction will be available for every merchant.

What does plugin cost?

Ans: bKash PGW plugin has no setup fees, no monthly fees, no hidden costs: you only get charged when you will make the bank settlement!

Does this plugin need SSL certificate?

Ans: Yes! Whenever you go live, an SSL certificate must be installed on your site to use bKash plugin.

Does this support sandbox mode for testing?

Ans: Yes, we have sandbox environment for testing.

Is there any manual available for this plugin?

Ans: Yes, we have a detailed manual for this plugin, you can download it from here

How to Download & Install bKash WooCommerce Payment Plugin

Ans: Visit this link for the tutorial –

How to configure bKash Checkout WooCommerce Part-1

Ans: Visit this link for the tutorial –

Process of bKash Checkout API Log File Creation Part 2.1

Ans: Visit this link for the tutorial –

Process of bKash Checkout-Refund API Log Part-2.2

Ans: Visit this link for the tutorial –

Process of bKash Checkout-Search Transaction API Log Part-2.3

Ans: Visit this link for the tutorial –

Process of bKash Checkout-Error Case Implementation Part-2.4

Ans: Visit this link for the tutorial –

Process of bKash Checkout-Generate Final Log File (Checkout, Search, Error Case & Refund) Part-2.5

Ans: Visit this link for the tutorial –


جون 8, 2023
Settings page disappeared. Need update. Not working.
جنوری 13, 2023
bKash team is so lazy to update the plugin. With current WordPress version and PHP 8 the plugin doesn't work properly. Settings page doesn't show up. Without the settings page we can't add live api credentials.
سارے 9 ریویو پڑھو

Contributors & Developers

“bKash For WooCommerce” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

“bKash For WooCommerce” دا آپݨی زبان وچ ترجمہ کرو۔

ڈیویلپمنٹ وچ دلچسپی ہے؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تبدیلی لاگ


  • Updated WP version support to 6.0


  • Escaped Echos


  • Adopted recommendation from code scanning tools. also fixed issues raised by WP team.


  • Escaped variables, added cancel payment, colored transaction list status.


  • Minor bug fix of unwanted message during capturing a non-bKash payment.


  • Added Search and Filter functionalities in list tables.


  • WordPress recommended optimisation finalisation


  • WordPress recommended optimisation


  • First release with all features