Tray_CheckoutApi - Version 0.6.0

Version Notes

Versão 0.1.0

- Primeira versão liberada do TrayCheckout

Versão 0.2.0

- Correção no envio do número de telefone.
- Melhorias no envio dos dados.

Versão 0.3.0

- Correções de integração com a API de Simulação de Parcelamento.
- Envio de um valor padrão ao finalizar por boleto e transferência online.
- Ajuste no envio das requisições para as APIs do TrayCheckout.
- Incrementado log personalizado no módulo.

Versão 0.4.0

- Ajustes nas URLs de integração com o TrayCheckout.

Versão 0.5.0

- Melhorias no código de integração com o TrayCheckout

Versão 0.6.0

- Melhorias na exibição das bandeiras de cartão de crédito
- Melhorias na exibição dos dados de parcelamento

Download this release

Release Info

Developer TrayCheckout
Extension Tray_CheckoutApi
Version 0.6.0
Comparing to
See all releases


Code changes from version 0.5.0 to 0.6.0

app/code/community/Tray/CheckoutApi/Block/Form/Standard.php CHANGED
@@ -80,8 +80,10 @@ class Tray_CheckoutApi_Block_Form_Standard extends Mage_Payment_Block_Form
80
  $splitSimulate = array(""=>'Parcela(s)');
81
 
82
  for($iTc = 0; $iTc < (int)$tcStandard->getConfigData('tcQtdSplit'); $iTc++){
83
- $splittings = $tcResponse->data_response->splittings->splitting[$iTc];
84
- $splitSimulate[(int)$splittings->split] = (string)$splittings->split . " x de R$" . number_format((float)$splittings->value_split, 2, ',','');
 
 
85
  }
86
 
87
  $this->setData('splitSimulate', $splitSimulate);
80
  $splitSimulate = array(""=>'Parcela(s)');
81
 
82
  for($iTc = 0; $iTc < (int)$tcStandard->getConfigData('tcQtdSplit'); $iTc++){
83
+ if($iTc < count($tcResponse->data_response->splittings->splitting)){
84
+ $splittings = $tcResponse->data_response->splittings->splitting[$iTc];
85
+ $splitSimulate[(int)$splittings->split] = (string)$splittings->split . " x de R$" . number_format((float)$splittings->value_split, 2, ',','');
86
+ }
87
  }
88
 
89
  $this->setData('splitSimulate', $splitSimulate);
app/code/community/Tray/CheckoutApi/Model/Standard.php CHANGED
@@ -187,19 +187,24 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
187
  $billingAddress = $quote->getBillingAddress();
188
 
189
  // Verificação se consta o nome vazio do consumidor
 
190
  if (str_replace(" ","",$billingAddress->getData("firstname")." ".$billingAddress->getData("lastname")) == "") {
191
  $errorMsg .= "Nome do comprador em branco ou inválido!!\n";
192
  }
 
193
  // Validação do CPF do cliente
194
  $number_taxvat = str_replace(" ","",str_replace(".","",str_replace("-","",$quote->getCustomer()->getData("taxvat"))));
 
195
  if($number_taxvat == null){
196
  $number_taxvat = str_replace(" ","",str_replace(".","",str_replace("-","",$billingAddress->getData("taxvat"))));
197
  }
198
  if (preg_match("/[a-zA-Z]/",$number_taxvat)) {
199
  $errorMsg .= "CPF em branco ou inválido!!\n";
200
  }
 
201
  // Validação do email do cliente
202
- if (!filter_var($billingAddress->getData("email"), FILTER_VALIDATE_EMAIL)) {
 
203
  $errorMsg .= "E-mail em branco ou inválido!!\n";
204
  }
205
 
@@ -208,33 +213,54 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
208
  $number_contact = str_replace("(","",$number_contact);
209
  $number_contact = str_replace(")","",$number_contact);
210
  $number_contact = str_replace("-","",$number_contact);
 
