Wechat official account payment uses the official wx.chooseWXPay prompt that there is no appid, but you can use WeixinJSBridge.invoke.

the code is as follows

clipboard.png
jsapiappidid

clipboard.png

Mar.15,2021


which does not require appId after using chooseWXPay (after wx.config) can refer to https://mp.weixin.qq.com/wiki.
as long as you pay attention to the case of the parameters

clipboard.png


how did you get your signature without appid

Menu