# Dodo Payments solution docs

- [Selling software from outside the US, and why a merchant of record solves the payout problem](https://agenticboilerplate.com/cookbook/dodo/merchant-of-record-payouts-outside-the-us): If your company is registered in India, Nigeria, Brazil or most of the world, the hard part is not accepting cards. It is getting paid, and staying compliant in a hundred countries you never visit.
- [One-time payments and subscriptions on Dodo Payments, side by side](https://agenticboilerplate.com/cookbook/dodo/one-time-payments-with-dodo): Dodo decides one-time or recurring from the product, and payment.succeeded fires for both. Tell them apart by the payment's subscriptions, store purchases separately, and let a refund take access back.
- [Refunds and chargebacks on Dodo, and what they should do to access](https://agenticboilerplate.com/cookbook/dodo/refunds-and-disputes-bookkeeping): A refund or dispute webhook says which payment, not what was bought. Re-read the payment, derive the status from all its refunds and disputes, and never let a late event undo a refund.
- [Verifying Standard Webhooks signatures, the three headers and the two mistakes](https://agenticboilerplate.com/cookbook/dodo/standard-webhooks-signature-verification): Dodo signs id.timestamp.body with HMAC-SHA256. Verify the raw bytes, pass all three headers, and never write the comparison yourself.
- [The Dodo subscription lifecycle, which event means what and who keeps access](https://agenticboilerplate.com/cookbook/dodo/subscription-lifecycle-events): active, past_due, on_hold, paused, cancelled, failed, expired. Map each to access on purpose, re-read the subscription on every event, and let a grace period decide how failed renewals feel.
- [Dodo test mode and live mode are two separate worlds](https://agenticboilerplate.com/cookbook/dodo/test-mode-vs-live-mode): Different API keys, webhook keys, product ids and customers. Nothing carries over, and the mismatch that hurts most is silent.

---

Agentic Boilerplate: A Next.js repo your agent already knows. Free during launch, then $99 once.

- Site map for agents: https://agenticboilerplate.com/llms.txt
- Public API: https://agenticboilerplate.com/openapi.json
- Contact: agenticstudio@gmail.com
