YesByCash - Version 0.1.4

Version Notes

TSI_Yesbycash 0.1.4

Download this release

Release Info

Developer TSI
Extension YesByCash
Version 0.1.4
Comparing to
See all releases


Code changes from version 0.1.3 to 0.1.4

app/code/community/TSI/Yesbycash/Helper/Data.php CHANGED
@@ -121,6 +121,7 @@ class TSI_Yesbycash_Helper_Data extends Mage_Core_Helper_Data {
121
  $subTotal = $address->getBaseSubtotal();
122
  $baseAmount = ($subTotal + $tax) * floatval($baseYesbycashFeeValue) / 100;
123
  }
 
124
  return $baseAmount;
125
  }
126
 
121
  $subTotal = $address->getBaseSubtotal();
122
  $baseAmount = ($subTotal + $tax) * floatval($baseYesbycashFeeValue) / 100;
123
  }
124
+
125
  return $baseAmount;
126
  }
127
 
app/code/community/TSI/Yesbycash/Model/Sales/Quote/Address/Total/Yesbycashfee.php CHANGED
@@ -43,11 +43,11 @@ class TSI_Yesbycash_Model_Sales_Quote_Address_Total_Yesbycashfee extends Mage_Sa
43
  }
44
  if ($paymentMethod && $paymentMethod == 'yesbycash_standard') {
45
  $baseAmount = $this->_getHelper()->getYesbycashFee($address->getQuote());
46
- $amount = Mage::helper('core')->currency($baseAmount, true, false);
47
  $address->setYesbycashFee($amount);
48
  $address->setBaseYesbycashFee($baseAmount);
49
  }
50
-
51
  $address->setGrandTotal($address->getGrandTotal() + $tax + $address->getYesbycashFee());
52
  $address->setBaseGrandTotal($address->getBaseGrandTotal() + $tax + $address->getBaseYesbycashFee());
53
 
43
  }
44
  if ($paymentMethod && $paymentMethod == 'yesbycash_standard') {
45
  $baseAmount = $this->_getHelper()->getYesbycashFee($address->getQuote());
46
+ $amount = Mage::helper('core')->currency($baseAmount, false, false);
47
  $address->setYesbycashFee($amount);
48
  $address->setBaseYesbycashFee($baseAmount);
49
  }
50
+
51
  $address->setGrandTotal($address->getGrandTotal() + $tax + $address->getYesbycashFee());
52
  $address->setBaseGrandTotal($address->getBaseGrandTotal() + $tax + $address->getBaseYesbycashFee());
53
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>YesByCash</name>
4
- <version>0.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License</license>
7
  <channel>community</channel>
@@ -36,11 +36,11 @@ o Simplicit&#xE9; de paiement : Il suffit de pr&#xE9;senter son code-barre pou
36
  o S&#xE9;curit&#xE9; de paiement : Aucune information personnelle suppl&#xE9;mentaire &#xE0; saisir.&#xD;
37
  &#xD;
38
  o B&#xE9;n&#xE9;ficier d&#x2019;une offre de paiement en mobilit&#xE9; : accessible sur tous les canaux : mobile, tablette, ordinateurs...</description>
39
- <notes>TSI_Yesbycash 0.1.3</notes>
40
  <authors><author><name>TSI</name><user>TSI</user><email>support@tsi-payment.com</email></author></authors>
