Payments (Stripe)
Connect your own Stripe account to collect subscription payments. Use test keys to try it safely, then switch to live keys to go live.
How to connect Stripe — 5 steps
- 1Create a free Stripe account (or log in).
- 2Toggle Test mode ON (top-right in Stripe) while you test. Go to Developers → API keys and copy the Secret key (
sk_test_…) and Publishable key (pk_test_…). - 3In Stripe → Developers → Webhooks → Add endpoint, paste this URL:
https://clt.civup.com/api/billing/webhook
Select eventscheckout.session.completed,customer.subscription.*,invoice.paid, then copy the Signing secret (whsec_…). - 4Paste all three keys below, switch Enable to Yes, and click Save. Then Test connection.
- 5Attach a form to a plan (in the form's settings) — it will show the price with a monthly/yearly toggle and collect payment via Stripe Checkout. Test with card
4242 4242 4242 4242, any future date + CVC.
Connection
○ Payments offPrices are created in your Stripe account automatically the first time a plan is purchased. Manage plans + prices under Membership Plans.