My requirement is to enable a user pay for an amount using Google Pay. If the payment is successful, then payment successful should be shown towards that payment. This can be done using Google Pay API. I don't want to use any payment gateway for this.
For example, in the attached screenshot, there is an option called Pay. When the user clicks this option, Google Pay should open and the payment should be done for that amount. If the payment is successful, them=n the status should change to Paid.
Please note that this should work even in Webview in Android.