Page 1 of 2

Credit Card swipe from magnetic stripe reader

Posted: Mon Mar 17, 2014 4:21 pm
by Angela Rogers

I use Stripe.com for processing credit card transactions. I used the plugin in appery and it worked great! I am wondering if anyone has tried integrating a magnetic stripe reader like the ID Tech one here: http://www.idtechproducts.com/product...

Thanks for any ideas or suggestions in to how to integrate something like this in Appery.io.


Credit Card swipe from magnetic stripe reader

Posted: Mon Mar 17, 2014 6:00 pm
by Maryna Brodina

Hello!
Unfortunately we're not familiar with this reader. Please try to search for PhoneGap plugin like that online.


Credit Card swipe from magnetic stripe reader

Posted: Mon Mar 17, 2014 6:19 pm
by Angela Rogers

Are you familiar with any other reader?


Credit Card swipe from magnetic stripe reader

Posted: Mon Mar 17, 2014 8:06 pm
by Maryna Brodina

No unfortunately.


Credit Card swipe from magnetic stripe reader

Posted: Mon Mar 17, 2014 11:55 pm
by Angela Rogers

I found a PhoneGap plugin that does a card read via the camera. It is card.io. I created a new project and I'm trying to add it so I can create it as a plugin. I have uploaded the files and made the changes it said to make, but get this when I try to export for Android:
/CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[11,22] error: package io.card.payment does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[13,29] error: package org.apache.cordova.api does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[14,29] error: package org.apache.cordova.api does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[15,29] error: package org.apache.cordova.api does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[25,36] error: cannot find symbol class CordovaPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[27,8] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[36,55] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[15,26] error: package com.cubet.pixsellit does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[17,22] error: package io.card.payment does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[18,22] error: package io.card.payment does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[48,34] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[49,9] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[51,3] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[51,31] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[51,56] error: package PluginResult does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[57,3] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[57,26] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[57,51] error: package PluginResult does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[35,1] error: method does not override or implement a method from a supertype /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[69,2] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[75,3] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[75,31] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[75,56] error: package PluginResult does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[80,3] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[80,31] error: cannot find symbol class CardIOPGPlugin /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[80,56] error: package PluginResult does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOPGPlugin.java:[66,1] error: method does not override or implement a method from a supertype /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[30,18] error: package R does not exist /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[33,50] error: cannot find symbol class CardIOMain /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[36,25] error: cannot find symbol class CardIOMain /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[39,25] error: cannot find symbol class CardIOMain /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[40,25] error: cannot find symbol class CardIOMain /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[41,25] error: cannot find symbol class CardIOMain /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[54,36] error: cannot find symbol class CardIOMain /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[56,13] error: cannot find symbol class CardIOMain /CardIOPGPlugin/src/com/cubettech/plugins/cardio/CardIOMain.java:[56,61] error: cannot find symbol

I'm sure I'm missing something somewhere. Can you tell me is it possible to add this through Appery.io or will I need to export the project and add it from eclipse or something? Here is the link to the plugin: https://github.com/cubettech/phonegap...


Credit Card swipe from magnetic stripe reader

Posted: Tue Mar 18, 2014 12:22 am
by Igor

This doc will show you how to add phonegap plugins:
http://docs.appery.io/documentation/u...


Credit Card swipe from magnetic stripe reader

Posted: Wed Mar 19, 2014 3:12 pm
by Angela Rogers

Thank you for that. I did follow the instructions there. I changed the app to use PhoneGap 2.4 and I got half as many errors on exporting to an apk. The Card.IO plugin requires the card.io SDK. I tried copying the sdk (https://github.com/card-io/card.io-An...) to the libs folder and referencing it in the classpath, but no luck. Is it possible to do this?


Credit Card swipe from magnetic stripe reader

Posted: Thu Mar 20, 2014 5:41 pm
by Maryna Brodina

Hello!

Should be working. Please check if you added SDK correctly.


Credit Card swipe from magnetic stripe reader

Posted: Thu Mar 20, 2014 7:06 pm
by Angela Rogers

I just shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. It would be great if you could take a look and try exporting to an android apk file and see what it says.


Credit Card swipe from magnetic stripe reader

Posted: Fri Mar 21, 2014 10:25 pm
by Maryna Brodina

Hello!
Thank you for sharing!
We are working on it, but having some difficulties.
I'll update when have more information from developers team.