From 7986a9352cd18d02c05910c632f89745dfcb12b3 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Fri, 22 Nov 2024 20:25:40 +0500 Subject: [PATCH] bugfix --- app/Nova/Actions/CheckOnlinePayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Nova/Actions/CheckOnlinePayment.php b/app/Nova/Actions/CheckOnlinePayment.php index b612a86..31d190a 100644 --- a/app/Nova/Actions/CheckOnlinePayment.php +++ b/app/Nova/Actions/CheckOnlinePayment.php @@ -86,7 +86,7 @@ class CheckOnlinePayment extends Action public function resultHTML($response) { $errorMessage = $response['ErrorMessage']; - $responseJSON = $response->json(); + $responseJSON = json_encode($response->json(), JSON_PRETTY_PRINT); return Blade::render(<<$errorMessage