Swiftpack.co - Package - JuanjoArreola/Conekta

Conekta

Swift wrapper to connect with https://api.conekta.io.

let conekta = ConektaServer(publicKey: "key_DSUNVu8YgECm6ZyskQoFDoQ")!

let card = Card(number: "4111111111111111", name: "test", cvc: "111", month: "11", year: "2020")
conekta.collectDevice(view: controller.view)
conekta.getToken(for: card) { (token, error) in
    if let error = error {
       print(error)
    } else if let token = token {
       print(token)
    }
}

Github

link
Stars: 0

Dependencies

Used By

Total: 0

Releases

1.0.0 - 2020-09-08 19:49:30

Wrapper to connect with https://api.conekta.io.

A pure swift version of: https://github.com/conekta/conekta-ios.git