Skip to content

安卓和苹果的AppId不一致? #749

@944095635

Description

@944095635

Describe the bug
微信支付,安卓正常,但是IOS提示 商户传入的appid参数不正确。

//微信APPID
static String wxAppId = "APPIDwx26xxxxxxx";

//微信APPID(ios使用)
static String wxAppIdForIos = "wx26xxxxxxx";

String appId;
if (Platform.isAndroid) {
appId = wxAppId;
} else {
appId = wxAppIdForIos;
}

原本都是用的上方那个Appid,安卓支付正常,后面发现ios不能支付,所以增加了一个ios专用的id,去除了前缀APPID。

想了解一下是什么原因。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions