DocsQuick Start
Quick Start
Get up and running with PayKit in minutes. Learn how to create your first payment form.
Quick Start
This guide will help you create your first payment form with PayKit in just a few minutes.
Prerequisites
Make sure you have:
- PayKit installed (see Installation)
- A payment provider account (Stripe, Polar, etc.)
- Your API keys configured
Creating Your First Payment Form
1. Set up the PayKit Provider
First, wrap your app with the PayKitProvider
:
2. Create a Payment Form Component
3. Handle Payment Success
Advanced Example
Here's a more complete example with form validation and error handling:
Next Steps
Now that you have a basic payment form working, you can:
- Payment Providers - Learn about specific providers
- Webhooks - Handle payment events
- Error Handling - Better error management
- API Reference - Explore all available options