#jasmeet-checkout

1 messages · Page 1 of 1 (latest)

tawny rivet
#

@trail plinth the customer can't edit their email address if you pass an existing customer ID, yes https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer

If the Customer already has a valid email set, the email will be prefilled and not editable in Checkout. If the Customer does not have a valid email, Checkout will set the email entered during the session on the Customer.

trail plinth
#

Thanks a lot.
Is this change made recently? Previously when I used Stripe the field was editable.

tawny rivet
#

yep it changed literally yesterday in fact!

#

the previous behaviour was confusing since it meant you had to be ready to update your database for the customer after the session in case they changed it