From d026a2e64834d9c604ad86092986c786b22de1b0 Mon Sep 17 00:00:00 2001 From: Sandro Dzneladze Date: Wed, 9 Dec 2020 15:13:22 +0400 Subject: [PATCH] Fix: Wrong parameter keys for P and Z commands --- src/WeAreDe/TbcPay/TbcPayProcessor.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/WeAreDe/TbcPay/TbcPayProcessor.php b/src/WeAreDe/TbcPay/TbcPayProcessor.php index 8db22a3..d71fb15 100644 --- a/src/WeAreDe/TbcPay/TbcPayProcessor.php +++ b/src/WeAreDe/TbcPay/TbcPayProcessor.php @@ -418,7 +418,9 @@ public function capture_and_save( $biller_client_id, $expiry ) 'language' => $this->language, 'biller' => $this->biller, 'biller_client_id' => $biller_client_id, - 'expiry' => $expiry, // MMYY + 'perspayee_expiry' => $expiry, // MMYY + 'perspayee_gen' => 1, + 'msg_type' => 'SMS', ); if ($this->charge_ertguli_points) { @@ -437,7 +439,9 @@ public function save( $biller_client_id, $expiry ) 'description' => $this->description, 'language' => $this->language, 'biller_client_id' => $biller_client_id, - 'expiry' => $expiry, // MMYY. + 'perspayee_expiry' => $expiry, // MMYY + 'perspayee_gen' => 1, + 'msg_type' => 'AUTH', ); return $this->process($post_fields);