调用支付JSAPI缺少参数:appId?

微信支付 文章 2020-08-29 16:41 2785 0 全屏看文

AI助手支持GPT4.0

调用支付JSAPI缺少参数:appId?Missing parameter when calling payment JSAPI: appId?

调用支付JSAPI缺少参数:appId?

微信公众号使用wx.chooseWXPay调起微信支付的时候,一直提示:调用支付JSAPI缺少参数:appId

我在开发者工具中是有看到有传入appId的:

上面的是我们接口返回的支付参数的配置,但是wx.chooseWXPay begin的时候,的确又没有了appId,真机直接调起后提示:

调用支付JSAPI缺少参数:appId


请问这是什么问题啊 ,真的好疑惑啊,请解答一下,很急!!

WeChat official account wx.chooseWXPay When calling up wechat payment, there is always a prompt: calling the payment jsapi lacks parameters: appid. I saw that there is an incoming appid in the developer tool: the above is the configuration of payment parameters returned by our interface, but wx.chooseWXPay When starting, there is really no appid. After the real machine is adjusted directly, it will prompt: Call payment jsapi missing parameter: appid, what's the problem, really confused ah, please answer it, very urgent!!

回答:

Nikita:

????没官方回复的吗

LaFely:

一般都是传输的参数格式错误,建议仔细检查一样参数格式大小写等

Nikita:我已经截图出来了 你觉得哪里大小写有问题。。。很明显就是正确啊 appId  有啥问题?
德玛:

如果微信的各项域名配置没有问题,可以再检查一下签名的参数。

-EOF-

AI助手支持GPT4.0