vindi-subscriptions-and-recurring-payments - Version 1.0.12

Version Notes

version 1.0.12

Download this release

Release Info

Developer Tales Galvao
Extension vindi-subscriptions-and-recurring-payments
Version 1.0.12
Comparing to
See all releases


Code changes from version 1.0.10 to 1.0.12

app/code/community/Vindi/Subscription/Block/Form/Cc.php CHANGED
@@ -67,34 +67,44 @@ class Vindi_Subscription_Block_Form_Cc extends Mage_Payment_Block_Form_Cc
67
  return $this->api()->getCustomerPaymentProfile($userCode);
68
  }
69
 
 
 
 
 
 
 
 
 
 
 
 
70
  /**
71
  * @return bool|string
72
  */
73
  public function getInstallments()
74
  {
75
- $maxInstallmentsNumber = Mage::getStoreConfig('payment/vindi_creditcard/max_installments_number');
76
- $minInstallmentsValue = Mage::getStoreConfig('payment/vindi_creditcard/min_installment_value');
77
- // $quote = Mage::getSingleton('checkout/session')->getQuote();
78
- $quote = $this->getQuote();
79
- $installments = false;
80
- $total = $quote->getGrandTotal();
81
- $installmentsTimes = floor($total / $minInstallmentsValue);
82
-
83
- if ($this->isSingleQuote($quote) && $maxInstallmentsNumber > 1) {
84
-
85
- $installments = '<option value="">' . Mage::helper('catalog')->__('-- Please Select --') . '</option>';
86
-
87
- for ($i = 1; $i <= $maxInstallmentsNumber; $i++) {
88
- $value = ceil($total / $i * 100) / 100;
89
- $price = Mage::helper('core')->currency($value, true, false);
90
-
91
- $installments .= '<option value="' . $i . '">' . sprintf('%dx de %s', $i, $price) . '</option>';
92
-
93
- if(($i + 1) > $installmentsTimes)
94
- break;
95
  }
96
- }
97
-
98
  return $installments;
99
  }
100
 
67
  return $this->api()->getCustomerPaymentProfile($userCode);
68
  }
69
 
70
+ /**
71
+ * @return bool
72
+ */
73
+ public function isInstallmentsAllowedInStore()
74
+ {
75
+ $allowedStores = Mage::getStoreConfig('payment/vindi_creditcard/installments_per_store_view');
76
+ $activeStore = Mage::app()->getStore()->getStoreId();
77
+
78
+ return in_array($activeStore, explode(',', $allowedStores));
79
+ }
80
+
81
  /**
82
  * @return bool|string
83
  */
84
  public function getInstallments()
85
  {
86
+ $allowInstallments = $this->isInstallmentsAllowedInStore();
87
+ $maxInstallmentsNumber = Mage::getStoreConfig('payment/vindi_creditcard/max_installments_number');
88
+ $minInstallmentsValue = Mage::getStoreConfig('payment/vindi_creditcard/min_installment_value');
89
+ $quote = $this->getQuote();
90
+ $installments = false;
91
+
92
+ if ($this->isSingleQuote($quote) && $maxInstallmentsNumber > 1 && $allowInstallments == true) {
93
+ $total = $quote->getGrandTotal();
94
+ $installmentsTimes = floor($total / $minInstallmentsValue);
95
+ $installments = '<option value="">' . Mage::helper('catalog')->__('-- Please Select --') . '</option>';
96
+
97
+ for ($i = 1; $i <= $maxInstallmentsNumber; $i++) {
98
+ $value = ceil($total / $i * 100) / 100;
99
+ $price = Mage::helper('core')->currency($value, true, false);
100
+
101
+ $installments .= '<option value="' . $i . '">' . sprintf('%dx de %s', $i, $price) . '</option>';
102
+
103
+ if(($i + 1) > $installmentsTimes)
104
+ break;
105
+ }
106
  }
107
+
 
108
  return $installments;
109
  }
110
 
app/code/community/Vindi/Subscription/Helper/Api.php CHANGED
@@ -60,7 +60,13 @@ class Vindi_Subscription_Helper_API extends Mage_Core_Helper_Abstract
60
  */
61
  private function buildBody($data)
62
  {
63
- return json_encode($data);
 
 
 
 
 
 
64
  }
65
 
