#supriya

1 messages · Page 1 of 1 (latest)

halcyon karmaBOT
lilac marsh
#

Hi
Could you please share more details about what you want to achieve ?

rare swallow
#

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

lilac marsh
#

What API are you using exatcly ? can you share the reference ?

lilac marsh
#

Can you share the requestId where it doesn't validate car details ?

rare swallow
#

that is live card right i can't share

#

is it secure?

lilac marsh
rare swallow
#

Okay give me few mins

#

you transaction id or payment id or payment method which id you want

lilac marsh
#

Let's start with the PaymentIntent Id.

rare swallow
#

okay

halcyon karmaBOT
rare swallow
#

pi_3NQVH8BFBCpItuQH1TKzCFIM

vital pebble
#

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?

rare swallow
#

yes i did not confirmed yet

vital pebble
#

Not sure I completely follow your process here.

rare swallow
#

check this id :pi_3NQSaqBFBCpItuQH0u7zCN56

vital pebble
#

Looking at that one, the PaymentMethod linked here expires in 2026

rare swallow
#

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

vital pebble
#

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

rare swallow
#

i am not using existed saved card

#

i used newly card right even though then also its failing

vital pebble
#

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.

rare swallow
#

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

vital pebble
#

If they had declined, Stripe would return the decline code in the API response

rare swallow
#

okay thank you