Pagantis_Pagantis - Version 2.2.1

Version Notes

- the cart is kept if user goes back from payment page

Download this release

Release Info

Developer Magento Core Team
Extension Pagantis_Pagantis
Version 2.2.1
Comparing to
See all releases


Code changes from version 2.0.8 to 2.2.1

app/code/community/Pagantis/Pagantis/Block/Adminhtml/System/Config/Fieldset/Payment.php CHANGED
@@ -20,8 +20,10 @@ class Pagantis_Pagantis_Block_Adminhtml_System_Config_Fieldset_Payment
20
  */
21
  protected function _getHeaderCommentHtml($element)
22
  {
23
- return '<div class="adminLogoPagantis"></div>';
 
 
 
24
  }
25
 
26
-
27
- }
20
  */
21
  protected function _getHeaderCommentHtml($element)
22
  {
23
+ return '<div class="adminLogoPagantis">
24
+ <p class="adminp">Paga+Tarde es una plataforma de financiación online. Escoge Paga+Tarde como tu método de pago para permitir el pago a plazos.</p>
25
+ <p class="adminp"><a href="https://bo.pagamastarde.com" target="_blank">Login al panel de Paga+Tarde</a>&nbsp;
26
+ <a href="http://docs.pagamastarde.com/" target="_blank">Documentación</a></p></div>';
27
  }
28
 
29
+ }
 
app/code/community/Pagantis/Pagantis/Block/Form.php CHANGED
@@ -14,7 +14,6 @@ class Pagantis_Pagantis_Block_Form extends Mage_Payment_Block_Form
14
  protected function _construct()
15
  {
16
 
17
- $title="Financiación:";
18
  $session = Mage::getSingleton('checkout/session');
19
  $mark = Mage::getConfig()->getBlockClassName('core/template');
20
  $mark = new $mark;
@@ -24,16 +23,12 @@ class Pagantis_Pagantis_Block_Form extends Mage_Payment_Block_Form
24
  $config = Mage::getStoreConfig('payment/pagantis');
25
  $discount = $config['discount'];
26
  if ($discount == 'true'){
27
- $mark->setData('discount',1);
28
  }else{
29
- $mark->setData('discount',0);
30
  }
31
- $mark->setData('inst2',$this->instAmount(2));
32
- $mark->setData('inst3',$this->instAmount(3));
33
- $mark->setData('inst4',$this->instAmount(4));
34
- $mark->setData('inst5',$this->instAmount(5));
35
- $mark->setData('inst6',$this->instAmount(6));
36
- $mark->setData('total',$amount);
37
  $mark->setTemplate('pagantis/form.phtml');
38
  $this->setTemplate('pagantis/pagantis.phtml')
39
  ->setMethodLabelAfterHtml($mark->toHtml())
@@ -43,32 +38,4 @@ class Pagantis_Pagantis_Block_Form extends Mage_Payment_Block_Form
43
  return parent::_construct();
44
  }
45
 
46
- /*
47
- * function instAmount
48
- * calculate the price of the installment
49
- * param $amount : amount in cents of the total loan
50
- * param $num_installments: number of installments, integer
51
- * return float with amount of the installment
52
- */
53
- protected function instAmount ($num_installments) {
54
- $quote = Mage::getModel('checkout/session')->getQuote();
55
- $quoteData= $quote->getData();
56
- $amount=$quoteData['grand_total']*100;
57
- $config = Mage::getStoreConfig('payment/pagantis');
58
- $discount = $config['discount'];
59
- if ( $discount ){
60
- $result= ($amount/100) / $num_installments;
61
- }else{
62
- $r = 0.25/365; #daily int
63
- $X = $amount/100; #total loan
64
- $aux = 1; #first inst value
65
- for ($i=0; $i<= $num_installments-2;$i++) {
66
- $aux = $aux + pow(1/(1+$r) ,(45+30*$i));
67
- }
68
- $result= (float)($X/$aux);
69
- }
70
- //add result to template
71
- return $result;
72
- }
73
-
74
  }
14
  protected function _construct()
