Reputation: 113
I have active subscription, and I need simulate
how can I do it? or can I use another solution for testing?
I have web hook listener, and I listen on:
invoice.payment_succeeded
: normal subscription renewal and sending the client an email about it
invoice.payment_failed
: the failure to pay and sending the client an email about it
customer.subscription.deleted
: If all retries for a payment fail stop subscription for client and sending the client an email about it
Upvotes: 0
Views: 756
Reputation: 1938
You can simulate Billing events (such as successful and failing recurring payments) using test clocks.
Upvotes: 2