#priya_97027

1 messages · Page 1 of 1 (latest)

sacred tinselBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tranquil stone
sacred tinselBOT
drifting sage
#

I am trying to add email here. Does below code works for all payment methods that require email?

const opt1 = {
defaultValues: {
billingDetails: {
email: 'abcd@gmail.com'
}
},
}

<PaymentElement options={opt1} onReady={handleOnReady} />

placid widget
#

Hello! I'm taking over and catching up...

drifting sage
#

It's working

placid widget
#

Yep, that should work for anything that needs an email.