15
  {
16
 
 
17
  $session = Mage::getSingleton('checkout/session');
18
  $mark = Mage::getConfig()->getBlockClassName('core/template');
19
  $mark = new $mark;
23
  $config = Mage::getStoreConfig('payment/pagantis');
24
  $discount = $config['discount'];
25
  if ($discount == 'true'){
26
+ $this->setData('discount',1);
27
  }else{
28
+ $this->setData('discount',0);
29
  }
30
+ $title=$config['title'];
31
+ $this->setData('total',$amount);
 
 
 
 
32
  $mark->setTemplate('pagantis/form.phtml');
33
  $this->setTemplate('pagantis/pagantis.phtml')
34
  ->setMethodLabelAfterHtml($mark->toHtml())
38
  return parent::_construct();
39
  }
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  }
app/code/community/Pagantis/Pagantis/Model/Payment.php CHANGED
@@ -110,13 +110,14 @@ class Pagantis_Pagantis_Model_Payment extends Mage_Payment_Model_Method_Abstract
110
  /* Mage_Payment_Model_Method_Abstract method overrides */
111
  /**
112
  * To check billing country is allowed for the payment method
 
113
  *
114
  * @return bool
115
  */
116
  public function canUseForCountry($country)
117
  {
118
- return true;
119
- /* Pagamastarde is only available to ES customers */
120
  if ($country == 'ES') {
121
  return true;
122
  }
@@ -124,4 +125,5 @@ class Pagantis_Pagantis_Model_Payment extends Mage_Payment_Model_Method_Abstract
124
  return false;
125
  }
126
 
 
127
  }
110
  /* Mage_Payment_Model_Method_Abstract method overrides */
111
  /**
112
  * To check billing country is allowed for the payment method
113
+ * We don't filter countries but we have the function ready.
114
  *
115
  * @return bool
116
  */
117
  public function canUseForCountry($country)
118
  {
119
+ return true;
120
+
121
  if ($country == 'ES') {
122
  return true;
123
  }
125
  return false;
126
  }
127
 
128
+
129
  }
app/code/community/Pagantis/Pagantis/Model/Webservice/Request.php CHANGED
@@ -268,7 +268,7 @@ class Pagantis_Pagantis_Model_Webservice_Request
268
  * @param string $urlnok
269
  * @throws Exception
270
  */
271
- public function setCacllbackUrl($url = '')
272
  {
273
  $this->_callback_url=Mage::getBaseUrl()."/pagantis/pagantis/notification";
274
  }
268
  * @param string $urlnok
269
  * @throws Exception
270
  */
271
+ public function setCacllbackUrl()
272
  {
273
  $this->_callback_url=Mage::getBaseUrl()."/pagantis/pagantis/notification";
274
  }
app/code/community/Pagantis/Pagantis/Model/Webservice/Requestloan.php CHANGED
@@ -332,7 +332,7 @@ class Pagantis_Pagantis_Model_Webservice_Requestloan
332
  * @param string $urlnok
333
  * @throws Exception
334
  */
335
- public function setCacllbackUrl($ur = '')
336
  {
337
  $this->_callback_url=Mage::getBaseUrl()."/pagantis/pagantis/notification";
338
  }
332
  * @param string $urlnok
333
  * @throws Exception
334
  */
335
+ public function setCacllbackUrl()
336
  {
337
  $this->_callback_url=Mage::getBaseUrl()."/pagantis/pagantis/notification";
338
  }
app/code/community/Pagantis/Pagantis/controllers/PagantisController.php CHANGED
@@ -14,16 +14,32 @@ class Pagantis_Pagantis_PagantisController extends Mage_Core_Controller_Front_Ac
14
  * When a customer chooses Pagantis on Checkout/Payment page
15
  *
16
  */
