WP Manifestindependent plugin directory
manifest / ecommerce / bkash-wordpress-integration

bKash Payment Gateway (Unofficial)

Unofficial WordPress plugin to integrate bKash payment gateway for WooCommerce and digital payments in Bangladesh.

★ 0stars
v1.0.0latest · 7mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/iamtiqbal/bkash-wordpress-integration/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

bKash WordPress Payment Gateway (Unofficial)

⚠️ Disclaimer
This is an unofficial community-driven integration for bKash Tokenized Checkout.
This project is not affiliated with or endorsed by bKash or Bangladesh Bank.

Developer: Tamim Iqbal — IT Manager & AI Developer

A WooCommerce payment gateway plugin for bKash Tokenized Checkout (Bangladesh). Supports Classic and Blocks checkout.

Table of Contents

Features

  • Unofficial bKash gateway for WooCommerce
  • Classic Checkout and WooCommerce Blocks checkout supported
  • Secure API communication with bKash Tokenized Checkout
  • Redirect-based payment flow with callback handling
  • Compatible with the latest WordPress and WooCommerce

Requirements

  • WordPress 6.0+ (recommended)
  • WooCommerce 7.0+ (recommended)
  • PHP 7.4+ with cURL enabled

Installation

  1. Upload the plugin folder to /wp-content/plugins/bkash-wordpress-integration.
  2. Activate via WordPress Plugins menu.
  3. Go to WooCommerce → Settings → Payments and enable bKash.
  4. Enter your bKash credentials:
    • Base API URL
    • Username
    • Password
    • App Key
    • App Secret

Quick Start

  • Add products to cart and proceed to checkout.
  • Select bKash and place order.
  • Customer is redirected to bKash for payment.
  • On return, the order is marked paid/cancelled/failed based on callback status.

API Reference

Authentication

The plugin authenticates using bKash Tokenized Checkout credentials.

Initiate Payment

Creates a payment and redirects the customer to bKash.

Handle Callback

The callback endpoint is:

https://your-site.com/?wc-api=bkash_callback

Check Transaction Status

Handled by execute payment during callback.

Utilities

Includes invoice generation and payment metadata saved per order.

Payment Flow

  1. Customer checks out → bKash selected.
  2. Plugin authenticates and creates payment.
  3. Customer pays on bKash webview.
  4. bKash redirects to callback.
  5. Order status updated in WooCommerce.

Status Codes

  • Completed = Success

Gotchas & Troubleshooting

  • Store currency should be BDT.
  • Ensure credentials are correct (test vs production).
  • Ensure SSL is enabled for callback URL.

Security Notes

  • Do not hardcode credentials in files.
  • Use HTTPS for all callbacks and checkout pages.

Testing

  • Use bKash sandbox credentials where available.
  • Test Classic and Blocks checkout flows.

License

MIT License. See LICENSE file for details.

Releases

1 release.

Tag
Published
v1.0.0 latest
Mar 17, 2026 7mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.