#daniyal_11692

1 messages · Page 1 of 1 (latest)

granite falconBOT
#

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.

regal storm
#

Sorry, my colleague had to step away. Could you please summarise the latest question for me?

jovial rune
#

how can i prefill data in payment elemnt?

#

address and postal code

regal storm
#

In the Payment Element or Address Element?

jovial rune
#

payment elemnt

jovial rune
#

doing it like this: const stripeElementOptions = {
mode: 'setup',
currency: billingCurrency,
paymentMethodTypes: ['card'],
defaulValues:{
billingDetails:{
address:{
country: 'US',
postal_code: '3333'
}
}
}
}

#

but no effect

regal storm
#

What do you see?

jovial rune
#

i see my default country selected as pakistan

regal storm
#

Could you please share the screenshot?