Skip to content
New issue

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

调用回调解密方法decipher_gcm时报错缺少key #64

Closed
ngnwg opened this issue Nov 9, 2023 · 1 comment
Closed

调用回调解密方法decipher_gcm时报错缺少key #64

ngnwg opened this issue Nov 9, 2023 · 1 comment

Comments

@ngnwg
Copy link

ngnwg commented Nov 9, 2023

/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:323
throw new Error('缺少key');
^

Error: 缺少key
at Pay.decipher_gcm (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:323:19)
at /root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:162:64
at Array.forEach ()
at Pay. (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:161:34)
at step (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:59:23)
at Object.next (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:40:53)
at fulfilled (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:31:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@klover2
Copy link
Owner

klover2 commented Dec 14, 2023

/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:323 throw new Error('缺少key'); ^

Error: 缺少key at Pay.decipher_gcm (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:323:19) at /root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:162:64 at Array.forEach () at Pay. (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:161:34) at step (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:59:23) at Object.next (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:40:53) at fulfilled (/root/wechat/wechat-server/node_modules/wechatpay-node-v3/dist/index.js:31:58) at processTicksAndRejections (node:internal/process/task_queues:96:5)

请使用版本2.1.8 同时检查你的key 是否传了

image

@klover2 klover2 closed this as completed Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants