Paytech 1.0.0

Paytech 1.0.0

primotera 维护。



Paytech 1.0.0

  • primotera

Paytech

CI Status Version License Platform

安装

Paytech 通过 CocoaPods 提供使用。要安装它,只需将以下行添加到您的 Podfile 中

pod 'Paytech'

示例

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

导入 Paytech 模块 import Paytech

使用 PaytechViewController 进行支付。

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)

需求

IOS 9 + Swift 4+

作者

primotera, [邮箱地址保护中]

许可证

Paytech 可在 MIT 许可下使用。更多资料请见 LICENSE 文件。