41
- <date>2015-03-31</date>
42
- <time>16:00:39</time>
43
- <contents><target name="magecommunity"><dir><dir name="TSI"><dir><dir name="Yesbycash"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="004ccfd8aec456dacbfe0ef5907403c2"/></dir><dir name="Invoice"><file name="Totals.php" hash="05715dcabec6aa81cea2a35100f19e24"/></dir><file name="Totals.php" hash="eb30fb7d3d9b1b17546c0ad5f0633ee8"/></dir><file name="Totals.php" hash="bd4a8905745baafbd4e6c7bd983fb6dd"/></dir><file name="Server.php" hash="d0a581618bf74beef86022e42b33abdf"/></dir><dir name="Form"><file name="Ajax.php" hash="ee5383cd1edce14be64803bef9454cb3"/><file name="Standard.php" hash="4287d35067a44fc0e84ab0b6a590a68f"/></dir><dir name="Info"><file name="Standard.php" hash="e46f8853704f21f068fdbf5d30fe54be"/></dir><dir name="Onepage"><file name="Failure.php" hash="bb35a05dbbca763188426cf1371688c6"/><file name="Success.php" hash="c72673b536120b702a78053d31454881"/></dir><dir name="Sales"><dir name="Order"><file name="Cancel.php" hash="0042964ef6a1b6ab78c7c90623b8700a"/><dir name="Creditmemo"><file name="Totals.php" hash="ca7cdc0e6e3dafa5024bfd279606cd12"/></dir><dir name="Invoice"><file name="Totals.php" hash="752fe29c4aa2e164c3e4ddfc9936218d"/></dir><file name="Totals.php" hash="21edf8dfa349aa142f6fc2cf0f087cfe"/></dir></dir></dir><dir name="Controller"><file name="Action.php" hash="3ca6bb79884afb5ce9b2972fb78fbff9"/></dir><dir name="Helper"><file name="Data.php" hash="2dc0e2cbf05b9b2cc89b17584ac8e072"/></dir><dir name="Model"><dir name="Api"><file name="Methods.php" hash="fdf7dbef762a23d7d5e115f28ba1e0cd"/><file name="Response.php" hash="43a316436e82d38f8c9e4d2199a667d2"/><file name="Service.php" hash="7a43a2ab9129947b379bc840ed8d9f30"/></dir><file name="Observer.php" hash="24913af1d06fd161584c3bbf8065bb37"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Yesbycashfee.php" hash="1395fc6aacd6364eda567c30845503e5"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Yesbycashfee.php" hash="331a6a2f6df6157cc4c1bccbe5f1a540"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Yesbycashfee.php" hash="33369eeb590a4513c084227ed7ff314a"/></dir></dir></dir></dir><dir name="Source"><file name="Yesbycashfeetype.php" hash="378a35d35bc7ba5f8550595395a5557e"/></dir><file name="Standard.php" hash="d21f2675c9fa3b2b069deb9353af0924"/></dir><dir name="controllers"><file name="AjaxController.php" hash="8c8f1b36aaa4e488fff9d1ebaeb97075"/><file name="IpnController.php" hash="1c99c0b7d198d8c97ef1f5d3f23de059"/><file name="StandardController.php" hash="5cb8d7b443658654558f42ade7f6184e"/></dir><dir name="etc"><file name="config.xml" hash="121a73bfa53771fc47947c3dc60502ca"/><file name="system.xml" hash="2257bffc3d0801c800181134e0ddfdb2"/></dir><dir name="sql"><dir name="tsi_yesbycash_setup"><file name="install-0.1.0.php" hash="8e26b57545426d12cd51c5bc94082811"/><file name="upgrade-0.1.0-0.1.1.php" hash="dc9d2b6db12d6a7afbce72cb6ffd0edf"/><file name="upgrade-0.1.1-0.1.2.php" hash="6430a353d91a3027af2924de68272eeb"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="yesbycash.xml" hash="8300d917adcc5868584cd09809e79baa"/></dir><dir name="template"><dir name="yesbycash"><dir><dir name="checkout"><file name="failure.phtml" hash="23f9bd87c4e1b86b704fb73039414591"/><file name="success.phtml" hash="8494948bdc3fe9da69fff983e52aa868"/></dir><dir name="payment"><file name="form.phtml" hash="6a26367a281140ce9287e7926887c445"/><file name="form_ajax.phtml" hash="914f7d508faff8eb7cc367a93b070836"/><file name="info.phtml" hash="24b4010c9163b839898a94836d03a736"/></dir><dir name="sales"><dir name="order"><file name="cancel.phtml" hash="773035d2d4fc7f8219c233c75717b1b0"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="fr_FR"><file name="TSI_Yesbycash.csv" hash="6ec63f3e871b6dc63eafd2336d220c66"/></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="yesbycash"><file name="yesbycash.css" hash="0876ac1fe43aa70114b6dcf805cad945"/></dir></dir><dir name="js"><dir name="yesbycash"><file name="yesbycash.js" hash="3eb1aaf0402c7d762b6e421e99fe3389"/></dir></dir><dir name="images"><dir name="yesbycash"><file name="ybc-ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="yesbycash_logo.png" hash="d1d901964e0fc75d4d9db90b57583242"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="TSI_Yesbycash.xml" hash="43ad5dba119bee1617dc7fecc802795d"/></dir></dir></target></contents>
44
  <compatible/>
45
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
46
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>YesByCash</name>
4
+ <version>0.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License</license>
7
  <channel>community</channel>
36
  o S&#xE9;curit&#xE9; de paiement : Aucune information personnelle suppl&#xE9;mentaire &#xE0; saisir.&#xD;
37
  &#xD;
38
  o B&#xE9;n&#xE9;ficier d&#x2019;une offre de paiement en mobilit&#xE9; : accessible sur tous les canaux : mobile, tablette, ordinateurs...</description>
39
+ <notes>TSI_Yesbycash 0.1.4</notes>
40
  <authors><author><name>TSI</name><user>TSI</user><email>support@tsi-payment.com</email></author></authors>
