# Polar solution docs

- [Merchant of record explained, what Polar takes on that Stripe leaves with you](https://agenticboilerplate.com/cookbook/polar/merchant-of-record-vs-stripe): With Stripe you are the seller and you owe VAT, GST and US sales tax yourself. Polar sells on your behalf and carries that liability. What actually changes, what it costs, and how little of it reaches your code.
- [Moving from Stripe to Polar without breaking existing customers](https://agenticboilerplate.com/cookbook/polar/migrate-a-stripe-catalogue-to-polar): You cannot transfer live Stripe subscriptions to Polar. Sell new customers on Polar, keep Stripe's webhook alive for the ones you have, move them at renewal, and let the provider-neutral billing rows carry access through the whole overlap.
- [One-time and subscription products on Polar, from lifetime deal to renewal](https://agenticboilerplate.com/cookbook/polar/one-time-and-subscription-products-on-polar): Polar sells one price per product, so a plan sold monthly, yearly and for life is three products. How each kind checks out, which webhook proves it was paid, where it is stored, and how access resolves when a customer holds both.
- [Refunds and disputes on Polar, and taking access back exactly once](https://agenticboilerplate.com/cookbook/polar/refunds-and-disputes-on-polar): A refund arrives as order.refunded with the whole order. A dispute arrives as nothing at all. How this repo revokes a lifetime deal in both cases, why partial refunds keep access, and why a late paid delivery cannot give it back.
- [Polar sandbox to production, the checklist that stops launch-day silence](https://agenticboilerplate.com/cookbook/polar/sandbox-to-production-checklist): Sandbox and production are separate Polar deployments with separate tokens, product ids and webhook secrets. Nothing carries over. Everything that has to be recreated, in order, and how to prove it worked.
- [Polar webhooks arrive twice and sign two ways, make the handler survive both](https://agenticboilerplate.com/cookbook/polar/webhook-idempotency): At-least-once delivery means duplicates and out-of-order events are normal traffic, and Polar changed its signing key format in September 2026. Verify with both keys, claim the webhook-id before any write, re-read subscriptions and let orders only move forward.

---

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
