diff --git a/Model/ProvidersOption.php b/Model/ProvidersOption.php index 8768cac..c930462 100644 --- a/Model/ProvidersOption.php +++ b/Model/ProvidersOption.php @@ -24,8 +24,8 @@ public function toOptionArray() $allProviders = $client->api->listDefaultProviders(); } catch (\Exception $e) { $allProviders = [ - ['name' => '7Eleven', 'internal_name' => 'SEVEN_ELEVEN'], - ['name' => 'Oxxo', 'internal_name' => 'OXXO'] + (Object)['name' => '7Eleven', 'internal_name' => 'SEVEN_ELEVEN'], + (Object)['name' => 'Oxxo', 'internal_name' => 'OXXO'] ]; } diff --git a/Model/Ui/ConfigProvider.php b/Model/Ui/ConfigProvider.php index d5fd778..1b651bc 100755 --- a/Model/Ui/ConfigProvider.php +++ b/Model/Ui/ConfigProvider.php @@ -90,8 +90,8 @@ protected function getProviders() ); } catch (\Exception $e) { $compropagoProviders = [ - ['name' => '7Eleven', 'internal_name' => 'SEVEN_ELEVEN'], - ['name' => 'Oxxo', 'internal_name' => 'OXXO'] + (Object)['name' => '7Eleven', 'internal_name' => 'SEVEN_ELEVEN'], + (Object)['name' => 'Oxxo', 'internal_name' => 'OXXO'] ]; } diff --git a/composer.json b/composer.json index de945d9..43611f2 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "type": "magento2-module", "description": "ComproPago Magento2 Module", "homepage": "https://github.com/compropago/plugin-magento-2", - "version": "3.0.0.1", + "version": "3.1.0.0", "keywords": [ "pagos internet", "payment gateway", diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 515b646..2bf5a73 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -10,17 +10,9 @@ - - - Magento\Config\Model\Config\Backend\Encrypted - - - - Magento\Config\Model\Config\Backend\Encrypted - Magento\Config\Model\Config\Source\Yesno diff --git a/etc/config.xml b/etc/config.xml index 99edff8..2f012d4 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -4,8 +4,6 @@ Compropago\Magento2\Model\Config - - 0