Cordova Paypal plugin

Hi there,

has anyone managed to successfully integrate the cordova paypal plugin into a framework 7 project?

I am having difficulties deciding where to insert the code from their version of index.js. it seems like it would make sense to put it in the app.js but nothing I do seems to work and debug is very difficult as I have to run the app each and every time due to the import occurring in the index.html after cordova.js as per their instructions.

Did you manage to do it?

Hi Adrian, yes I did.

I made all the calls as individual functions and then put initPaymentUi on pageInit

Where did you find the documentation to get it to work?
Since it’s now deprecated, I can’t find any information about it.

My apologies for the delay, I just used the same functions from the readme.md page found on the github repository

Ooh, I see, I needed recurring payments, but I guess they were not available in the mobile SDK, and that’s why they were not documented.

Thanks though, glad you got it to work :smile: