#supriya
1 messages · Page 1 of 1 (latest)
Hi
Could you please share more details about what you want to achieve ?
ya okay
i am using stripe api calls like Payment method for customer creation and send that customer when doing the confirm payment (i aused for confirm payment api call)
so its taking any number not checking the is it validate expiry date and expiry year
What API are you using exatcly ? can you share the reference ?
Can you share the requestId where it doesn't validate car details ?
just share the requestId, it's safe
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Okay give me few mins
you transaction id or payment id or payment method which id you want
Let's start with the PaymentIntent Id.
okay
pi_3NQVH8BFBCpItuQH1TKzCFIM
Hello 👋
This PaymentIntent is still in "requires_source" status so it hasn't been confirmed with a PaymentMethod yet
Do you have an example PaymentIntent ID where you're seeing the behaviour you described above?
yes i did not confirmed yet
Not sure I completely follow your process here.
check this id :pi_3NQSaqBFBCpItuQH0u7zCN56
Yes actually that is not correct expiry year
but still it deduct the amount from the card
Can you please help me on that why its not validating in stripe side
We have a support article on this
https://support.stripe.com/questions/can-an-expired-card-still-be-charged-on-stripe
Basically, its on the issuers to decline the charge if they deem it invalid (in case the payment method has expired).
LMK if that helps
i am not using existed saved card
i used newly card right even though then also its failing
Right but you're creating the PaymentMethod directly by calling the API passing in a valid year 2026
In this case, Stripe might run a authorization charge underneath to deem validity of the PaymentMethod. If the issuer decline the charge on their end due to expired card then you'd see expired_card decline code. In this case, they didn't.
2026 is wrong expiry year actually
In this case, Stripe might run a authorization charge underneath to deem validity of the PaymentMethod. If the issuer decline the charge on their end due to expired card then you'd see expired_card decline code. In this case, they didn't. ------>How i know issuer decilined or not in their side
If they had declined, Stripe would return the decline code in the API response
okay thank you