Pagantis_Pagantis - Version 3.2.5

Version Notes

Send module version to form to increase acceptance ratio

Download this release

Release Info

Developer Albert Fatsini
Extension Pagantis_Pagantis
Version 3.2.5
Comparing to
See all releases


Code changes from version 3.2.4 to 3.2.5

app/code/community/Pagantis/Pagantis/Model/Webservice/Request.php CHANGED
@@ -136,6 +136,8 @@ class Pagantis_Pagantis_Model_Webservice_Request
136
  $array['metadata[num_full_refunds]'] = $this->_userData['num_full_refunds'];
137
  $array['metadata[num_partial_refunds]'] = $this->_userData['num_partial_refunds'];
138
  $array['metadata[amount_refunds]'] = $this->_userData['amount_refunded'];
 
 
139
 
140
  foreach ($this->_items as $key => $value) {
141
  $array['items[' . $key . '][description]'] = $value['description'];
136
  $array['metadata[num_full_refunds]'] = $this->_userData['num_full_refunds'];
137
  $array['metadata[num_partial_refunds]'] = $this->_userData['num_partial_refunds'];
138
  $array['metadata[amount_refunds]'] = $this->_userData['amount_refunded'];
139
+ $array['metadata[module_version]'] = '3.2.5';
140
+ $array['metadata[platform]'] = 'magento '. Mage::getVersion();
141
 
142
  foreach ($this->_items as $key => $value) {
143
  $array['items[' . $key . '][description]'] = $value['description'];
app/code/community/Pagantis/Pagantis/Model/Webservice/Requestloan.php CHANGED
@@ -136,6 +136,8 @@ class Pagantis_Pagantis_Model_Webservice_Requestloan
136
  $array['metadata[num_full_refunds]'] = $this->_userData['num_full_refunds'];
137
  $array['metadata[num_partial_refunds]'] = $this->_userData['num_partial_refunds'];
138
  $array['metadata[amount_refunds]'] = $this->_userData['amount_refunded'];
 
 
139
 
140
  foreach ($this->_items as $key => $value) {
141
  $array['items[' . $key . '][description]'] = $value['description'];
136
  $array['metadata[num_full_refunds]'] = $this->_userData['num_full_refunds'];
137
  $array['metadata[num_partial_refunds]'] = $this->_userData['num_partial_refunds'];
138
  $array['metadata[amount_refunds]'] = $this->_userData['amount_refunded'];
139
+ $array['metadata[module_version]'] = '3.2.5';
140
+ $array['metadata[platform]'] = 'magento '. Mage::getVersion();
141
 
142
  foreach ($this->_items as $key => $value) {
143
  $array['items[' . $key . '][description]'] = $value['description'];
app/design/frontend/base/default/template/pagantis/pagantis.phtml CHANGED
@@ -26,16 +26,20 @@
26
  </div>
27
 
28
  <style>
 
29
  #innerpagantis {margin-left: 20px; height: 50px;}
30
  .pagantisradio {margin-right:10px}
31
  #imgpagantisfront {height:20px; margin-right: 10px;}
32
  #imgpagantisform {height: 30%;width: 30%;margin-left: 20%;}
 
33
  </style>
34
 
35
  <script>
 
36
  // widget activation
37
  jQuery( document ).ready(function() {
38
  pmtSimulator.simulator_app.setPublicKey("<?=$this->public_key?>");
39
  pmtSimulator.simulator_app.load_jquery();
40
  });
 
41
  </script>
26
  </div>
27
 
28
  <style>
29
+ /*<![CDATA[*/
30
  #innerpagantis {margin-left: 20px; height: 50px;}
31
  .pagantisradio {margin-right:10px}
32
  #imgpagantisfront {height:20px; margin-right: 10px;}
33
  #imgpagantisform {height: 30%;width: 30%;margin-left: 20%;}
34
+ /*]]>*/
35
  </style>
36
 
37
  <script>
38
+ //<![CDATA[
39
  // widget activation
40
  jQuery( document ).ready(function() {
41
  pmtSimulator.simulator_app.setPublicKey("<?=$this->public_key?>");
42
  pmtSimulator.simulator_app.load_jquery();
43
  });
44
+ //]]>
45
  </script>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pagantis_Pagantis</name>
4
- <version>3.2.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Modulo de Magento para habilitar la pasarela de pago Pagantis en Magento.</summary>
10
  <description>Con este m&#xF3;dulo se podr&#xE1; activar la pasarela de pago Pagantis en Magento y aceptar pago con tarjetas de debito.</description>
11
- <notes>updated identifiers on redirect page to avoid collisions </notes>
12
  <authors><author><name>Albert Fatsini</name><user>PagaMasTarde</user><email>afatsini@digitalorigin.com</email></author></authors>
13
- <date>2016-12-13</date>
14
- <time>10:31:46</time>
15
- <contents><target name="magecommunity"><dir name="Pagantis"><dir name="Pagantis"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="7c2b0d3c7a7bf6d4a9ac02a5b6125af3"/></dir></dir></dir></dir><file name="Form.php" hash="89aded0a5a4754181ee2dd24f480cff9"/><file name="Redirect.php" hash="67d7cb6ddd3089cb5bba2a13c2b7493e"/></dir><dir name="Helper"><file name="Data.php" hash="dd40634af028d3179be77b48d4d6e3b1"/></dir><dir name="Model"><file name="Currency.php" hash="a5557e10938898b0213a90dd7be15540"/><file name="Observer.php" hash="fa0e7d5688701cae875a8d14f58a816e"/><file name="Payment.php" hash="56017eb1aa5bd545811df915f0eeae8f"/><dir name="Source"><dir name="Payment"><file name="Currency.php" hash="7e51124f09e2028198fb9587df820809"/><file name="Environment.php" hash="30d6400967acdd8975c5748994c100e6"/></dir></dir><dir name="Webservice"><file name="Client.php" hash="6a14e0ae7ef5180445a3a99aec4717bb"/><file name="Paymentrequest.php" hash="dcf473ea7211a82b55b5374549c3cfc0"/><file name="Request.php" hash="f39f3312449a4aa41b716842ff0466dd"/><file name="Requestloan.php" hash="8efcee9efc6010918eccec46704a1d4d"/><file name="Response.php" hash="bb1ade5931c5580f4585fc0fdb2bc4b0"/></dir></dir><dir name="controllers"><file name="PagantisController.php" hash="608a0e88c5c3267102464bd091ebb55e"/></dir><dir name="etc"><file name="config.xml" hash="ac4c7505180457b75b59d40691329db7"/><file name="system.xml" hash="a8a6b2cc704f825ad0688d49b783562c"/></dir><dir name="sql"><dir name="pagantis_setup"><file name="mysql4-install-1.0.0.php" hash="4ec10724709f8d381758409f55cff99d"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pagantis.xml" hash="4328e44e218a0996f4e2412c545a8e9b"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pagantis.xml" hash="29736a84ea78eaeb75fe2be77d0a63cb"/></dir><dir name="template"><dir name="pagantis"><file name="form.phtml" hash="11cf70a55d8ec9e8ae3c1d94a832eeab"/><file name="pagantis.phtml" hash="39f682244d4cb5998d42ef65ed498f7c"/><file name="redirect.phtml" hash="80ff31b57960af0ae6857b4a6d5f59f8"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Pagantis_Pagantis.xml" hash="c57db60bd03314d7a45f27acc9a9475a"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><file name="pagantis.css" hash="7d1b6daea9f42c2552ebb5bd5c15596d"/></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="pagantis"><file name="logopagamastarde.png" hash="d51fa42e42d9811653df55710a395d07"/><file name="pagantis.png" hash="292403ede1f62affccf06df004ddfe12"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="pagantis"><file name="logopagamastarde.png" hash="d51fa42e42d9811653df55710a395d07"/><file name="pagantis-fav.png" hash="c4e162b51c0792ff25385506d7998818"/><file name="pagantis.png" hash="292403ede1f62affccf06df004ddfe12"/></dir></dir><file name="iframe.css" hash="50660dc3125dee715f7d6ac8275d70da"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>8.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pagantis_Pagantis</name>
4
+ <version>3.2.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Modulo de Magento para habilitar la pasarela de pago Pagantis en Magento.</summary>
10
  <description>Con este m&#xF3;dulo se podr&#xE1; activar la pasarela de pago Pagantis en Magento y aceptar pago con tarjetas de debito.</description>
11
+ <notes>Send module version to form to increase acceptance ratio</notes>
12
  <authors><author><name>Albert Fatsini</name><user>PagaMasTarde</user><email>afatsini@digitalorigin.com</email></author></authors>
13
+ <date>2017-01-20</date>
14
+ <time>13:01:46</time>
15
+ <contents><target name="magecommunity"><dir name="Pagantis"><dir name="Pagantis"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="7c2b0d3c7a7bf6d4a9ac02a5b6125af3"/></dir></dir></dir></dir><file name="Form.php" hash="89aded0a5a4754181ee2dd24f480cff9"/><file name="Redirect.php" hash="67d7cb6ddd3089cb5bba2a13c2b7493e"/></dir><dir name="Helper"><file name="Data.php" hash="dd40634af028d3179be77b48d4d6e3b1"/></dir><dir name="Model"><file name="Currency.php" hash="a5557e10938898b0213a90dd7be15540"/><file name="Observer.php" hash="fa0e7d5688701cae875a8d14f58a816e"/><file name="Payment.php" hash="56017eb1aa5bd545811df915f0eeae8f"/><dir name="Source"><dir name="Payment"><file name="Currency.php" hash="7e51124f09e2028198fb9587df820809"/><file name="Environment.php" hash="30d6400967acdd8975c5748994c100e6"/></dir></dir><dir name="Webservice"><file name="Client.php" hash="6a14e0ae7ef5180445a3a99aec4717bb"/><file name="Paymentrequest.php" hash="dcf473ea7211a82b55b5374549c3cfc0"/><file name="Request.php" hash="c2799c52db9bfdd17d002d8e7bc4fa16"/><file name="Requestloan.php" hash="17f4089451c946ee807678a6ad8d05cf"/><file name="Response.php" hash="bb1ade5931c5580f4585fc0fdb2bc4b0"/></dir></dir><dir name="controllers"><file name="PagantisController.php" hash="608a0e88c5c3267102464bd091ebb55e"/></dir><dir name="etc"><file name="config.xml" hash="ac4c7505180457b75b59d40691329db7"/><file name="system.xml" hash="a8a6b2cc704f825ad0688d49b783562c"/></dir><dir name="sql"><dir name="pagantis_setup"><file name="mysql4-install-1.0.0.php" hash="4ec10724709f8d381758409f55cff99d"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pagantis.xml" hash="4328e44e218a0996f4e2412c545a8e9b"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pagantis.xml" hash="29736a84ea78eaeb75fe2be77d0a63cb"/></dir><dir name="template"><dir name="pagantis"><file name="form.phtml" hash="11cf70a55d8ec9e8ae3c1d94a832eeab"/><file name="pagantis.phtml" hash="d86f9c73af679745fa2541ecf03cbda3"/><file name="redirect.phtml" hash="80ff31b57960af0ae6857b4a6d5f59f8"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Pagantis_Pagantis.xml" hash="c57db60bd03314d7a45f27acc9a9475a"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><file name="pagantis.css" hash="7d1b6daea9f42c2552ebb5bd5c15596d"/></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="pagantis"><file name="logopagamastarde.png" hash="d51fa42e42d9811653df55710a395d07"/><file name="pagantis.png" hash="292403ede1f62affccf06df004ddfe12"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="pagantis"><file name="logopagamastarde.png" hash="d51fa42e42d9811653df55710a395d07"/><file name="pagantis-fav.png" hash="c4e162b51c0792ff25385506d7998818"/><file name="pagantis.png" hash="292403ede1f62affccf06df004ddfe12"/></dir></dir><file name="iframe.css" hash="50660dc3125dee715f7d6ac8275d70da"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>8.0.0</max></php></required></dependencies>
18
  </package>