#rajput.abd_22

1 messages · Page 1 of 1 (latest)

fathom pollenBOT
#

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

polar rune
#

Hi, let me help you with this.

raven finch
#

let paymentElement = cardElement.create('payment', { country: "never", paymentMethodTypes: ['card'] });
like this ???

polar rune
#

Please see the link that I shared.

#

Are you using Card Element or a Payment Element?

raven finch
#

payment element this on frontend

polar rune
#

Have you looked at the link I shared?

raven finch
#

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');

'"

polar rune
#

Ok, let me check.

#

It might be that this field is required.

#

I think you forgot the address: fields->billingDetails->address->country

raven finch
polar rune
#

Happy to help.