#alextakitani

1 messages · Page 1 of 1 (latest)

neat pendantBOT
vernal thorn
#

Hello

#

How can I help?

kind musk
#

Hello!

#

So, we have some customers that have multiple payment methods

#

but, some are expired cards

#

is there anything on the api I can use to spot those ?

#

Or do I have to use the exp_mont and year and do the math ?

vernal thorn
#

Yeah you would look at the expiry and need to calculate this yourself. However you may not want to touch these as oftentimes Issuers will still successfully charge "expired" cards that are saved on file since they just substitue in the replacement card on their end.

#

But really that is up to you.

kind musk
#

I see...

#

The thing is that we are in a odd situation.
Because sometimes the customer has a expired card as a default in a subscription

#

and another card as default on his account

#

Stripe charges the default for the sub, and we are having a lot of failed payments because of that

#

so our idea is to spot the customers that are in this situation and update their subscriptions

vernal thorn
#

Yeah that works.

#

You can either do it proactively or on payment failure

#

Both would work

kind musk
#

That's great !

#

Thanks for your help