Documentation Index
Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Execute serverless functions and background jobs automatically when payment events occur. Process payments, send notifications, update databases, and run complex workflows with Inngest’s reliable function execution platform.This integration requires your Inngest webhook URL from your function configuration.
Getting Started
Open the Webhook Section
In your Dodo Payments dashboard, navigate to Webhooks → + Add Endpoint and expand the integrations dropdown.

Create Inngest Function
In Inngest, create a new function and copy the webhook URL from the function configuration.
Transformation Code Examples
Basic Event Payload
basic_event.js
Subscription Event Handler
subscription_event.js
Dispute Event Handler
dispute_event.js
Common Inngest Use Cases
Payment Processing
Payment Processing
- Send confirmation emails
- Update customer records
- Process refunds
- Generate invoices
- Update inventory
Subscription Management
Subscription Management
- Welcome new subscribers
- Process cancellations
- Send renewal reminders
- Update billing cycles
- Handle failed payments
Analytics & Reporting
Analytics & Reporting
- Update revenue metrics
- Track customer behavior
- Generate reports
- Sync data to analytics platforms
- Calculate churn rates
Tips
- Use descriptive event names for better function organization
- Include user context for function execution
- Set proper timestamps for event ordering
- Structure data consistently across events
- Use Inngest’s retry and error handling features
Troubleshooting
Functions not triggering
Functions not triggering
- Verify webhook URL is correct and active
- Check that Inngest function is deployed and active
- Ensure event names match function triggers
- Review Inngest function logs for errors
Data not received correctly
Data not received correctly
- Check payload structure matches Inngest expectations
- Verify event names are properly formatted
- Ensure all required fields are included
- Test with Inngest’s webhook testing tool