Gathering detailed insights and metrics for @axolo/egg-wechat-pay
Gathering detailed insights and metrics for @axolo/egg-wechat-pay
Gathering detailed insights and metrics for @axolo/egg-wechat-pay
Gathering detailed insights and metrics for @axolo/egg-wechat-pay
npm install @axolo/egg-wechat-pay
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
6 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Jun 25, 2021
Latest Version
1.3.5
Package Id
@axolo/egg-wechat-pay@1.3.5
Unpacked Size
5.88 kB
Size
2.39 kB
File Count
6
NPM Version
7.5.3
Node Version
15.10.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
node-wechat-pay Egg.js plugin.
1npm i @axolo/egg-wechat-pay --save
1// {app_root}/config/plugin.js 2exports.wechatPay = { 3 enable: true, 4 package: '@axolo/egg-wechat-pay', 5};
1// {app_root}/config/config.default.js 2exports.wechatPay = { 3 clients: { 4 mp: { 5 appType: 'mp', 6 appId: 'wechat_pay_appid', 7 mchId: 'wechat_pay_mchid', 8 mchCertSn: 'wechat_pay_mch_cert_serial_no', 9 mchCertKey: 'wehcat_pay_mch_cert_private_key.pem', 10 mchCert: 'wehcat_pay_mch_cert.pem', 11 apiV3Key: 'wechat_pay_api_v3_secret', 12 notifyUrl: 'https://api.huawo-trip.com/wechat-pay/notify/mp', 13 currency: 'CNY', 14 paySignType: 'RSA', 15 }, 16 }, 17};
see config/config.default.js for more detail.
1'use strict'; 2 3const Controller = require('egg').Controller; 4 5class WechatpayCertController extends Controller { 6 async index() { 7 const { app, ctx } = this; 8 const wechatPay = app.wechatPay.get('mp'); 9 const { data: result } = await wechatPay.http.get('/v3/certificates'); 10 ctx.body = result; 11 } 12} 13 14module.exports = WechatpayCertController;
Please open an issue here.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More