Version Notes
Fixed tax amount value in order item details
Download this release
Release Info
Developer | Roy Andre Tollefsen |
Extension | Trollweb_Dibs |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
app/code/community/Trollweb/Dibs/Model/Dibspw/Cart.php
CHANGED
@@ -84,7 +84,7 @@ class Trollweb_Dibs_Model_Dibspw_Cart
|
|
84 |
'description' => $item->getName(),
|
85 |
'amount' => sprintf("%0.0f",$item->getBasePrice()*100),
|
86 |
'item_id' => $item->getSku(),
|
87 |
-
'vat_amount' => ($hdibspw->getConfigData('cart_tax_type') == self::NAME_VATPERCENT)?sprintf("%0.0f",$item->getTaxPercent()*100):sprintf("%0.0f"
|
88 |
));
|
89 |
|
90 |
$this->_items[] = $item;
|
84 |
'description' => $item->getName(),
|
85 |
'amount' => sprintf("%0.0f",$item->getBasePrice()*100),
|
86 |
'item_id' => $item->getSku(),
|
87 |
+
'vat_amount' => ($hdibspw->getConfigData('cart_tax_type') == self::NAME_VATPERCENT)?sprintf("%0.0f",$item->getTaxPercent()*100):sprintf("%0.0f",($item->getBaseTaxAmount() / $item->getQtyOrdered())*100),
|
88 |
));
|
89 |
|
90 |
$this->_items[] = $item;
|
app/code/community/Trollweb/Dibs/Model/Source/Paymentaction.php
CHANGED
@@ -23,7 +23,7 @@ class Trollweb_Dibs_Model_Source_Paymentaction
|
|
23 |
$hdibs = Mage::helper('dibs');
|
24 |
return array(
|
25 |
array('value' => 'auth', 'label' => $hdibs->__('Authorize Only')),
|
26 |
-
array('value' => 'sale', 'label' => $hdibs->__('Authorize + Capture'))
|
27 |
);
|
28 |
}
|
29 |
|
23 |
$hdibs = Mage::helper('dibs');
|
24 |
return array(
|
25 |
array('value' => 'auth', 'label' => $hdibs->__('Authorize Only')),
|
26 |
+
//array('value' => 'sale', 'label' => $hdibs->__('Authorize + Capture'))
|
27 |
);
|
28 |
}
|
29 |
|
app/code/community/Trollweb/Dibs/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Trollweb_Dibs>
|
5 |
-
<version>1.1.
|
6 |
</Trollweb_Dibs>
|
7 |
</modules>
|
8 |
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Trollweb_Dibs>
|
5 |
+
<version>1.1.1</version>
|
6 |
</Trollweb_Dibs>
|
7 |
</modules>
|
8 |
|
package.xml
CHANGED
@@ -1,2 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<package><name>Trollweb_Dibs</name><version>1.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?xml version="1.0"?>
|
2 |
+
<package><name>Trollweb_Dibs</name><version>1.1.1</version><stability>stable</stability><license>MIT</license><channel>community</channel><extends></extends><summary>The DIBS Payment module for Magento, developed and supported by Trollweb Solutions.</summary><description><strong>The DIBS Payment module</strong><br />
|
3 |
+
<p>The DIBS module from Magento by Trollweb is the only one backed and supported by both DIBS and Trollweb, a leading Magento Payments module developer based in Norway and Sweden.</p>
|
4 |
+

|
5 |
+
<strong>100% free</strong><br />
|
6 |
+
<p>The module is 100% free for any merchant.</p>
|
7 |
+

|
8 |
+
<strong>Fully compatible with all new versions of Magento</strong><br />
|
9 |
+
<p>The DIBS module supports all newer versions of Magento, and will always be updated to support any upcoming versions of Magento - totally free for any merchant.</p>
|
10 |
+

|
11 |
+
<strong>Full support for Magento Enterprise </strong><br />
|
12 |
+
<p>The module supports all newer versions of Magento Enterprise Edition. The module even supports all major checkout modules like GoMage LightCheckout and OneStepCheckout.</p>
|
13 |
+

|
14 |
+
<strong>Supported by a premier Magento supplier</strong><br />
|
15 |
+
<p>The DIBS Payment module is supported by one of the oldest and largest Magento providers in the market - <a href="http://trollweb.no">Trollweb Solutions</a>.</p>
|
16 |
+

|
17 |
+
<p>If you need help installing and setting up the module we offer basic free support for the module, however any kind of customization and extensive setups are provided at our normalt hourly rates.</p>
|
18 |
+

