Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[usage] make increment billing cycle more robust #15205

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

svenefftinge
Copy link
Member

@svenefftinge svenefftinge commented Dec 7, 2022

Description

We receive finalize invoice events also before a cost center is expired. For instance when a user first subscribes but also when a user cancels their plan. The IncrementBillingCycle method should just skip in such cases, also we should not return an error once the usage has been recorded in the DB.

Related Issue(s)

Fixes #15203

How to test

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@svenefftinge svenefftinge requested a review from a team December 7, 2022 08:43
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Dec 7, 2022
@svenefftinge svenefftinge force-pushed the sefftinge/webhook-failure-on-new-15203 branch from 0086ac4 to f0816ac Compare December 7, 2022 08:47
@roboquat roboquat merged commit aa4a5ca into main Dec 7, 2022
@roboquat roboquat deleted the sefftinge/webhook-failure-on-new-15203 branch December 7, 2022 08:54
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/XS team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webhook failure on new Stripe individual signup
3 participants