#Marroco-event-subscriptions

1 messages ยท Page 1 of 1 (latest)

glass pine
night ivy
#

Hi, Im using this for tracking the status of the subscription

#

if they cancel or the payment didnt pass through I can update my database

#

so this event-> customer.subscription.updated || will give me a subscription object that i can get the status right?

glass pine
#

Correct!

night ivy
#

I have a question

#

how can I simulate a cancel subscription

#

I create one but with a trial

#

I just cancel it but my event didnt trigger

glass pine
night ivy
#

it change for trial to active

#

but when I cancel

#

seems like it doesnt trigger this event customer.subscription.updated

glass pine
#

Can you provide a request ID for the request that cancelled the subscription?

night ivy
#

req_stzeBhU1oAQ5cb

glass pine
night ivy
#

so this one customer.subscription.updated -> give status , active, trial and past due?

#

or how can I know the past due?