From 525917efc9b208c77c31905285028d56005ba047 Mon Sep 17 00:00:00 2001 From: Noor Adiana Date: Mon, 5 Mar 2018 14:33:33 +0700 Subject: [PATCH] Fixing missing trabsaction date --- src/Channel/Transfer/Bca.php | 1 + src/Channel/Transfer/Bni.php | 1 + src/Channel/Transfer/Mandiri.php | 1 + src/Channel/Transfer/Permata.php | 1 + 4 files changed, 4 insertions(+) diff --git a/src/Channel/Transfer/Bca.php b/src/Channel/Transfer/Bca.php index 777d7db..627a508 100644 --- a/src/Channel/Transfer/Bca.php +++ b/src/Channel/Transfer/Bca.php @@ -53,6 +53,7 @@ public function makeResponse($rawResponse) $response->setMessage($rawResponse->status_message); $response->setType($rawResponse->payment_type); $response->setStatus($rawResponse->transaction_status); + $response->setDateTime($rawResponse->transaction_time); $response->setFraud($rawResponse->fraud_status); $response->setOrderId($rawResponse->order_id); $response->setOrderAmount($rawResponse->gross_amount); diff --git a/src/Channel/Transfer/Bni.php b/src/Channel/Transfer/Bni.php index dcb6c20..2f22a55 100644 --- a/src/Channel/Transfer/Bni.php +++ b/src/Channel/Transfer/Bni.php @@ -52,6 +52,7 @@ public function makeResponse($rawResponse) $response->setStatusCode($rawResponse->status_code); $response->setMessage($rawResponse->status_message); $response->setType($rawResponse->payment_type); + $response->setDateTime($rawResponse->transaction_time); $response->setStatus($rawResponse->transaction_status); $response->setFraud($rawResponse->fraud_status); $response->setOrderId($rawResponse->order_id); diff --git a/src/Channel/Transfer/Mandiri.php b/src/Channel/Transfer/Mandiri.php index 81b0b9f..d54ded5 100644 --- a/src/Channel/Transfer/Mandiri.php +++ b/src/Channel/Transfer/Mandiri.php @@ -52,6 +52,7 @@ public function makeResponse($rawResponse) $response->setStatusCode($rawResponse->status_code); $response->setMessage($rawResponse->status_message); $response->setType($rawResponse->payment_type); + $response->setDateTime($rawResponse->transaction_time); $response->setStatus($rawResponse->transaction_status); $response->setFraud($rawResponse->fraud_status); $response->setOrderId($rawResponse->order_id); diff --git a/src/Channel/Transfer/Permata.php b/src/Channel/Transfer/Permata.php index 445f7a6..8c5d77b 100644 --- a/src/Channel/Transfer/Permata.php +++ b/src/Channel/Transfer/Permata.php @@ -47,6 +47,7 @@ public function makeResponse($rawResponse) $response->setStatusCode($rawResponse->status_code); $response->setMessage($rawResponse->status_message); $response->setType($rawResponse->payment_type); + $response->setDateTime($rawResponse->transaction_time); $response->setStatus($rawResponse->transaction_status); $response->setFraud($rawResponse->fraud_status); $response->setOrderId($rawResponse->order_id);