We have developed an IONIC based mobile app to perform In-App payment using UPI. It uses IONIC Native Web Intent plugin. a. b. "@ionic-native/web-intent": "^4.14.0",
This is shim layer for the Android intent mechanism and makes web intent call to BHIM/PhonePe/GooglePay
It works well with all UPI apps like BHIM, PhonePe. But does not work with GooglePay, For some reason with same code , Google Pay returns NULL Intent to OnActivityResult() even though the UPI Payment is successful.
I wrote similar functionality in a sample Native Android app and tried payment with GooglePay and it works
So I am baffled. I did debug my IONIC app and that is where I found that after GooglePay payment is successful, the call back returns to Android and then to Cordova and then to my application. It seems either Intent code of Android or GooglePay code is sending null Intent to caller app.
Appreciate any feedback on this.
Thank you and warm regards
Haresh Gujarathi