This is a migrated thread and some comments may be shown as answers.

Paypal Integration

1 Answer 221 Views
AppBuilder in-browser client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Satya
Top achievements
Rank 1
Satya asked on 18 Sep 2013, 05:35 AM
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

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 19 Sep 2013, 08:36 AM
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.
Tags
AppBuilder in-browser client
Asked by
Satya
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or