#whizyyy-subscription-events

1 messages · Page 1 of 1 (latest)

lusty forumBOT
pliant schooner
#

@tardy wyvern The customer.subscription.updated Event describes any update to a Subscription. It can be because it becomes past due after a failed payment, a Price change or a billing cycle change. So it really depends what you are after.
If it were me, I would listen to invoice.created instead to know when a new period starts. But you can use customer.subscription.updated and look at previous_attributes to understand what changed in that Event. If you see current_period_start and current_period_end in there, you know it's for the new period/billing cycle

#

whizyyy-subscription-events

tardy wyvern
#

Fast and helpful, thanks for your precious time

pliant schooner
tardy wyvern
#

Sure, I will use it to test my integration