iOS-91-银联报错解决办法:(OSStatus error -10814.)
2017-11-28 16:41
706 查看
今天搞了下银联控件支付,使用了这个方法:
[[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
[[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 RSA加密 Keychain - OSStatus error -34018 错误 解决办法
- 用迅雷在Apple官网上下载ios sdk到99.9%,却无法完成的解决办法
- 升级到Xcode 5.1和iOS 7遇到的各种问题及解决办法汇总:
- iOS 开发中问题 ——tableView分行线距离左侧15像素空白的解决办法
- iOS上new Date异常解决办法
- iOS开发-"performSelector may cause a leak because its selector is unknown"警告原因及其解决办法
- Xcode8 ios 10 调用相机、相册、麦克风、位置等隐私问题崩溃解决办法
- Caused by: android.os.NetworkOnMainThreadException错误解决办法
- iOS开发之Xcode的静态分析(Static Code Analysis)与常见内存隐患解决办法
- IOS开发 ARC forbids explicit message send of 'autorelease'错误解决办法
- ios 判断字符串为空和只为空格解决办法
- iOS/OS X 借助工具解决内存问题
- iOS 9系统策略更新,微信分享无法使用解决办法
- 关于 Xcode 9 及 iOS 11 的一些小问题解决办法(1)
- IOS 开发 证书显示 此证书签发者无效 解决办法
- iOS中使用RegexKitLite来试用正则表达式 使用ARC 20个错误解决办法 mark
- [ iOS问题] Xcode7.3不能提示自定义类名问题解决办法
- Mac OS X 10.10.5 中 VirtualBox 5.0 里的 Win7 虚拟机无法使用 USB 3.0 设备的解决办法(补充说明)
- iOS开发中键盘自适应的解决办法