Automatic payment with PayPal

I’m developing a delivery application that will work with PayPal for payments. Ionic/Cordova has a native library that makes things easy, yet the flow is not the way i’d like it to be.

With “PayPal-Cordova-Plugin”, the authentication window opens for every payment and the user must click the button to confirm the payment.

What I would like to implement was something more direct, transparent. The user would authenticate with PayPal within my application and with the probable token that would receive this authentication, I would execute the checkout requests (an example would be the payment by PayPal on Uber).

With the PayPal developer documentation I could not find a way to perform this implementation on Ionic, so I would like help with that.