#Jev-subcriptions

1 messages ยท Page 1 of 1 (latest)

dusk flame
#

๐Ÿ‘‹ happy to help

silent nexus
#

Thanks a lot for the advice ๐Ÿ™‚

dusk flame
#

yeah sure, let me know if you need any more help

silent nexus
#

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

dusk flame
#

there's an expired card decline 4000000000000069

#

but I don't think that you could attach this card to a customer

silent nexus
#

Yap, the documentation said we can't attach

dusk flame
#

the only other card that you can attach and gets you a decline is 4000000000000341

silent nexus
#

Maybe I can handle what I need to test with that, thank you

#

I need to fail a renewal

#

without canceling the sub

dusk flame
#

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

silent nexus
#

That's what I did and it works ๐Ÿ™‚ thanks you a lot

#

But I didn't receive events on the webhook :/

#

Investigating

dusk flame
#

you could listen to all invoice events invoice.*