diff --git a/app/Nova/Actions/CheckOnlinePayment.php b/app/Nova/Actions/CheckOnlinePayment.php index 3c75860..321874b 100644 --- a/app/Nova/Actions/CheckOnlinePayment.php +++ b/app/Nova/Actions/CheckOnlinePayment.php @@ -61,6 +61,8 @@ class CheckOnlinePayment extends Action 'password' => $password, ]); + info($response->body()); + return $response['ErrorCode'] == '0' ? ActionResponse::message('Tölenen') : ActionResponse::danger('Tölenmedik');