tvrcgo / weixin-pay

微信支付 Nodejs SDK
MIT License
919 stars 241 forks source link

mac verify failure #14

Closed shoutleafy closed 7 years ago

shoutleafy commented 8 years ago

在createUnifiedOrder方法中,callback返回err: Error: mac verify failure at Error (native) at Object.createSecureContext (_tls_common.js:135:17) at Object.exports.connect (_tls_wrap.js:997:48) at Agent.createConnection (https.js:82:22) at Agent.createSocket (_http_agent.js:182:26) at Agent.addRequest (_http_agent.js:144:10) at new ClientRequest (_httpclient.js:158:16) at Object.exports.request (http.js:31:10) at Object.exports.request (https.js:199:15) at Request.start (/node/**/nodemodules/request/request.js:740:32) at Request.write (/node/**/nodemodules/request/request.js:1380:10) at end (/node/***/node_modules/request/request.js:552:18) at Immediate.onImmediate (/node/**/node_modules/request/request.js:581:7) at tryOnImmediate (timers.js:543:15) at processImmediate as _immediateCallback

iamdanielyin commented 7 years ago

这个解决了吗,我也遇到同样的错误

iamdanielyin commented 7 years ago

我解决了,我是商户号错了