diff --git a/app/Http/Controllers/Gateway/THeadPay.php b/app/Http/Controllers/Gateway/THeadPay.php index 20c3c2c8..8a2dcc46 100644 --- a/app/Http/Controllers/Gateway/THeadPay.php +++ b/app/Http/Controllers/Gateway/THeadPay.php @@ -51,7 +51,7 @@ class THeadPay extends AbstractPayment public function notify($request): void { - if ($this->verify_notify($request)) { + if ($this->verify_notify($request->post())) { $tradeNo = $request->input('out_trade_no'); if ($tradeNo) { if ($this->paymentReceived($tradeNo)) {