Skip to content

Commit

Permalink
Merge pull request #33 from mollie/development
Browse files Browse the repository at this point in the history
1.1.1
  • Loading branch information
Magmodules authored Aug 22, 2017
2 parents 26330fe + 62bb4bb commit 5d7223b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Model/MollieConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Mollie_Payment" setup_version="1.1.0">
<module name="Mollie_Payment" setup_version="1.1.1">
</module>
</config>

0 comments on commit 5d7223b

Please sign in to comment.