Version Notes
4.2.9.4
- Fixed bug with sign + in mobile number that cause error with mac calculation
4.2.9.3
- Fixed problem with SSL (capturing transactions online)
4.2.9.2
- Added possibility to use DIBS logos markup
4.2.9.1
- Fixed problem with HMAC when usin SID on frontend
- Small bugfixes.
4.2.9
- added new fields for invoice
- added partnerid
4.2.8
- Fixed problems with PENDING statuses
4.2.7
- Fixed bug with creating internal order.
- Fixed bug with fatal error on reorder transactions created with Dibs PW
- Fixed problem with PENDING statuses
4.2.6
- Small improvements and bugfixing
- When capturing return PENDING it handles like ACCEPT
4.2.5
- fixed bug with online
cancelling transaction
4.2.4
- fixed bugs in previous release 4.2.3
4.2.3
- Added capture, refund, cancel online
- small bugfixing
- cart is not empty on cancel
4.2.2
- Fixed problem with wrong rounding
4.2.1
- Removed language that not support
- Fixed problem with mobile numbers with dash
4.2.0
- added fee amount to order
4.1.9
- bugfixing release
4.1.8
- added support of Bundle Products
4.1.7
- utf encoding fixed
4.1.6
- Fixed bug with double quoted items names
- Fixed bug with HMAC code
- Added compatibility with compilation mode
- Added instruction for resolving problem with MAC code error
4.1.5
-Development
4.1.4
- Added Magento coupons support
- Fixed possible rounding issues;
- Removed Mobile Payment Window, now DIBS Payment Window can automatically scale to different screen sizes.
4.1.3
- Removed protected Magento statuses from module configuration page (Closed, Completed)
- Fixed possible problems running extension on Windows-hosted Magento
- Page after cancel operation changed to orders list (instead of empty cart)
4.1.2
- Confirmed compatibility with Magento 1.7.*
- Improved stability by using more low-level Magento API integration;
- Improved compatibility with DIBS invoice payments
- Added option to limit payment method usage by countries
- Added Transaction ID to order confirmation mail
4.1.1
- Fixed error on redirect with expired session
- Improved compatibility with DIBS FlexWin Magento extension
- Fixed order statuses bug&
- Fixed account parameter bugs
- Fixed layout
- Fixed crash on dibspw_results table remove
- Fixed logo appearance bugs
- Fixed bug with message appearance in inappropriate places
- Added Sort Order option
- A lot of other fixes and improvements
4.1.0
- New module for DIBS Payment Window and Mobile Payment Window integration methods
Release Info
Developer | DIBS A/S |
Extension | Dibspw |
Version | 4.2.9.4 |
Comparing to | |
See all releases |
Code changes from version 4.2.9.3 to 4.2.9.4
@@ -311,7 +311,7 @@ class dibs_pw_api extends dibs_pw_helpers {
|
|
311 |
if(abs((int)$iAmount - (int)self::api_dibs_round($mOrderInfo->amount)) >= 0.01) return 4;
|
312 |
|
313 |
if((int)$mOrderInfo->currency != (int)$_POST['currency']) return 6;
|
314 |
-
|
315 |
$sHMAC = $this->helper_dibs_tools_conf('HMAC');
|
316 |
if(!empty($sHMAC) && self::api_dibs_checkMAC($sHMAC, $bUrlDecode) !== TRUE) return 7;
|
317 |
|
@@ -343,7 +343,7 @@ class dibs_pw_api extends dibs_pw_helpers {
|
|
343 |
* @return int
|
344 |
*/
|
345 |
final public function api_dibs_action_success($mOrderInfo) {
|
346 |
-
$iErr = $this->api_dibs_checkMainFields($mOrderInfo);
|
347 |
if($iErr != 1 && $iErr != 2) {
|
348 |
$this->api_dibs_updateResultRow(array('success_action' => empty($iErr) ? 1 : 0,
|
349 |
'success_error' => $iErr));
|
@@ -466,6 +466,7 @@ class dibs_pw_api extends dibs_pw_helpers {
|
|
466 |
$sData = '';
|
467 |
if(isset($aData['MAC'])) unset($aData['MAC']);
|
468 |
ksort($aData);
|
|
|
469 |
foreach($aData as $sKey => $sVal) {
|
470 |
$sData .= '&' . $sKey . '=' . (($bUrlDecode === TRUE) ? urldecode($sVal) : $sVal);
|
471 |
}
|
311 |
if(abs((int)$iAmount - (int)self::api_dibs_round($mOrderInfo->amount)) >= 0.01) return 4;
|
312 |
|
313 |
if((int)$mOrderInfo->currency != (int)$_POST['currency']) return 6;
|
314 |
+
|
315 |
$sHMAC = $this->helper_dibs_tools_conf('HMAC');
|
316 |
if(!empty($sHMAC) && self::api_dibs_checkMAC($sHMAC, $bUrlDecode) !== TRUE) return 7;
|
317 |
|
343 |
* @return int
|
344 |
*/
|
345 |
final public function api_dibs_action_success($mOrderInfo) {
|
346 |
+
$iErr = $this->api_dibs_checkMainFields($mOrderInfo, false);
|
347 |
if($iErr != 1 && $iErr != 2) {
|
348 |
$this->api_dibs_updateResultRow(array('success_action' => empty($iErr) ? 1 : 0,
|
349 |
'success_error' => $iErr));
|
466 |
$sData = '';
|
467 |
if(isset($aData['MAC'])) unset($aData['MAC']);
|
468 |
ksort($aData);
|
469 |
+
|
470 |
foreach($aData as $sKey => $sVal) {
|
471 |
$sData .= '&' . $sKey . '=' . (($bUrlDecode === TRUE) ? urldecode($sVal) : $sVal);
|
472 |
}
|
@@ -228,7 +228,7 @@ class dibs_pw_helpers extends dibs_pw_helpers_cms implements dibs_pw_helpers_int
|
|
228 |
*/
|
229 |
function helper_dibs_obj_etc($mOrderInfo) {
|
230 |
return (object)array(
|
231 |
-
'sysmod' => '
|
232 |
'callbackfix' => $this->helper_dibs_tools_url("Dibspw/Dibspw/callback"),
|
233 |
'partnerid' => $this->helper_dibs_tools_conf('partnerid')
|
234 |
);
|
228 |
*/
|
229 |
function helper_dibs_obj_etc($mOrderInfo) {
|
230 |
return (object)array(
|
231 |
+
'sysmod' => 'mgn1_4_2_9_4',
|
232 |
'callbackfix' => $this->helper_dibs_tools_url("Dibspw/Dibspw/callback"),
|
233 |
'partnerid' => $this->helper_dibs_tools_conf('partnerid')
|
234 |
);
|
@@ -24,7 +24,7 @@
|
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Dibspw_Dibspw>
|
27 |
-
<version>4.2.9.
|
28 |
<depends>
|
29 |
<Mage_Paygate />
|
30 |
</depends>
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Dibspw_Dibspw>
|
27 |
+
<version>4.2.9.4</version>
|
28 |
<depends>
|
29 |
<Mage_Paygate />
|
30 |
</depends>
|
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dibspw</name>
|
4 |
-
<version>4.2.9.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -29,7 +29,9 @@ Card types accepted by the DIBS payment gateway: 
|
|
29 |
- Danske Bank e-betaling 
|
30 |
- Nordea e-betaling 
|
31 |
A complete list can be found at http://www.dibspayment.com/</description>
|
32 |
-
<notes>4.2.9.
|
|
|
|
|
33 |
- Fixed problem with SSL (capturing transactions online)
|
34 |
4.2.9.2
|
35 |
- Added possibility to use DIBS logos markup
|
@@ -105,9 +107,9 @@ cancelling transaction
|
|
105 |
4.1.0 
|
106 |
- New module for DIBS Payment Window and Mobile Payment Window integration methods </notes>
|
107 |
<authors><author><name>DIBS A/S</name><user>niso</user><email>info@dibs.dk</email></author></authors>
|
108 |
-
<date>
|
109 |
-
<time>
|
110 |
-
<contents><target name="magecommunity"><dir name="Dibspw"><dir name="Dibspw"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="d94792c5d13cf9ee3b3fba51655989f8"/></dir><dir name="Invoice"><file name="Totals.php" hash="1294d0a40d42cafdb39d205953ec948c"/></dir><file name="Totals.php" hash="81ead413ddaf2030011fa57fbb485ab7"/></dir></dir></dir><file name="Failure.php" hash="17e6a66c34637fac033d3e04c9e6a45e"/><file name="Form.php" hash="ac2155fe9ed943a258118dfb127ea30f"/><file name="Info.php" hash="aab0d56dbc869c0af8c213b5adb8885b"/><file name="Redirect.php" hash="b67600699025f99eaadb6cc7f27b42b1"/></dir><dir name="Helper"><file name="Data.php" hash="fab1cad4db70b6928b0ac87c466f04af"/></dir><dir name="Model"><file name="Dibspw.php" hash="1ea321f2a12e931b4e75ebad83a56bd2"/><dir name="Mysql4"><file name="Setup.php" hash="1c135886bc8a0794310ec7cb70e04e64"/></dir><file name="Observer.php" hash="8da24eeac1cc008206674667179b6287"/><dir name="Sales"><dir name="Order"><file name="Fee.php" hash="81e7ffa06e95d77600948df8b9580be6"/><dir name="Total"><dir name="Creditmemo"><file name="Fee.php" hash="9843ad38862dcb0eb3c188f4b087bcdb"/></dir><dir name="Invoice"><file name="Fee.php" hash="d07f43c019739fcc60cdb41e4d778d08"/></dir><dir name="Order"><file name="Fee.php" hash="f7058003197c940c7092889f756f48ec"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Fee.php" hash="80faf1d3922ca905efeaacee82215af5"/></dir></dir></dir></dir><dir name="Service"><file name="Quote.php" hash="4c40330512775bded9a446c593118ee5"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Bundle.php" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Dibslogos.php" hash="d6cb9db1bd11f8cb40f79fc20fa9c44d"/><file name="Dibspaytypes.php" hash="7efbab315ad0cbdad7149f38c4a155d5"/><file name="Dibsyesno.php" hash="bd2708b2993a928f07215f09ba500094"/><file name="Lang.php" hash="0e3de6f18a689e3bfde21a90a9fa179e"/><file name="Orderstatusafter.php" hash="b2f27bddca028be1769051c5b191f1cc"/><file name="Orderstatusbefore.php" hash="e5ff243f2f310609465310c3719327d3"/><file name="PBBdistribution.php" hash="670ced20a731d657081ab720ad9bbc7a"/></dir></dir></dir><dir name="dibs_api"><dir name="pw"><file name="dibs_pw_api.php" hash="
|
111 |
<compatible/>
|
112 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
113 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dibspw</name>
|
4 |
+
<version>4.2.9.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
29 |
- Danske Bank e-betaling 
|
30 |
- Nordea e-betaling 
|
31 |
A complete list can be found at http://www.dibspayment.com/</description>
|
32 |
+
<notes>4.2.9.4
|
33 |
+
- Fixed bug with sign + in mobile number that cause error with mac calculation
|
34 |
+
4.2.9.3
|
35 |
- Fixed problem with SSL (capturing transactions online)
|
36 |
4.2.9.2
|
37 |
- Added possibility to use DIBS logos markup
|
107 |
4.1.0 
|
108 |
- New module for DIBS Payment Window and Mobile Payment Window integration methods </notes>
|
109 |
<authors><author><name>DIBS A/S</name><user>niso</user><email>info@dibs.dk</email></author></authors>
|
110 |
+
<date>2015-02-09</date>
|
111 |
+
<time>15:12:40</time>
|
112 |
+
<contents><target name="magecommunity"><dir name="Dibspw"><dir name="Dibspw"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="d94792c5d13cf9ee3b3fba51655989f8"/></dir><dir name="Invoice"><file name="Totals.php" hash="1294d0a40d42cafdb39d205953ec948c"/></dir><file name="Totals.php" hash="81ead413ddaf2030011fa57fbb485ab7"/></dir></dir></dir><file name="Failure.php" hash="17e6a66c34637fac033d3e04c9e6a45e"/><file name="Form.php" hash="ac2155fe9ed943a258118dfb127ea30f"/><file name="Info.php" hash="aab0d56dbc869c0af8c213b5adb8885b"/><file name="Redirect.php" hash="b67600699025f99eaadb6cc7f27b42b1"/></dir><dir name="Helper"><file name="Data.php" hash="fab1cad4db70b6928b0ac87c466f04af"/></dir><dir name="Model"><file name="Dibspw.php" hash="1ea321f2a12e931b4e75ebad83a56bd2"/><dir name="Mysql4"><file name="Setup.php" hash="1c135886bc8a0794310ec7cb70e04e64"/></dir><file name="Observer.php" hash="8da24eeac1cc008206674667179b6287"/><dir name="Sales"><dir name="Order"><file name="Fee.php" hash="81e7ffa06e95d77600948df8b9580be6"/><dir name="Total"><dir name="Creditmemo"><file name="Fee.php" hash="9843ad38862dcb0eb3c188f4b087bcdb"/></dir><dir name="Invoice"><file name="Fee.php" hash="d07f43c019739fcc60cdb41e4d778d08"/></dir><dir name="Order"><file name="Fee.php" hash="f7058003197c940c7092889f756f48ec"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Fee.php" hash="80faf1d3922ca905efeaacee82215af5"/></dir></dir></dir></dir><dir name="Service"><file name="Quote.php" hash="4c40330512775bded9a446c593118ee5"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Bundle.php" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Dibslogos.php" hash="d6cb9db1bd11f8cb40f79fc20fa9c44d"/><file name="Dibspaytypes.php" hash="7efbab315ad0cbdad7149f38c4a155d5"/><file name="Dibsyesno.php" hash="bd2708b2993a928f07215f09ba500094"/><file name="Lang.php" hash="0e3de6f18a689e3bfde21a90a9fa179e"/><file name="Orderstatusafter.php" hash="b2f27bddca028be1769051c5b191f1cc"/><file name="Orderstatusbefore.php" hash="e5ff243f2f310609465310c3719327d3"/><file name="PBBdistribution.php" hash="670ced20a731d657081ab720ad9bbc7a"/></dir></dir></dir><dir name="dibs_api"><dir name="pw"><file name="dibs_pw_api.php" hash="6942916c4b5cbab587df5afe07fa0a50"/><file name="dibs_pw_helpers.php" hash="decdc92c8aa641f38de8ee808d1aad3e"/><file name="dibs_pw_helpers_cms.php" hash="5d69de1ba2246a08fc1b45a6fd72fee2"/><file name="dibs_pw_helpers_interface.php" hash="17a79ee1e27fdd1c6590c07133ba8c04"/><dir name="tmpl"><file name="dibs_pw_error" hash="7f82ad3b9f30425d21cc8991d7c90bf5"/></dir></dir></dir></dir><dir name="controllers"><file name="DibspwController.php" hash="f32aa3f39c570de36fe77570055d4464"/></dir><dir name="etc"><file name="config.xml" hash="208e58a95c056af8c6ad8945c6c68c5a"/><file name="system.xml" hash="f04ad9b209bcb9f555ddd40e0961ab86"/></dir><dir name="sql"><dir name="dibspw_setup"><file name="mysql4-install-4.2.7.php" hash="befcb176eb030b2a8e831c413e30c7b0"/><file name="mysql4-upgrade-4.2.8-4.2.9.php" hash="367888380e865556e98acdbe6e82ef56"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Dibspw_Dibspw.xml" hash="7c82595e6638c292f71a0ad5be4ecaf0"/></dir></target><target name="magelocale"><dir name="nb_NO"><file name="Mage_Dibspw.csv" hash="ea9230be6b0639730ed1b0a2216058e5"/></dir><dir name="en_US"><file name="Mage_Dibspw.csv" hash="45a7092d4de73b1a97be480b9893e6eb"/></dir><dir name="sv_SE"><file name="Mage_Dibspw.csv" hash="51016f8447ab78bb1bc61a48aca5b0df"/></dir><dir name="nn_NO"><file name="Mage_Dibspw.csv" hash="0e47a4f66a02cb0322374c81138373eb"/></dir><dir name="da_DK"><file name="Mage_Dibspw.csv" hash="3bca7fb95c54b0854e97494680635652"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="dibspw"><dir name="dibspw"><file name="failure.phtml" hash="f5a7ed44946651f7ad4b1beeca7499be"/><file name="form.phtml" hash="d63eb6553dd1403f833a55640fd9e45f"/><dir name="order"><dir name="creditmemo"><file name="totals.phtml" hash="f0c4d178bc7f5b6d93d1a8c42833e0be"/></dir><dir name="invoice"><file name="totals.phtml" hash="8fd636f8685a44ed936daca2c7ff63aa"/></dir><file name="totals.phtml" hash="87db23cb809f5164cd898c1ffa5d36b4"/></dir><file name="redirect.phtml" hash="af36b7df90bd2a2c620e90f051172cd3"/></dir></dir></dir><dir name="layout"><file name="dibspw.xml" hash="53204bb9885269745c0fe234a629d429"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="Dibspw"><dir name="Dibspw"><file name="aktia.gif" hash="7afe00b19b4194fa4ffbdf20cdd469c1"/><file name="amex.gif" hash="f35f89ccdcb954e02a07f6c0a29c7b43"/><file name="bax.gif" hash="c315574fd839dae52a1316b6d8b836b6"/><file name="dibs.gif" hash="8b308757472fc5aaaedfefd5c79a2d54"/><file name="din.gif" hash="fabce04659a94993a230285b9a4651e9"/><file name="dk.gif" hash="daa5d5d2c0d541579b0e13aa3cd9d65b"/><file name="dnb.gif" hash="1f616c382b72248334f6aa1ca910003b"/><file name="edk.gif" hash="4485910a0fb40512233c1a59ddd31015"/><file name="elec.gif" hash="e5371ba0da9bb14990d1b8163cedd066"/><file name="elv.gif" hash="3bd20355343bd250a6a704fdbaf9ba62"/><file name="ew.gif" hash="b50385f7d878be6a3834310d1fbc3a1d"/><file name="ffk.gif" hash="d9cd7fa26230a850114b2dc99aea3b22"/><file name="fsb.gif" hash="d6da3e67f8096811c2ad0135b2aad80a"/><file name="git.gif" hash="b70e244f36e7aec94fe3f6373e1ae8d7"/><file name="ing.gif" hash="40f07b266bcd5953bb6c079f7eeaae67"/><file name="jcb.gif" hash="aea8c54e043a75b26887fa1307ad4312"/><file name="jcbsecure.gif" hash="1c687214f79b73d7e99f5011c9c22bce"/><file name="loading.gif" hash="7e99e1159a3686f6aa4f90043c554483"/><file name="mc.gif" hash="2680e078159e5aedb561c3a705801a44"/><file name="mcsecure.gif" hash="730735c1e2d36d9fa3bd6468fa0b1a7d"/><file name="moca.gif" hash="befd2f10976c0ab40333f01fc6db4743"/><file name="mtro.gif" hash="d5df5f7986a21bf5a78b9c7a3656facd"/><file name="oko.gif" hash="1cde3c12036ebd74a643aee2ffb0513a"/><file name="pbb.gif" hash="fff306c0ea2e7568eef562ec3dc6edd8"/><file name="pbbtest.gif" hash="fff306c0ea2e7568eef562ec3dc6edd8"/><file name="pci.gif" hash="b55a87df550ea6789c17e389604e28e1"/><file name="seb.gif" hash="502b1dbeb81bce51abd1ea149d4dde14"/><file name="shb.gif" hash="0aa7c7fab4133ff4843c0ae73cabe9de"/><file name="solo.gif" hash="17b9be1a06125dcc7d1a6be8fea38dd6"/><file name="val.gif" hash="e62b75eb172934e118a70366baac51ee"/><file name="visa.gif" hash="b61251f8c428aa5dca017c9f374957ef"/><file name="visasecure.gif" hash="517118742fce249485c8eaf6df174764"/></dir></dir></dir></dir></dir></dir></target></contents>
|
113 |
<compatible/>
|
114 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
115 |
</package>
|