#rajput.abd_22
1 messages · Page 1 of 1 (latest)
Hello rajput.abd_22, 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.
• rajput.abd_22, 1 hour ago, 13 messages
let paymentElement = cardElement.create('payment', { country: "never", paymentMethodTypes: ['card'] });
like this ???
payment element this on frontend
Have you looked at the link I shared?
yeah i looked at link you shared, but country is still showing after doing
"'
const options = { clientSecret: stripeClientSecret, appearance: {} };
cardElement = stripe.elements(options);
// Create and mount the Payment Element
let paymentElement = cardElement.create('payment', {
fields: {
billingDetails: {
country: 'never',
// email: 'never',
}
}
});
paymentElement.mount('#payment-element');
'"
Ok, let me check.
It might be that this field is required.
I think you forgot the address: fields->billingDetails->address->country
yes it my bad. thanks for the help
Happy to help.