From 29bf7304d06e6ceff1f9cd31fcd65e96b1488433 Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 9 Jan 2020 16:19:35 +0500 Subject: [PATCH] migration for reserved ticks --- app/Payment/CardPayment.php | 1 + app/Payment/PaymentResponse.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/Payment/CardPayment.php b/app/Payment/CardPayment.php index 619f9cbe..f43e5e3b 100644 --- a/app/Payment/CardPayment.php +++ b/app/Payment/CardPayment.php @@ -56,6 +56,7 @@ class CardPayment{ $response = new PaymentStatusResponse(); try{ $request = $this->client->post('getOrderStatus.do',$params); + $response->setResponseData($request->getBody()); } catch (\Exception $ex){ diff --git a/app/Payment/PaymentResponse.php b/app/Payment/PaymentResponse.php index 58bd69b2..104ce1a8 100644 --- a/app/Payment/PaymentResponse.php +++ b/app/Payment/PaymentResponse.php @@ -16,6 +16,7 @@ abstract class PaymentResponse public function setResponseData($data){ $this->response_data = json_decode($data, true); + dd($this->response_data); } public function setExceptionMessage($message){