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

[BEEEP] [PM-18518] Cleanup StripePaymentService #5435

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jonashendrickx
Copy link
Member

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-18518

📔 Objective

This code doesn't seem to be referenced anywhere anymore and can likely be safely deleted.

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@jonashendrickx jonashendrickx changed the title [PM-18518] Cleanup StripePaymentService [BEEEP] [PM-18518] Cleanup StripePaymentService Feb 21, 2025
@jonashendrickx jonashendrickx requested a review from a team February 21, 2025 17:36
Copy link
Contributor

github-actions bot commented Feb 21, 2025

Logo
Checkmarx One – Scan Summary & Detailsf03b15e0-6605-4ca7-8dc5-0c325340e15c

Great job, no security vulnerabilities found in this Pull Request

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 44.37%. Comparing base (b00f11f) to head (b6bf0cf).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/Core/Billing/Extensions/CustomerExtensions.cs 0.00% 3 Missing ⚠️
...rc/Core/Billing/Extensions/SubscriberExtensions.cs 66.66% 2 Missing and 1 partial ⚠️
...e/Services/Implementations/StripePaymentService.cs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5435      +/-   ##
==========================================
- Coverage   44.48%   44.37%   -0.11%     
==========================================
  Files        1512     1513       +1     
  Lines       70281    69711     -570     
  Branches     6341     6279      -62     
==========================================
- Hits        31261    30937     -324     
+ Misses      37674    37451     -223     
+ Partials     1346     1323      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Task<bool> HasSecretsManagerStandalone(Organization organization);
Task<(DateTime?, DateTime?)> GetSuspensionDateAsync(Stripe.Subscription subscription);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one's implementation can be made private

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot that one. It's fixed. Moved a few other methods out that could be made extension methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants