I am developing an eCommerce application with Ionic 5+React+Capacitor.
I want to implement payment gateway through web with the help of InAppBrowser.
Following is what i am trying to achieve
- Open the payment gateway page through InAppBrowser when user clicks checkout.
- After the user makes payment and redirects to success url, close the webview through an URL change listener.
Sounds simple but i could not find any tutorial for using InAppBrowser plugin or any other equivalent plugin with Ionic+React+Capacitor.
All the tutorial or code reference i find in web are for Angular and Cordova.
Any sample code or tutorial reference will be very much helpful.