Pagantis_Pagantis - Version 3.3.2

Version Notes

Fix problem that prevent guest customers send DNI to payment page

Download this release

Release Info

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


Code changes from version 3.3.1 to 3.3.2

app/code/community/Pagantis/Pagantis/Model/Webservice/Requestloan.php CHANGED
@@ -182,7 +182,7 @@ class Pagantis_Pagantis_Model_Webservice_Requestloan
182
  $array['billing[full_name]'] = $this->_userData['billing[full_name]'];
183
 
184
 
185
- $array['metadata[module_version]'] = '3.3.1';
186
  $array['metadata[platform]'] = 'magento '. Mage::getVersion();
187
 
188
  return $array;
@@ -286,9 +286,9 @@ class Pagantis_Pagantis_Model_Webservice_Requestloan
286
  $addressesCollection->addAttributeToFilter('region', $state_name);
287
  $addressesCollection->addAttributeToFilter('street', array("like" => '%'.$this->_userData['shipping[street]'].'%'));
288
 
289
- foreach ($addressesCollection as $address) {
290
- $this->_userData['shipping[date_add]'] = $address->created_at;
291
- $this->_userData['shipping[last_updated]'] = $address->updated_at;
292
  }
293
 
294
  $address = $order->getBillingAddress();
@@ -333,9 +333,9 @@ class Pagantis_Pagantis_Model_Webservice_Requestloan
333
  $addressesCollection->addAttributeToFilter('region', $state_name);
334
  $addressesCollection->addAttributeToFilter('street', array("like" => '%'.$this->_userData['billing[street]'].'%'));
335
 
336
- foreach ($addressesCollection as $address) {
337
- $this->_userData['billing[date_add]'] = $address->created_at;
338
- $this->_userData['billing[last_updated]'] = $address->updated_at;
339
  }
340
 
341
  if ($order->getCustomerFirstname() == $address->getFirstname()
182
  $array['billing[full_name]'] = $this->_userData['billing[full_name]'];
183
 
184
 
185
+ $array['metadata[module_version]'] = '3.3.2';
186
  $array['metadata[platform]'] = 'magento '. Mage::getVersion();
187
 
188
  return $array;
286
  $addressesCollection->addAttributeToFilter('region', $state_name);
287
  $addressesCollection->addAttributeToFilter('street', array("like" => '%'.$this->_userData['shipping[street]'].'%'));
288
 
289
+ foreach ($addressesCollection as $address_c) {
290
+ $this->_userData['shipping[date_add]'] = $address_c->created_at;
291
+ $this->_userData['shipping[last_updated]'] = $address_c->updated_at;
292
  }
293
 
294
  $address = $order->getBillingAddress();
333
  $addressesCollection->addAttributeToFilter('region', $state_name);
334
  $addressesCollection->addAttributeToFilter('street', array("like" => '%'.$this->_userData['billing[street]'].'%'));
335
 
336
+ foreach ($addressesCollection as $address_c) {
337
+ $this->_userData['billing[date_add]'] = $address_c->created_at;
338
+ $this->_userData['billing[last_updated]'] = $address_c->updated_at;
339
  }
340
 
341
  if ($order->getCustomerFirstname() == $address->getFirstname()
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pagantis_Pagantis</name>
4
- <version>3.3.1</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-03-24</date>
14
- <time>11:07:17</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="2c2dd64525f6f59dcd6b6d456ffc5ecf"/></dir><dir name="Helper"><file name="Data.php" hash="f411fc3dff8a30dde12612adcfc40921"/></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="172d7470e03c8e7be8a41fcad1ccc20f"/><file name="Requestloan.php" hash="d23eebdb6c091874098f3a12634a7f97"/><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="78b3db7aac57b837c2f120757f767957"/></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.3.2</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>Fix problem that prevent guest customers send DNI to payment page</notes>
12
  <authors><author><name>Albert Fatsini</name><user>PagaMasTarde</user><email>afatsini@digitalorigin.com</email></author></authors>
13
+ <date>2017-04-06</date>
14
+ <time>13:59:17</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="2c2dd64525f6f59dcd6b6d456ffc5ecf"/></dir><dir name="Helper"><file name="Data.php" hash="f411fc3dff8a30dde12612adcfc40921"/></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="172d7470e03c8e7be8a41fcad1ccc20f"/><file name="Requestloan.php" hash="6f162698b0e9c81fc5da9b6a38e9f0e1"/><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="78b3db7aac57b837c2f120757f767957"/></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>