#jigar-country
1 messages · Page 1 of 1 (latest)
hi there
do you have a request ID req_xxx for the error? https://support.stripe.com/questions/finding-the-id-for-an-api-request#:~:text=Navigate to Developers >> Logs.,the dashboard URL as well.
@limber blade let's talk here instead
are you the developer building the payment form that you posted in the screenshot? if so, can you share the code you wrote?
Hi karllekko,
Here is the method which is called for payment confirmation.
async confirmPayment(clientSecret, billingInfo) {
let result = await this.stripe.confirmCardPayment(clientSecret, {
payment_method: {
card: this.card,
billing_details: {
name: ${billingInfo.first_name} ${billingInfo.last_name}
}
},
setup_future_usage: 'off_session'
})
if (result.error) {
// Show error to your customer
this.$refs.card_errors.textContent = result.error.message
this.loading = false
return false
} else {
if (result.paymentIntent.status === 'succeeded') {
return result
}
}
},
hmm, not sure how that would cause that error, since you're not passing the billing address country there.
do you have more context? Maybe a link to the page where this happens and instructions on how I could reproduce it? The complete code of the whole page? or a request ID req_xxx for the error? https://support.stripe.com/questions/finding-the-id-for-an-api-request#:~:text=Navigate to Developers >> Logs.,the dashboard URL as well.
Here is the request ID: req_t2PgJIxRGod6ni
Hi 👋 thank you, I'm pulling that up on my side.
It looks like when that Payment Intent was created, a Customer ID was provided so that Customer was associated with it. That Customer has an invalid address and I believe that's what is blocking this, could you try updating the address on that Customer record and then try to confirm the payment again?