I’m trying to implement PayPal payment method on my APP made with Ionic 2/3, I allready installed
$ ionic cordova plugin add com.paypal.cordova.mobilesdk
$ npm install --save @ionic-native/paypal
but now how can I create the event button, I mean I need when I press a button it calls the PayPal API giving them the product and price I guess and then make the payment.
I’ve read the Paypal Ionic documentation but when it puts Usage I don’t know where I have to put this code.
Anyone can guide me how to implement it? Or at least a guideance?