/Paytech-IOS

SDK IOS for paytech

Primary LanguageSwiftMIT LicenseMIT

Paytech

CI Status Version License Platform

Installation

Paytech is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Paytech'

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Import Paytech Module import Paytech

Use PaytechViewController to make a payment.

let paytechController = PaytechViewController()
paytechController.delegate = self
paytechController.requestTokenUrl = URL(string: "https://sample.paytech.sn/paiement.php")
paytechController.params["item_id"] = 7
paytechController.send() // you can also use send(withCallback:) method
//show The PaytechViewController
present(paytechController, animated: true, completion: nil)

Requirements

IOS 9 + Swift 4+

Author

primotera, adiop600@gmail.com

License

Paytech is available under the MIT license. See the LICENSE file for more info.