66
  /**
@@ -126,9 +132,8 @@ class Vindi_Subscription_Helper_API extends Mage_Core_Helper_Abstract
126
  $dataToLog));
127
 
128
  $ch = curl_init();
129
-
130
- curl_setopt_array($ch, [
131
- CURLOPT_HTTPHEADER => [
132
  'Content-Type: application/json',
133
  ],
134
  CURLOPT_TIMEOUT => 60,
@@ -139,9 +144,14 @@ class Vindi_Subscription_Helper_API extends Mage_Core_Helper_Abstract
139
  CURLOPT_SSLVERSION => 'CURL_SSLVERSION_TLSv1_2',
140
  CURLOPT_USERPWD => $this->key . ':',
141
  CURLOPT_URL => $url,
142
- CURLOPT_CUSTOMREQUEST => $method,
143
- CURLOPT_POSTFIELDS => $body,
144
- ]);
 
 
 
 
 
145
 
146
  $response = curl_exec($ch);
147
 
60
  */
61
  private function buildBody($data)
62
  {
63
+ $body = null;
64
+
65
+ if(!empty($data)) {
66
+ $body = json_encode($data);
67
+ }
68
+
69
+ return $body;
70
  }
71
 
72
  /**
132
  $dataToLog));
133
 
134
  $ch = curl_init();
135
+ $ch_options = [
136
+ CURLOPT_HTTPHEADER => [
 
137
  'Content-Type: application/json',
138
  ],
139
  CURLOPT_TIMEOUT => 60,
144
  CURLOPT_SSLVERSION => 'CURL_SSLVERSION_TLSv1_2',
145
  CURLOPT_USERPWD => $this->key . ':',
146
  CURLOPT_URL => $url,
147
+ CURLOPT_CUSTOMREQUEST => $method
148
+ ];
149
+
150
+ if (!empty($body)) {
151
+ $ch_options[CURLOPT_POSTFIELDS] = $body;
152
+ }
153
+
154
+ curl_setopt_array($ch, $ch_options);
155
 
156
  $response = curl_exec($ch);
157
 
app/code/community/Vindi/Subscription/Helper/WebhookHandler.php CHANGED
@@ -7,9 +7,9 @@ class Vindi_Subscription_Helper_WebhookHandler extends Mage_Core_Helper_Abstract
7
  * @param int|null $level
8
  */
9
  public function log($message, $level = null)
10
- {
11
  Mage::log($message, $level, 'vindi_webhooks.log');
12
-
13
  switch ($level) {
14
  case 4:
15
  http_response_code(422);
@@ -119,7 +119,7 @@ class Vindi_Subscription_Helper_WebhookHandler extends Mage_Core_Helper_Abstract
119
  'amout' => $data['bill']['amount']
120
  ],
121
  'products' => [],
122
- 'shipping' => [],
123
  ];
124
  foreach ($data['bill']['bill_items'] as $billItem)
125
  {
@@ -132,7 +132,7 @@ class Vindi_Subscription_Helper_WebhookHandler extends Mage_Core_Helper_Abstract
132
  }
133
 
134
  $order = $this->createOrder($lastPeriodOrder, $vindiData);
135
-
136
  if (! $order) {
137
  $this->log('Impossível gerar novo pedido!', 4);
138
 
@@ -176,8 +176,8 @@ class Vindi_Subscription_Helper_WebhookHandler extends Mage_Core_Helper_Abstract
176
  {
177
  if (! ($order = $this->getOrder($data))) {
178
  $this->log(sprintf('Ainda não existe um pedido para ciclo %s da assinatura: %d.',
179
- $data['bill']['period']['cycle'],
180
- $data['bill']['subscription']['id']),
181
  4
182
  );
183
 
@@ -418,26 +418,25 @@ class Vindi_Subscription_Helper_WebhookHandler extends Mage_Core_Helper_Abstract
418
  if(!$magentoProduct)
419
  {
420
  $this->log(sprintf('O produto com ID Vindi #%s não existe no Magento.', $item['product']['id']), 5);
421
- return false;
422
- }
423
-
424
- if(number_format($magentoProduct->getPrice(), 2) !== number_format($item['pricing_schema']['price'], 2)){
425
- $this->log(sprintf("Divergencia de valores na fatura #%s: produto %s: ID Magento #%s , ID Vindi #%s: Valor Magento R$ %s , Valor Vindi R$ %s",
426
- $vindiData['bill']['id'],
427
- $magentoProduct->getName(),
428
- $magentoProduct->getId(),
429
- $item['product']['id'],
430
- $magentoProduct->getPrice(),
431
- $item['pricing_schema']['price'])
432
- );
433
-
434
- $quote->getItemByProduct($magentoProduct)
435
- // ->setPrice($item['pricing_schema']['price'])
436
- // ->setCost($item['pricing_schema']['price'])
437
- ->setOriginalCustomPrice($item['pricing_schema']['price'])
438
- ->setCustomPrice($item['pricing_schema']['price'])
439
- ->save();
440
 
 
441
  }
442
  }
443
 
@@ -452,7 +451,7 @@ class Vindi_Subscription_Helper_WebhookHandler extends Mage_Core_Helper_Abstract
452
  $order = $order->createOrder();
453
  } catch (Exception $e) {
454
  $this->log("Erro ao criar pedido!");
455
-
456
  if($e->getMessage()){
457
  $this->log($e->getMessage(), 5);
458
  }else{
7
  * @param int|null $level
8
  */
9
  public function log($message, $level = null)
10
+ {
11
  Mage::log($message, $level, 'vindi_webhooks.log');
12
+
13
  switch ($level) {
14
  case 4:
15
  http_response_code(422);
119
  'amout' => $data['bill']['amount']
120
  ],
121
  'products' => [],
122
+ 'shipping' => [],
123
  ];
124
  foreach ($data['bill']['bill_items'] as $billItem)
125
  {
132
  }
133
 
134
  $order = $this->createOrder($lastPeriodOrder, $vindiData);
135
+
136
  if (! $order) {
137
  $this->log('Impossível gerar novo pedido!', 4);
138
 
176
  {
177
  if (! ($order = $this->getOrder($data))) {
178
  $this->log(sprintf('Ainda não existe um pedido para ciclo %s da assinatura: %d.',
179
+ $data['bill']['period']['cycle'],
180
+ $data['bill']['subscription']['id']),
181
  4
182
  );
183
 
418
  if(!$magentoProduct)
419
  {
420
  $this->log(sprintf('O produto com ID Vindi #%s não existe no Magento.', $item['product']['id']), 5);
421
+ }else{
422
+ if(number_format($magentoProduct->getPrice(), 2) !== number_format($item['pricing_schema']['price'], 2)){
423
+ $this->log(sprintf("Divergencia de valores na fatura #%s: produto %s: ID Magento #%s , ID Vindi #%s: Valor Magento R$ %s , Valor Vindi R$ %s",
424
+ $vindiData['bill']['id'],
425
+ $magentoProduct->getName(),
426
+ $magentoProduct->getId(),
427
+ $item['product']['id'],
428
+ $magentoProduct->getPrice(),
429
+ $item['pricing_schema']['price'])
430
+ );
431
+
432
+ $quote->getItemByProduct($magentoProduct)
433
+ // ->setPrice($item['pricing_schema']['price'])
434
+ // ->setCost($item['pricing_schema']['price'])
435
+ ->setOriginalCustomPrice($item['pricing_schema']['price'])
436
+ ->setCustomPrice($item['pricing_schema']['price'])
437
+ ->save();
 
 
438
 
439
+ }
440
  }
441
  }
442
 
451
  $order = $order->createOrder();
452
  } catch (Exception $e) {
453
  $this->log("Erro ao criar pedido!");
454
+
455
  if($e->getMessage()){
456
  $this->log($e->getMessage(), 5);
457
  }else{
app/code/community/Vindi/Subscription/Model/BankSlip.php CHANGED
@@ -106,8 +106,8 @@ class Vindi_Subscription_Model_BankSlip extends Mage_Payment_Model_Method_Abstra
106
  return false;
107
  }
108
 
109
- $stateObject->setStatus(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW)
110
- ->setState(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW);
111
 
112
  return $this;
113
  }
106
  return false;
107
  }
108
 
109
+ $stateObject->setStatus(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT)
110
+ ->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
111
 
112
  return $this;
113
  }
app/code/community/Vindi/Subscription/Model/CreditCard.php CHANGED
@@ -148,8 +148,8 @@ class Vindi_Subscription_Model_CreditCard extends Mage_Payment_Model_Method_Cc
148
  return false;
149
  }
150
 
151
- $stateObject->setStatus(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW)
152
- ->setState(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW);
153
 
154
  return $this;
155
  }