17
- public function redirectAction()
18
- {
19
- $state = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
20
- $session = Mage::getSingleton('checkout/session');
21
- $order = Mage::getModel('sales/order')->load($session->getLastOrderId());
22
- $order->setState($state, $state, Mage::helper('pagantis_pagantis')->__('Redirected to Pagantis'), false);
23
- $order->save();
24
- $this->loadLayout();
25
- $this->renderLayout();
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  /**
29
  * When customer cancel payment from CECA (UrlKO)
14
  * When a customer chooses Pagantis on Checkout/Payment page
15
  *
16
  */
17
+ public function redirectAction()
18
+ {
19
+ $state = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
20
+ $session = Mage::getSingleton('checkout/session');
21
+ $order = Mage::getModel('sales/order')->load($session->getLastOrderId());
22
+ $order->setState($state, $state, Mage::helper('pagantis_pagantis')->__('Redirected to Pagantis'), false);
23
+ $order->save();
24
+ $session->getQuote()->setIsActive(false)->save();
25
+ $session->clear();
26
+
27
+ $cart = Mage::getSingleton('checkout/cart');
28
+ $items = $order->getItemsCollection();
29
+ foreach ($items as $item) {
30
+ try {
31
+ $cart->addOrderItem($item);
32
+ } catch (Mage_Core_Exception $e) {
33
+ $session->addError($this->__($e->getMessage()));
34
+ Mage::logException($e);
35
+ continue;
36
+ }
37
+ }
38
+ $cart->save();
39
+
40
+ $this->loadLayout();
41
+ $this->renderLayout();
42
+ }
43
 
44
  /**
45
  * When customer cancel payment from CECA (UrlKO)
app/code/community/Pagantis/Pagantis/etc/system.xml CHANGED
@@ -19,7 +19,7 @@
19
  <sort_order>1</sort_order>
20
  <show_in_default>1</show_in_default>
21
  <show_in_website>1</show_in_website>
22
- <show_in_store>1</show_in_store>
23
  </active>
24
  <title translate="label" module="pagantis_pagantis">
25
  <label>Título</label>
@@ -81,7 +81,7 @@
81
  <sort_order>14</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
84
- <show_in_store>1</show_in_store>
85
  </environment>
86
  <!-- we remove this to have easier config and same template in all modules, we try to get user locale -->
87
  <!--
@@ -114,7 +114,7 @@
114
  <sort_order>17</sort_order>
115
  <show_in_default>1</show_in_default>
116
  <show_in_website>1</show_in_website>
117
- <show_in_store>1</show_in_store>
118
  </account_code_test>
119
  <account_key_test translate="label" module="pagantis_pagantis">
120
  <label>Clave de cuenta de Test</label>
@@ -122,7 +122,7 @@
122
  <sort_order>18</sort_order>
123
  <show_in_default>1</show_in_default>
124
  <show_in_website>1</show_in_website>
125
- <show_in_store>1</show_in_store>
126
  </account_key_test>
127
  <!-- api key not needed to perform payment -->
128
  <!--
@@ -141,7 +141,7 @@
141
  <sort_order>20</sort_order>
142
  <show_in_default>1</show_in_default>
143
  <show_in_website>1</show_in_website>
144
- <show_in_store>1</show_in_store>
145
  </account_code_real>
146
  <account_key_real translate="label" module="pagantis_pagantis">
147
  <label>Clave de cuenta Real</label>
@@ -149,7 +149,7 @@
149
  <sort_order>21</sort_order>
150
  <show_in_default>1</show_in_default>
151
  <show_in_website>1</show_in_website>
152
- <show_in_store>1</show_in_store>
153
  </account_key_real>
154
  <!--
155
  <account_api_key_real translate="label" module="pagantis_pagantis">
@@ -163,21 +163,22 @@
163
  -->
164
  <discount translate="label" module="pagantis_pagantis">
165
  <label>Descuento - asumir comisiones</label>
 
166
  <frontend_type>Select</frontend_type>
167
  <source_model>adminhtml/system_config_source_yesno</source_model>
168
  <sort_order>22</sort_order>
169
  <show_in_default>1</show_in_default>
170
  <show_in_website>1</show_in_website>
171
- <show_in_store>1</show_in_store>
172
  </discount>
173
  <sendmail translate="label" module="pagantis_pagantis">
174
- <label>Envía correo de confirma</label>
175
  <frontend_type>Select</frontend_type>
176
  <sort_order>40</sort_order>
177
  <source_model>adminhtml/system_config_source_yesno</source_model>
178
  <show_in_default>1</show_in_default>
179
  <show_in_website>1</show_in_website>
180
- <show_in_store>1</show_in_store>
181
  </sendmail>
182
  <invoice translate="label" module="pagantis_pagantis">
183
  <label>Crea factura automaticamente</label>
@@ -186,7 +187,7 @@
186
  <source_model>adminhtml/system_config_source_yesno</source_model>
187
  <show_in_default>1</show_in_default>
188
  <show_in_website>1</show_in_website>
189
- <show_in_store>1</show_in_store>
190
  </invoice>
191
  <sort_order translate="label" module="pagantis_pagantis">
192
  <label>Ordenación metodo de pago</label>
@@ -195,7 +196,7 @@
195
  <sort_order>100</sort_order>
196
  <show_in_default>1</show_in_default>
197
  <show_in_website>1</show_in_website>
198
- <show_in_store>1</show_in_store>
199
  </sort_order>
200
  <!--<cron_settings translate="label comment" module="pagantis_pagantis">
201
  <label>Cuantas veces quieres ejecutar el proceso de sincronización de los pedidos?</label>
19
  <sort_order>1</sort_order>
20
  <show_in_default>1</show_in_default>
21
  <show_in_website>1</show_in_website>
22
+ <show_in_store>0</show_in_store>
23
  </active>
24
  <title translate="label" module="pagantis_pagantis">
25
  <label>Título</label>
81
  <sort_order>14</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
84
+ <show_in_store>0</show_in_store>
85
  </environment>
86
  <!-- we remove this to have easier config and same template in all modules, we try to get user locale -->
87
  <!--
114
  <sort_order>17</sort_order>
115
  <show_in_default>1</show_in_default>
116
  <show_in_website>1</show_in_website>
117
+ <show_in_store>0</show_in_store>
118
  </account_code_test>
119
  <account_key_test translate="label" module="pagantis_pagantis">
120
  <label>Clave de cuenta de Test</label>
122
  <sort_order>18</sort_order>
123
  <show_in_default>1</show_in_default>
124
  <show_in_website>1</show_in_website>
125
+ <show_in_store>0</show_in_store>
126
  </account_key_test>
127
  <!-- api key not needed to perform payment -->
128
  <!--
141
  <sort_order>20</sort_order>
142
  <show_in_default>1</show_in_default>
143
  <show_in_website>1</show_in_website>
144
+ <show_in_store>0</show_in_store>
145
  </account_code_real>
146
  <account_key_real translate="label" module="pagantis_pagantis">
147
  <label>Clave de cuenta Real</label>
149
  <sort_order>21</sort_order>
150
  <show_in_default>1</show_in_default>
151
  <show_in_website>1</show_in_website>
152
+ <show_in_store>0</show_in_store>
153
  </account_key_real>
154
  <!--
155
  <account_api_key_real translate="label" module="pagantis_pagantis">
163
  -->
164
  <discount translate="label" module="pagantis_pagantis">
165
  <label>Descuento - asumir comisiones</label>
166
+ <comment>Las comisiones están asumidas por el comercio si el parámetro está activo.</comment>
167
  <frontend_type>Select</frontend_type>
168
  <source_model>adminhtml/system_config_source_yesno</source_model>
169
  <sort_order>22</sort_order>
170
  <show_in_default>1</show_in_default>
171
  <show_in_website>1</show_in_website>
172
+ <show_in_store>0</show_in_store>
173
  </discount>
174
  <sendmail translate="label" module="pagantis_pagantis">
175
+ <label>Envía correo de confirmación</label>
176
  <frontend_type>Select</frontend_type>
177
  <sort_order>40</sort_order>
178
  <source_model>adminhtml/system_config_source_yesno</source_model>
179
  <show_in_default>1</show_in_default>
180
  <show_in_website>1</show_in_website>
181
+ <show_in_store>0</show_in_store>
182
  </sendmail>
183
  <invoice translate="label" module="pagantis_pagantis">
184
  <label>Crea factura automaticamente</label>
187
  <source_model>adminhtml/system_config_source_yesno</source_model>
188
  <show_in_default>1</show_in_default>
189
  <show_in_website>1</show_in_website>
190
+ <show_in_store>0</show_in_store>
191
  </invoice>
192
  <sort_order translate="label" module="pagantis_pagantis">
193
  <label>Ordenación metodo de pago</label>
196
  <sort_order>100</sort_order>
197
  <show_in_default>1</show_in_default>
198
  <show_in_website>1</show_in_website>
199
+ <show_in_store>0</show_in_store>
200
  </sort_order>
201
  <!--<cron_settings translate="label comment" module="pagantis_pagantis">
202
  <label>Cuantas veces quieres ejecutar el proceso de sincronización de los pedidos?</label>
app/design/frontend/base/default/layout/pagantis.xml CHANGED
@@ -8,7 +8,7 @@
8
  <default>
9
  <reference name="before_body_end">
10
  <block type="core/text" name="mapcontrol.script.block">
11
- <action method="setText"><text><![CDATA[<script src="https://cdn.pagamastarde.com/js/pmt-simulator/latest/js/pmt-simulator.min.js"></script>]]></text></action>
12
  </block>
13
  </reference>
14
  </default>
8
  <default>
9
  <reference name="before_body_end">
10
  <block type="core/text" name="mapcontrol.script.block">
11
+ <action method="setText"><text><![CDATA[<script src="https://cdn.pagamastarde.com/pmt-simulator/2/js/pmt-simulator.min.js"></script>]]></text></action>
12
  </block>
13
  </reference>
14
  </default>
app/design/frontend/base/default/template/pagantis/form.phtml CHANGED
@@ -1,4 +1,2 @@
1
  <img id="imgpagantisfront" src="<?php echo $this->getSkinUrl('images/pagantis/logopagamastarde.png') ?>"/>
2
  <?php $_code = $this->getMethodCode() ?>
3
-
4
- Paga a plazos
1
  <img id="imgpagantisfront" src="<?php echo $this->getSkinUrl('images/pagantis/logopagamastarde.png') ?>"/>
2
  <?php $_code = $this->getMethodCode() ?>
 
 
app/design/frontend/base/default/template/pagantis/pagantis.phtml CHANGED
@@ -15,27 +15,23 @@
15
  <?php else: ?>
16
  <input type="hidden" class="pagantisradio" name="paymentdetail[]" value="financiacion">
17
  <?php endif; ?>
18
- <p>Paga
19
- <span id="int_amount"><?=round($this->instAmount(6),2)?></span> € / mes en
20
- <select style="width:50px" name="num_inst" id="num_inst" onChange="document.getElementById('int_amount').innerHTML=document.getElementById('instAmount'+this.value).innerHTML;" >
21
- <option value="6">6</option>
22
- <option value="5">5</option>
23
- <option value="4">4</option>
24
- <option value="3">3</option>
25
- <option value="2">2</option>
26
- </select> plazos </p>
27
 
28
- <div style="display:none" id="instAmount2"><?=round ($this->instAmount(2),2)?></div>
29
- <div style="display:none" id="instAmount3"><?=round ($this->instAmount(3),2)?></div>
30
- <div style="display:none" id="instAmount4"><?=round ($this->instAmount(4),2)?></div>
31
- <div style="display:none" id="instAmount5"><?=round ($this->instAmount(5),2)?></div>
32
- <div style="display:none" id="instAmount6"><?=round ($this->instAmount(6),2)?></div>
33
 
 
 
 
 
 
 
 
34
  </div>
35
  </div>
36
 
37
  <style>
38
- #innerpagantis {margin-left: 20px}
39
  .pagantisradio {margin-right:10px}
40
  #imgpagantisfront {height:20px; margin-right: 10px;}
41
  #imgpagantisform {height: 30%;width: 30%;margin-left: 20%;}
15
  <?php else: ?>
16
  <input type="hidden" class="pagantisradio" name="paymentdetail[]" value="financiacion">
17
  <?php endif; ?>
 
 
 
 
 
 
 
 
 
18
 
19
+ <div class="pmt-custom pmt-simulator" style="left:-10px; top: 5px;"
20
+ data-pmt-num-quota="4" data-pmt-style="neutral" data-pmt-type="3" data-pmt-discount="<?=$this->discount?>"
21
+ data-pmt-amount="<?=$this->total?>" data-pmt-expanded="no"></div>
 
 
22
 
23
+ <script>
24
+ var script = document.createElement('script');
25
+ script.src = "https://cdn.pagamastarde.com/pmt-simulator/2/js/pmt-simulator.min.js";
26
+ setTimeout(function(){
27
+ document.body.appendChild(script);
28
+ },1000);
29
+ </script>
30
  </div>
31
  </div>
32
 
33
  <style>
34
+ #innerpagantis {margin-left: 20px; height: 50px;}
35
  .pagantisradio {margin-right:10px}
36
  #imgpagantisfront {height:20px; margin-right: 10px;}
37
  #imgpagantisform {height: 30%;width: 30%;margin-left: 20%;}
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pagantis_Pagantis</name>
4
- <version>2.0.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  <description>Paga+Tarde is an online payment method through which e-commerce websites offer their customers an easy and safe way to make deferred payments.&#xD;
11
  &#xD;
12
  Buyers can choose to pay in up to 12 installments. At the same time, the shops will receive the total amount of the sale, without taking any risk.</description>
13
- <notes>update item description to include shipping cost with tax</notes>
14
  <authors><author><name>Albert Fatsini</name><user>auto-converted</user><email>afatsini@digitalorigin.com</email></author></authors>
15
- <date>2015-12-24</date>
16
- <time>10:07:14</time>
17
- <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="285814ecab6b4e338e75a370f41fdc12"/></dir></dir></dir></dir><file name="Form.php" hash="7d934dc68b5c92d438d32ffa0727a0f9"/><file name="Redirect.php" hash="24fef0caf8b76c629b75e2d4acc81443"/></dir><dir name="Helper"><file name="Data.php" hash="e90849a9b9310979d58f7a092d2d2a28"/></dir><dir name="Model"><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="76506a6627d6523aae845169854f4ece"/><file name="Requestloan.php" hash="95cda71a250bad64373652e8b8abcadd"/><file name="Response.php" hash="bb1ade5931c5580f4585fc0fdb2bc4b0"/></dir><file name="Currency.php" hash="a5557e10938898b0213a90dd7be15540"/><file name="Observer.php" hash="0c2a7b1b4ca273b482600b6e9e030ad9"/><file name="Payment.php" hash="e1348afdc991a415769beec6baa79699"/><file name=".Payment.php.swp" hash="3d8604107de061df66cb45ae029bd394"/></dir><dir name="Pagantis"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="285814ecab6b4e338e75a370f41fdc12"/></dir></dir></dir></dir><file name="Form.php" hash="7d934dc68b5c92d438d32ffa0727a0f9"/><file name="Redirect.php" hash="24fef0caf8b76c629b75e2d4acc81443"/></dir><dir name="Helper"><file name="Data.php" hash="e90849a9b9310979d58f7a092d2d2a28"/></dir><dir name="Model"><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="76506a6627d6523aae845169854f4ece"/><file name="Requestloan.php" hash="6b3a8045810226ed72362772d84012bd"/><file name="Response.php" hash="bb1ade5931c5580f4585fc0fdb2bc4b0"/></dir><file name="Currency.php" hash="a5557e10938898b0213a90dd7be15540"/><file name="Observer.php" hash="0c2a7b1b4ca273b482600b6e9e030ad9"/><file name="Payment.php" hash="13002f5a27466a85d020d7fb41cf8633"/></dir><dir name="controllers"><file name="PagantisController.php" hash="f3a77cb8fc003bd03bd680913ace6f40"/></dir><dir name="etc"><file name="config.xml" hash="a10e521ef5101e10d0b7aa61c2b76370"/><file name="system.xml" hash="6d15f34f3aa3429501cb6d1f9b8ec458"/></dir><dir name="sql"><dir name="pagantis_setup"><file name="mysql4-install-1.0.0.php" hash="4ec10724709f8d381758409f55cff99d"/></dir></dir></dir><dir name="controllers"><file name="PagantisController.php" hash="dc86e18421e93d1969f7ab9d28b22933"/></dir><dir name="etc"><file name="config.xml" hash="a10e521ef5101e10d0b7aa61c2b76370"/><file name="system.xml" hash="6d15f34f3aa3429501cb6d1f9b8ec458"/></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="1dcc8470921052291d3041031a6f903c"/></dir><dir name="template"><dir name="pagantis"><file name="form.phtml" hash="554c2e705e96d98ddd008f4782d6ce04"/><file name="pagantis.phtml" hash="a84fa4e8feae06f001fc13dd4df3e3cd"/><file name="redirect.phtml" hash="3d7d1a5076fc98269e5a7f476be27650"/></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="45ca2308011ed481b8a649fe170ccb8a"/></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></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Pagantis_Pagantis</name>
4
+ <version>2.2.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>
10
  <description>Paga+Tarde is an online payment method through which e-commerce websites offer their customers an easy and safe way to make deferred payments.&#xD;
11
  &#xD;
12
  Buyers can choose to pay in up to 12 installments. At the same time, the shops will receive the total amount of the sale, without taking any risk.</description>
13
+ <notes>- the cart is kept if user goes back from payment page</notes>
14
  <authors><author><name>Albert Fatsini</name><user>auto-converted</user><email>afatsini@digitalorigin.com</email></author></authors>
15
+ <date>2016-01-12</date>
16
+ <time>12:03:36</time>
17
+ <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="9ad1e01301a0edd832eb472d2a8a8161"/><file name="Redirect.php" hash="24fef0caf8b76c629b75e2d4acc81443"/></dir><dir name="Helper"><file name="Data.php" hash="e90849a9b9310979d58f7a092d2d2a28"/></dir><dir name="Model"><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="2ec10b3effa42ddacb97b626ec359b02"/><file name="Requestloan.php" hash="dcda641a815368e5c2c4c0b70c4f668c"/><file name="Response.php" hash="bb1ade5931c5580f4585fc0fdb2bc4b0"/></dir><file name="Currency.php" hash="a5557e10938898b0213a90dd7be15540"/><file name="Observer.php" hash="0c2a7b1b4ca273b482600b6e9e030ad9"/><file name="Payment.php" hash="737a295dbc465fe2333b187716c81077"/><file name=".Payment.php.swp" hash="3d8604107de061df66cb45ae029bd394"/></dir><dir name="Pagantis"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="285814ecab6b4e338e75a370f41fdc12"/></dir></dir></dir></dir><file name="Form.php" hash="7d934dc68b5c92d438d32ffa0727a0f9"/><file name="Redirect.php" hash="24fef0caf8b76c629b75e2d4acc81443"/></dir><dir name="Helper"><file name="Data.php" hash="e90849a9b9310979d58f7a092d2d2a28"/></dir><dir name="Model"><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="76506a6627d6523aae845169854f4ece"/><file name="Requestloan.php" hash="6b3a8045810226ed72362772d84012bd"/><file name="Response.php" hash="bb1ade5931c5580f4585fc0fdb2bc4b0"/></dir><file name="Currency.php" hash="a5557e10938898b0213a90dd7be15540"/><file name="Observer.php" hash="0c2a7b1b4ca273b482600b6e9e030ad9"/><file name="Payment.php" hash="13002f5a27466a85d020d7fb41cf8633"/></dir><dir name="controllers"><file name="PagantisController.php" hash="f3a77cb8fc003bd03bd680913ace6f40"/></dir><dir name="etc"><file name="config.xml" hash="a10e521ef5101e10d0b7aa61c2b76370"/><file name="system.xml" hash="6d15f34f3aa3429501cb6d1f9b8ec458"/></dir><dir name="sql"><dir name="pagantis_setup"><file name="mysql4-install-1.0.0.php" hash="4ec10724709f8d381758409f55cff99d"/></dir></dir></dir><dir name="controllers"><file name="PagantisController.php" hash="70d7adfd427aba6427e2bcc2ff0c177a"/></dir><dir name="etc"><file name="config.xml" hash="a10e521ef5101e10d0b7aa61c2b76370"/><file name="system.xml" hash="854549934e085e76ee932727fed64f23"/></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="6a13e760f9edb35dc2b5ac4cd2ac11f0"/></dir><dir name="template"><dir name="pagantis"><file name="form.phtml" hash="11cf70a55d8ec9e8ae3c1d94a832eeab"/><file name="pagantis.phtml" hash="3024436be4e339669f7ebf590f6c03a9"/><file name="redirect.phtml" hash="3d7d1a5076fc98269e5a7f476be27650"/></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></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
skin/adminhtml/base/default/pagantis.css CHANGED
@@ -1,6 +1,11 @@
1
  .adminLogoPagantis {
2
- width:160px;
3
  height:100px;
4
  background:url(../../default/default/images/pagantis/logopagamastarde.png) no-repeat 0 2px;
5
  background-size: 150px;
6
- }
 
 
 
 
 
1
  .adminLogoPagantis {
2
+ width:700px;
3
  height:100px;
4
  background:url(../../default/default/images/pagantis/logopagamastarde.png) no-repeat 0 2px;
5
  background-size: 150px;
6
+ }
7
+ .adminp {
8
+ margin-left: 170px;
9
+ padding: 6px;
10
+
11
+ }
skin/frontend/base/default/images/pagantis/logopagamastarde.png ADDED
Binary file
skin/frontend/base/default/images/pagantis/pagantis-fav.png ADDED
Binary file
skin/frontend/base/default/images/pagantis/pagantis.png ADDED
Binary file