Skip to content

bug? #14

@sunshineroper

Description

@sunshineroper

import WechatPayment from 'wechat-payment-node';
let options = {
appid: 'your app id',
mch_id: 'your merchant id',
apiKey: 'your app key (partner key)', //微信商户平台API密钥
notify_url: 'your notify url',
trade_type: 'APP', //APP, JSAPI, NATIVE etc.
pfx: fs.readFileSync('./apiclient_cert.p12'), //微信商户平台证书 (optional,部分API需要使用)
};
let wechatPaymentInstance = new WechatPayment(options);

WechatPayment not a constructor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions