RevenueCat Integration

When a purchase completes through your web funnel, appfunnel automatically creates a customer in RevenueCat and links the Stripe purchase to them. This means your app can use RevenueCat to check entitlements for users who bought on the web.
What happens on purchase
- A customer is created in RevenueCat using your internal appfunnel customer ID
- The Stripe purchase is linked via RevenueCat's receipts API (using the subscription ID for subscriptions, or the checkout session ID for one-time payments)
If the customer already exists in RevenueCat, we skip creation and just link the new purchase.
Setup
You need three things from your RevenueCat dashboard:
- Project ID - found under Project Settings
- V2 API Key (Secret) - create this under API Keys, used for customer creation
- Public API Key - used for linking Stripe purchases via the receipts endpoint