You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aha, interesting, I assumed that it would create a new Stripe CostCenter. If not, this sounds like a good follow-up issue. 💡
This was by design at that time, because the Stripe Invoice webhook is what triggers a spending limit reset and the CostCenter was meant to remain the same. Nothing stops us from creating a new CostCenter, but it should happen in response to the Stripe invoice, rather than when the billing period "ends" in our system.
Describe the behaviour you'd like
When a Stripe CostCenter reaches the end of its billing cycle, and Stripe issues + finalizes an invoice, we should also update the CostCenter's billing cycle dates:
Update Stripe CostCenter billingCycleStart on Stripe webhook
Update Stripe CostCenter nextBillingTime on Stripe webhook
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
svenefftinge
changed the title
When receiving a Stripe invoice finalization webhook, also update the Stripe CostCenter billing cycle dates
[UBP] When receiving a Stripe invoice finalization webhook, also update the Stripe CostCenter billing cycle dates
Dec 5, 2022
Is your feature request related to a problem? Please describe
Follow-up from #14705 (comment):
Describe the behaviour you'd like
When a Stripe CostCenter reaches the end of its billing cycle, and Stripe issues + finalizes an invoice, we should also update the CostCenter's billing cycle dates:
billingCycleStart
on Stripe webhooknextBillingTime
on Stripe webhookDescribe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: