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

[HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [Payment card / Subscription] fix card data not showing up in the new subscription page #44362

Closed
blimpich opened this issue Jun 25, 2024 · 20 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Reviewing Has a PR in review Weekly KSv2

Comments

@blimpich
Copy link
Contributor

blimpich commented Jun 25, 2024

Problem

Right now if you add a card to your existing subscription via https://dev.new.expensify.com:8082/settings/subscription/add-payment-card it'll not show anything. There are multiple issues here causing this, but they are small enough to be combined into this one use case.

The first problem is explained in this slack thread. Basically we are not properly initializing the fundList in the Onyx db on the client. We need to fix that.

The second problem is that after this was completed we never updated App's code to make use of the new format of the data, which means it doesn't show the default card.

Solution

Fix both of the described problems above and make a newly added payment card show up in the UI.

Issue OwnerCurrent Issue Owner: @abekkala
@blimpich blimpich added Engineering Daily KSv2 Internal Requires API changes or must be handled by Expensify staff labels Jun 25, 2024
@blimpich blimpich self-assigned this Jun 25, 2024
@blimpich
Copy link
Contributor Author

Web-PR is in review, App PR is on hold until Web-PR is merged and deployed

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jun 25, 2024
@blimpich
Copy link
Contributor Author

blimpich commented Jun 25, 2024

Web PR is merged, waiting deploy.

App PR is in review, waiting approval but also waiting web changes to be deployed before a proper review can happen.

@blimpich
Copy link
Contributor Author

Web PR was deployed to staging, waiting deploy to production

@trjExpensify trjExpensify added the NewFeature Something to build that is a new item. label Jul 2, 2024
@trjExpensify
Copy link
Contributor

App PR has merged: #44361

Adding labels to get a BZ assigned, and @brunovjk as the C+ reviewer.

Copy link

melvin-bot bot commented Jul 2, 2024

Triggered auto assignment to @abekkala (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@blimpich
Copy link
Contributor Author

blimpich commented Jul 5, 2024

This is done.

@blimpich blimpich closed this as completed Jul 5, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 10, 2024
@melvin-bot melvin-bot bot changed the title [Payment card / Subscription] fix card data not showing up in the new subscription page [HOLD for payment 2024-07-17] [Payment card / Subscription] fix card data not showing up in the new subscription page Jul 10, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jul 10, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-07-17. 🎊

For reference, here are some details about the assignees on this issue:

  • @brunovjk requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jul 10, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@brunovjk] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@abekkala] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 15, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-17] [Payment card / Subscription] fix card data not showing up in the new subscription page [HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [Payment card / Subscription] fix card data not showing up in the new subscription page Jul 15, 2024
Copy link

melvin-bot bot commented Jul 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-07-22. 🎊

For reference, here are some details about the assignees on this issue:

  • @brunovjk requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jul 15, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@brunovjk] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@abekkala] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@pac-guerreiro
Copy link
Contributor

pac-guerreiro commented Jul 20, 2024

Hey, this line of code was missed in @blimpich PR - https://github.com/Expensify/App/blob/main/src/libs/SubscriptionUtils.ts#L206

Not his fault, this one was sneaky 😅

The specific line of code doesn't cause the error reported in this issue but it will not trigger card expired related UI.

I can create a PR for this if you want 😄

@blimpich
Copy link
Contributor Author

Ah, thank you for catching that @pac-guerreiro! I'll make a quick issue/PR for it right now 👍

@blimpich
Copy link
Contributor Author

Created issue here for tracking this follow up. PR is up and I'm gonna do some testing before getting it out for review.

@blimpich
Copy link
Contributor Author

blimpich commented Jul 22, 2024

Also no regression tests should be needed for this issue. @abekkala correct me if I'm wrong but I think we need to pay @brunovjk for reviewing this PR? I think that was my mistake for closing this PR too soon.

@blimpich blimpich reopened this Jul 22, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Jul 22, 2024
@abekkala
Copy link
Contributor

@blimpich ah yes, I can send payment offer to @brunovjk for reviewing this PR: #44361

I assume that is a $250 review?

@blimpich
Copy link
Contributor Author

Yes $250

@abekkala
Copy link
Contributor

@brunovjk offer sent!

@brunovjk
Copy link
Contributor

thank you all :D

@abekkala
Copy link
Contributor

@brunovjk payment sent and contract ended - thank you! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Reviewing Has a PR in review Weekly KSv2
Projects
Archived in project
Development

No branches or pull requests

5 participants