টাকা এলো

Search the docs

Pages, sections and error codes

Guides

Go-live checklist

Nine checks between a working test integration and real money.

Your test integration works. Before switching to an sk_live_ key, go through this list — each item is a real problem we have seen.

  1. 1

    Finish Go live in the dashboard

    Each shop goes live on its own, and a shop's live keys exist only once it is live. Open Go live in the dashboard while working in that shop: it ticks six things as they are really done — the business details, the shop's checkout address, a number that confirms by itself attached to the shop, that number's phone connected (SMS allowed, seen in the last 15 minutes), the number's ৳10 test (sent from another of your numbers; it stays yours) and its claim (a small amount sent from it to TakaElo). Go live works at 6 of 6. A number takes real payments only once it is tested and claimed.

  2. 2

    Add your websites

    In Settings › Domains, add every domain your success_url and cancel_url use. Live keys accept https only.

  3. 3

    Create a live key

    Switch the dashboard to Live, create a key, and put it in your production environment as TAKAELO_SECRET_KEY. Never commit it.

  4. 4

    Set the live webhook

    With the dashboard on Live, an https endpoint, with its own whsec_… secret in your production environment (the Test endpoint's secret won't verify live events). Use Send test event and check your logs.

  5. 5

    Verify every webhook

    Raw body, constant-time compare, 5-minute window. Requests with a bad signature must get a 400 — try one.

  6. 6

    Fulfil on the webhook, once

    Not on the redirect. Store event ids so a retry never ships an order twice.

  7. 7

    Send idempotency keys you can repeat

    Derived from your order and the attempt (order-4821-1): a retry after a timeout returns the same checkout, and a new attempt after a failed one gets a new key.

  8. 8

    Log request_id

    Log the request_id of every error. It's the fastest way for us to help.

  9. 9

    Make one real payment through your site

    The number's ৳10 test proved the phone; now prove your code. Pay a ৳10 order on your own site from your own wallet. Watch it complete, the webhook arrive, and the order update. Then record a refund and send the ৳10 back.