|
19 |
+
<p>For more details, visit <a href="http://trollweb.no/dibs">http://trollweb.no/dibs</a>.</p></description><notes>Fixed tax amount value in order item details</notes><authors><author><name>Roy Andre Tollefsen</name><user>royandre</user><email>royandre@trollweb.no</email></author></authors><date>2013-12-05</date><time>3:49:47</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="locale"><dir name="nb_NO"><file name="Trollweb_Dibs.csv" hash="60ca9c9a98f3090b0a7292f1e6b28e0c"/></dir></dir><dir name="code"><dir name="community"><dir name="Trollweb"><dir name="Dibs"><dir name="Model"><file name="Dibspw.php" hash="ec9eb923e7b25290c6d2ffa150f71d61"/><dir name="Dibspw"><file name="Callback.php" hash="eefcc77909a6bb99498bde6ae0b7ca4e"/><file name="Cart.php" hash="411a6006f56a68408ff4506aba35a362"/><file name="Info.php" hash="9ad8989469563cfe53d3b6cf68d9d506"/><file name="Observer.php" hash="13786b0fec2163667002f5c729c317df"/><dir name="Api"><file name="Request.php" hash="b6c30369b523d0972c5735c8006f525d"/><file name="Result.php" hash="780ab87ac1a6bbdca01b92a217dc942e"/></dir></dir><dir name="Source"><file name="Cctype.php" hash="3f0858b5e684913986e535061861d686"/><file name="Language.php" hash="184def3e555e907192bb8f07e25d89cf"/><file name="Logo.php" hash="c2c7af61b1f948ba22cad9eb42ebe80e"/><file name="Optionalfields.php" hash="0cec2194ae4f379ccd8cfb480aa9a039"/><file name="Paymentaction.php" hash="72641656177c66080896b8a8313a6cb6"/><file name="Taxtype.php" hash="ee6e703a882b3836672a77a0b1a8dc87"/><file name="Timeout.php" hash="3611d291b6660aa217d5ae95fc808197"/></dir><dir name="Entity"><file name="Setup.php" hash="dd96c07255111a38551e39c24fb5547a"/></dir></dir><dir name="data"><dir name="dibs_setup"><file name="data-install-1.0.0.php" hash="1f912cf1bd9bbea0c8b3f17dad844b4a"/></dir></dir><dir name="controllers"><file name="DibspwController.php" hash="d4fcbfc62ee5fd95c5cfdd2523c25d18"/></dir><dir name="Helper"><file name="Data.php" hash="3b4b7e914788a8016230b2ee3c9fe245"/><file name="Dibspw.php" hash="81e727dae8f6d169f5f174cf3c4a5342"/></dir><dir name="Block"><dir name="Dibspw"><file name="Form.php" hash="641369fcf543c94db1acc4c6ac2d1e60"/><file name="PaymentInfo.php" hash="25d502159a8b4783a9272ef0c029c180"/><file name="Redirect.php" hash="09e8f5f7db800c08c807a1816e929cdd"/></dir></dir><dir name="etc"><file name="config.xml" hash="67d197aa94b6f0a14bba100e0733bf9c"/><file name="system.xml" hash="c6b6b76f6a2afe7df5ca1bb20cb62232"/></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="Trollweb_Dibs.xml" hash="912239830f55c9b627038a19b8023e88"/></dir><dir name="template"><dir name="dibs"><dir name="dibspw"><file name="form.phtml" hash="26a735053ff7e74bde5d3c019a479b2d"/><file name="paymentinfo.phtml" hash="ea322fca27fd523ea3f820f9d49b9be1"/><file name="redirect.phtml" hash="fee8316fdd05846e8b8aef45ab45490f"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="dibs"><dir name="dibspw"><file name="form.phtml" hash="5739f81ca605856a9e7bd79915d4c1ca"/><file name="paymentinfo.phtml" hash="9b38da3623d46b6a8a246aab530d9dc0"/></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Trollweb_Dibs.xml" hash="85fed3975d75a1d3ca9aaf73ad839b76"/></dir></dir></dir><dir name="skin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="trollweb"><dir name="dibs"><dir name="logos"><file name="black.jpg" hash="55dccedd53a923983891869509f68a27"/><file name="blue.jpg" hash="dbe53239b14c5900ab0cc0a9c3c9f9f1"/><file name="green.jpg" hash="c95d2aad8fbb780137dfc8dacc087fa6"/><file name="grey.jpg" hash="99db51b92759e228f01866d71baf3467"/><file name="red.jpg" hash="1c36abdf7e2a2f0d9701ac45517dc55b"/><file name="yellow.jpg" hash="22b3fdfb251a317d48b8cd216d081387"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="images"><dir name="trollweb"><dir name="dibs"><dir name="logos"><file name="black.jpg" hash="55dccedd53a923983891869509f68a27"/><file name="blue.jpg" hash="dbe53239b14c5900ab0cc0a9c3c9f9f1"/><file name="green.jpg" hash="c95d2aad8fbb780137dfc8dacc087fa6"/><file name="grey.jpg" hash="99db51b92759e228f01866d71baf3467"/><file name="red.jpg" hash="1c36abdf7e2a2f0d9701ac45517dc55b"/><file name="yellow.jpg" hash="22b3fdfb251a317d48b8cd216d081387"/></dir></dir></dir></dir></dir></dir></dir></dir></target></contents></package>
|