Dodo Payments is a merchant of record for software and digital products. Reveata reads its payments and subscriptions and adds the part Dodo cannot see: which visit, channel and campaign each customer came from.
What you get
- Succeeded payments as revenue, without tax. A subscription's first payment is new revenue; later ones, including plan-change charges, are renewals that keep the first payment's source.
- Refunds as negative revenue on the day they succeed.
- Disputes that are lost or accepted take their amount out of revenue like a refund. Won, cancelled or expired disputes change nothing.
- MRR, churn, upgrades and downgrades. Dodo can deliver events out of order; an older subscription state never overwrites a newer one.
- Twelve months of history on connect.
How the connection works
- In Dodo Payments, open Developer → API keys and create a key.
- In Reveata, choose Dodo Payments under Settings → Payments, paste the key and connect. Test or live mode is detected from the key, so a test key only brings test payments.
- The card shows this connection's webhook URL. In Dodo, open Developer → Webhooks, add an endpoint with that URL and subscribe it to the events below.
- Paste the endpoint's signing secret (
whsec_…) into the card and choose Save secret.
payment.succeeded, refund.succeeded, subscription.active, subscription.renewed,
subscription.on_hold, subscription.cancelled, subscription.failed, subscription.expired,
subscription.plan_changed, subscription.updated, dispute.lost, dispute.acceptedUntil the secret is saved, the card shows Webhook missing and Reveata reads Dodo every hour instead, so payments arrive late rather than never. Dodo's own explanation of webhooks is in the Dodo Payments webhook docs (opens in a new tab).
How payments are matched to visits
Add the ids to the checkout session or payment metadata your server creates:
metadata: { reveata_visitor_id: visitorId, reveata_session_id: sessionId }Send them from the browser with window.reveata.metadata(), or read them from the _dt_v and _dt_s cookies on your server. reveata_user_id is read too. Reveata also reads these keys from subscription metadata.
Payments without ids are matched by the customer's email for visitors you identified. Dodo adds ?payment_id=pay_… to any return URL, so your thank-you page can link the payment as well (thank-you page payments).