Autofill customer details
Last updated
Last updated
You can automatically fill in certain details in the Checkout Session payment form by using the Customer Email or Stripe Customer ID fields that come with the 'Create Checkout Session' actions.
For example, you can add the Current User's email to the Customer Email field:
The users email will then be autofilled in the Checkout Session:
Once your customer has made a purchase via Stripe, you will be able to save down their Stripe Customer ID and use this in the Stripe Customer ID field:
This means the customers payment details will be autofilled too: