Skip to content

Commit

Permalink
Merge pull request #251 from wirecard/RC-1.4.0-minor
Browse files Browse the repository at this point in the history
Rc 1.4.0 minor
  • Loading branch information
hbrandl authored Jun 23, 2020
2 parents f35397f + 0a9143a commit 2182ebd
Show file tree
Hide file tree
Showing 28 changed files with 3,995 additions and 4,058 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v1.4.0

* Add PSD2 hint in Credit Card configuration
* Remove the support live chat


| Overview | Oxid version | PHP 5.6 | PHP 7.0 | PHP 7.1 |
|-----------------------|-------------------------------|:---------:|:---------:|:-------:|
| **Tested version(s)** | Oxid 6.1.2 | :x: | :x: | ✅ |
| **Compatibility** | Oxid 6.1.0 - 6.1.2 | :x: | :x: | ✅ |

## v1.3.0

* Implement Credit Card 3D Secure 2 parameters
Expand Down
12 changes: 0 additions & 12 deletions Controller/Admin/Tab.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,6 @@ public function render()
return $sTemplate;
}

/**
* Determines whether the live chat should be displayed in the tab.
*
* @return boolean
*
* @since 1.1.0
*/
public function shouldDisplayLiveChat()
{
return $this->_oOrder->isCustomPaymentMethod();
}

/**
* Check if $_sListObjectId is set
*
Expand Down
13 changes: 13 additions & 0 deletions Model/PaymentMethod/CreditCardPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,19 @@ public function getConfigFields()
],
$iUrlFieldOffset
);
$iPsdTwoFieldOffset = 5;
Helper::insertToArrayAtPosition(
$aFirstFields,
[
'psdTwo' => [
'type' => 'link',
'field' => 'oxpayments__psd2',
'title' => Helper::translate('wd_config_PSD2_information'),
'text' => Helper::translate('wd_config_PSD2_information_desc_oxid'),
],
],
$iPsdTwoFieldOffset
);

$aAdditionalFields = [
'threeDMaid' => [
Expand Down
2 changes: 1 addition & 1 deletion Tests/Integration/Model/TransactionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function testGetTransactionPaymentMethodName($sExpected, $sTransactionId)
public function getTransactionPaymentMethodNameProvider()
{
return [
'transaction with order id' => ['Wirecard Vorauskasse', 't4'],
'transaction with order id' => ['Vorauskasse', 't4'],
'transaction without order id' => ['', 't7'],
];
}
Expand Down
3 changes: 1 addition & 2 deletions metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
],
'lang' => 'en',
'thumbnail' => 'logo.png',
'version' => '1.3.0',
'version' => '1.4.0',
'author' => 'Wirecard',
'url' => 'https://www.wirecard.com',
'email' => 'shop-systems-support@wirecard.com',
Expand Down Expand Up @@ -228,7 +228,6 @@
'form_interaction.tpl' => 'wirecard/paymentgateway/views/form_interaction.tpl',
'module_support.tpl' => 'wirecard/paymentgateway/views/admin/tpl/module_support.tpl',
'module_support_email.tpl' => 'wirecard/paymentgateway/views/admin/tpl/email/module_support_email.tpl',
'live_chat.tpl' => 'wirecard/paymentgateway/views/admin/inc/live_chat.tpl',
'sepa_mandate_modal.tpl' => 'wirecard/paymentgateway/views/blocks/sepa_mandate_modal.tpl',
'sepa_mandate.tpl' => 'wirecard/paymentgateway/views/blocks/sepa_mandate.tpl',
'table.tpl' => 'wirecard/paymentgateway/views/admin/inc/table.tpl',
Expand Down
67 changes: 0 additions & 67 deletions out/css/wirecard_wdoxidee_livechat.css

This file was deleted.

Loading

0 comments on commit 2182ebd

Please sign in to comment.