148
  return false;
149
  }
150
 
151
+ $stateObject->setStatus(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT)
152
+ ->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
153
 
154
  return $this;
155
  }
app/code/community/Vindi/Subscription/Trait/PaymentMethod.php CHANGED
@@ -143,10 +143,10 @@ trait Vindi_Subscription_Trait_PaymentMethod
143
  $payment->setAmount($order->getTotalDue());
144
  $this->setStore($order->getStoreId());
145
 
146
- $payment->setStatus(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW, Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW,
147
  'Novo período da assinatura criado', true);
148
- $stateObject->setStatus(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW)
149
- ->setState(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW);
150
 
151
  return $this;
152
  }
@@ -172,7 +172,7 @@ trait Vindi_Subscription_Trait_PaymentMethod
172
  $payment->setAmount($order->getTotalDue());
173
  $this->setStore($order->getStoreId());
174
 
175
- $payment->setStatus(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW, Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW,
176
  'Assinatura criada', true);
177
 
178
  return true;
143
  $payment->setAmount($order->getTotalDue());
144
  $this->setStore($order->getStoreId());
145
 
146
+ $payment->setStatus(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, Mage_Sales_Model_Order::STATE_PENDING_PAYMENT,
147
  'Novo período da assinatura criado', true);
148
+ $stateObject->setStatus(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT)
149
+ ->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
150
 
151
  return $this;
152
  }
172
  $payment->setAmount($order->getTotalDue());
173
  $this->setStore($order->getStoreId());
174
 
175
+ $payment->setStatus(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, Mage_Sales_Model_Order::STATE_PENDING_PAYMENT,
176
  'Assinatura criada', true);
177
 
178
  return true;
app/code/community/Vindi/Subscription/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Vindi_Subscription>
5
- <version>1.0.10</version>
6
  </Vindi_Subscription>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Vindi_Subscription>
5
+ <version>1.0.12</version>
6
  </Vindi_Subscription>
7
  </modules>
8
  <global>
app/code/community/Vindi/Subscription/etc/system.xml CHANGED
@@ -121,11 +121,24 @@
121
  <show_in_website>1</show_in_website>
122
  <show_in_store>0</show_in_store>
123
  </installments_heading>
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  <min_installment_value translate="label">
125
  <label>Valor mínimo da parcela</label>
126
  <comment>Valor mínimo da parcela, não deve ser inferior a R$ 5,00.</comment>
127
  <frontend_type>text</frontend_type>
128
- <sort_order>11</sort_order>
129
  <show_in_default>1</show_in_default>
130
  <show_in_website>1</show_in_website>
131
  <show_in_store>0</show_in_store>
@@ -137,7 +150,7 @@
137
  </comment>
138
  <frontend_type>select</frontend_type>
139
  <source_model>vindi_subscription/config_installments</source_model>
140
- <sort_order>12</sort_order>
141
  <show_in_default>1</show_in_default>
142
  <show_in_website>1</show_in_website>
143
  <show_in_store>0</show_in_store>
121
  <show_in_website>1</show_in_website>
122
  <show_in_store>0</show_in_store>
123
  </installments_heading>
124
+ <installments_per_store_view translate="label">
125
+ <label>Habilita parcelamento</label>
126
+ <comment><![CDATA[
127
+ Habilita a opção de parcelamento nas store views selecionadas
128
+ ]]></comment>
129
+ <frontend_type>multiselect</frontend_type>
130
+ <source_model>adminhtml/system_config_source_store</source_model>
131
+ <sort_order>11</sort_order>
132
+ <show_in_default>1</show_in_default>
133
+ <show_in_website>1</show_in_website>
134
+ <show_in_store>0</show_in_store>
135
+ <can_be_empty>1</can_be_empty>
136
+ </installments_per_store_view>
137
  <min_installment_value translate="label">
138
  <label>Valor mínimo da parcela</label>
139
  <comment>Valor mínimo da parcela, não deve ser inferior a R$ 5,00.</comment>
140
  <frontend_type>text</frontend_type>
