bitwarden / passwordless-server

Bitwarden Passwordless.dev infrastructure/backend (API, database, Docker, etc).
https://bitwarden.com/
Other
86 stars 28 forks source link

PAS-478 | Stripe subscriptions could end up in a corrupted state #690

Closed jonashendrickx closed 2 months ago

jonashendrickx commented 2 months ago

Ticket

Description

It will now first check Stripe for active subscription items due to a corrupted state. It would have been nice if we can record all webhooks and their processing state.

Shape

Screenshots

Checklist

I did the following to ensure that my changes were tested thoroughly:

I did the following to ensure that my changes do not introduce security vulnerabilities:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 34.89%. Comparing base (c654950) to head (7b7c546). Report is 1 commits behind head on main.

Files Patch % Lines
...dminConsole/Services/SharedStripeBillingService.cs 0.00% 19 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #690 +/- ## ======================================= Coverage 34.89% 34.89% ======================================= Files 566 566 Lines 31001 30999 -2 Branches 934 934 ======================================= Hits 10818 10818 + Misses 20039 20037 -2 Partials 144 144 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.