微信支付回调报错 #2876
Unanswered
yanyezhiting1
asked this question in
Q&A
微信支付回调报错
#2876
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我的是laravel 11 ,支付之后回调一直提示我[2025-01-09 10:31:01] local.ERROR: Decrypt failed {"exception":"[object] (EasyWeChat\Kernel\Exceptions\InvalidArgumentException(code: 0): Decrypt failed at /www/wwwroot/api.susujilianmeng.com/vendor/w7corp/easywechat/src/Kernel/Support/AesGcm.php:57)
代码如下
//增加余额变动日志
$priceLog = [];
$priceLog = new MembersPriceLog();
$priceLog->user_id = $orderInfo->user_id;
$priceLog->start_user_id = $orderInfo->user_id;
$priceLog->money = $refundMoney;
$priceLog->type = 1; //增加
$priceLog->status = 2; //失效
$priceLog->order_sn = $orderInfo->order_sn;
$priceLog->waybill = $orderInfo->waybill;
$priceLog->save();
$refund = new RefundRecord();
$refund->user_id = $orderInfo->user_id;
$refund->order_id = $orderInfo->id;
$refund->channel_type = $orderInfo->channel_type;
$refund->refund_money = $refundMoney;
$refund->save();
return $next($message);
});
return $server->serve();
但是我业务流程都不受影响,就是日志报错,求个大佬帮忙看看
Beta Was this translation helpful? Give feedback.
All reactions