在iOS Swift中使用Telr进行付款集成

时间:2019-04-13 16:39:03

标签: ios swift payment-gateway telr

您好,目前我正在为Telr SKD开发iOS项目中的付款。

我创建了付款请求,但没有找到在“请求”中添加信用卡/借记卡详细信息的方法。 在TELR文档中没有发现任何有用的信息

我创建了类似于Belolw的付款请求:

 let paymentReq = PaymentRequest()
    paymentReq.key = "KEY"
    paymentReq.store = "SOTRE"
    paymentReq.appId = "123456789"
    paymentReq.appName = "TelrSDK"
    paymentReq.appUser = "123456"
    paymentReq.appVersion = "1.0"
    paymentReq.transTest = "1"
    paymentReq.transType = "sale"
    paymentReq.transClass = "ecom"
    paymentReq.transCartid = String(arc4random())
    paymentReq.transDesc = "Test API"
    paymentReq.transCurrency = "AED"
    paymentReq.transAmount = "50"
    paymentReq.transRef = "???"

如果有人知道如何在“付款请求”中添加卡的详细信息,对我会有所帮助。谢谢

0 个答案:

没有答案