diff --git a/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php b/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php index 97d754f..f993269 100644 --- a/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php +++ b/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php @@ -154,10 +154,6 @@ class OnlinePaymentRepository { $this->response = $this->provider->sendRequest(); - info([ - 'body' => $this->response->body(), - ]); - $this->failed = $this->response->failed(); $this->successful = $this->response->successful(); @@ -172,6 +168,10 @@ class OnlinePaymentRepository $this->createHistory(); } + info([ + 'response' => $this->response, + ]); + return $this; }