diff --git a/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php b/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php index b32388e..82078eb 100644 --- a/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php +++ b/app/Modules/OnlinePayment/Repositories/OnlinePaymentRepository.php @@ -261,6 +261,11 @@ class OnlinePaymentRepository $this->provider->setPassword($bankBranch->billing_password); $response = $this->provider->checkPayment($orderId); + info([ + 'response' => $response, + 'body' => $response->body(), + ]); + if ($response['errorCode'] == '99') { return $this->paymentFailed('(REQUEST FAILURE)'); }