#Jev-subcriptions
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
you could always use test clocks (https://stripe.com/docs/billing/testing/test-clocks) to advance in time and test your subscription behaviours
Thanks a lot for the advice ๐
yeah sure, let me know if you need any more help
The simulation continues to charge successfuly a card that is expired ๐
The card is not marked as expired
The 4242 card, maybe I there is another card that could work
there's an expired card decline 4000000000000069
but I don't think that you could attach this card to a customer
Yap, the documentation said we can't attach
the only other card that you can attach and gets you a decline is 4000000000000341
Maybe I can handle what I need to test with that, thank you
I need to fail a renewal
without canceling the sub
yes what you can do
is that you could start by attaching the 4242 4242 4242 4242 card
and then after paying the first invoice you would change the invoice_settings.default_payment_method of the customer and use the 0341 card and finally you advance the test clock
That's what I did and it works ๐ thanks you a lot
But I didn't receive events on the webhook :/
Investigating