-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from mollie/1.3.5
1.3.5 - Giropay, EPS, uncancel and iDEAL issuer fix
- Loading branch information
Showing
16 changed files
with
264 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
/** | ||
* Copyright © 2018 Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Model\Methods; | ||
|
||
use Mollie\Payment\Model\Mollie; | ||
|
||
/** | ||
* Class Eps | ||
* | ||
* @package Mollie\Payment\Model\Methods | ||
*/ | ||
class Eps extends Mollie | ||
{ | ||
|
||
/** | ||
* Payment method code | ||
* | ||
* @var string | ||
*/ | ||
protected $_code = 'mollie_methods_eps'; | ||
|
||
/** | ||
* Info instructions block path | ||
* | ||
* @var string | ||
*/ | ||
protected $_infoBlockType = 'Mollie\Payment\Block\Info\Base'; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
/** | ||
* Copyright © 2018 Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Model\Methods; | ||
|
||
use Mollie\Payment\Model\Mollie; | ||
|
||
/** | ||
* Class Giropay | ||
* | ||
* @package Mollie\Payment\Model\Methods | ||
*/ | ||
class Giropay extends Mollie | ||
{ | ||
|
||
/** | ||
* Payment method code | ||
* | ||
* @var string | ||
*/ | ||
protected $_code = 'mollie_methods_giropay'; | ||
|
||
/** | ||
* Info instructions block path | ||
* | ||
* @var string | ||
*/ | ||
protected $_infoBlockType = 'Mollie\Payment\Block\Info\Base'; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd"> | ||
<group id="mollie_methods_eps" translate="label" type="text" sortOrder="14" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>EPS</label> | ||
<field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Enabled</label> | ||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model> | ||
<config_path>payment/mollie_methods_eps/active</config_path> | ||
</field> | ||
<field id="title" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Title</label> | ||
<config_path>payment/mollie_methods_eps/title</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="allowspecific" translate="label" type="allowspecific" sortOrder="96" showInDefault="1" | ||
showInWebsite="1" showInStore="1"> | ||
<label>Payment from Applicable Countries</label> | ||
<source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model> | ||
<config_path>payment/mollie_methods_eps/allowspecific</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="specificcountry" translate="label" type="multiselect" sortOrder="97" showInDefault="1" | ||
showInWebsite="1" showInStore="1"> | ||
<label>Payment from Specific Countries</label> | ||
<source_model>Magento\Directory\Model\Config\Source\Country</source_model> | ||
<can_be_empty>1</can_be_empty> | ||
<config_path>payment/mollie_methods_eps/specificcountry</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="min_order_total" translate="label" type="text" sortOrder="98" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Minimum Order Total</label> | ||
<config_path>payment/mollie_methods_eps/min_order_total</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="max_order_total" translate="label" type="text" sortOrder="99" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Maximum Order Total</label> | ||
<config_path>payment/mollie_methods_eps/max_order_total</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="sort_order" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Sort Order</label> | ||
<frontend_class>validate-number</frontend_class> | ||
<config_path>payment/mollie_methods_eps/sort_order</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
</group> | ||
</include> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd"> | ||
<group id="mollie_methods_giropay" translate="label" type="text" sortOrder="13" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Giropay</label> | ||
<field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Enabled</label> | ||
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model> | ||
<config_path>payment/mollie_methods_giropay/active</config_path> | ||
</field> | ||
<field id="title" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Title</label> | ||
<config_path>payment/mollie_methods_giropay/title</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="allowspecific" translate="label" type="allowspecific" sortOrder="96" showInDefault="1" | ||
showInWebsite="1" showInStore="1"> | ||
<label>Payment from Applicable Countries</label> | ||
<source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model> | ||
<config_path>payment/mollie_methods_giropay/allowspecific</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="specificcountry" translate="label" type="multiselect" sortOrder="97" showInDefault="1" | ||
showInWebsite="1" showInStore="1"> | ||
<label>Payment from Specific Countries</label> | ||
<source_model>Magento\Directory\Model\Config\Source\Country</source_model> | ||
<can_be_empty>1</can_be_empty> | ||
<config_path>payment/mollie_methods_giropay/specificcountry</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="min_order_total" translate="label" type="text" sortOrder="98" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Minimum Order Total</label> | ||
<config_path>payment/mollie_methods_giropay/min_order_total</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="max_order_total" translate="label" type="text" sortOrder="99" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Maximum Order Total</label> | ||
<config_path>payment/mollie_methods_giropay/max_order_total</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
<field id="sort_order" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" | ||
showInStore="1"> | ||
<label>Sort Order</label> | ||
<frontend_class>validate-number</frontend_class> | ||
<config_path>payment/mollie_methods_giropay/sort_order</config_path> | ||
<depends> | ||
<field id="active">1</field> | ||
</depends> | ||
</field> | ||
</group> | ||
</include> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?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.3.4" /> | ||
<module name="Mollie_Payment" setup_version="1.3.5" /> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters