Issue on Ionic 4 with Razorpay payment gateway

I am using razorpay payment gateway for my ionic shopping app. using latest Razorpay cordova plugin. The problem is there two callback functions cancel and success. It works fine, But if the payment process takes time like 2minutes i am not getting any response/not executing any of this callback functions.

Help me to resolve this issue ?