#qzai.

1 messages · Page 1 of 1 (latest)

atomic widgetBOT
spiral solar
novel coyote
#

How to hide country information

spiral solar
#

You may refer to the above reply on hiding country information

novel coyote
#

ok i had resolve

#

thanks

#

You specified "never" for fields.billing_details.address.country when creating the payment Element, but did not pass confirmParams.payment_method_data.billing_details.address.country when calling stripe.confirmPayment(). If you opt out of collecting data via the payment Element using the fields option, the data must be passed in when calling stripe.confirmPayment().

#

what should I do

#
 const paymentElementOptions = {
      layout: "tabs",
      fields:{
        billingDetails:{
          address:{
            country:'never'
          }
        }
      },
      paymentMethodTypes: ['google_pay','apple_pay']

    };
spiral solar
#

If you opt out of collecting data via the payment Element using the fields option, the data must be passed in when calling stripe.confirmPayment().
Where did you see this message from?

novel coyote
#

when i use strip,confirmPayment()

spiral solar
novel coyote
#

i had resolve it

spiral solar
#

Awsome! Great to hear that the issue has been resolved