41
+ <date>2015-04-16</date>
42
+ <time>13:11:51</time>
43
+ <contents><target name="magecommunity"><dir><dir name="TSI"><dir><dir name="Yesbycash"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="004ccfd8aec456dacbfe0ef5907403c2"/></dir><dir name="Invoice"><file name="Totals.php" hash="05715dcabec6aa81cea2a35100f19e24"/></dir><file name="Totals.php" hash="eb30fb7d3d9b1b17546c0ad5f0633ee8"/></dir><file name="Totals.php" hash="bd4a8905745baafbd4e6c7bd983fb6dd"/></dir><file name="Server.php" hash="d0a581618bf74beef86022e42b33abdf"/></dir><dir name="Form"><file name="Ajax.php" hash="ee5383cd1edce14be64803bef9454cb3"/><file name="Standard.php" hash="4287d35067a44fc0e84ab0b6a590a68f"/></dir><dir name="Info"><file name="Standard.php" hash="e46f8853704f21f068fdbf5d30fe54be"/></dir><dir name="Onepage"><file name="Failure.php" hash="bb35a05dbbca763188426cf1371688c6"/><file name="Success.php" hash="c72673b536120b702a78053d31454881"/></dir><dir name="Sales"><dir name="Order"><file name="Cancel.php" hash="0042964ef6a1b6ab78c7c90623b8700a"/><dir name="Creditmemo"><file name="Totals.php" hash="ca7cdc0e6e3dafa5024bfd279606cd12"/></dir><dir name="Invoice"><file name="Totals.php" hash="752fe29c4aa2e164c3e4ddfc9936218d"/></dir><file name="Totals.php" hash="21edf8dfa349aa142f6fc2cf0f087cfe"/></dir></dir></dir><dir name="Controller"><file name="Action.php" hash="3ca6bb79884afb5ce9b2972fb78fbff9"/></dir><dir name="Helper"><file name="Data.php" hash="ea225c98b2486c38e1e0fd7dcea5e0c0"/></dir><dir name="Model"><dir name="Api"><file name="Methods.php" hash="fdf7dbef762a23d7d5e115f28ba1e0cd"/><file name="Response.php" hash="43a316436e82d38f8c9e4d2199a667d2"/><file name="Service.php" hash="7a43a2ab9129947b379bc840ed8d9f30"/></dir><file name="Observer.php" hash="24913af1d06fd161584c3bbf8065bb37"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Yesbycashfee.php" hash="1395fc6aacd6364eda567c30845503e5"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Yesbycashfee.php" hash="331a6a2f6df6157cc4c1bccbe5f1a540"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Yesbycashfee.php" hash="09c702a7f4ad441617298a4e551ca3cd"/></dir></dir></dir></dir><dir name="Source"><file name="Yesbycashfeetype.php" hash="378a35d35bc7ba5f8550595395a5557e"/></dir><file name="Standard.php" hash="d21f2675c9fa3b2b069deb9353af0924"/></dir><dir name="controllers"><file name="AjaxController.php" hash="8c8f1b36aaa4e488fff9d1ebaeb97075"/><file name="IpnController.php" hash="1c99c0b7d198d8c97ef1f5d3f23de059"/><file name="StandardController.php" hash="5cb8d7b443658654558f42ade7f6184e"/></dir><dir name="etc"><file name="config.xml" hash="121a73bfa53771fc47947c3dc60502ca"/><file name="system.xml" hash="2257bffc3d0801c800181134e0ddfdb2"/></dir><dir name="sql"><dir name="tsi_yesbycash_setup"><file name="install-0.1.0.php" hash="8e26b57545426d12cd51c5bc94082811"/><file name="upgrade-0.1.0-0.1.1.php" hash="dc9d2b6db12d6a7afbce72cb6ffd0edf"/><file name="upgrade-0.1.1-0.1.2.php" hash="6430a353d91a3027af2924de68272eeb"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="yesbycash.xml" hash="8300d917adcc5868584cd09809e79baa"/></dir><dir name="template"><dir name="yesbycash"><dir><dir name="checkout"><file name="failure.phtml" hash="23f9bd87c4e1b86b704fb73039414591"/><file name="success.phtml" hash="8494948bdc3fe9da69fff983e52aa868"/></dir><dir name="payment"><file name="form.phtml" hash="6a26367a281140ce9287e7926887c445"/><file name="form_ajax.phtml" hash="914f7d508faff8eb7cc367a93b070836"/><file name="info.phtml" hash="24b4010c9163b839898a94836d03a736"/></dir><dir name="sales"><dir name="order"><file name="cancel.phtml" hash="773035d2d4fc7f8219c233c75717b1b0"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="fr_FR"><file name="TSI_Yesbycash.csv" hash="6ec63f3e871b6dc63eafd2336d220c66"/></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="yesbycash"><file name="yesbycash.css" hash="0876ac1fe43aa70114b6dcf805cad945"/></dir></dir><dir name="js"><dir name="yesbycash"><file name="yesbycash.js" hash="3eb1aaf0402c7d762b6e421e99fe3389"/></dir></dir><dir name="images"><dir name="yesbycash"><file name="ybc-ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="yesbycash_logo.png" hash="d1d901964e0fc75d4d9db90b57583242"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="TSI_Yesbycash.xml" hash="43ad5dba119bee1617dc7fecc802795d"/></dir></dir></target></contents>
44
  <compatible/>
45
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
46
  </package>