How to resolve razorpay issue with capacitor?

I am trying to build android app using Ionic React, App is working fine on web version but razorpay flow is not working when trying to make payment on Android build using capacitor.