What the RevenueCat app does
The RevenueCat app sends Dodo Payments subscriptions, one-time purchases, refunds, and lost disputes to RevenueCat through the RevenueCat External Purchases API. RevenueCat entitlements, Customer History, charts, and integrations then show the web purchases that customers make with Dodo Payments.Before you start
- You are an owner or an admin of the Dodo Payments business.
- The RevenueCat External Purchases API is a private beta. RevenueCat must enable it for your project. If the External source is not available, contact RevenueCat support.
- In RevenueCat, add an app of type External to your project. Copy the app-specific secret key of that External app. Don’t use a project-level secret key or a public key.
- In RevenueCat, create products with identifiers that match your Dodo Payments product IDs, and attach them to entitlements. If the identifiers differ, use the Product map setting.
- Ask RevenueCat support to enable three flags on your RevenueCat project: purchase metadata, payment objects in exports, and strict refund matching.
Identify your customers
RevenueCat needs an app user ID for each purchase. Pass the same app user ID that your app gives toPurchases.configure in the metadata of the checkout session or the subscription, under the key revenuecat_app_user_id. You can change the key in the settings.
Install, connect, and configure
1
Install the app
Open Apps, then Explore. Open RevenueCat (publisher Dodo Payments) and select Install.
2
Connect RevenueCat
Select Connect, paste the secret API key, and select Connect. Dodo Payments does not check the key when you connect. If the key is wrong, the connection shows as broken after the first event.
3
Choose the settings
Open the Configure tab, set the options, and select Save.
Settings
What is sent and when
Test mode
Dodo Payments sends test mode events to RevenueCat as sandbox purchases. Use a separate RevenueCat project for Dodo Payments test mode, so sandbox data never unlocks entitlements for real users.Limitations
- RevenueCat shows a plan change as a
RENEWAL. - The app does not backfill existing subscribers. Their events sync from the next renewal after you install the app.
- A refund revokes access only when the refunded payment belongs to a single subscription and is the payment of that subscription’s latest posted period, and that period is still running at the time of the refund. A payment that covers several subscriptions revokes nothing.
- A refund of an older period posts only the negative payment, and it lands on the revenue of the newest period.
- A full refund means this refund plus earlier refunds reach the payment total. A lost dispute is capped at the amount that is not yet refunded.
- If a delivery fails, Dodo Payments tries again automatically.