diff --git a/Config/module.xml b/Config/module.xml index 4676ab7..41a210f 100755 --- a/Config/module.xml +++ b/Config/module.xml @@ -17,7 +17,7 @@ en_US fr_FR - 2.0.5 + 2.0.6 Vincent Lopes-Vicente diff --git a/Service/PaymentService.php b/Service/PaymentService.php index 1962fcb..c81052f 100755 --- a/Service/PaymentService.php +++ b/Service/PaymentService.php @@ -3,7 +3,6 @@ namespace PayPlugModule\Service; use Payplug\Notification; -use Payplug\Payment; use Payplug\Payplug; use PayPlugModule\Event\PayPlugPaymentEvent; use PayPlugModule\Model\OrderPayPlugMultiPayment; @@ -33,13 +32,6 @@ public function isPayPlugAvailable() return false; } - // Check API availability - try { - Payment::listPayments(1); - } catch (\Exception $exception) { - return false; - } - return true; }