- H5页面可以调起代扣服务切卡组件
微信出行券发放,领取成功后使用小程序拉起代扣切卡组件,现在我们自己实现发券接口,H5使用开放标签拉起代扣服务切卡组件失败。有大神遇到吗?怎么解决?
08-29 - 微信支付https://api.mch.weixin.qq.com可以通过nginx配置代理吗?
通过nginx代理后 location / { proxy_http_version 1.1; proxy_pass https://api.mch.weixin.qq.com; #proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host api.mch.weixin.qq.com; proxy_set_header X-Forwarded-Proto $scheme; #proxy_set_header X-Forwarded-proto https; proxy_pass_request_headers on; proxy_set_header $http_authorization $http_authorization; proxy_set_header Aauthorization $http_authorization; proxy_set_header Cookie $http_cookie; proxy_buffering off; proxy_read_timeout 3000; proxy_send_timeout 3000; } 请求接口报错{"code":"SIGN_ERROR","message":"Http头Authorization值格式错误,请参考《微信支付商户REST API签名规则》"},改成微信域名就正常了
08-27