授权支付目录:https://test.wxgame.2y9y.com/jsapi/index.php/index/pay/
使用已经授权支付目录请求JSAPI支付一直提示当前URL未注册,什么原因?急!When using an authorized payment directory to request JSAPI payment, it always prompts that the current URL is not registered. Why? anxious!
使用已经授权支付目录请求JSAPI支付一直提示当前URL未注册,什么原因?急!问题类型 | AppID |
---|---|
Bug | wx463b531f3c0e92d0 |
Problem type appid bug wx463b531f3c0e92d0 authorized payment Directory: https://test.wxgame.2y9y.com/jsapi/index.php/index/pay/
回答:
登录微信支付商户平台-->产品中心-->开发配置,设置后一般5分钟内生效。
• 支付授权目录校验规则说明:
a、如果支付授权目录设置为顶级域名(例如:https://www.weixin.com/ ),那么只校验顶级域名,不校验后缀;
b、如果支付授权目录设置为多级目录,就会进行全匹配,例如设置支付授权目录为https://www.weixin.com/abc/123/,则实际请求页面目录不能为https://www.weixin.com/abc/,也不能为https://www.weixin.com/abc/123/pay/,必须为https://www.weixin.com/abc/123/