vindi-subscriptions-and-recurring-payments - Version 1.0.15

Version Notes

version 1.0.15

Download this release

Release Info

Developer Vindi
Extension vindi-subscriptions-and-recurring-payments
Version 1.0.15
Comparing to
See all releases


Code changes from version 1.0.13 to 1.0.15

Files changed (33) hide show
  1. app/code/community/Vindi/Subscription/Block/Config/Information.php +0 -0
  2. app/code/community/Vindi/Subscription/Block/Form/BankSlip.php +0 -0
  3. app/code/community/Vindi/Subscription/Block/Form/Cc.php +43 -17
  4. app/code/community/Vindi/Subscription/Helper/Api.php +10 -0
  5. app/code/community/Vindi/Subscription/Helper/Data.php +0 -0
  6. app/code/community/Vindi/Subscription/Helper/WebhookHandler.php +0 -0
  7. app/code/community/Vindi/Subscription/Model/BankSlip.php +3 -1
  8. app/code/community/Vindi/Subscription/Model/Config/Installments.php +0 -0
  9. app/code/community/Vindi/Subscription/Model/Config/Shippingmethod.php +0 -0
  10. app/code/community/Vindi/Subscription/Model/CreditCard.php +1 -3
  11. app/code/community/Vindi/Subscription/Model/Observer.php +0 -0
  12. app/code/community/Vindi/Subscription/Model/Product/Attribute/Plan.php +0 -0
  13. app/code/community/Vindi/Subscription/Model/Product/Type.php +0 -0
  14. app/code/community/Vindi/Subscription/Trait/PaymentMethod.php +15 -7
  15. app/code/community/Vindi/Subscription/controllers/WebhookController.php +0 -0
  16. app/code/community/Vindi/Subscription/etc/adminhtml.xml +0 -0
  17. app/code/community/Vindi/Subscription/etc/config.xml +1 -1
  18. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/install-1.0.0.php +0 -0
  19. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.0-1.0.1.php +0 -0
  20. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.1-1.0.2.php +0 -0
  21. app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.4-1.0.5.php +0 -0
  22. app/design/adminhtml/base/default/layout/vindi_subscription.xml +0 -0
  23. app/design/adminhtml/base/default/template/vindi_subscription/payment/form/bankslip.phtml +0 -0
  24. app/design/adminhtml/base/default/template/vindi_subscription/payment/form/cc.phtml +0 -0
  25. app/design/frontend/base/default/layout/vindi_subscription.xml +0 -0
  26. app/design/frontend/base/default/template/vindi_subscription/payment/form/bankslip.phtml +0 -0
  27. app/design/frontend/base/default/template/vindi_subscription/payment/form/cc.phtml +0 -0
  28. app/etc/modules/Vindi_Subscription.xml +0 -0
  29. package.xml +7 -7
  30. skin/adminhtml/{base → default}/default/vindi_subscription/css/vindi_subscription.css +0 -0
  31. skin/adminhtml/{base → default}/default/vindi_subscription/js/vindi_subscription.js +0 -0
  32. skin/frontend/base/default/vindi_subscription/css/vindi_subscription.css +0 -0
  33. skin/frontend/base/default/vindi_subscription/js/vindi_subscription.js +0 -0
app/code/community/Vindi/Subscription/Block/Config/Information.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Block/Form/BankSlip.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Block/Form/Cc.php CHANGED
@@ -52,21 +52,36 @@ class Vindi_Subscription_Block_Form_Cc extends Mage_Payment_Block_Form_Cc
52
  {
53
  return $this->api()->getCreditCardTypes();
54
  }
55
-
56
  /**
57
  * @return bool
58
  */
59
  public function getSavedCc()
60
  {
61
  $customer = $this->getCustomer();
62
-
63
  if (! $userCode = $customer->getVindiUserCode()) {
64
  return false;
65
  }
66
-
67
  return $this->api()->getCustomerPaymentProfile($userCode);
68
  }
 
 
 
 
 
 
