Close webview browser user can return back to my app after closing payment page

Please is there any code to close a webview browser so that the user can return to my app after making payment.

hi Devbipin,

please help me with process how i can complete the payment gateway process

hope your also working on the same ?

atleast help me how can i use the inapp browser in integrating mobile app ?