Update Payment flow on clicking Pay#50640
Conversation
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
This reverts commit e45613d.
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
|
Hey @rezkiy37, could you please update this PR with the main so I can start testing the backend changes locally? 🙏 |
…ture/45171-invoicing-payment-flow
|
@cristipaval, done 🙂 |
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
…ture/45171-invoicing-payment-flow
@ZhenjaHorbach I don't see the bug on the video because:
|
It is unrelated to the PR because this blinking issue was known before and associated with the SettlementButton dropdown. |
Oh |
|
Strange |
|
🚧 @cristipaval has triggered a test app build. You can view the workflow run here. |
|
Oh, my bad; I should have done one more manual step to trigger the workflows. Just did it, sorry. It may take around 1 hour. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Crap I understand that this is a issue with implementation of the modal But I think we can fix it in a separate issue What do you think ? 2025-03-17.23.30.15.mov |
I definitely agree with it and I can take it into work. |
…ture/45171-invoicing-payment-flow
|
I've synced it up. |
@cristipaval |
yeah this is a very minor visual issue, it's fine to fix it in a follow-up to not keep extending the scope of this PR |
|
Nice In that case I have no more questions |
cristipaval
left a comment
There was a problem hiding this comment.
Nice work!
Thank you @rezkiy37 for pushing this for a long time.
I tested and can confirm that the payments work with real bank accounts.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
I've created a follow-up issue - #58705. |
Nice |
|
🚀 Deployed to staging by https://github.com/cristipaval in version: 9.1.16-0 🚀
|
|
QA passed in staging Screen.Recording.2025-03-21.at.10.53.40.mov |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.16-4 🚀
|
| text: formattedPaymentMethod?.title ?? '', | ||
| description: formattedPaymentMethod?.description ?? '', | ||
| icon: formattedPaymentMethod?.icon, | ||
| onSelected: () => onPress(CONST.IOU.PAYMENT_TYPE.EXPENSIFY, payAsBusiness, formattedPaymentMethod.methodID, formattedPaymentMethod.accountType), |
There was a problem hiding this comment.
We also need to pass iconStyles, iconHeight, and iconWidth here, otherwise the bank icons are too small. More details: #60579 (comment)
| } | ||
|
|
||
| if (isInvoiceRoom(report) && report?.invoiceReceiver?.type === CONST.REPORT.INVOICE_RECEIVER_TYPE.BUSINESS) { | ||
| return ROUTES.WORKSPACE_INVOICES.getRoute(report?.invoiceReceiver?.policyID); |
There was a problem hiding this comment.
👋 Coming from #64585, this has caused an issue when the wrong page opens when clicking "Add bank account" under some circumstances
More details in #64585 (comment)

Details
The PR introduces new ways for the user to pay invoices.
Fixed Issues
$ #45171
PROPOSAL: N/A
Tests
Preconditions:
Sender
Payer
pay/new/add-debit-card.Sender
Offline tests
Same as tests (payer only).
QA Steps
Same as Tests. This needs real bank accounts and payments. Ping @cristipaval, he's more than willing to pay 0.1 USD to test and ship this feature 😄
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android.mp4
Android: mWeb Chrome
Android.Chrome.mp4
iOS: Native
IOS.mp4
iOS: mWeb Safari
IOS.Safari.mp4
MacOS: Chrome / Safari
Chrome.mp4
MacOS: Desktop
Desktop.mp4