69
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  /**
71
  * @return bool
72
  */
@@ -77,37 +92,48 @@ class Vindi_Subscription_Block_Form_Cc extends Mage_Payment_Block_Form_Cc
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
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  /**
112
  * @param Mage_Sales_Model_Quote $quote
113
  *
52
  {
53
  return $this->api()->getCreditCardTypes();
54
  }
 
55
  /**
56
  * @return bool
57
  */
58
  public function getSavedCc()
59
  {
60
  $customer = $this->getCustomer();
 
61
  if (! $userCode = $customer->getVindiUserCode()) {
62
  return false;
63
  }
 
64
  return $this->api()->getCustomerPaymentProfile($userCode);
65
  }
66
+ /**
67
+ * @return int
68
+ */
69
+ public function installmentsOnSubscription()
70
+ {
71
+ $quote = $this->getQuote();
72
 
73
+ foreach($quote->getAllVisibleItems() as $item){
74
+ $product = Mage::getModel('catalog/product')->load($item->getProductId());
75
+ $plan = $product->getData('vindi_subscription_plan');
76
+ }
77
+
78
+ $installments = $this->api()->getPlanInstallments($plan);
79
+
80
+ if(! $this->isSingleQuote($quote)) {
81
+
82
+ return $installments;
83
+ }
84
+ }
85
  /**
86
  * @return bool
87
  */
92
 
93
  return in_array($activeStore, explode(',', $allowedStores));
94
  }
 
95
  /**
96
  * @return bool|string
97
  */
98
  public function getInstallments()
99
  {
100
  $allowInstallments = $this->isInstallmentsAllowedInStore();
101
+ $maxInstallmentsNumber = $this->getMaxInstallmentsNumber();
102
  $minInstallmentsValue = Mage::getStoreConfig('payment/vindi_creditcard/min_installment_value');
103
  $quote = $this->getQuote();
104
  $installments = false;
105
 
106
+ if ($maxInstallmentsNumber > 1 && $allowInstallments == true) {
107
  $total = $quote->getGrandTotal();
108
  $installmentsTimes = floor($total / $minInstallmentsValue);
109
  $installments = '<option value="">' . Mage::helper('catalog')->__('-- Please Select --') . '</option>';
110
+
111
+ for ($i = 1; $i <= $maxInstallmentsNumber; $i++) {
112
+ $value = ceil($total / $i * 100) / 100;
113
+ $price = Mage::helper('core')->currency($value, true, false);
114
+ $installments .= '<option value="' . $i . '">' . sprintf('%dx de %s', $i, $price) . '</option>';
115
+ if(($i + 1) > $installmentsTimes)
116
+ break;
117
+ }
 
 
118
  }
119
 
120
  return $installments;
121
  }
122
+ /**
123
+ * @return int
124
+ */
125
+ public function getMaxInstallmentsNumber()
126
+ {
127
+ $quote = $this->getQuote();
128
+ $maxInstallmentsNumber = Mage::getStoreConfig('payment/vindi_creditcard/max_installments_number');
129
+ $subscriptionInstallments = $this->installmentsOnSubscription();
130
+
131
+ if($this->isSingleQuote($quote)){
132
+ return $maxInstallmentsNumber;
133
+ } else{
134
+ return $subscriptionInstallments;
135
+ }
136
+ }
137
  /**
138
  * @param Mage_Sales_Model_Quote $quote
139
  *
app/code/community/Vindi/Subscription/Helper/Api.php CHANGED
@@ -565,6 +565,16 @@ class Vindi_Subscription_Helper_API extends Mage_Core_Helper_Abstract
565
  return $list;
566
  }
567
 
 
 
 
 
 
 
 
 
 
 
568
  /**
569
  * Make an API request to create a Product.
570
  *
565
  return $list;
566
  }
567
 
568
+ public function getPlanInstallments($id)
569
+ {
570
+ $response = $this->request("plans/{$id}", 'GET');
571
+ $plan = $response['plan'];
572
+ $installments = $plan['installments'];
573
+
574
+ return $installments;
575
+ }
576
+
577
+
578
  /**
579
  * Make an API request to create a Product.
580
  *
app/code/community/Vindi/Subscription/Helper/Data.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Helper/WebhookHandler.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/BankSlip.php CHANGED
@@ -78,6 +78,8 @@ class Vindi_Subscription_Model_BankSlip extends Mage_Payment_Model_Method_Abstra
78
  */
