In payu, when integrated inside WebView of android, clicking back button that is inside the WebView doesn't cancel the transaction

放肆的年华 提交于 2020-08-20 14:43:14

问题


When I click on a Button, I go to payment page. There I can see 3 back Button.

  1. the usual one at the bottom
  2. the one in the ActionBar/Toolbar
  3. the one inside the WebView

Clicking on the 1 and 2 is working fine but clicking on 3 doesn't take me back or doesn't cancel the transaction.

Yet this is not the full story. When I select on Cards it takes me to the respective page where I enter the card details. Then when I click on 3, it comes back to the main page(selecting type of payment viz., card, netbanking, UPI, etc). Working fine. Makes sense. If I click on 1 or 2, it cancels the transaction instead of coming back to the main page. No problem in this. Works fine.

When I click on Net Banking, it takes me to the respective page where I can see the list of banks. And when I click on 3, it takes me back to the main page. But from the main page when I click on 3, it doesn't cancel the transaction. This is my problem. When I searched in other places, the UI is completely different. So i am unable to figure out the solution for my problem. I have not worked in payment before. So I came here. Thanks in advance. If more information is needed, please mention in comment.

Please see the markings

来源:https://stackoverflow.com/questions/63315724/in-payu-when-integrated-inside-webview-of-android-clicking-back-button-that-is

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!