-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-11-21] Can't clear the free trial expired message from Concierge #50192
Comments
Triggered auto assignment to @mallenexpensify ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
Edited by proposal-police: This proposal was edited at 2024-10-03 22:19:26 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Can't clear the free trial expired message from Concierge What is the root cause of that problem?the free trial expired action is shown if App/src/pages/settings/Subscription/CardSection/BillingBanner/TrialEndedBillingBanner.tsx Lines 10 to 20 in 9ebd971
App/src/libs/SubscriptionUtils.ts Lines 427 to 432 in bee4bec
The issue seems to be that the What changes do you think we should make in order to solve the problem?
if (SubscriptionUtils.getCardForSubscriptionBilling()) {
return null;
}
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021841979108635835758 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Removed |
Edited by proposal-police: This proposal was edited at 2024-10-03 23:58:27 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Unable discard the "free trial expired" message from the LHN What is the root cause of that problem?
App/src/pages/home/report/ReportActionItem.tsx Lines 400 to 412 in 637b607
As we can see, we don't have a logic to hide that message if there is a payment card. What changes do you think we should make in order to solve the problem?
can be:
There two functions should be fix from BE side as well (if needed) to make sure it works properly. Now, as I can see, !!SubscriptionUtils.doesUserHavePaymentCardAdded() is always false. What alternative solutions did you explore? (Optional)
|
@mallenexpensify I think before user adds a payment card, the "Add payment card" button is displayed: But after they add any payment card, we just need to hide that button instead of hiding all the message: What do you think? |
We can fix it solely on the front end, but backend changes would be ideal. I think we should get an engineer here. 🎀 👀 🎀 C+ reviewed ( using it for engineer assignment ) |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Quoting from #50192 (comment) App/src/libs/SubscriptionUtils.ts Lines 427 to 432 in bee4bec
cc: @youssef-lr |
@thesahindia The |
@youssef-lr Also, please help check my comment when you have a chance. TY |
@youssef-lr, @mallenexpensify, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@youssef-lr, @mallenexpensify, @thesahindia Eep! 4 days overdue now. Issues have feelings too... |
@youssef-lr, @mallenexpensify, @thesahindia 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@youssef-lr 👀 above plz. |
Just did it. |
I just ran the job manually, you should receive the message now. |
Thanks! Received it now. |
@youssef-lr, Do we have any dummy cards available for testing? Couldn't find something on Slack. |
@thesahindia the deets in the C+ doc for cards won't help ya, right? If you find a workaroud for your usecase and others C+ can use, can you add them to the C+ doc? thx I'm back from OOO on Nov 14th, not assigning another BZ because payment won't be due til I'm back. If one is needed please add or post in #contributor-plus to ask for one to be added, thx. |
@thesahindia I'm writing from mobile, please google Stripe test cards. |
@youssef-lr, seems like I can't test this flow. I need to connect to the local backend. ![]() |
Unassigning myself as I didn’t review the PR and am not eligible for any compensation. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.61-3 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-11-21. 🎊 |
@youssef-lr @mallenexpensify @youssef-lr The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
No compensation due here |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
@youssef-lr, @mallenexpensify Huh... This is 4 days overdue. Who can take care of this? |
PR hit production 13 days ago, no issues since, going to close |
@youssef-lr, @mallenexpensify Huh... This is 4 days overdue. Who can take care of this? |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @zsgreenwald
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1727985469399619
Action Performed:
Precondition: Payment card is added to the account
Expected Result:
Free trial expired message should not appear if the free trial is left and payment card added to the account
Actual Result:
Unable discard the "free trial expired" message from the LHN
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
CleanShot.2024-10-03.at.12.47.12.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: