Payment processors
Billing works the same with every processor: the same products, checkout call, entitlements and dashboard. What differs is who sells to the buyer and what each processor can do.
| Stripe | Paddle | Creem | |
|---|---|---|---|
| Merchant of record | You, or Stripe with Managed Payments | Paddle | Creem |
| Sales tax and VAT | Yours to file, or Stripe's with Managed Payments | Paddle's | Creem's |
| Checkout | Stripe Checkout page | Paddle.js overlay on a page Billing serves | Creem's checkout page |
| Refunds | Full or partial, at once | Full or partial, approved by Paddle | Full only |
| Disputes | Opened and closed | Opened and closed | Opened |
| Local webhooks | stripe listen |
A tunnel | A tunnel |
Each is its own extension and Go module: pocketone.dev/ext/stripe, pocketone.dev/ext/paddle,
pocketone.dev/ext/creem. Install only the ones you use (Add Billing to your app).
Several at once
Install more than one and Billing → Settings → Checkout processor picks the one that takes new checkouts. Every installed processor keeps receiving webhooks and serving the items sold through it: renewals, cancels, refunds and the customer portal all go to the processor that made the sale.
Moving to another processor
- Install the new processor alongside the old one and set its keys and webhook.
- Add its price to each product's
prices:{"stripe": "price_123", "paddle": "pri_01h..."}. Check prices. - Switch Checkout processor to the new one.
New buyers pay through the new processor. Existing subscriptions keep renewing through the old one until they end; keep it installed until then. Your code doesn't change: entitlements add up across processors.
Other processors
A processor is any extension that provides the payments/v1 contract: checkout, read a subscription or order, cancel, change, refund, portal, and parse a signed webhook. See Writing an extension to add one.
Questions and comments
Comments are a GitHub Discussions thread; sign in with GitHub to post.