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