Skip to main content

Prerequisites

Before you begin, make sure you have:

Boilerplate Setup

Clone our Next.js boilerplate to get started quickly:
The boilerplate includes all necessary dependencies and basic setup for Dodo Payments integration.

Integration Options

Choose your integration path:

One-Time Payments

Process single payments

Subscriptions

Handle recurring payments

One-Time Payment Product Integration

Learn how to implement one-time payments in your application:

Key Steps

Subscription Payment Product Integration

Learn how to implement subscription payments:

Key Steps

Webhook Integration

Set up webhooks to handle asynchronous events:

Testing

Before going live:
  1. Use test API keys
  2. Test with test card numbers
  3. Verify webhook handling
  4. Test error scenarios

Common Integration Issues

Next Steps

API Reference

Explore all available endpoints

SDKs

View SDK documentation

Webhooks

Learn about webhook events

Testing

Test your integration

Need Help?