141
+ <sort_order>12</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>
150
  </comment>
151
  <frontend_type>select</frontend_type>
152
  <source_model>vindi_subscription/config_installments</source_model>
153
+ <sort_order>13</sort_order>
154
  <show_in_default>1</show_in_default>
155
  <show_in_website>1</show_in_website>
156
  <show_in_store>0</show_in_store>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
- <name>Vindi</name>
4
- <version>1.0.10</version>
5
  <stability>stable</stability>
6
  <license>GPLv3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</summary>
10
  <description>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</description>
11
- <notes>version 1.0.10</notes>
12
  <authors><author><name>Tales Galvao</name><user>talesgalvao</user><email>tales.galvao@gmail.com</email></author><author><name>Erico Pedroso</name><user>ericopedroso</user><email>erico.pedroso@vindi.com.br</email></author></authors>
13
- <date>2016-04-04</date>
14
- <time>13:35:45</time>
15
- <contents><target name="magecommunity"><dir name="Vindi"><dir name="Subscription"><dir name="Block"><dir name="Config"><file name="Information.php" hash="b324090de6fee25d09572d825709a6a9"/></dir><dir name="Form"><file name="BankSlip.php" hash="bce644dc03d2ed25389dceb21f9762ad"/><file name="Cc.php" hash="2172e8310dfe0fd7a0b019ee0aa8daad"/></dir></dir><dir name="Helper"><file name="Api.php" hash="19f742ac0d9af9de02c0731391490026"/><file name="Data.php" hash="d1f0d18d79647a11c991bac60ee2ef44"/><file name="WebhookHandler.php" hash="6daa02ca4572ceedc274e12d92a5abed"/></dir><dir name="Model"><file name="BankSlip.php" hash="f00508693ad4a86ec43b373a5252e942"/><dir name="Config"><file name="Installments.php" hash="0f899e0267b0b0f1d17acaf06a65e493"/><file name="Shippingmethod.php" hash="5afab77a4c4e3a22992350ac41dc57b5"/></dir><file name="CreditCard.php" hash="bcf2e389a1560c47dd56a2b485ca44a7"/><file name="Observer.php" hash="e508b5c67b8a4a5db510939d41a67846"/><dir name="Product"><dir name="Attribute"><file name="Plan.php" hash="b1f3084edcd57f0d480d1376c4d90e4b"/></dir><file name="Type.php" hash="9bb3c00df44019ced9ad1682a2d3c2be"/></dir></dir><dir name="Trait"><file name="PaymentMethod.php" hash="092ecf2cf083bf4c7cc6cbf0d38ad6d3"/></dir><dir name="controllers"><file name="WebhookController.php" hash="d4886b956fe54d7ae8a38b3be22897d4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="19f4eb5c16d561805f7b017186e2140b"/><file name="config.xml" hash="f8b2b15e5420b847f70c7234d22856d2"/><file name="system.xml" hash="c660c9607f6dc584dd93247ef8c3aa7f"/></dir><dir name="sql"><dir name="vindi_subscription_setup"><file name="install-1.0.0.php" hash="cc7722665a2f587d8bf8310a94503353"/><file name="upgrade-1.0.0-1.0.1.php" hash="b4f107c231dd4cdb9e950a1c98c35a3d"/><file name="upgrade-1.0.1-1.0.2.php" hash="a018618fe25d0b3c45d1137a9b07aa7d"/><file name="upgrade-1.0.4-1.0.5.php" hash="acd0ba386942f42bad1ef792e8ac7aa1"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vindi_Subscription.xml" hash="64a2addef728637da8dcd80a2b3c3415"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="07d522a86a3cb64c8d912fd4d431f142"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="f6aea64fedba97321b653f3ddc83ab11"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="3f2cc2ce886f9488a456b04e2c3a4c96"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="ab06d89e538b954ce956f5a6674f83c0"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="vindi_subscription"><dir name="css"><file name="vindi_subscription.css" hash="ac7c5eab0913804e1cb90d5e9474e6a0"/></dir><dir name="js"><file name="vindi_subscription.js" hash="7d33f5ced68caf2fbcc3147f32d5c8fb"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.5.0</min><max>7.0.1</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
+ <name>vindi-subscriptions-and-recurring-payments</name>
4
+ <version>1.0.12</version>
5
  <stability>stable</stability>
