diff --git a/Model/MollieConfigProvider.php b/Model/MollieConfigProvider.php index 449d2a7eeb0..9674dccae72 100644 --- a/Model/MollieConfigProvider.php +++ b/Model/MollieConfigProvider.php @@ -134,7 +134,12 @@ public function getActiveMethods($mollieApi) try { $apiMethods = $mollieApi->methods->all(); foreach ($apiMethods->data as $method) { - $methods['mollie_methods_' . $method->id] = [ + if ($method->id == 'mistercash') { + $methodId = 'mollie_methods_bancontact'; + } else { + $methodId = 'mollie_methods_' . $method->id; + } + $methods[$methodId] = [ 'min' => $method->amount->minimum, 'max' => $method->amount->maximum, 'image' => $method->image->normal diff --git a/composer.json b/composer.json index db8ae845045..a5336d522fc 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mollie/Magento2", "description": "Mollie Payment Module for Magento 2", - "version": "1.1.0", + "version": "1.1.1", "require": { "php": "~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0", "mollie/mollie-api-php": "^1.9.3" diff --git a/etc/module.xml b/etc/module.xml index cf444f0c6d6..294f2e6be51 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,5 +1,5 @@ - +