收藏
回答

iOS app 微信支付,拉不起支付页?(已解决)

微信分享正常。 universal links check 正常。


15.4.1 能调起微信,不能拉起支付页。调用流程如下:


wxlog:send req[<PayReq: 0x282213430>], appID:wx2cb7d941b858c60f, universalLink:*****, sdkVersion:1.8.7.1


wxlog:Error:launch app with ul only fail


wxlog:Error:lauch app fail and need degrade,


wxlog:Error:launch app fail, isUlLaunch:0,


wxlog:degrade launch app ret:0,


12.5.1 正常 调起微信 拉起支付页。 调用流程如下:


wxlog:send req[<PayReq: 0x2838b3200>], appID:wx2cb7d941b858c60f, universalLink:****, sdkVersion:1.8.7.1


wxlog:launch app with ul only success


wxlog:launch app with universal link, ret:1



代理


- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler{


    return [WXApi handleOpenUniversalLink:userActivity delegate:self];


}



- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {

    

    return [WXApi handleOpenURL:url delegate:self];

}


最后一次编辑于  2022-06-08
回答关注问题邀请回答
收藏
登录 后发表内容