#sokolriiwards
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Yes, you will get a subscription.updated event with a "status" parameter, or invoice.paid - it's better to rely on the latter one.
ok, at what time do I get status update? or I get status update on recurring date?
The status wouldn't update if the payment was successful.
It depends on how you want to structure your backend logic.
Do you want to do something on successful payments?
Or do you want to do something when the subscription payment fails?
Yes, I want to upgrade a customer when successful payment and downgrade when fails
or keep them upgraded if they didn't changer Package and the payment was successful next month
Then you can also listen to invoice.payment_failed
thank you very much for the answers.
Happy to help!