-
Notifications
You must be signed in to change notification settings - Fork 23
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
fix: Infer name if not in billing details #3676
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3676 +/- ##
=======================================
Coverage 98.81% 98.81%
=======================================
Files 825 825
Lines 14875 14892 +17
Branches 4226 4233 +7
=======================================
+ Hits 14699 14716 +17
Misses 167 167
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3676 +/- ##
=======================================
Coverage 98.81% 98.81%
=======================================
Files 825 825
Lines 14875 14892 +17
Branches 4234 4233 -1
=======================================
+ Hits 14699 14716 +17
Misses 167 167
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3676 +/- ##
=======================================
Coverage 98.81% 98.81%
=======================================
Files 825 825
Lines 14875 14892 +17
Branches 4226 4233 +7
=======================================
+ Hits 14699 14716 +17
Misses 167 167
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Bundle ReportChanges will increase total bundle size by 1.11kB (0.01%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #3676 +/- ##
=======================================
Coverage 98.81% 98.81%
=======================================
Files 825 825
Lines 14875 14892 +17
Branches 4234 4241 +7
=======================================
+ Hits 14699 14716 +17
Misses 167 167
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
src/pages/PlanPage/subRoutes/CurrentOrgPlan/BillingDetails/PaymentCard/PaymentCard.test.jsx
Outdated
Show resolved
Hide resolved
src/pages/PlanPage/subRoutes/CurrentOrgPlan/BillingDetails/PaymentCard/PaymentMethodForm.tsx
Outdated
Show resolved
Hide resolved
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.
lgtm!
It appears some customers can have messy data missing billing details email or name, which makes them encounter an error on the Payment Element (this UI element requires this that was formerly optional with the Card Element).
Instead infer these values from other places on the Stripe customer such as the name/email on the latest invoice, or that attached to the customer, or that attached to the accountDetails.
Fixes https://codecov.sentry.io/issues/6237642048/?alert_rule_id=15115849&alert_type=issue¬ification_uuid=50a22e19-57b2-4b3e-81c9-c85911f30570&project=5514400&referrer=issue_alert-slack