Angela Rogers
Posts: 0
Joined: Thu Oct 31, 2013 2:47 am

Credit Card swipe from magnetic stripe reader

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Credit Card swipe from magnetic stripe reader

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

Angela Rogers
Posts: 0
Joined: Thu Oct 31, 2013 2:47 am

Credit Card swipe from magnetic stripe reader

Are you familiar with any other reader?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Credit Card swipe from magnetic stripe reader

No unfortunately.

Angela Rogers
Posts: 0
Joined: Thu Oct 31, 2013 2:47 am

Credit Card swipe from magnetic stripe reader

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...

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Credit Card swipe from magnetic stripe reader

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

Angela Rogers
Posts: 0
Joined: Thu Oct 31, 2013 2:47 am

Credit Card swipe from magnetic stripe reader

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Credit Card swipe from magnetic stripe reader

Hello!

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

Angela Rogers
Posts: 0
Joined: Thu Oct 31, 2013 2:47 am

Credit Card swipe from magnetic stripe reader

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Credit Card swipe from magnetic stripe reader

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

Return to “Issues”