AI助手支持GPT4.0
搞心态的“当前页面URL未注册”The mentality of "current page URL is not registered"
搞心态的“当前页面URL未注册”
在社区里面把帖子都翻遍了,都没找到合适的解决方式,有大神能支个招可以从哪些地方检查问题所在吗?
以下是我的配置,
- 提示错误的URL:
- 查看公众号关联的商户:
- 进入商户号管理平台验证商户号:
- 商户号管理平台 - JSAPI支付授权目录配置:
- 前端调用支付方式
wx.ready(function() { wx.chooseWXPay({ timestamp: res.timeStamp, nonceStr: res.nonce_str, package: res.prepay_id, signType: res.sign_type, paySign: res.paySign, success: function(res) { }, error: function(data) { } });});
请问下在座各位大佬可有其它排错建议?跪谢!
补充下:域名也是备案过的,prepay_id也能获取到
In the community, I've read all the posts, but I haven't found a suitable solution. Is there a big God who can give me a way to check where the problem lies? The following is my configuration, which prompts the wrong URL: check the merchant number associated with the official account: enter the merchant number management platform verification merchant number: merchant number management platform - JSAPI payment authorization directory configuration: front-end call payment method wx.ready (function() { wx.chooseWXPay ({ timestamp: res.timeStamp , / / payment signature timestamp noncestr: res.nonce_ STR, / / payment signature random string package: res.prepay_ ID, / / prepay returned by unified payment interface_ ID parameter value, submission format, such as: prepay_ id=***) signType: res.sign_ Type, / / signature method. The default is' SHA1 '. To use the new version of payment, you need to pass in' MD5 'paysign: res.paySign , / / payment signature success: function (RES) {/ / callback function after successful payment}, error: function (data) {});}); do you have any other troubleshooting suggestions? Thank you on your knees! Add: domain name is also registered, prepay_ ID can also be obtained
请检查下单接口中使用的商户号是否在商户平台(pay.weixin.qq.com)配置了对应的支付目录。