Wechat Pay node.js

e4qqqq 注册会员
2023-02-27 16:28

Modulation based on Monster group and GPT:
This error was caused by an incorrect auth tag used during decryption. It is possible that the ciphertext is tampered with or the associated data is incorrectly filled, so the authentication label cannot be verified correctly. Here are some possible solutions:

ensures that the ciphertext, the associated data, the nonce, and the APIv3 private key are all correct. Any parameter error may cause decryption failure.

ensures that the incoming ciphertext has not been tampered with. You can try to print out the calculations and parameters passed in during decryption to rule out the possibility that the ciphertext has been tampered with.

ensures that the APIv3 private key passed in is correct and contains the correct key information.

If you are unable to determine the root cause of the problem, please refer to the official wechat Pay documentation or contact wechat Pay technical support for more help.

About the Author

Question Info

Publish Time
2023-02-27 16:28
Update Time
2023-02-27 16:28

Related Question

Nodejs aws-sdk v2读取AVRO文件



函数USAePay API在TWilio函数返回504代码

承诺在NodeJS的Cron Job中不起作用



res.json或res.send在foreach循环异步等待函数错误:[ERR_HTTP_HEADERS_SENT]: Nodejs .json

来自运行在GitHub action上的nodejs实例的HTTP请求会得到401错误

Alipay EasySDK for PHP验签报错