#gabrielctavares

1 messages · Page 1 of 1 (latest)

spiral zealotBOT
eager coral
#

CustomerSubscriptionCreated is just for when the subscription is created, which doesn't guarantee the subscription has actually been paid/active

#

you'll want to check the status of the subscription when you get that CustomerSubscriptionCreated event, and if it's not active or trialing you'll want to wait for the updated event and wait for it's status to be updated

north sluice
#

is the update event always called when it is paid? in my local tests this didn't happen

eager coral
#

The update event is called when the subscription is changed/updated in any way

#

Really, if you want to know exactly when a subscription is paid you should be listening for invoice.paid as well, in order to be notified when the invoice is paid

north sluice
#

these events happened

eager coral
#

Yeah, so as I said - you can see an invoice.paid event right there

north sluice
#

ok i will try here thanks a lot