Skip to content

primotera/Paytech-IOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, [email protected]

License

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

About

SDK IOS for paytech

Resources

License

Stars

Watchers

Forks

Packages

No packages published