Getting Started
Overview
BPGW adds Bangladeshi hosted payment gateways to WooCommerce. Current production gateways are bKash and SSLCommerz.
bKash
Tokenized checkout API with create and execute payment verification. Bangladesh's most popular MFS.
Tokenized API
Hosted
SSLCommerz
Hosted payment init with merchant transaction verification on callback. Multi-bank gateway.
IPN Callback
Hosted
What it supports
- Classic WooCommerce checkout
- WooCommerce Checkout Block
- Sandbox and live mode switching (single global toggle)
- Server-side payment verification before order completion
- No sensitive card data stored anywhere in plugin code
Core principles
- Gateway classes connect WooCommerce to service classes
- Service classes handle all external payment API communication
- Callback handlers always verify payments server-side before completion
- Redirect success alone is never trusted — API verification is always required
