Skip to content

Add setting to automatically pass customer email to Stripe Checkout Session #79

@RobinTheHood

Description

@RobinTheHood

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' => $stripeCustomerId

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions