#jonathan_needs_help

1 messages · Page 1 of 1 (latest)

silk nacelleBOT
plain wing
#

Hey there

#

One sec, server is super busy!

thorn mango
#

Hi there 👋 taking over for @plain wing

Can you not update usage before deleting the subscription?

leaden trout
#

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!