#Vish
1 messages · Page 1 of 1 (latest)
we only update the cards if the issuing bank is registered in that program and if they send us the new card details
Is there a list of banks that are registered with you?
no, we don't
Well they used an M&T Bank I think. Do you guys have this bank registered?
Are these banks registered with you?
for context, the banks aren't "registered" with Stripe. Stripe works with the card networks. We don't have full visibility over what banks are registered. Whether the bank passes us that information is not within our control.
It's entirely possible that the bank decided not to share the new and updated card number since the original card was "lost"
Your implementation needs to be resilient enough to handle the situation where payment fails
Well the problem is our subscription charges every year, and every year, a lot of our customers lose card or their cards expires
So we lose a lot of revenue because customers dont update their card
that's totally normal for a yearly subscription. We have some recovery settings such as sending an email for a failed payment to the customer to remind them. We also have a setting to send emails customers for upcoming renewals
ultimately, there's really not much that can be done if the customer doesn't intend to continue the subscription anyway - no matter how many follow up emails you send them, they won't pay it
Thanks, we have another issue. For every customer we have a subscription and a free trail of 30 days. However, when payments fails, the checkout page provides them another free trial and if they provide a new card, a new subscription is created.
This image is showing what I mean
we don't validate if the customer already has a free trial unfortunately
you'll need to implement that logic on your own
But why is this creating a new subscription. They should just update card in the same subscription right?
i'm not sure i understand what you mean - the Checkout page is created and sent by you right?
Well I am using a firebase extension for this
So in the firebase extension, you fetch the information from customer id I am assuming
The page is not created by us, we are using a premade page by STripe. We just get the link from stripe and redirect our users there
that screenshot which you shared is a Checkout Session. Stripe (and that extension) doesn't validate if the Customer already has a trial when the customer makes payment via a Checkout Session.
If you want to allow the customer to update their card - then the link you need to give them is for the customer portal / billing portal which looks totally different from that screenshot you shared : https://stripe.com/docs/customer-management
Ok I am going to check and get back to you in the next half an hour
You were right