1***@qq.com
1***@qq.com
  • 发布:2018-05-14 14:00
  • 更新:2020-02-25 15:35
  • 阅读:11663

关于IOS上架审核被拒—微信支付的前提,需要安装微信APP

分类:5+ SDK

第三方登录:
采用的是网上大家说的,使用隐藏的方式,也是官方demo的样例方式:
for(var i in services) {
var service = services[i];
auths[service.id] = service;
if(~authBtns.indexOf(service.id)) {
var isInstalled = app.isInstalled(service.id);
var btn = document.createElement('div');
//如果微信未安装,则为不启用状态
btn.setAttribute('class', 'oauth-btn' + (!isInstalled && service.id === 'weixin' ? ('disabled') : ''));
btn.authId = service.id;
btn.style.backgroundImage = 'url("../../images/' + service.id + '.png")'
oauthArea.appendChild(btn);
}
}
在第三方支付:
采用官方的支付demo样例:
function checkServices(pc) {
if(!pc.serviceReady) {
var txt = null;
switch(pc.id) {
case 'alipay':
txt = '检测到系统未安装“支付宝快捷支付服务”,无法完成支付操作,是否立即安装?';
break;
default:
txt = '系统未安装“' + pc.description + '”服务,无法完成支付,是否立即安装?';
break;
}
plus.nativeUI.confirm(txt, function(e) {
if(e.index == 0) {
pc.installService();
}
}, pc.description);
}
}

苹果给的说明是:
We were required to install the WeChat app before we could log in via WeChat. Users should be able to log in with WeChat and access their accounts without having to install any additional apps.

Next Steps

If you would like to offer authentication through WeChat, please use a mechanism that allows users to log in with WeChat from within your app without first having to install an additional app.

We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and inspection of the certificate from an embedded browser in an app so that customers can verify the webpage URL and SSL certificate to confirm they are entering their sign in credentials into a legitimate page.

Resources

For additional information on the Safari View Controller API, please review the What's New in Safari webpage.

截图:
http://a661.phobos.apple.com/us/r30/Purple118/v4/2e/9f/d5/2e9fd5fd-a7fa-eeb9-55c6-e47d705f1a56/attachment-1234658063912012617Screenshot-0512-100318.png?downloadKey3=1526453312_d0975477104188e29a17c5dfe47bc8e1

2018-05-14 14:00 负责人:无 分享
已邀请:
老鼠扛刀去找猫

老鼠扛刀去找猫

刚遇到了同样的问题

info

info

问题解决了吗,求助

  • 1***@qq.com

    支付页面先判断是否安装微信,没有安装就隐藏微信支付按钮,给用户一个提示就可以了,这样app就能审核通过了

    2019-04-25 13:28

  • skysowe

    回复 1***@qq.com: 好主意,我也是这么想的,技术上也确实能够实现

    2019-05-08 13:07

  • 钟神秀

    回复 1***@qq.com: 请问一下,我只有微信支付,如果没有安装微信,我隐藏微信入口,那支付方式列表就是空的,我该怎么提示呢,这种情况能通过审核吗

    2019-05-21 01:53

  • orange123456

    回复 钟神秀: 我隐藏微信支付按钮也不行,你的ios app上架了吗?

    2020-03-26 10:41

  • orange123456

    回复 1***@qq.com: 我隐藏微信支付按钮也不行,你的ios app上架了吗?

    2020-03-26 10:41

握瑾怀瑜

握瑾怀瑜

支付页面先判断是否安装微信,没有安装就隐藏微信支付按钮,给用户一个提示就可以了,这样app就能审核通过了,这种方式,我在别的贴子上看到有人照着做了,还是被拒了,还有别的法子吗?

  • orange123456

    我隐藏微信支付按钮也不行,你的ios app上架了吗?

    2020-03-26 10:41

  • 握瑾怀瑜

    回复 orange123456: 把ApplePay集成进去才可以

    2020-03-27 11:01

  • orange123456

    我的是实物交易,也要用applepay吗?单纯的微信支付怎么做才能通过审核?

    2020-03-28 10:36

  • 握瑾怀瑜

    回复 orange123456: 似乎是通过不了的,一定要接入苹果支付,可能我没想到别的好办法

    2020-03-28 15:47

  • orange123456

    回复 握瑾怀瑜: 实物没必要接入苹果支付,我的只用微信支付上架了,方法就是检测到设备没安装微信就只用余额支付,要让测试人员走完整个流程

    2020-04-09 09:06

该问题目前已经被锁定, 无法添加新回复