From 8a0f218635d57af2e88803455cf6c2887af4410a Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Fri, 22 Nov 2024 20:30:32 +0500 Subject: [PATCH] wip --- app/Nova/Actions/CheckOnlinePayment.php | 58 +++++-------------------- 1 file changed, 11 insertions(+), 47 deletions(-) diff --git a/app/Nova/Actions/CheckOnlinePayment.php b/app/Nova/Actions/CheckOnlinePayment.php index 31d190a..61cde4f 100644 --- a/app/Nova/Actions/CheckOnlinePayment.php +++ b/app/Nova/Actions/CheckOnlinePayment.php @@ -86,56 +86,20 @@ class CheckOnlinePayment extends Action public function resultHTML($response) { $errorMessage = $response['ErrorMessage']; - $responseJSON = json_encode($response->json(), JSON_PRETTY_PRINT); + + $response->collect()->each(function ($item, $key) { + info([ + 'item' => $item, + 'key' => $key, + ]); + }); return Blade::render(<<$errorMessage + HALKBANK-dan gelen netije: + + Message: $errorMessage + -
-
- - -
-
-
-
-
- -
-
-
-
-
-
-
-
HTML); } }