#daniyal_11692
1 messages · Page 1 of 1 (latest)
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.
- daniyal_11692, 6 minutes ago, 4 messages
- daniyal_11692, 3 days ago, 24 messages
- daniyal_11692, 5 days ago, 4 messages
- daniyal_11692, 5 days ago, 7 messages
- daniyal_11692, 6 days ago, 3 messages
- daniyal_11692, 6 days ago, 5 messages
and 1 more
Sorry, my colleague had to step away. Could you please summarise the latest question for me?
In the Payment Element or Address Element?
payment elemnt
You can use defaultValues.billingDetails: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-defaultValues-billingDetails
doing it like this: const stripeElementOptions = {
mode: 'setup',
currency: billingCurrency,
paymentMethodTypes: ['card'],
defaulValues:{
billingDetails:{
address:{
country: 'US',
postal_code: '3333'
}
}
}
}
but no effect
What do you see?
i see my default country selected as pakistan
Could you please share the screenshot?