Payments

Secure online payment

A simple payment page for customers paying invoices online. Stripe or Square can be plugged in later without changing the page structure.

Stripe setup

Add your Stripe keys to activate payments

Set NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY in your environment.
Set STRIPE_SECRET_KEY for the payment intent API route.
Use Stripe test keys first, then swap to live keys at launch.