Blog
Notes from the backend
Practical write-ups on Django, PostgreSQL, Docker and keeping production systems running. Subscribe via RSS.
I write about what I run into while building backends for commerce platforms: Django and Django REST Framework, PostgreSQL, Docker-based setups, deployment, and integrating Bangladeshi payment gateways such as bKash, Nagad, SSLCommerz and aamarPay. Posts are written in English, with Bangla versions where they exist (বাংলা ব্লগ).
· 8 min read
bKash payment gateway for your website: charges, API access and setup (2026)
What bKash officially says about payment gateway charges, which merchant account you need, how to get API keys, and what to ask bKash in writing before you sign.
- Payments
- bKash
- Bangladesh
· 17 min read
aamarPay in Django: a step-by-step integration from the official docs
Integrate aamarPay in Django 5: initiate a payment, handle the success, fail and cancel callbacks, confirm with Search Transaction, and reconcile what slips through.
- Payments
- aamarPay
- Django
- Bangladesh
· 19 min read
SSLCommerz in Django: a step-by-step integration from the official docs
Integrate SSLCommerz in Django 5: create a session, handle the IPN and browser callbacks, confirm with the Validation API, reconcile with Transaction Query, and refund.
- Payments
- SSLCommerz
- Django
- Bangladesh
· 6 min read
bKash, Nagad, SSLCommerz or aamarPay? A developer's guide to Bangladesh payment gateways
How bKash, Nagad, SSLCommerz and aamarPay integrations work, how they differ, and how to pick one for your Django or Python backend.
- Payments
- bKash
- Nagad
- SSLCommerz
- aamarPay
- Bangladesh
· 18 min read
bKash Tokenized Checkout in Django: a step-by-step integration from the official docs
Integrate bKash Tokenized Checkout in Django 5: token caching, create and execute payment, callbacks, query fallback, idempotent order updates and refunds.
- Payments
- bKash
- Django
- Bangladesh
· 5 min read
Django + PostgreSQL with Docker Compose: my starter setup, and the one-letter bug that loses your data
My Django + PostgreSQL Docker Compose starter, why it waits for the database, and the volume-path typo that silently lost data on every compose down.
- Django
- PostgreSQL
- Docker