iOS-91-银联报错解决办法:(OSStatus error -10814.)

今天搞了下银联控件支付,使用了这个方法:

[[UPPaymentControl defaultControl] isPaymentAppInstalled];

结果报错:

2017-11-28 16:25:18.079840+0800 HHde[467:20437] -canOpenURL: failed for URL: "uppaysdk://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"

2017-11-28 16:25:18.082126+0800 HHde[467:20437] -canOpenURL: failed for URL: "uppaywallet://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"


解决办法:

不使用这个方法

[[UPPaymentControl defaultControl] isPaymentAppInstalled];


直接进行支付请求即可:

[[UPPaymentControl defaultControl] startPay:@"815129533586216304301"
                                                 fromScheme:@"UPPayDemo"
                                                       mode:@"01"
                                             viewController:self];




顺便贴上银联开发相关资料地址:

银联开发:https://open.unionpay.com/ajweb/product/newProDetail?proId=3&cataId=30

入网申请:https://merchant.unionpay.com/join/index

演示视频:https://pan.baidu.com/s/1mitsjvq?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0&traceid=#list/path=%2F视频

技术支持qq:800033969





你可能感兴趣的:(iOS,iOS,银联,10814,error)