#jonathan_needs_help
1 messages · Page 1 of 1 (latest)
Hi there 👋 taking over for @plain wing
Can you not update usage before deleting the subscription?
So we are updating usage in most cases -- it's just that when we do delete the subscription, it triggers the invoice.created hook first which sends the message to Stripe. I think I found our issue though -- we were passing in a nil subscription item ID to the usage record creation call. I'll try this and see if we still see an error!