Skip to content

Commit

Permalink
Release of 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper-MultiSafepay authored Feb 26, 2020
2 parents c73f1b3 + c946013 commit bb7fda6
Show file tree
Hide file tree
Showing 8 changed files with 190 additions and 83 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
/.idea
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 1.4.0
Release date - February 26th, 2020

### Added
+ PLGCSCS-88: Add "Kies uw Bank" as first issuer option

### Changed
+ PLGCSCS-100: Make merchant_item_id unique for product options
+ PLGCSCS-94: Rename Direct Ebanking to SOFORT Banking
+ PLGCSCS-92: Correct payment methods names
+ PLGCSCS-91: Change the number of decimals from 2 to 10 on all shopping cart items in transaction requests

### Fixed
+ PLGCSCS-93: Fix shop version number in transaction request
+ PLGCSCS-83: Fix iDEAL issuer list not showing when user tries to place an order

# Release Notes - CS-Cart4 1.3.0 (Aug 24, 2018) #

## Added ##
Expand Down Expand Up @@ -70,4 +86,4 @@

## New plug-in ##
+ Supports all payment methodes including Pay After Delivery
+ Support minimum and maximum value-restricions for showing a gateway.
+ Support minimum and maximum value-restricions for showing a gateway.
8 changes: 7 additions & 1 deletion app/lib/other/smarty/plugins/block.msp_issuers.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ function smarty_block_msp_issuers($params, $content, &$smarty, &$repeat)
$repeat = false;
$processor_data = fn_get_processor_data($_SESSION['cart']['payment_id']);

if(empty($processor_data) && isset($_REQUEST['order_id'])) {
$order_info = fn_get_order_info($_REQUEST['order_id']);
$processor_data = fn_get_processor_data($order_info['payment_id']);
}

require_once (DIR_ROOT . '/app/payments/MultiSafepay.combined.php');


Expand All @@ -44,7 +49,8 @@ function smarty_block_msp_issuers($params, $content, &$smarty, &$repeat)
$iDealIssuers = $msp->getIdealIssuers();


$idealselect = '<br /><select name="payment_info[issuer]" id="issuerselect" style="min-width:250px;">';
$idealselect = '<select name="payment_info[issuer]" class="issuerselect" id="issuerselect"><option value="">Kies uw bank</option>';

if ($processor_data['processor_params']['mode'] == 'T') {
foreach ($iDealIssuers['issuers'] as $issuer) {
$idealselect .= '<option value="' . $issuer['code']['VALUE'] . '">' . $issuer['description']['VALUE'] . '</option>';
Expand Down
8 changes: 7 additions & 1 deletion app/lib/other/templater/plugins/block.msp_issuers.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ function smarty_block_msp_issuers($params, $content, &$smarty, &$repeat)
$repeat = false;
$processor_data = fn_get_processor_data($_SESSION['cart']['payment_id']);

if(empty($processor_data) && isset($_REQUEST['order_id'])) {
$order_info = fn_get_order_info($_REQUEST['order_id']);
$processor_data = fn_get_processor_data($order_info['payment_id']);
}

require_once (DIR_ROOT . '/app/payments/MultiSafepay.combined.php');

if ($processor_data['processor_params']['mode'] == 'T') {
Expand All @@ -42,7 +47,8 @@ function smarty_block_msp_issuers($params, $content, &$smarty, &$repeat)
$iDealIssuers = $msp->getIdealIssuers();


$idealselect = '<br /><select name="payment_info[issuer]" id="issuerselect" style="min-width:250px;">';
$idealselect = '<select name="payment_info[issuer]" class="issuerselect" id="issuerselect"><option value="">Kies uw bank</option>';

if ($processor_data['processor_params']['mode'] == 'T') {
foreach ($iDealIssuers['issuers'] as $issuer) {
$idealselect .= '<option value="' . $issuer['code']['VALUE'] . '">' . $issuer['description']['VALUE'] . '</option>';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ function smarty_block_msp_issuers($params, $content, &$smarty, &$repeat)
$repeat = false;
$processor_data = fn_get_processor_data($_SESSION['cart']['payment_id']);

if(empty($processor_data) && isset($_REQUEST['order_id'])) {
$order_info = fn_get_order_info($_REQUEST['order_id']);
$processor_data = fn_get_processor_data($order_info['payment_id']);
}

require_once (DIR_ROOT . '/app/payments/MultiSafepay.combined.php');


Expand All @@ -44,7 +49,8 @@ function smarty_block_msp_issuers($params, $content, &$smarty, &$repeat)
$iDealIssuers = $msp->getIdealIssuers();


$idealselect = '<br /><select name="payment_info[issuer]" id="issuerselect" style="min-width:250px;">';
$idealselect = '<select name="payment_info[issuer]" class="issuerselect" id="issuerselect"><option value="">Kies uw bank</option>';

if ($processor_data['processor_params']['mode'] == 'T') {
foreach ($iDealIssuers['issuers'] as $issuer) {
$idealselect .= '<option value="' . $issuer['code']['VALUE'] . '">' . $issuer['description']['VALUE'] . '</option>';
Expand Down
Loading

0 comments on commit bb7fda6

Please sign in to comment.