6
  <license>GPLv3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</summary>
10
  <description>A integra&#xE7;&#xE3;o do m&#xF3;dulo da Vindi permite cria&#xE7;&#xE3;o e gest&#xE3;o de planos e assinaturas atrav&#xE9;s do Magento de forma transparente.</description>
11
+ <notes>version 1.0.12</notes>
12
  <authors><author><name>Tales Galvao</name><user>talesgalvao</user><email>tales.galvao@gmail.com</email></author><author><name>Erico Pedroso</name><user>ericopedroso</user><email>erico.pedroso@vindi.com.br</email></author></authors>
13
+ <date>2016-10-11</date>
14
+ <time>19:32:44</time>
15
+ <contents><target name="magecommunity"><dir name="Vindi"><dir name="Subscription"><dir name="Block"><dir name="Config"><file name="Information.php" hash="b324090de6fee25d09572d825709a6a9"/></dir><dir name="Form"><file name="BankSlip.php" hash="bce644dc03d2ed25389dceb21f9762ad"/><file name="Cc.php" hash="8a68106d75a788654026999739703eef"/></dir></dir><dir name="Helper"><file name="Api.php" hash="1f0595f475eef60f3ebd2d97a12c3dfd"/><file name="Data.php" hash="d1f0d18d79647a11c991bac60ee2ef44"/><file name="WebhookHandler.php" hash="7058847a992930599ab96eaf87a5fa84"/></dir><dir name="Model"><file name="BankSlip.php" hash="2f157396ab73260fd8f48c8c2643b0c2"/><dir name="Config"><file name="Installments.php" hash="0f899e0267b0b0f1d17acaf06a65e493"/><file name="Shippingmethod.php" hash="5afab77a4c4e3a22992350ac41dc57b5"/></dir><file name="CreditCard.php" hash="a4025a310e2f4c08f778527624c0a874"/><file name="Observer.php" hash="e508b5c67b8a4a5db510939d41a67846"/><dir name="Product"><dir name="Attribute"><file name="Plan.php" hash="b1f3084edcd57f0d480d1376c4d90e4b"/></dir><file name="Type.php" hash="9bb3c00df44019ced9ad1682a2d3c2be"/></dir></dir><dir name="Trait"><file name="PaymentMethod.php" hash="011368d279df99ebceca820991bf5f19"/></dir><dir name="controllers"><file name="WebhookController.php" hash="d4886b956fe54d7ae8a38b3be22897d4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="19f4eb5c16d561805f7b017186e2140b"/><file name="config.xml" hash="6c685aa8e5778b27ad05636545fda7d1"/><file name="system.xml" hash="f2ce6a7644dcef43942aa24eb412f355"/></dir><dir name="sql"><dir name="vindi_subscription_setup"><file name="install-1.0.0.php" hash="cc7722665a2f587d8bf8310a94503353"/><file name="upgrade-1.0.0-1.0.1.php" hash="b4f107c231dd4cdb9e950a1c98c35a3d"/><file name="upgrade-1.0.1-1.0.2.php" hash="a018618fe25d0b3c45d1137a9b07aa7d"/><file name="upgrade-1.0.4-1.0.5.php" hash="acd0ba386942f42bad1ef792e8ac7aa1"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vindi_Subscription.xml" hash="64a2addef728637da8dcd80a2b3c3415"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="07d522a86a3cb64c8d912fd4d431f142"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="f6aea64fedba97321b653f3ddc83ab11"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="vindi_subscription"><dir name="payment"><dir name="form"><file name="bankslip.phtml" hash="df328f9149c101a6ba5fada0bbca9ef4"/><file name="cc.phtml" hash="3f2cc2ce886f9488a456b04e2c3a4c96"/></dir></dir></dir></dir><dir name="layout"><file name="vindi_subscription.xml" hash="ab06d89e538b954ce956f5a6674f83c0"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="vindi_subscription"><dir name="css"><file name="vindi_subscription.css" hash="ac7c5eab0913804e1cb90d5e9474e6a0"/></dir><dir name="js"><file name="vindi_subscription.js" hash="7d33f5ced68caf2fbcc3147f32d5c8fb"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.5.0</min><max>7.0.1</max></php></required></dependencies>
18
  </package>