elixir-wechat/wechat_pay

Refund notification

linjunpop opened this issue · 0 comments

https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_16&index=9

解密步骤如下:
(1)对加密串A做base64解码,得到加密串B
(2)对商户key做md5,得到32位小写key* ( key设置路径:微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置 )
(3)用key*对加密串B做AES-256-ECB解密