iZettle library for Titanium
###Example Usage Check the example App to see it in action. It is ridiculously simple. You only need developer key from iZettle.
###Testing I was unable to test payment proces with iZettle app. But according the documentation on their page iZettle app is using x-callback-url. So it was relatively easy to develop application even i didn't have access to their application.
To test callback from iZettle app i was using Safari browser. So here are the test link for Example App:
izettlepoc://iZettle/success?reference=YOUR_REFERENCE izettlepoc://iZettle/failure?reference=YOUR_REFERENCE&errorCode=TechnicalError izettlepoc://iZettle/failure?reference=YOUR_REFERENCE&errorCode=CancelledByUser izettlepoc://iZettle/failure?reference=YOUR_REFERENCE&errorCode=InvalidCurrency izettlepoc://iZettle/failure?reference=YOUR_REFERENCE&errorCode=InvalidState izettlepoc://iZettle/failure?reference=YOUR_REFERENCE&errorCode=MissingParameter
Just copy the links to Safari browser and press Go.
Of course in your application you will need to change URL scheme to your scheme.
###Disclaimer Unfortunately I was unable to test it on real application because iZettle is not available in my country (Slovakia) :( But it should work... if not please contact me and I will try to help.
##License All code is open source and dual licensed under GPL and MIT. Check the individual licenses for more information.
Author: Miroslav Magda Version: 0.1.0