From 4db53cb48d4bca0c0535f0bbe1e48fdab6309255 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 5 Jul 2021 23:07:30 +1000 Subject: [PATCH] Payment response --- app/PaymentDrivers/PayFast/CreditCard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/PayFast/CreditCard.php b/app/PaymentDrivers/PayFast/CreditCard.php index b749d800e4f4..fd99322a84fd 100644 --- a/app/PaymentDrivers/PayFast/CreditCard.php +++ b/app/PaymentDrivers/PayFast/CreditCard.php @@ -228,7 +228,7 @@ class CreditCard if($response_array['payment_status'] == 'COMPLETE') { - $this->payfast->logSuccessfulGatewayResponse(['response' => json_decode($response_array), 'data' => $this->payfast->payment_hash], SystemLog::TYPE_PAYFAST); + $this->payfast->logSuccessfulGatewayResponse(['response' => $response_array, 'data' => $this->payfast->payment_hash], SystemLog::TYPE_PAYFAST); return $this->processSuccessfulPayment($response_array); }