#steve34chen
1 messages ยท Page 1 of 1 (latest)
What do you need help with?
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
Can you share your code calling confirm payment?
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
................................ ๐ ............. ๐
Maybe my passed data has problems
how can I debug this
I dont know how to debug it
That should be sufficient as long as its set when you make the confirm call