-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Currently, when using Stripe Checkout, the customer must manually enter their email address during the payment process. Stripe Checkout supports pre-filling this field by passing the customer_email (or an existing customer ID) when creating the Checkout Session.
Feature request
Add an option in the module settings to automatically pass the customer’s email address from the shop order to the Stripe Checkout Session.
Benefits
- Reduces friction for the customer by avoiding duplicate data entry.
- Ensures more consistent and accurate email capture in Stripe.
- Improves user experience and conversion rates.
Possible implementation
When creating the Stripe Checkout Session, include:
'customer_email' => $order['customer_email']or, if the customer already exists in Stripe:
'customer' => $stripeCustomerIdReferences:
- Stripe API reference for Checkout Sessions: https://stripe.com/docs/api/checkout/sessions/create
- Relevant parameters: customer_email, customer
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
No status