codecov / engineering-team

This is a general repo to use with GH Projects
2 stars 1 forks source link

Edit billing details in Codecov UI #1506

Open aj-codecov opened 3 months ago

aj-codecov commented 3 months ago

Problem to Solve: As it stands today, if a user wants to edit any of their billing details they either need to go to Stripe (where they must be the original billing contact) or reach out to support - this creates roughly a third of support billing issues.

Proposed Solution: Enable more fields for users to edit in Codecov's UI.

Sentry Example: image (conditionally shows) the TAX ID when the postal code is in a region where it exists

Figma: link

### Tasks
- [ ] https://github.com/codecov/engineering-team/issues/1685
- [ ] https://github.com/codecov/engineering-team/issues/1695
- [x] Update Stripe Packages in Gazebo + Pin Stripe Version
- [ ] https://github.com/codecov/engineering-team/issues/1866
- [ ] https://github.com/codecov/engineering-team/issues/1865
- [ ] https://github.com/codecov/engineering-team/issues/1864
- [ ] https://github.com/codecov/engineering-team/issues/1863
- [ ] https://github.com/codecov/engineering-team/issues/1861
- [ ] https://github.com/codecov/engineering-team/issues/1862
- [ ] https://github.com/codecov/engineering-team/issues/1867
- [ ] https://github.com/codecov/engineering-team/issues/1868
- [ ] https://github.com/codecov/engineering-team/issues/1869
- [ ] https://github.com/codecov/engineering-team/issues/1891
- [ ] https://github.com/codecov/engineering-team/issues/1973
- [ ] https://github.com/codecov/engineering-team/issues/1974
- [ ] https://github.com/codecov/engineering-team/issues/1978
codecovdesign commented 2 months ago

from our call @Adal3n3 assigning you:

Adal3n3 commented 2 months ago

Please correct me if I'm wrong.. Stripe doesn't provide that tax ID field so we don't need that tax field.

rohan-at-sentry commented 2 months ago

Stripe allows for collection of taxes - either from their paid offering called Stripe Tax, or using the free Tax Rate api.

The Tax Rate api will require individually creating tax rates for address etc, whereas Stripe Tax looks it up automatically.

https://docs.stripe.com/payments/checkout/taxes?tax-calculation=stripe-tax

Adal3n3 commented 2 months ago
Adal3n3 commented 1 month ago
Adal3n3 commented 1 month ago

Adding a note here for the tax field: @ajay-sentry will double check if its on the address component itself or something else. @Adal3n3 will need to update design to show the tax field.

ajay-sentry commented 4 weeks ago

On the subject of surfacing Tax Ids

Knowing the above, I think it'd make sense for us to: