#dangthanhtuan1997

1 messages · Page 1 of 1 (latest)

devout vortexBOT
umbral ledge
#

Have you tried using a different test card?
like 4242 one

merry night
umbral ledge
#

Can you share the PaymentIntent where you're seeing this?

#

pi_xxx ID

merry night
#

yes, pi_3OX2U8AfC1NR9PLZ0DDSlZjG

umbral ledge
#

also which test card are you using here?

merry night
#

4111 1111 1111 1111 and 4242 4242 4242 4242

umbral ledge
#

hmm I don't see a confirmation request for this so most likely some validation is failing on the element itself

merry night
#

I use this code in Front-end
const { error } = await stripe.confirmPayment({
elements,
redirect: 'if_required',
confirmParams: {
payment_method_data: {
billing_details: {
address: {
country: 'US'
},
email: email.trim()
}
}
}
});

#

And it throw error
{
"code": "postal_code_recollection_required",
"type": "validation_error",
"message": "Your card number and postal code do not match."
}

umbral ledge
#

what are you putting in the zip and cvc fields?

merry night
#

In the first charge, the form not have zip field. It have cardnumber, expiration and CVC. CVC I put 3 random number

umbral ledge
#

so you're saying zip gets cleared out when you use link?
It only fills cardnumber, expiry and cvc?

#

also, is this page live? If so, can you share the URL?

merry night
merry night
brisk saffron
#

Hi there 👋 jumping in as I've been helping look into this. It's hard to tell without a more clear understanding of the full behavior you're seeing, but this sounds like expected behavior where we're recollecting the CVC for verification purposes.

merry night
#

Oh, I resolved my problem. The reason is my current country (VN), but I set default in my code is US. Thank you for support!!!