This PR attemps to fix an issue where canceling certain payment methods in the webview (local payments) would cause the dialog to get stuck in loading. It attempts to fix the issue client side, by listening to a certain redirect URL. As such, it only works in payment methods where they call it. It should work for PayTm (India) and DANA (Indonesia).
Database changed?
No
How should this be manually tested?
Cancel local payments such as PayTm (India) and DANA (Indonesia) in the WebView and it should return to the payments list. It is known that for certain payments it does not work (such as Doku Wallet). Also if possible check if nothing broke in the process.
What does this PR do?
This PR attemps to fix an issue where canceling certain payment methods in the webview (local payments) would cause the dialog to get stuck in loading. It attempts to fix the issue client side, by listening to a certain redirect URL. As such, it only works in payment methods where they call it. It should work for PayTm (India) and DANA (Indonesia).
Database changed?
No
How should this be manually tested?
Cancel local payments such as PayTm (India) and DANA (Indonesia) in the WebView and it should return to the payments list. It is known that for certain payments it does not work (such as Doku Wallet). Also if possible check if nothing broke in the process.
What are the relevant tickets?
WAL-39
Code Review Checklist