From aa54756fd5220a36acac212015d8da89be446df1 Mon Sep 17 00:00:00 2001 From: Igor Goltsov Date: Tue, 28 Dec 2021 10:51:31 +0300 Subject: [PATCH] MPGS-617: [Simplify] [Prestashop] issue with 3DS and Live cards --- simplifycommerce.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/simplifycommerce.php b/simplifycommerce.php index 1eb4b92..2609279 100644 --- a/simplifycommerce.php +++ b/simplifycommerce.php @@ -708,7 +708,6 @@ public function processPayment() 'token' => $token, // Token returned by Simplify Card Tokenization 'description' => $description, 'currency' => $currency_order->iso_code, - 'card' => $this->getCardBillingInformation(), ); } @@ -1185,25 +1184,4 @@ public function getContent() return $html; } - - /** - * @return array - * - * @throws PrestaShopDatabaseException - * @throws PrestaShopException - */ - private function getCardBillingInformation() - { - $cardholder_details = $this->getCardholderDetails(); - $country_iso = Country::getIsoById($cardholder_details->id_country); - - return array( - 'addressCity' => $this->safe($cardholder_details->city), - 'addressCountry' => $country_iso, - 'addressLine1' => $this->safe($cardholder_details->address1), - 'addressLine2' => $this->safe($cardholder_details->address2), - 'addressState' => isset($cardholder_details->state) ? $this->safe($cardholder_details->state) : '', - 'addressZip' => $this->safe($cardholder_details->postcode), - ); - } }