-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[PM-20059]Restart-subscription being invoked without payment method #5631
base: main
Are you sure you want to change the base?
[PM-20059]Restart-subscription being invoked without payment method #5631
Conversation
…without-payment-method
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5631 +/- ##
=======================================
Coverage 45.73% 45.73%
=======================================
Files 1603 1603
Lines 72659 72659
Branches 6507 6507
=======================================
Hits 33229 33229
Misses 38018 38018
Partials 1412 1412 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Great job, no security vulnerabilities found in this Pull Request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ The result of the video you attached is a 500 error response.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, missed the success video because it didn't render correctly in GitHub. This looks good.
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-20059
📔 Objective
DataDog is showing POST /organizations/{organizationId}/billing/restart-subscription endpoint failing a decent amount due to a 400 being returned from Stripe.
This 400 is always due to the fact that we’re trying to create a subscription for a customer who does not have a payment method.
Examples:
https://dashboard.stripe.com/customers/cus_GWRlJLsG9XweEM/Can't find link
https://dashboard.stripe.com/customers/cus_L3pEt8uqv9FFbC/Can't find link
https://dashboard.stripe.com/customers/cus_Ps7rhALxguLRmu/Can't find link
https://dashboard.stripe.com/customers/cus_RYxnlN08K8QtgK/Can't find link
https://dashboard.stripe.com/customers/cus_RilMOMmq3YnwnO/Can't find link
📸 Screenshots
After the Fix
https://github.com/user-attachments/assets/0e42d3cb-b8bc-4fbb-a694-4b25c0f3f05e
Before the Fix
Screen.Recording.2025-04-10.at.08.49.54.mov
⏰ Reminders before review
🦮 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