You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dodo Payments revenue adapter: planned, or open to a PR?
#15
Hi! I self-host Open Analytics and my product bills through Dodo Payments, which shows as "Coming soon" under Integrations ({ id: 'dodo', available: false } in revenue-providers.ts).
Two questions before writing any code:
Is someone already working on the Dodo adapter, or is it planned soon? I'd rather not duplicate work.
If not, would you accept a PR for it?
What I have in mind, following the Polar adapter since Dodo also signs webhooks with Standard Webhooks:
credential check with the customer's Dodo API key (test and live mode)
webhooks: payment.succeeded, refund.succeeded, plus the subscription events needed to tell renewals apart
backfill sync through Dodo's paginated payments and refunds endpoints
normalization into RevenueObservation, with unit tests like polar-revenue-normalize.test.ts, and the contract and catalog tests updated
the Integrations card and docs, and the order_id recipe for Dodo (payment id on the return URL)
I can test it end to end against Dodo test mode. Happy to sign the CLA and to follow whatever shape you'd prefer.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi! I self-host Open Analytics and my product bills through Dodo Payments, which shows as "Coming soon" under Integrations (
{ id: 'dodo', available: false }inrevenue-providers.ts).Two questions before writing any code:
What I have in mind, following the Polar adapter since Dodo also signs webhooks with Standard Webhooks:
payment.succeeded,refund.succeeded, plus the subscription events needed to tell renewals apartRevenueObservation, with unit tests likepolar-revenue-normalize.test.ts, and the contract and catalog tests updatedorder_idrecipe for Dodo (payment id on the return URL)I can test it end to end against Dodo test mode. Happy to sign the CLA and to follow whatever shape you'd prefer.
All reactions