79
  public function assignData($data)
80
  {
 
 
81
  return $this;
82
  }
83
 
@@ -136,4 +138,4 @@ class Vindi_Subscription_Model_BankSlip extends Mage_Payment_Model_Method_Abstra
136
  // TODO fix it to proper method code
137
  return 'bank_slip';
138
  }
139
- }
78
  */
79
  public function assignData($data)
80
  {
81
+ $info = $this->getInfoInstance();
82
+ $info->setAdditionalInformation('installments', 1);
83
  return $this;
84
  }
85
 
138
  // TODO fix it to proper method code
139
  return 'bank_slip';
140
  }
141
+ }
app/code/community/Vindi/Subscription/Model/Config/Installments.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/Config/Shippingmethod.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/CreditCard.php CHANGED
@@ -89,9 +89,7 @@ class Vindi_Subscription_Model_CreditCard extends Mage_Payment_Model_Method_Cc
89
  $info = $this->getInfoInstance();
90
  $quote = $info->getQuote();
91
 
92
- if ($this->isSingleOrder($quote)) {
93
- $info->setAdditionalInformation('installments', $data->getCcInstallments());
94
- }
95
 
96
  if ($data->getCcChoice() === 'saved') {
97
  $info->setAdditionalInformation('PaymentMethod', $this->_code)
89
  $info = $this->getInfoInstance();
90
  $quote = $info->getQuote();
91
 
92
+ $info->setAdditionalInformation('installments', $data->getCcInstallments());
 
 
93
 
94
  if ($data->getCcChoice() === 'saved') {
95
  $info->setAdditionalInformation('PaymentMethod', $this->_code)
app/code/community/Vindi/Subscription/Model/Observer.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/Product/Attribute/Plan.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Model/Product/Type.php CHANGED
File without changes
app/code/community/Vindi/Subscription/Trait/PaymentMethod.php CHANGED
@@ -161,7 +161,7 @@ trait Vindi_Subscription_Trait_PaymentMethod
161
  */
162
  protected function processSubscription($payment, $order, $customerId)
163
  {
164
- $subscription = $this->createSubscription($order, $customerId);
165
 
166
  if ($subscription === false) {
167
  Mage::throwException('Erro ao criar a assinatura. Verifique os dados e tente novamente!');
@@ -212,7 +212,7 @@ trait Vindi_Subscription_Trait_PaymentMethod
212
  if (! $billId) {
213
  $this->log(sprintf('Erro no pagamento do pedido %d.', $order->getId()));
214
 
215
- $message = sprintf('Pagamento Falhou. (%s)', $this->api()->lastError);
216
  $payment->setStatus(
217
  Mage_Sales_Model_Order::STATE_CANCELED,
218
  Mage_Sales_Model_Order::STATE_CANCELED,
@@ -232,17 +232,17 @@ trait Vindi_Subscription_Trait_PaymentMethod
232
  }
233
 
234
  /**
235
- * @param Mage_Sales_Model_Order $order
236
- * @param int $customerId
 
237
  *
238
  * @return bool
239
  */
240
- protected function createSubscription($order, $customerId)
241
  {
242
  $orderItems = $order->getItemsCollection();
243
  $item = $orderItems->getFirstItem();
244
  $product = Mage::getModel('catalog/product')->load($item->getProductId());
245
-
246
  $plan = $product->getData('vindi_subscription_plan');
247
 
248
  $productItems = $this->api()->buildPlanItemsForSubscription($order);
@@ -255,11 +255,19 @@ trait Vindi_Subscription_Trait_PaymentMethod
255
  'payment_method_code' => $this->getPaymentMethodCode(),
256
  'plan_id' => $plan,
257
  'code' => 'mag-' . $order->getIncrementId() . '-' . time(),
258
- 'product_items' => $productItems
259
  ];
260
 
 
 
 
 
261
  $subscription = $this->api()->createSubscription($body);
262
 
 
 
 
 
263
  if (! isset($subscription['id']) || empty($subscription['id'])) {
264
  $message = sprintf('Pagamento Falhou. (%s)', $this->api()->lastError);
265
  $this->log(sprintf('Erro no pagamento do pedido %s.\n%s', $order->getId(), $message));
161
  */
162
  protected function processSubscription($payment, $order, $customerId)
163
  {
164
+ $subscription = $this->createSubscription($payment, $order, $customerId);
165
 
166
  if ($subscription === false) {
167
  Mage::throwException('Erro ao criar a assinatura. Verifique os dados e tente novamente!');
212
  if (! $billId) {
213
  $this->log(sprintf('Erro no pagamento do pedido %d.', $order->getId()));
214
 
215
+ $message = sprintf("Houve um problema na confirmação do pagamento, por favor entre em contato com o banco emissor do cartão. (%s)", $this->api()->lastError);
216
  $payment->setStatus(
217
  Mage_Sales_Model_Order::STATE_CANCELED,
218
  Mage_Sales_Model_Order::STATE_CANCELED,
232
  }
233
 
234
  /**
235
+ * @param Mage_Payment_Model_Method_Abstract $payment
236
+ * @param Mage_Sales_Model_Order $order
237
+ * @param int $customerId
238
  *
239
  * @return bool
240
  */
241
+ protected function createSubscription($payment, $order, $customerId)
242
  {
243
  $orderItems = $order->getItemsCollection();
244
  $item = $orderItems->getFirstItem();
245
  $product = Mage::getModel('catalog/product')->load($item->getProductId());
 
246
  $plan = $product->getData('vindi_subscription_plan');
247
 
248
  $productItems = $this->api()->buildPlanItemsForSubscription($order);
255
  'payment_method_code' => $this->getPaymentMethodCode(),
256
  'plan_id' => $plan,
257
  'code' => 'mag-' . $order->getIncrementId() . '-' . time(),
258
+ 'product_items' => $productItems,
259
  ];
260
 
261
+ if ($installments = $payment->getAdditionalInformation('installments')) {
262
+ $body['installments'] = (int) $installments;
263
+ }
264
+
265
  $subscription = $this->api()->createSubscription($body);
266
 
267
+ $test = $payment->getAdditionalInformation();
268
+
269
+ $this->log($test);
270
+
271
  if (! isset($subscription['id']) || empty($subscription['id'])) {
272
  $message = sprintf('Pagamento Falhou. (%s)', $this->api()->lastError);
273
  $this->log(sprintf('Erro no pagamento do pedido %s.\n%s', $order->getId(), $message));
app/code/community/Vindi/Subscription/controllers/WebhookController.php CHANGED
File without changes
app/code/community/Vindi/Subscription/etc/adminhtml.xml CHANGED
File without changes
app/code/community/Vindi/Subscription/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Vindi_Subscription>
5
- <version>1.0.13</version>
6
  </Vindi_Subscription>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Vindi_Subscription>
5
+ <version>1.0.15</version>
6
  </Vindi_Subscription>
7
  </modules>
8
  <global>
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/install-1.0.0.php CHANGED
File without changes
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.0-1.0.1.php CHANGED
File without changes
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.1-1.0.2.php CHANGED
File without changes
app/code/community/Vindi/Subscription/sql/vindi_subscription_setup/upgrade-1.0.4-1.0.5.php CHANGED
File without changes
app/design/adminhtml/base/default/layout/vindi_subscription.xml CHANGED
File without changes
app/design/adminhtml/base/default/template/vindi_subscription/payment/form/bankslip.phtml CHANGED
File without changes
app/design/adminhtml/base/default/template/vindi_subscription/payment/form/cc.phtml CHANGED
File without changes
app/design/frontend/base/default/layout/vindi_subscription.xml CHANGED
File without changes
app/design/frontend/base/default/template/vindi_subscription/payment/form/bankslip.phtml CHANGED
File without changes
app/design/frontend/base/default/template/vindi_subscription/payment/form/cc.phtml CHANGED
File without changes
app/etc/modules/Vindi_Subscription.xml CHANGED
File without changes
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>vindi-subscriptions-and-recurring-payments</name>
4
- <version>1.0.13</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.13</notes>
12
- <authors><author><name>Tales Galvao</name><user>talesgalvao</user><email>tales.galvao@vindi.com.br</email></author><author><name>Erico Pedroso</name><user>ericopedroso</user><email>erico.pedroso@vindi.com.br</email></author><author><name>Lyon Cesar</name><user>lyoncesar</user><email>lyon.cesar@vindi.com.br</email></author><author><name>Rodrigo Rebelatto</name><user>rodrigorebelatto</user><email>rodrigo.rebelatto@vindi.com.br</email></author></authors>
13
- <date>2016-12-09</date>
14
- <time>20:32:43</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="45a8c591dd5282dc8ec6b818468802c0"/><file name="Data.php" hash="d1f0d18d79647a11c991bac60ee2ef44"/><file name="WebhookHandler.php" hash="b6d89b15bf832dc20257143c1e87c11b"/></dir><dir name="Model"><file name="BankSlip.php" hash="3f2b38f3f86d7ee56597bc5e6ccfc2a9"/><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="9197b8f7ebf4b46593628840dddbbcdb"/></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.19</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.15</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.15</notes>
12
+ <authors><author><name>Vindi</name><user>vindi</user><email>magento.tecnologia@vindi.com.br</email></author></authors>
13
+ <date>2017-07-07</date>
14
+ <time>16:45:20</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="4e086d745390c2cf46b1717791f482df"/></dir></dir><dir name="Helper"><file name="Api.php" hash="c0adf5890e870427a55a59b1dce3449b"/><file name="Data.php" hash="d1f0d18d79647a11c991bac60ee2ef44"/><file name="WebhookHandler.php" hash="7058847a992930599ab96eaf87a5fa84"/></dir><dir name="Model"><file name="BankSlip.php" hash="4ccf791253438e02d4972ef919776c0c"/><dir name="Config"><file name="Installments.php" hash="0f899e0267b0b0f1d17acaf06a65e493"/><file name="Shippingmethod.php" hash="5afab77a4c4e3a22992350ac41dc57b5"/></dir><file name="CreditCard.php" hash="c4bdc3c7ce3dce3bb1081351215320b5"/><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="bc64e7ac100fb6a1b9032f1df8fe03a2"/></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="7246be5f4b6499ba3ebd4b669b28af30"/><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="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="layout"><file name="vindi_subscription.xml" hash="ab06d89e538b954ce956f5a6674f83c0"/></dir><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></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="vindi_subscription.xml" hash="f6aea64fedba97321b653f3ddc83ab11"/></dir><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></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vindi_Subscription.xml" hash="64a2addef728637da8dcd80a2b3c3415"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><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="bc12563d2d0875e5ad9e15cddf0a8fb7"/></dir></dir></dir></dir></dir><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.19</min><max>7.1.6</max></php></required></dependencies>
18
  </package>
skin/adminhtml/{base → default}/default/vindi_subscription/css/vindi_subscription.css RENAMED
File without changes
skin/adminhtml/{base → default}/default/vindi_subscription/js/vindi_subscription.js RENAMED
File without changes
skin/frontend/base/default/vindi_subscription/css/vindi_subscription.css CHANGED
File without changes
skin/frontend/base/default/vindi_subscription/js/vindi_subscription.js CHANGED
File without changes