#Cyborg-subscriptions

1 messages ยท Page 1 of 1 (latest)

steel lodge
#

๐Ÿ‘‹ happy to help

#

I wanted to know what event should I use if I want to store the subscription end date in my db?
since you're already listening to invoice.paid it's best to keep on using it to do any changes on the user's subscription

#

is it always true that the first invoice.paid event is generated before customer.subscription.updated
we don't guarantee the order in which you receive the webhooks and/or if there's a duplicate event that was sent

#

Cyborg-subscriptions

calm tangle
calm tangle
steel lodge
#

ah, so I should probably use a single event to do most of the stuff.
yes we recommend that

calm tangle
#

awesome. Thank you for your help. Appreciate it :)

steel lodge
#

let me know if you need any more help