-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[Payment history] add "Request refund" menu item #44138
Conversation
@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@mananjadhav comments resolved |
@Expensify/design @blimpich @kubabutkiewicz The button text is getting cut off in the modal with Spanish translation. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-request-refund-modal.moviOS: Nativeios-request-refund-modal.moviOS: mWeb Safarimweb-safari-request-refund-modal.movMacOS: Chrome / Safariweb-request-refund-modal.mov |
@Expensify/design @blimpich Could we have |
Hmm I'm not sure if you can have "Request refund" yet not have a payment card. |
Can you show me what the :hover style looks like for that row? Thanks! |
No, not possible. In order to request a refund you must have a purchase, and if you have a purchase then that means "view payment history" should be visible. |
@shawnborton Can you check the Mac Chrome/Safari video added ?
Thanks for confirming. |
Awesome, just checked and the styles look correct to me. Thanks! |
|
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.
Right now when I click on the downgrade button we stay on the subscription page, but what we want is for the user to be redirected to the chats page. See this section of the design doc
Clicking “Delete workspace(s) and downgrade” should also drop the user into their chats.
If we don't do this the user will just see a "not found" page once they downgrade.
@blimpich done! |
The redirect is working fine. @blimpich Is this the expected behavior? web-redirect-to-chat-downgrade.mov |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/blimpich in version: 9.0.4-0 🚀
|
🚀 Cherry-picked to staging by https://github.com/tgolen in version: 9.0.4-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
Details
Pre-requisite for the Payment/Subscription testing:
Have a create collect policy.
To access the subscription page, paste the following link into the browser
https://dev.new.expensify.com:8082/settings/subscription
or add this effect to InitialSettingsPage.tsx
Have an Account with isEligibleForRefund: true. If you don't have the account then use the following command to populate the Onxy keys
Fixed Issues
$ #43283
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop