Enrollment guide
Lorem ipsum dolor sit amet.
Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
01
Recommended customer flow
From enrollment to verified payment
- Customer completes the enrollment form.
- Browser validates the required fields.
- Website inserts an enrollment record into Supabase.
- Supabase returns a unique enrollment ID.
- Website reveals or enables the Stripe Buy Button.
- Website passes the enrollment ID to Stripe as
client-reference-id.
- Customer completes checkout on Stripe’s hosted payment page.
02
Data model
Collect only what the enrollment needs.
Recommended enrollment fields
- First name
- Last name
- Email
- Company
- Product or plan selection
- Consent accepted
- Enrollment status
- Payment status
- Created timestamp
Information the site must not collect or store
- Card number
- CVV
- Bank-account credentials
- Stripe secret key
- Supabase service-role key
- Database password
03
Enrollment
Lorem ipsum dolor.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.