-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [IOBP-1040] Update the latest receipt list everytime the user …
…closes the success outcome (#6485) ## Short description This PR introduces a feature to fetch the latest user receipts whenever the user closes the thank-you page after a successful payment. Previously, the fetch action was triggered only when the user initiated a payment from the "Payment" section, and not when starting a payment from the "Messages" section. ## List of changes proposed in this pull request - Moved the dispatch action to fetch the latest receipts (transactions) outside the condition. - Added a test to check that when received success outcome and the user press on the "Close" button, it dispatches the fetch of latest transactions. ## How to test - Tests should pass without any error. --------- Co-authored-by: Emanuele Dall'Ara <[email protected]>
- Loading branch information
1 parent
5a5493f
commit 446cabc
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters