Conekta Xamarin v 0.0.1
Wrapper to connect with https://api.conekta.io.
Conekta Xamarin SDK allow you create token with card details on iOS apps, by preventing sensitive card data from hitting your server(More information, read PCI compliance).
Install
Via git:
$ git clone git@github.com:conekta/conekta-xamarin.git
Configuration and Setup
General setup
-
Move folder Conekta-Xamarin into your project folder.
-
Add existing folder from Xamarin Studio
-
Use package with namespace ConektaSDK
-
Set the references: System.Net, System.Net.Http*
-
Instal packages: Json.NET
-
In case you are using iOS, install package: CocoaSharp.ObjectiveC
App Transport Security
If you are compiling with iOS 9, please add on your application plist the lines below:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>
Usage
usage ConektaSDK
Conekta._delegate = this;
Conekta.PublicKey = "key_KJysdbf6PotS2ut2";
Conekta.collectDevice ();
Card card = new Card ("Julian Ceballos", "4242424242424242", "123", "10", "2018");
Token token = new Token ();
JObject response = await token.Create(card);
Contribute
Clone repo
$ git clone https://github.com/conekta/conekta-xamarin
$ cd conekta-xamarin
Send pull requests
We love pull requests, send them from your fork to branch dev into conekta/conekta-xamarin
License
Developed by Conekta. Available with MIT License.
We are hiring
If you are a comfortable working with a range of backend languages (Java, Python, Ruby, PHP, etc) and frameworks, you have solid foundation in data structures, algorithms and software design with strong analytical and debugging skills. Send your CV, github to quieroser@conekta.io