Paypal Integration

2 posts, 0 answers
  1. Satya
    Satya avatar
    1 posts
    Member since:
    Sep 2013

    Posted 18 Sep 2013 Link to this post

    I had developed one ecom app using icenium's MIST jquery mobile for which Paypal needs to be integrated. I had searched and found plugins but nothing is working in my app. I have sandbox account also with Paypal. I had referred https://github.com/phonegap/phonegap-plugins/tree/master/Android/PayPalPlugin but it says to have paypal mobile payments library which is not available with Paypal. I had also checked https://github.com/paypal/PayPal-Android-SDK. It has collection of files in it. But does not have direct example to how to use it in Icenium MIST. It says that
    1. Copy the contents of the SDK libs directory into your project's libs directory. The path to these files is important; if it is not exactly correct, the SDK will not work.
    2. Add the open source license acknowledgments from acknowledgments.md to your app's acknowledgments.
    But I could not find any libs or acknowldgements folders in my app developed online using Icenium MIST Jquery Mobile. It also says in its example to use PayPalPayment payment = new PayPalPayment
    But when I did that in my app online in Icenium MIST I was getting error that the Class is not found.

    Please help me in resolving this
    
    
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 19 Sep 2013 Link to this post

    Hi Satya,

    The instructions you find in the Cordova plug-in repo are for a PhoneGap (now Cordova) project. While : Icenium uses Apache Cordova as its base, the custom Cordova plugin implementation is different as Icenium projects differ than PhoneGap project. Additionally as can be seen from github, this plugin has been updated one year ago, which means it is using an outdated version of Cordova and needs to be updated in order to be used with Cordova 2.7.

    I highly recommend going through the Working with Custom Plugins documentation to understand how to integrate custom Cordova plugins to your Icenium app.

    Regards,
    Steve
    Telerik

    Big news for mobile app and .NET developers! Hear about it at our Release Keynote. Thursday, September 26th, 11AM EDT
    Do you enjoy Icenium? Vote for it in Windows IT Pro Community Choice Awards as Best Cloud Computing Product or Service (Category 5).
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top