#steve34chen

1 messages ยท Page 1 of 1 (latest)

timber jayBOT
fathom dome
#

What do you need help with?

gloomy yoke
#

IntegrationError: 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().

#

I have this error

#

But i have passed the address info in my code

fathom dome
#

Can you share your code calling confirm payment?

gloomy yoke
fathom dome
#

Have you tried logging those values to ensure they are set?

#

Did you mean to have address in the object path twice?

#

country: order.address.address.country

#

................................ ๐Ÿ‘† ............. ๐Ÿ‘†

gloomy yoke
#

I just console log

#

it shows CA

#

as my country

gloomy yoke
#

how can I debug this

#

I dont know how to debug it

fathom dome
gloomy yoke
#

it works now

#

thx