Meteor InAppBrowser return to app based on close or redirect url

Hi I am using a Meteor/Ionic to create an application. Final step in the application is to go to External Payment page (url received by Payment provider API) and come back to app after Payment is done.

Question : Can I come back to the application based upon closure of the WebView ?

Client Code

this.buyGift = () => {
    this.call('newPayment', this.gift, (err, result) => {
       this.result = result;
       var paymentWindow = window.open(track.Payment, '_self');
       paymentWindow.addEventListener('exit', function(event) { 
            //How do I get back to the application? 
        });
     });
}

Many Thanks in advance.

Did you solve it. I was recommended this package dispatch: deep-link. But I have not been able to make it work