J2t_Payplug - Version 1.0.8

Version Notes

Usage of base grand total instead of grand total

Download this release

Release Info

Developer J2T DESIGN
Extension J2t_Payplug
Version 1.0.8
Comparing to
See all releases


Code changes from version 1.0.7 to 1.0.8

app/code/community/J2t/Payplug/Model/PaymentMethod.php CHANGED
@@ -128,7 +128,7 @@ class J2t_Payplug_Model_PaymentMethod extends Mage_Payment_Model_Method_Abstract
128
  $url_payment= Mage::getStoreConfig('payment/j2tpayplug/module_url', $this->getQuote()->getStoreId());
129
 
130
  $params = array(
131
- 'amount' => ($order->getGrandTotal()*100),
132
  'custom_data' => $order->getStoreId(),
133
  'origin' => 'Magento '.Mage::getVersion().' module '.Mage::getConfig()->getModuleConfig("J2t_Payplug")->version,
134
  'currency' => $order->getOrderCurrencyCode(),
128
  $url_payment= Mage::getStoreConfig('payment/j2tpayplug/module_url', $this->getQuote()->getStoreId());
129
 
130
  $params = array(
131
+ 'amount' => ($order->getBaseGrandTotal()*100),
132
  'custom_data' => $order->getStoreId(),
133
  'origin' => 'Magento '.Mage::getVersion().' module '.Mage::getConfig()->getModuleConfig("J2t_Payplug")->version,
134
  'currency' => $order->getOrderCurrencyCode(),
app/code/community/J2t/Payplug/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <J2t_Payplug>
5
- <version>1.0.7</version>
6
  </J2t_Payplug>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <J2t_Payplug>
5
+ <version>1.0.8</version>
6
  </J2t_Payplug>
7
  </modules>
8
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>J2t_Payplug</name>
4
- <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>PayPlug payment gateway</summary>
10
  <description>It allows to pay with PayPlug</description>
11
- <notes>Fixing translation issue</notes>
12
  <authors><author><name>J2T Design</name><user>j2tdesign</user><email>j2tdesign.net@gmail.com</email></author></authors>
13
- <date>2015-02-03</date>
14
- <time>08:40:45</time>
15
- <contents><target name="magecommunity"><dir name="J2t"><dir name="Payplug"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Accountdetails.php" hash="c89acdccd51f392dac8dfd032013683f"/></dir></dir></dir><file name="Form.php" hash="0c89710b2d4e94d76e9cc4b37ae3e7a6"/><file name="Info.php" hash="1879d72dca0d0762afa48d7039d07925"/></dir><dir name="Helper"><file name="Data.php" hash="123d5de46cd1577e867e8ab9b0236d09"/></dir><dir name="Model"><file name="Feed.php" hash="a7a040e81827020e74f22f760b8f3f64"/><file name="Observer.php" hash="b385fea0af6f8765f296a2b213b3f10c"/><file name="PaymentMethod.php" hash="0621acf79efad4f9a9fa885ce669812e"/></dir><dir name="controllers"><file name="PaymentController.php" hash="cfb478f2726e775ac35c80ad0defc0f8"/></dir><dir name="etc"><file name="config.xml" hash="0484114b6cd1d3b6eab990e63fce0706"/><file name="system.xml" hash="6025f80f59a375e4e687065ab2a347df"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="j2tpayplug"><file name="form.phtml" hash="6edeec68d52f962cfe43b703d9925302"/><file name="info.phtml" hash="7270ac2591cb0ad18915d8f5e92bef69"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="j2tpayplug.xml" hash="b4f4d0cbe73cbd00bff554680f531741"/></dir><dir name="template"><dir name="j2tpayplug"><file name="info.phtml" hash="f6aa9ac4ef5ec0aa207e4b5a03666bd1"/><dir name="pdf"><file name="info.phtml" hash="007c81c2ae9e9b16522924a8073294ef"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="J2t_Payplug.xml" hash="dccffdae1d3e6bae6c2e01ed7ec0cff3"/></dir></target><target name="magelocale"><dir><dir name="fr_FR"><file name="j2t_payplug.csv" hash="e460bf539b3b0dc1632a1a7f616bcdfa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="j2t_all_admin_1.css" hash="6d64fbd2a114cd820c11017c61bd0897"/><dir name="images"><file name="j2t_all_1.png" hash="19abc9040d74479f19eeb0c686f84766"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="."><file name="icon_accepted_cards_payplug.gif" hash="5270a1ef6a85f679504849cdb1dccb2a"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>J2t_Payplug</name>
4
+ <version>1.0.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>PayPlug payment gateway</summary>
10
  <description>It allows to pay with PayPlug</description>
11
+ <notes>Usage of base grand total instead of grand total</notes>
12
  <authors><author><name>J2T Design</name><user>j2tdesign</user><email>j2tdesign.net@gmail.com</email></author></authors>
13
+ <date>2015-02-19</date>
14
+ <time>08:56:11</time>
15
+ <contents><target name="magecommunity"><dir name="J2t"><dir name="Payplug"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Accountdetails.php" hash="c89acdccd51f392dac8dfd032013683f"/></dir></dir></dir><file name="Form.php" hash="0c89710b2d4e94d76e9cc4b37ae3e7a6"/><file name="Info.php" hash="1879d72dca0d0762afa48d7039d07925"/></dir><dir name="Helper"><file name="Data.php" hash="123d5de46cd1577e867e8ab9b0236d09"/></dir><dir name="Model"><file name="Feed.php" hash="a7a040e81827020e74f22f760b8f3f64"/><file name="Observer.php" hash="b385fea0af6f8765f296a2b213b3f10c"/><file name="PaymentMethod.php" hash="8e4b82d456282b0111d4a77d94a57c4b"/></dir><dir name="controllers"><file name="PaymentController.php" hash="cfb478f2726e775ac35c80ad0defc0f8"/></dir><dir name="etc"><file name="config.xml" hash="5719f69cfbe7a22215e3eb3f2e0fecfd"/><file name="system.xml" hash="6025f80f59a375e4e687065ab2a347df"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="j2tpayplug"><file name="form.phtml" hash="6edeec68d52f962cfe43b703d9925302"/><file name="info.phtml" hash="7270ac2591cb0ad18915d8f5e92bef69"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="j2tpayplug.xml" hash="b4f4d0cbe73cbd00bff554680f531741"/></dir><dir name="template"><dir name="j2tpayplug"><file name="info.phtml" hash="f6aa9ac4ef5ec0aa207e4b5a03666bd1"/><dir name="pdf"><file name="info.phtml" hash="007c81c2ae9e9b16522924a8073294ef"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="J2t_Payplug.xml" hash="dccffdae1d3e6bae6c2e01ed7ec0cff3"/></dir></target><target name="magelocale"><dir><dir name="fr_FR"><file name="j2t_payplug.csv" hash="e460bf539b3b0dc1632a1a7f616bcdfa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="j2t_all_admin_1.css" hash="6d64fbd2a114cd820c11017c61bd0897"/><dir name="images"><file name="j2t_all_1.png" hash="19abc9040d74479f19eeb0c686f84766"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="."><file name="icon_accepted_cards_payplug.gif" hash="5270a1ef6a85f679504849cdb1dccb2a"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>