-
Notifications
You must be signed in to change notification settings - Fork 6
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 #110 from logeecom/4.1-4.4
Release version 2.0.20
- Loading branch information
Showing
40 changed files
with
921 additions
and
218 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
72 changes: 72 additions & 0 deletions
72
GXModules/Mollie/Mollie/Components/CustomFields/Providers/BillieCustomFieldsProvider.php
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,72 @@ | ||
<?php | ||
|
||
namespace Mollie\Gambio\CustomFields\Providers; | ||
|
||
/** | ||
* Class BillieCustomFieldsProvider | ||
* | ||
* @package Mollie\Gambio\CustomFields\Providers | ||
*/ | ||
class BillieCustomFieldsProvider extends CustomFieldsProvider | ||
{ | ||
/** | ||
* @inheritDoc | ||
* | ||
* @return string | ||
* @throws \Exception | ||
*/ | ||
public function renderAllCustomFields() | ||
{ | ||
return $this->renderLogoEdit() . | ||
$this->renderMultiLangEdit() . | ||
$this->renderApiEdit() . | ||
$this->renderDaysToExpireEdit() . | ||
$this->renderCountryZonesEdit(); | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
* | ||
* @return string | ||
* @throws \Exception | ||
*/ | ||
public function renderCustomOverviewFields() | ||
{ | ||
return $this->renderLogoOverview() . | ||
$this->renderMultiLangFieldsOverview() . | ||
$this->renderApiOverview() . | ||
$this->renderDaysToExpireOverview() . | ||
$this->renderCountryZonesOverview(); | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
* @return string | ||
*/ | ||
protected function renderApiEdit() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
* @return string | ||
*/ | ||
protected function renderApiOverview() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* @return string | ||
* @throws \Exception | ||
*/ | ||
protected function renderMultiLangEdit() | ||
{ | ||
$titleKey = $this->_formatKey('CHECKOUT_NAME'); | ||
$descKey = $this->_formatKey('CHECKOUT_DESCRIPTION'); | ||
|
||
return mollie_multi_language_text($this->getConstantValue($titleKey), $titleKey) . | ||
mollie_multi_language_text($this->getConstantValue($descKey), $descKey); | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
GXModules/Mollie/Mollie/Components/CustomFields/Providers/RivertyCustomFieldsProvider.php
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,42 @@ | ||
<?php | ||
|
||
namespace Mollie\Gambio\CustomFields\Providers; | ||
|
||
/** | ||
* Class RivertyCustomFieldsProvider | ||
* | ||
* @package Mollie\Gambio\CustomFields\Providers | ||
*/ | ||
class RivertyCustomFieldsProvider extends CustomFieldsProvider | ||
{ | ||
/** | ||
* @inheritDoc | ||
* @return string | ||
*/ | ||
protected function renderApiEdit() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
* @return string | ||
*/ | ||
protected function renderApiOverview() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* @return string | ||
* @throws \Exception | ||
*/ | ||
protected function renderMultiLangEdit() | ||
{ | ||
$titleKey = $this->_formatKey('CHECKOUT_NAME'); | ||
$descKey = $this->_formatKey('CHECKOUT_DESCRIPTION'); | ||
|
||
return mollie_multi_language_text($this->getConstantValue($titleKey), $titleKey) . | ||
mollie_multi_language_text($this->getConstantValue($descKey), $descKey); | ||
} | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,12 +2,18 @@ | |
"packages": [ | ||
{ | ||
"name": "mollie/integration-core", | ||
"version": "1.3.8", | ||
"version_normalized": "1.3.8.0", | ||
"version": "1.3.9", | ||
"version_normalized": "1.3.9.0", | ||
"source": { | ||
"type": "git", | ||
"url": "[email protected]:mollie/orocore.git", | ||
"reference": "25034947afe94193297e6504cbbc1edc18cd219e" | ||
"reference": "8a07e5e317dfbffeaa552820ee843701a24a8fd5" | ||
}, | ||
"dist": { | ||
"type": "zip", | ||
"url": "https://api.github.com/repos/mollie/orocore/zipball/8a07e5e317dfbffeaa552820ee843701a24a8fd5", | ||
"reference": "8a07e5e317dfbffeaa552820ee843701a24a8fd5", | ||
"shasum": "" | ||
}, | ||
"require": { | ||
"ext-json": "*", | ||
|
@@ -18,7 +24,7 @@ | |
"phpunit/phpunit": "^4.8.35", | ||
"symfony/console": "^5.1" | ||
}, | ||
"time": "2024-04-19T07:26:56+00:00", | ||
"time": "2024-09-16T12:55:55+00:00", | ||
"type": "library", | ||
"installation-source": "source", | ||
"autoload": { | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,32 @@ | ||
<?php | ||
|
||
use Mollie\BusinessLogic\PaymentMethod\Model\PaymentMethodConfig; | ||
|
||
require_once __DIR__ . '/mollie/mollie.php'; | ||
|
||
/** | ||
* Class mollie_billie | ||
*/ | ||
class mollie_billie extends mollie | ||
{ | ||
public $title = 'Billie'; | ||
|
||
/** | ||
* @inheritDoc | ||
* @return array | ||
*/ | ||
public function keys() | ||
{ | ||
$keys = parent::keys(); | ||
$hidden = ['MODULE_PAYMENT_' . strtoupper($this->code) . '_API_METHOD']; | ||
return array_values(array_diff($keys, $hidden)); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
protected function _getDefaultApi() | ||
{ | ||
return PaymentMethodConfig::API_METHOD_ORDERS; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.