211
  if (preg_match('/[a-zA-Z]/',$number_contact)) {
212
  $errorMsg .= "Telefone em branco ou inválido!!\n";
213
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
 
215
  // Verificação se consta o endereço do cliente
 
216
  if (str_replace(" ","",$shippingAddress->getStreet(1)) == "") {
217
  $errorMsg .= "Endereço em branco ou inválido!!\n";
218
  }
219
  // Validação do número do endereço.
 
220
  if (preg_match('/[a-zA-Z]/',$shippingAddress->getStreet(2))) {
221
  $errorMsg .= "Número do endereço em branco ou inválido!!\n";
222
  }
223
  // Verificação se consta o bairro do endereço do cliente
 
224
  if (str_replace(" ","",$shippingAddress->getStreet(4)) == "") {
225
  $errorMsg .= "Bairro em branco ou inválido!!\n";
226
  }
227
  // Verificação se consta o cidade do endereço do cliente
 
228
  if (str_replace(" ","",$shippingAddress->getCity()) == "") {
229
  $errorMsg .= "Cidade em branco ou inválido!!\n";
230
  }
231
  // Validação do número do endereço.
 
232
  if (!preg_match('/[A-Z]{2}$/',$shippingAddress->getRegionCode())) {
233
  if (!preg_match('/[A-Z]{2}$/',$shippingAddress->getRegion())) {
234
  $errorMsg .= "Estado em branco ou inválido!!\n";
235
  }
236
  }
237
  //var_dump($shippingAddress->getRegionCode());
 
238
  $currency_code = $this->getQuote()->getBaseCurrencyCode();
239
  if (!$currency_code){
240
  $session = Mage::getSingleton('adminhtml/session_quote');
@@ -353,24 +379,13 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
353
 
354
  $sArr = array();
355
 
356
- //$number_contact = substr(str_replace(" ","",str_replace("(","",str_replace(")","",str_replace("-","",$a->getTelephone())))),0,2) . substr(str_replace(" ","",str_replace("-","",$a->getTelephone())),-8);
357
- /*if (preg_match('/^0800[0-9]{6,7}$|^0300[0-9]{6,7}$/',$a->getTelephone())) {
358
- $number_contact = str_replace(" ","",$a->getTelephone());
359
- $number_contact = str_replace("(","",$number_contact);
360
- $number_contact = str_replace(")","",$number_contact);
361
- $number_contact = str_replace("-","",$number_contact);
362
- }else{
363
- $number_contact = str_replace(" ","",$a->getTelephone());
364
- $number_contact = str_replace("(","",$number_contact);
365
- $number_contact = str_replace(")","",$number_contact);
366
- $number_contact = str_replace("-","",$number_contact);
367
- //$number_contact = substr($number_contact,0,2) . substr($number_contact,-8);
368
- }*/
369
  $number_contact = str_replace(" ","",$a->getTelephone());
370
  $number_contact = str_replace("(","",$number_contact);
371
  $number_contact = str_replace(")","",$number_contact);
372
  $number_contact = str_replace("-","",$number_contact);
373
 
 
 
374
  if (preg_match('/^[0-9]{2}[5-9]{1}[0-9]{7,8}$/',$number_contact)) {
375
  $type_contact = "M";
376
  }
@@ -389,7 +404,7 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
389
  $sArr['customer[cpf]']= $order->getData("customer_taxvat");
390
  $sArr['customer[contacts][][number_contact]']= $number_contact;
391
  $sArr['customer[contacts][][type_contact]']= $type_contact;
392
- $sArr['customer[email]']= $a->getEmail();
393
 
394
  // Endereço de Entrega
395
  $sArr['customer[addresses][0][type_address]']= "D";
187
  $billingAddress = $quote->getBillingAddress();
188
 
189
  // Verificação se consta o nome vazio do consumidor
190
+ Mage::log('Validate - Name Data: '. $billingAddress->getData("firstname")." ".$billingAddress->getData("lastname"), null, 'traycheckout.log');
191
  if (str_replace(" ","",$billingAddress->getData("firstname")." ".$billingAddress->getData("lastname")) == "") {
192
  $errorMsg .= "Nome do comprador em branco ou inválido!!\n";
193
  }
194
+
195
  // Validação do CPF do cliente
196
  $number_taxvat = str_replace(" ","",str_replace(".","",str_replace("-","",$quote->getCustomer()->getData("taxvat"))));
197
+ Mage::log('Validate - CPF Data: '. $number_taxvat, null, 'traycheckout.log');
198
  if($number_taxvat == null){
199
  $number_taxvat = str_replace(" ","",str_replace(".","",str_replace("-","",$billingAddress->getData("taxvat"))));
200
  }
201
  if (preg_match("/[a-zA-Z]/",$number_taxvat)) {
202
  $errorMsg .= "CPF em branco ou inválido!!\n";
203
  }
204
+
205
  // Validação do email do cliente
206
+ Mage::log('Validate - Email Data: '. $quote->getCustomer()->getEmail(), null, 'traycheckout.log');
207
+ if (!filter_var($quote->getCustomer()->getEmail(), FILTER_VALIDATE_EMAIL)) {
208
  $errorMsg .= "E-mail em branco ou inválido!!\n";
209
  }
210
 
213
  $number_contact = str_replace("(","",$number_contact);
214
  $number_contact = str_replace(")","",$number_contact);
215
  $number_contact = str_replace("-","",$number_contact);
216
+ Mage::log('Validate - Phone Data: '. $number_contact, null, 'traycheckout.log');
217
  if (preg_match('/[a-zA-Z]/',$number_contact)) {
218
  $errorMsg .= "Telefone em branco ou inválido!!\n";
219
  }
220
+ $type_contact = '';
221
+ if (preg_match('/^[0-9]{2}[5-9]{1}[0-9]{7,8}$/',$number_contact)) {
222
+ $type_contact = "M";
223
+ }
224
+ if (preg_match('/^[0-9]{2}[1-6]{1}[0-9]{7}$/',$number_contact)) {
225
+ $type_contact = "H";
226
+ }
227
+ if (preg_match('/^0800[0-9]{6,7}$|^0300[0-9]{6,7}$/',$number_contact)) {
228
+ $type_contact = "W";
229
+ }
230
+ Mage::log('Validate - Type Contact Data: '. $type_contact, null, 'traycheckout.log');
231
+ if ($type_contact == '') {
232
+ $errorMsg .= "Telefone em branco ou inválido!!\n";
233
+ }
234
 
235
  // Verificação se consta o endereço do cliente
236
+ Mage::log('Validate - Street 1 Data: '. $shippingAddress->getStreet(1), null, 'traycheckout.log');
237
  if (str_replace(" ","",$shippingAddress->getStreet(1)) == "") {
238
  $errorMsg .= "Endereço em branco ou inválido!!\n";
239
  }
240
  // Validação do número do endereço.
241
+ Mage::log('Validate - Street 2 Data: '. $shippingAddress->getStreet(2), null, 'traycheckout.log');
242
  if (preg_match('/[a-zA-Z]/',$shippingAddress->getStreet(2))) {
243
  $errorMsg .= "Número do endereço em branco ou inválido!!\n";
244
  }
245
  // Verificação se consta o bairro do endereço do cliente
246
+ Mage::log('Validate - Street 4 Data: '. $shippingAddress->getStreet(4), null, 'traycheckout.log');
247
  if (str_replace(" ","",$shippingAddress->getStreet(4)) == "") {
248
  $errorMsg .= "Bairro em branco ou inválido!!\n";
249
  }
250
  // Verificação se consta o cidade do endereço do cliente
251
+ Mage::log('Validate - City Data: '. $shippingAddress->getCity(), null, 'traycheckout.log');
252
  if (str_replace(" ","",$shippingAddress->getCity()) == "") {
253
  $errorMsg .= "Cidade em branco ou inválido!!\n";
254
  }
255
  // Validação do número do endereço.
256
+ Mage::log('Validate - State Data: '. $shippingAddress->getRegionCode(), null, 'traycheckout.log');
257
  if (!preg_match('/[A-Z]{2}$/',$shippingAddress->getRegionCode())) {
258
  if (!preg_match('/[A-Z]{2}$/',$shippingAddress->getRegion())) {
259
  $errorMsg .= "Estado em branco ou inválido!!\n";
260
  }
261
  }
262
  //var_dump($shippingAddress->getRegionCode());
263
+
264
  $currency_code = $this->getQuote()->getBaseCurrencyCode();
265
  if (!$currency_code){
266
  $session = Mage::getSingleton('adminhtml/session_quote');
379
 
380
  $sArr = array();
381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  $number_contact = str_replace(" ","",$a->getTelephone());
383
  $number_contact = str_replace("(","",$number_contact);
384
  $number_contact = str_replace(")","",$number_contact);
385
  $number_contact = str_replace("-","",$number_contact);
386
 
387
+ $type_contact = "H";
388
+
389
  if (preg_match('/^[0-9]{2}[5-9]{1}[0-9]{7,8}$/',$number_contact)) {
390
  $type_contact = "M";
391
  }
404
  $sArr['customer[cpf]']= $order->getData("customer_taxvat");
405
  $sArr['customer[contacts][][number_contact]']= $number_contact;
406
  $sArr['customer[contacts][][type_contact]']= $type_contact;
407
+ $sArr['customer[email]']= $order->getData("customer_email");
408
 
409
  // Endereço de Entrega
410
  $sArr['customer[addresses][0][type_address]']= "D";
app/code/community/Tray/CheckoutApi/etc/config.xml CHANGED
@@ -21,7 +21,7 @@
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
- <version>0.5.0</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
+ <version>0.6.0</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
app/design/frontend/base/default/layout/tray_checkoutapi.xml CHANGED
@@ -18,7 +18,7 @@
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  -->
21
- <layout version="0.5.0">
22
  <checkoutapi_standard_payment>
23
  <reference nam0.1.0e="head">
24
  <action method="addCss">
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  -->
21
+ <layout version="0.6.0">
22
  <checkoutapi_standard_payment>
23
  <reference nam0.1.0e="head">
24
  <action method="addCss">
app/design/frontend/base/default/template/tray/checkoutapi/form/standard.phtml CHANGED
@@ -114,11 +114,18 @@
114
  <?php
115
  foreach ($tcPaymentMethods as $idTcPayment){
116
  $displayCcInfo = "none";
 
117
  if(!in_array($idTcPayment, array("6","7","14","22","23"))){
 
 
 
118
  $displayCcInfo = "block";
119
  }
 
 
 
120
  ?>
121
- <li class="tcPaymentMethod">
122
  <input type="radio" name="tcPaymentMethodR" value="<?php echo $idTcPayment;?>" onclick="document.getElementById('tcPaymentMethod').value = this.value; document.getElementById('displayCcInfo').style.display = '<?php echo $displayCcInfo;?>'"/>
123
  <span class="tcPaymentFlag tcPaymentFlag<?php echo $idTcPayment;?>">
124
  &nbsp;
114
  <?php
115
  foreach ($tcPaymentMethods as $idTcPayment){
116
  $displayCcInfo = "none";
117
+ $displayPaymentMethod = "block";
118
  if(!in_array($idTcPayment, array("6","7","14","22","23"))){
119
+ if(floatval($totals->grand_total) < 10 ){
120
+ $displayPaymentMethod = "none";
121
+ }
122
  $displayCcInfo = "block";
123
  }
124
+ if(floatval($totals->grand_total) < 1 ){
125
+ $displayPaymentMethod = "none";
126
+ }
127
  ?>
128
+ <li class="tcPaymentMethod" style="display: <?php echo $displayPaymentMethod;?>;">
129
  <input type="radio" name="tcPaymentMethodR" value="<?php echo $idTcPayment;?>" onclick="document.getElementById('tcPaymentMethod').value = this.value; document.getElementById('displayCcInfo').style.display = '<?php echo $displayCcInfo;?>'"/>
130
  <span class="tcPaymentFlag tcPaymentFlag<?php echo $idTcPayment;?>">
131
  &nbsp;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutApi</name>
4
- <version>0.5.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -36,11 +36,16 @@ Vers&#xE3;o 0.4.0&#xD;
36
  &#xD;
37
  Vers&#xE3;o 0.5.0&#xD;
38
  &#xD;
39
- - Melhorias no c&#xF3;digo de integra&#xE7;&#xE3;o com o TrayCheckout</notes>
 
 
 
 
 
40
  <authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
41
- <date>2014-04-17</date>
42
- <time>17:58:28</time>
43
- <contents><target name="magecommunity"><dir name="Tray"><dir name="CheckoutApi"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="6eb581cddd1fb9380930da38e4404f5e"/></dir></dir></dir></dir><file name="Error.php" hash="a3a8aa9edb5c7718b7941e85421f0aa2"/><dir name="Form"><file name="Standard.php" hash="9b9e7680574c74571bf6c4286fc4dcf7"/></dir><dir name="Info"><file name="Standard.php" hash="e383d51eaaa9a0afd82a1ec60024e752"/></dir><file name="Link.php" hash="06ad7cb8eb1a52c7f130caacc0921657"/><file name="Payment.php" hash="510b6812989a04fba29af78d2fd97c5e"/><file name="Return.php" hash="6b5700113c184160ee447d1c6116b1c0"/></dir><dir name="Helper"><file name="Adress.php" hash="6064f62a723b2075290964e3e980d92b"/><file name="Data.php" hash="9a1da0d7564539c0b2fc307fc815b4ea"/></dir><dir name="Model"><file name="Config.php" hash="7377296737b655ad3c01b3ae6081b507"/><dir name="Mysql4"><file name="Setup.php" hash="8a42c69f5c1a1be59d99985982a3703b"/></dir><file name="Observer.php" hash="059a8bfe166f862477127c8b7b63afad"/><dir name="Source"><file name="Country.php" hash="153d0153071b72f23ac2a1c4fee93c24"/><file name="Paymentmethods.php" hash="e19dc6aa0d7846fb4358bf11c18ba6ce"/><file name="Qtdsplit.php" hash="1273ee53626482898aefd7a3d31ebaea"/><file name="Specificcountries.php" hash="e41658287e6c68041d3f0042130f7db3"/></dir><file name="Standard.php" hash="2cd9477d2ca1bfed4d6a5a3fbb261bf6"/></dir><dir name="controllers"><file name="StandardController.php" hash="d6f7b6ffaf604dc95554fc889bcd4376"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2b0114a2ffbce1930787f7a4e20ce73b"/><file name="config.xml" hash="f809944d01f810bb963b21a4dc0199a3"/><file name="system.xml" hash="3948c445ded660c565540836f3063d2c"/></dir><dir name="sql"><dir name="checkoutapi_setup"><file name="mysql4-install-0.1.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-0.2.0.php" hash="bb4ecef6ed4cb724d3fd505ad36acc4d"/><file name="mysql4-install-0.3.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-0.4.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="1020462cfb124528fb590922eadfb74a"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="1020462cfb124528fb590922eadfb74a"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="1020462cfb124528fb590922eadfb74a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutapi"><file name="error.phtml" hash="9e07c1164917e9118c3b21d5bf8c864b"/><dir name="form"><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir><file name="standard.phtml" hash="54d2ee862308188506ce9a881a971de7"/></dir><file name="head.phtml" hash="750d167a7a10ef1f56a73262f918dca5"/><dir name="info"><file name="standard.phtml" hash="ba1bbd8cc8504bd299aa36df42c61f2a"/></dir><file name="overlay.phtml" hash="d4ee4dbb85f9a7a350c6e8d5f59a9978"/><file name="payment.phtml" hash="a19bd7e8e7ec695e15a96deeccd85c57"/><file name="return.phtml" hash="47d5e3e1c3bda47721573e9639a54ca6"/></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="c3bd42193f2dae77837b7ce8f5b4a24a"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutapi"><dir name="form"><file name="standard.phtml" hash="9abb8cb909140d1af4cdd6afb5b5d7f5"/></dir><file name="getbaseurl.phtml" hash="05fba34637bc8da3958d1342f54c0ed4"/><dir name="info"><file name="standard.phtml" hash="1e9ba28c30b9a88c3fd6a53420ae8419"/></dir></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="5b288e1243541c19aad017941544e5a5"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="tray"><dir name="checkoutapi"><dir name="css"><file name="styles.css" hash="5d09463e234fd2f20622f63795019be6"/></dir><dir name="images"><file name="BannerTrayCheckout890px.png" hash="535d5a4a4f190d03df38664dcb6463f8"/><file name="banner_comlogo_formas.jpg" hash="e02a16c32109746786c24db177ddad3a"/><file name="banner_semlogo_formas.jpg" hash="4f13591f17ed96347f136eab09343121"/><file name="banner_semlogo_formas.png" hash="84a82c3d7ed9a42ade9660b8dd16511d"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/><file name="paymentFlags1.png" hash="2a1724b718bf2ff7a1b25b53acc0cefd"/><file name="paymentFlagsTc.png" hash="6dd7df4802b30ea61b96ad5752bab4ed"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="tray"><dir name="checkoutapi"><dir name="css"><file name="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="1d9d374cad719e27ffa6a78f1239c63a"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tray_CheckoutApi.xml" hash="c95a8f82fd3200b98898f0b9712ea0c8"/></dir></target></contents>
44
  <compatible/>
45
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.7</max></package></required></dependencies>
46
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutApi</name>
4
+ <version>0.6.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
36
  &#xD;
37
  Vers&#xE3;o 0.5.0&#xD;
38
  &#xD;
39
+ - Melhorias no c&#xF3;digo de integra&#xE7;&#xE3;o com o TrayCheckout&#xD;
40
+ &#xD;
41
+ Vers&#xE3;o 0.6.0&#xD;
42
+ &#xD;
43
+ - Melhorias na exibi&#xE7;&#xE3;o das bandeiras de cart&#xE3;o de cr&#xE9;dito&#xD;
44
+ - Melhorias na exibi&#xE7;&#xE3;o dos dados de parcelamento</notes>
45
  <authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
46
+ <date>2014-05-23</date>
47
+ <time>19:06:00</time>
48
+ <contents><target name="magecommunity"><dir name="Tray"><dir name="CheckoutApi"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="6eb581cddd1fb9380930da38e4404f5e"/></dir></dir></dir></dir><file name="Error.php" hash="a3a8aa9edb5c7718b7941e85421f0aa2"/><dir name="Form"><file name="Standard.php" hash="02612595b4e9d19ccf458cc072d9cf52"/></dir><dir name="Info"><file name="Standard.php" hash="e383d51eaaa9a0afd82a1ec60024e752"/></dir><file name="Link.php" hash="06ad7cb8eb1a52c7f130caacc0921657"/><file name="Payment.php" hash="510b6812989a04fba29af78d2fd97c5e"/><file name="Return.php" hash="6b5700113c184160ee447d1c6116b1c0"/></dir><dir name="Helper"><file name="Adress.php" hash="6064f62a723b2075290964e3e980d92b"/><file name="Data.php" hash="9a1da0d7564539c0b2fc307fc815b4ea"/></dir><dir name="Model"><file name="Config.php" hash="7377296737b655ad3c01b3ae6081b507"/><dir name="Mysql4"><file name="Setup.php" hash="8a42c69f5c1a1be59d99985982a3703b"/></dir><file name="Observer.php" hash="059a8bfe166f862477127c8b7b63afad"/><dir name="Source"><file name="Country.php" hash="153d0153071b72f23ac2a1c4fee93c24"/><file name="Paymentmethods.php" hash="e19dc6aa0d7846fb4358bf11c18ba6ce"/><file name="Qtdsplit.php" hash="1273ee53626482898aefd7a3d31ebaea"/><file name="Specificcountries.php" hash="e41658287e6c68041d3f0042130f7db3"/></dir><file name="Standard.php" hash="563e87e267e445a924a8a495a0881ed5"/></dir><dir name="controllers"><file name="StandardController.php" hash="d6f7b6ffaf604dc95554fc889bcd4376"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2b0114a2ffbce1930787f7a4e20ce73b"/><file name="config.xml" hash="ed4d08dba68791d18dfe23acb83ac23b"/><file name="system.xml" hash="3948c445ded660c565540836f3063d2c"/></dir><dir name="sql"><dir name="checkoutapi_setup"><file name="mysql4-install-0.1.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-0.2.0.php" hash="bb4ecef6ed4cb724d3fd505ad36acc4d"/><file name="mysql4-install-0.3.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-0.4.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="1020462cfb124528fb590922eadfb74a"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="1020462cfb124528fb590922eadfb74a"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="1020462cfb124528fb590922eadfb74a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutapi"><file name="error.phtml" hash="9e07c1164917e9118c3b21d5bf8c864b"/><dir name="form"><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir><file name="standard.phtml" hash="a0058214c73926923a4102f76632f394"/></dir><file name="head.phtml" hash="750d167a7a10ef1f56a73262f918dca5"/><dir name="info"><file name="standard.phtml" hash="ba1bbd8cc8504bd299aa36df42c61f2a"/></dir><file name="overlay.phtml" hash="d4ee4dbb85f9a7a350c6e8d5f59a9978"/><file name="payment.phtml" hash="a19bd7e8e7ec695e15a96deeccd85c57"/><file name="return.phtml" hash="47d5e3e1c3bda47721573e9639a54ca6"/></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="0bd51de3db391644c860d4cc44607b80"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutapi"><dir name="form"><file name="standard.phtml" hash="9abb8cb909140d1af4cdd6afb5b5d7f5"/></dir><file name="getbaseurl.phtml" hash="05fba34637bc8da3958d1342f54c0ed4"/><dir name="info"><file name="standard.phtml" hash="1e9ba28c30b9a88c3fd6a53420ae8419"/></dir></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="5b288e1243541c19aad017941544e5a5"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="tray"><dir name="checkoutapi"><dir name="css"><file name="styles.css" hash="5d09463e234fd2f20622f63795019be6"/></dir><dir name="images"><file name="BannerTrayCheckout890px.png" hash="535d5a4a4f190d03df38664dcb6463f8"/><file name="banner_comlogo_formas.jpg" hash="e02a16c32109746786c24db177ddad3a"/><file name="banner_semlogo_formas.jpg" hash="4f13591f17ed96347f136eab09343121"/><file name="banner_semlogo_formas.png" hash="84a82c3d7ed9a42ade9660b8dd16511d"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/><file name="paymentFlags1.png" hash="2a1724b718bf2ff7a1b25b53acc0cefd"/><file name="paymentFlagsTc.png" hash="6dd7df4802b30ea61b96ad5752bab4ed"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="tray"><dir name="checkoutapi"><dir name="css"><file name="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="1d9d374cad719e27ffa6a78f1239c63a"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tray_CheckoutApi.xml" hash="c95a8f82fd3200b98898f0b9712ea0c8"/></dir></target></contents>
49
  <compatible/>
50
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.7</max></package></required></dependencies>
51
  </package>