#drakhaon
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
Not sure if there's a way. You can try updating the default_payment_method with a card that expires soon and use Test clocks to fast-forward the time. But again, I am not sure Test clocks affect card expiry.
We made this test and we didn't receive any events related to a payment failure
In fact, the invoice was paid
Yeah, the card expiry date is not tied to the test clock.
I don't think there's a way to try this in test mode.
But why do you need this particular case? It will fail as with any other reason.
I need to test the process of a payment failed at the renew of the subscription
But if I try to add a card that will make the payment failed frm the customer portal, the card isn't accepted
Is there a way to test a payment faillure at the renew of an active subscripton ?
Yes, it's best to use test cards that always require 3DS: https://stripe.com/docs/testing#regulatory-cards
Since the Subscription renewal is an off-session charge, if the bank requires 3DS/authentication the charge will just fail.
Ok
At this subject, is there a way to redirect to a checkout session if the payment failed in this case ?
There's a setting that allows sending emails to customers automatically when this happens.
Ok thanks
There is no way to integrate this directly on the front in order to process the 3DS auth or allow the user to paid with a new card through Checkout.
You can, but it means something is wrong with the card and it will happen again. Having to do this every month is not a great experience. So the best solution is to update the card usually.
This didn't work. The invoice was paid once again.
Is there a link that explain how to introduce this flow ?
sorry, just catching up. Exactly what flow is that you're looking for?
To test our intégration for payment faillite at the renew of à subscription