#Going live
- Get production credentials from bKash (merchant portal or relationship manager). Sandbox credentials do not work in production.
- Put them in your secret manager and set
baseUrltohttps://tokenized.pay.bka.sh. - Complete the production checklist.
- Deploy with a shared Redis token store if you run more than one process.
- Make one small real payment and one refund. Confirm the order, the
trxIdand the money movement in the merchant portal. - Watch logs for
unknownoutcomes and reconcile them withqueryPayment.
#Migrating from a hand-written or community integration
- Replace your token handling with the SDK's store. Do not keep a second place that calls Grant Token, or you will exceed the hourly limit.
- Move price decisions to
resolveOrder. Remove any code that reads an amount from the request body. - Treat the callback as a trigger for Execute, not as proof.
- Keep your existing invoice numbering; they must be unique per attempt.
- Run old and new side by side in the sandbox before switching the route.