Version Notes
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.
Now Invoice is creating even if status is PENDING
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.7 |
Comparing to | |
See all releases |
Code changes from version 4.2.6 to 4.2.7
- app/code/community/Dibspw/Dibspw/Model/Dibspw.php +5 -8
- app/code/community/Dibspw/Dibspw/Model/dibs_api/pw/dibs_pw_helpers.php +1 -1
- app/code/community/Dibspw/Dibspw/etc/config.xml +1 -1
- app/code/community/Dibspw/Dibspw/sql/dibspw_setup/{mysql4-install-4.2.6.php → mysql4-install-4.2.7.php} +0 -0
- package.xml +11 -5
@@ -32,7 +32,7 @@ class Dibspw_Dibspw_Model_Dibspw extends dibs_pw_api {
|
|
32 |
protected $_canRefund = true;
|
33 |
protected $_canRefundInvoicePartial = true;
|
34 |
protected $_canVoid = true;
|
35 |
-
protected $_canUseInternal =
|
36 |
protected $_canUseCheckout = true;
|
37 |
protected $_canUseForMultishipping = false;
|
38 |
protected $_canSaveCc = false;
|
@@ -57,11 +57,6 @@ class Dibspw_Dibspw_Model_Dibspw extends dibs_pw_api {
|
|
57 |
*/
|
58 |
public function validate() {
|
59 |
parent::validate();
|
60 |
-
$sCurrencyCode = Mage::getSingleton('checkout/session')->getQuote()->getBaseCurrencyCode();
|
61 |
-
if (!array_key_exists($sCurrencyCode, dibs_pw_api::api_dibs_get_currencyArray())) {
|
62 |
-
Mage::throwException(Mage::helper('Dibspw')->__('Selected currency code (' .
|
63 |
-
$sCurrencyCode . ') is not compatabile with Dibs'));
|
64 |
-
}
|
65 |
return $this;
|
66 |
}
|
67 |
|
@@ -97,9 +92,11 @@ class Dibspw_Dibspw_Model_Dibspw extends dibs_pw_api {
|
|
97 |
$this->log("Capture ERROR. Error message:".$result['message'], $result['transaction_id']);
|
98 |
break;
|
99 |
case 'PENDING':
|
100 |
-
|
|
|
101 |
$this->log("Capture PENDING. Error message:".$result['message'], $result['transaction_id']);
|
102 |
-
|
|
|
103 |
default:
|
104 |
$errorMsg = $this->_getHelper()->__("Error due online capture" . $result['message']);
|
105 |
$this->log("Capture uncnown error. Error message:".$result['message'], $result['transaction_id']);
|
32 |
protected $_canRefund = true;
|
33 |
protected $_canRefundInvoicePartial = true;
|
34 |
protected $_canVoid = true;
|
35 |
+
protected $_canUseInternal = true;
|
36 |
protected $_canUseCheckout = true;
|
37 |
protected $_canUseForMultishipping = false;
|
38 |
protected $_canSaveCc = false;
|
57 |
*/
|
58 |
public function validate() {
|
59 |
parent::validate();
|
|
|
|
|
|
|
|
|
|
|
60 |
return $this;
|
61 |
}
|
62 |
|
92 |
$this->log("Capture ERROR. Error message:".$result['message'], $result['transaction_id']);
|
93 |
break;
|
94 |
case 'PENDING':
|
95 |
+
$noticeMsg = "Transaction has been successfully added for a batch capture.
|
96 |
+
The result of the capture can be found in the administration.";
|
97 |
$this->log("Capture PENDING. Error message:".$result['message'], $result['transaction_id']);
|
98 |
+
Mage::getSingleton('core/session')->addNotice($noticeMsg);
|
99 |
+
break;
|
100 |
default:
|
101 |
$errorMsg = $this->_getHelper()->__("Error due online capture" . $result['message']);
|
102 |
$this->log("Capture uncnown error. Error message:".$result['message'], $result['transaction_id']);
|
@@ -229,7 +229,7 @@ class dibs_pw_helpers extends dibs_pw_helpers_cms implements dibs_pw_helpers_int
|
|
229 |
*/
|
230 |
function helper_dibs_obj_etc($mOrderInfo) {
|
231 |
return (object)array(
|
232 |
-
'sysmod' => '
|
233 |
'callbackfix' => $this->helper_dibs_tools_url("Dibspw/Dibspw/callback")
|
234 |
);
|
235 |
}
|
229 |
*/
|
230 |
function helper_dibs_obj_etc($mOrderInfo) {
|
231 |
return (object)array(
|
232 |
+
'sysmod' => 'mgn1_4_2_7',
|
233 |
'callbackfix' => $this->helper_dibs_tools_url("Dibspw/Dibspw/callback")
|
234 |
);
|
235 |
}
|
@@ -24,7 +24,7 @@
|
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Dibspw_Dibspw>
|
27 |
-
<version>4.2.
|
28 |
<depends>
|
29 |
<Mage_Paygate />
|
30 |
</depends>
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Dibspw_Dibspw>
|
27 |
+
<version>4.2.7</version>
|
28 |
<depends>
|
29 |
<Mage_Paygate />
|
30 |
</depends>
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dibspw</name>
|
4 |
-
<version>4.2.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -29,8 +29,14 @@ 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.
|
|
|
|
|
|
|
|
|
|
|
33 |
- Small improvements and bugfixing
|
|
|
34 |
4.2.5
|
35 |
- fixed bug with online 
|
36 |
cancelling transaction
|
@@ -88,9 +94,9 @@ cancelling transaction
|
|
88 |
4.1.0 
|
89 |
- New module for DIBS Payment Window and Mobile Payment Window integration methods </notes>
|
90 |
<authors><author><name>DIBS A/S</name><user>niso</user><email>info@dibs.dk</email></author></authors>
|
91 |
-
<date>2013-
|
92 |
-
<time>
|
93 |
-
<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="
|
94 |
<compatible/>
|
95 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
96 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dibspw</name>
|
4 |
+
<version>4.2.7</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.7
|
33 |
+
- Fixed bug with creating internal order.
|
34 |
+
- Fixed bug with fatal error on reorder transactions created with Dibs PW
|
35 |
+
- Fixed problem with PENDING statuses.
|
36 |
+
Now Invoice is creating even if status is PENDING 
|
37 |
+
4.2.6 
|
38 |
- Small improvements and bugfixing
|
39 |
+
- When capturing return PENDING it handles like ACCEPT
|
40 |
4.2.5
|
41 |
- fixed bug with online 
|
42 |
cancelling transaction
|
94 |
4.1.0 
|
95 |
- New module for DIBS Payment Window and Mobile Payment Window integration methods </notes>
|
96 |
<authors><author><name>DIBS A/S</name><user>niso</user><email>info@dibs.dk</email></author></authors>
|
97 |
+
<date>2013-11-13</date>
|
98 |
+
<time>12:29:52</time>
|
99 |
+
<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="83646ef583e2f3e08c018186274467d8"/><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="5777473b1167319b779ec400315d2479"/><file name="dibs_pw_helpers.php" hash="e53eca433b4b794224ec965b0defc95e"/><file name="dibs_pw_helpers_cms.php" hash="be4358677106128378da793d65fb2362"/><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="52b9be7c6509b4cdd3e3ae0057551ebf"/><file name="system.xml" hash="56269fd456c10d6e491f935d86350707"/></dir><dir name="sql"><dir name="dibspw_setup"><file name="mysql4-install-4.2.7.php" hash="befcb176eb030b2a8e831c413e30c7b0"/></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="8e78376a0b6aa14f7f60ace5a3db126f"/></dir><dir name="en_US"><file name="Mage_Dibspw.csv" hash="38c7e584e9d49ffe1a3313417b403971"/></dir><dir name="sv_SE"><file name="Mage_Dibspw.csv" hash="ecce28ec24bd2b02967c3eee5c40e120"/></dir><dir name="nn_NO"><file name="Mage_Dibspw.csv" hash="04e799b7c54e246ebd76fcf6e414343d"/></dir><dir name="da_DK"><file name="Mage_Dibspw.csv" hash="eb361c88a3c24cc13471eadde4637dd3"/></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="c101fa3c34271f92a8276e76310dd98f"/><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="28e2ab33b1394bc721208a06deccb785"/></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>
|
100 |
<compatible/>
|
101 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
102 |
</package>
|