We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var Payment = function (config) { this.appId = config.appId; this.partnerKey = config.partnerKey; this.mchId = config.mchId; this.subMchId = config.subMchId; this.notifyUrl = config.notifyUrl; this.passphrase = config.passphrase || config.mchId; this.pfx = config.pfx; this.key = config.key; this.cert = config.cert; //打开日志 this.logger = config.logger || false return this; };
Payment.prototype._httpsRequest = function(url, data, callback){ var parsed_url = url_mod.parse(url); var logger = this.logger; option = { host: parsed_url.host, path: parsed_url.path, body:'xml', method: 'POST', key: this.key, cert: this.cert }
这段代码好像得改成这样才行,用p12证书会出现 header to long
The text was updated successfully, but these errors were encountered:
Hi. Where can I find Sub_MchId in weChat vendor platform?
Sub_MchId
Sorry, something went wrong.
No branches or pull requests
这段代码好像得改成这样才行,用p12证书会出现 header to long
The text was updated successfully, but these errors were encountered: