I need to build a custom form to collect card details using Stripe.
The form will allow users to enroll in a free trial. The form will collect customers card information without immediately charging them. Then after 7 days, we will charge them the full course amount.
Current behavior:
- Visitors select the course 2) Create an account
- They are redirected to the free course page
Desired behavior: 1) Visitors select the course 2) Create an account 3) Enter their payment info (here the custom form collects payment info, creates a new customer on stripe with their card info) 4) They are redirected to the free course page 5) after 7 days if customer hasn’t cancelled trial we bill then the full course amount.
Here is a Stripe guide for how to save clients payment info: https://stripe.com/docs/payments/quickstart?lang=node
Here is Squarespace Development Platform: https://developers.squarespace.com/quick-start