diff --git a/core/library/Moka_Core.php b/core/library/Moka_Core.php index 5330469..615a13d 100644 --- a/core/library/Moka_Core.php +++ b/core/library/Moka_Core.php @@ -125,7 +125,6 @@ public function getDealerInformation() $response = self::doRequest('/Dealer/GetDealer',$postParams); - if(data_get($response, 'response.code') && data_get($response, 'response.code') == 200) { $responseBody = data_get($response, 'body'); @@ -171,7 +170,6 @@ public function generateInstallmentsTableHtml($params) $storedData = get_option( 'woocommerce_mokapay-installments' ); $avaliableInstallmentsCount = data_get($params, 'maxInstallment'); $paymentId = data_get($params, 'paymentGatewayId'); - if(!$storedData) { @@ -179,7 +177,6 @@ public function generateInstallmentsTableHtml($params) $installments = data_get($installments, 'CommissionList'); $installments = self::formatInstallmentResponse($installments); $storedData = $installments; - } $return = '
Kart | '; @@ -285,8 +282,6 @@ public function generateInstallmentsTableShortcode() $return.='