Tray_CheckoutApi - Version 0.2.0

Version Notes

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

Download this release

Release Info

Developer TrayCheckout
Extension Tray_CheckoutApi
Version 0.2.0
Comparing to
See all releases


Code changes from version 0.1.0 to 0.2.0

app/code/community/Tray/CheckoutApi/Block/Payment.php CHANGED
@@ -60,7 +60,7 @@ class Tray_CheckoutApi_Block_Payment extends Mage_Core_Block_Template
60
  $response = $standard->getTrayCheckoutRequest("/v2/transactions/pay_complete",$standard->getCheckoutFormFields());
61
 
62
  $xml = simplexml_load_string($response);
63
- $this->order_number = $xml->data_response->transaction->order_number;
64
  $this->transaction_id = $xml->data_response->transaction->transaction_id;
65
  $this->url_payment = $xml->data_response->transaction->payment->url_payment;
66
  $this->typeful_line = $xml->data_response->transaction->payment->linha_digitavel;
60
  $response = $standard->getTrayCheckoutRequest("/v2/transactions/pay_complete",$standard->getCheckoutFormFields());
61
 
62
  $xml = simplexml_load_string($response);
63
+ $this->order_number = str_replace($standard->getConfigData('prefixo'),'',$xml->data_response->transaction->order_number);
64
  $this->transaction_id = $xml->data_response->transaction->transaction_id;
65
  $this->url_payment = $xml->data_response->transaction->payment->url_payment;
66
  $this->typeful_line = $xml->data_response->transaction->payment->linha_digitavel;
app/code/community/Tray/CheckoutApi/Block/Redirect_D.php DELETED
@@ -1,78 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to suporte@tray.net.br so we can send you a copy immediately.
14
- *
15
- * @category Tray
16
- * @package Tray_CheckoutApi
17
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
- */
19
-
20
- class Tray_CheckoutApi_Block_Redirect extends Mage_Core_Block_Abstract
21
- {
22
-
23
- protected function _toHtml()
24
- {
25
- $standard = Mage::getModel('checkoutapi/'.$this->getRequest()->getParam("type"));
26
-
27
- $form = new Varien_Data_Form();
28
-
29
- $form->setAction($standard->getCheckoutApiUrl())
30
- ->setId('checkoutapi_payment_checkout')
31
- ->setName('checkoutapi_payment_checkout')
32
- ->setMethod('POST')
33
- ->setUseContainer(true);
34
-
35
- $xx= 0;
36
- foreach ($standard->getCheckoutFormFields() as $field => $value)
37
- {
38
- if($field =="transaction_products"){
39
- $xx= $value;
40
- }
41
- $form->addField($field, 'hidden', array('name' => $field, 'value' => $value));
42
- }
43
-
44
- $xhtml = $form->toHtml();
45
- for($yy=0; $yy< $xx; $yy++){
46
- $xhtml = str_replace("transaction_product[$yy]", "transaction_product[]", $xhtml);
47
- }
48
-
49
- $html = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
50
- $html .= '<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-BR">';
51
- $html .= '<head>';
52
- $html .= '<meta http-equiv="Content-Language" content="pt-br" />';
53
- $html .= '<meta name="language" content="pt-br" />';
54
- $html .= '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head>';
55
- $html .= '<body>';
56
- $html .= '<div align="center">';
57
- $html .= '<font size="4">Sua compra está em processo de finalização.<br /><br />';
58
- $html .= ''.$this->__('Aguarde ... você será redirecionado para o TrayCheckout em <span id="tempo">5</span> segundos.</font>');
59
- $html .= '<div>';
60
- $html .=$xhtml;
61
- $html .= '<script type="text/javascript">
62
- function setTempo(){
63
- var tempo = eval(document.getElementById("tempo").innerHTML);
64
- if (tempo - 1 < 0){
65
- document.getElementById("checkoutapi_payment_checkout").submit();
66
- }else{
67
- document.getElementById("tempo").innerHTML = tempo - 1;
68
- setTimeout("setTempo()",1000);
69
- }
70
-
71
- }
72
- setTimeout("setTempo()",1000);
73
- </script>';
74
- $html .= '</body></html>';
75
-
76
- return utf8_decode($html);
77
- }
78
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Tray/CheckoutApi/Model/Standard.php CHANGED
@@ -202,11 +202,16 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
202
  if (!filter_var($billingAddress->getData("email"), FILTER_VALIDATE_EMAIL)) {
203
  $errorMsg .= "E-mail em branco ou inválido!!\n";
204
  }
 
205
  // Validação do telefone do cliente
206
- $number_contact = substr(str_replace(" ","",str_replace("(","",str_replace(")","",str_replace("-","",$shippingAddress->getTelephone())))),0,2) . substr(str_replace(" ","",str_replace("-","",$shippingAddress->getTelephone())),-8);
 
 
 
207
  if (preg_match('/[a-zA-Z]/',$number_contact)) {
208
  $errorMsg .= "Telefone em branco ou inválido!!\n";
209
  }
 
210
  // Verificação se consta o endereço do cliente
211
  if (str_replace(" ","",$shippingAddress->getStreet(1)) == "") {
212
  $errorMsg .= "Endereço em branco ou inválido!!\n";
@@ -347,15 +352,42 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
347
  $shipping_description = $order->getData('shipping_description');
348
 
349
  $sArr = array();
350
- $number_contact = substr(str_replace(" ","",str_replace("(","",str_replace(")","",str_replace("-","",$a->getTelephone())))),0,2) . substr(str_replace(" ","",str_replace("-","",$a->getTelephone())),-8);
351
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
352
  $sArr['token_account']= $this->getConfigData('token');
353
  $sArr['transaction[order_number]']= $this->getConfigData('prefixo').$orderIncrementId;
354
 
355
  $sArr['customer[name]']= $order->getData("customer_firstname") . ' ' . str_replace("(pj)", "", $order->getData("customer_lastname"));
356
  $sArr['customer[cpf]']= $order->getData("customer_taxvat");
357
  $sArr['customer[contacts][][number_contact]']= $number_contact;
358
- $sArr['customer[contacts][][type_contact]']= "H";
359
  $sArr['customer[email]']= $a->getEmail();
360
 
361
  // Endereço de Entrega
@@ -514,8 +546,8 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
514
  }
515
 
516
  function updateTransactionTrayCheckout($transactionTc){
517
-
518
- $order = Mage::getModel('sales/order')->loadByIncrementId($transactionTc->order_number);
519
  $quote = Mage::getModel('sales/quote')->load($order->getData("quote_id"));
520
 
521
  $quote->getPayment()->setData("traycheckout_transaction_id", $transactionTc->transaction_id);
202
  if (!filter_var($billingAddress->getData("email"), FILTER_VALIDATE_EMAIL)) {
203
  $errorMsg .= "E-mail em branco ou inválido!!\n";
204
  }
205
+
206
  // Validação do telefone do cliente
207
+ $number_contact = str_replace(" ","",$shippingAddress->getTelephone());
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";
352
  $shipping_description = $order->getData('shipping_description');
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
+ }
377
+ if (preg_match('/^[0-9]{2}[1-6]{1}[0-9]{7}$/',$number_contact)) {
378
+ $type_contact = "H";
379
+ }
380
+ if (preg_match('/^0800[0-9]{6,7}$|^0300[0-9]{6,7}$/',$number_contact)) {
381
+ $type_contact = "W";
382
+ }
383
+
384
  $sArr['token_account']= $this->getConfigData('token');
385
  $sArr['transaction[order_number]']= $this->getConfigData('prefixo').$orderIncrementId;
386
 
387
  $sArr['customer[name]']= $order->getData("customer_firstname") . ' ' . str_replace("(pj)", "", $order->getData("customer_lastname"));
388
  $sArr['customer[cpf]']= $order->getData("customer_taxvat");
389
  $sArr['customer[contacts][][number_contact]']= $number_contact;
390
+ $sArr['customer[contacts][][type_contact]']= $type_contact;
391
  $sArr['customer[email]']= $a->getEmail();
392
 
393
  // Endereço de Entrega
546
  }
547
 
548
  function updateTransactionTrayCheckout($transactionTc){
549
+
550
+ $order = Mage::getModel('sales/order')->loadByIncrementId(str_replace($this->getConfigData('prefixo'),'',$transactionTc->order_number));
551
  $quote = Mage::getModel('sales/quote')->load($order->getData("quote_id"));
552
 
553
  $quote->getPayment()->setData("traycheckout_transaction_id", $transactionTc->transaction_id);
app/code/community/Tray/CheckoutApi/etc/config.xml CHANGED
@@ -21,7 +21,7 @@
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
- <version>0.1.0</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
+ <version>0.2.0</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.2.0.php ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to suporte@tray.net.br so we can send you a copy immediately.
14
+ *
15
+ * @category Tray
16
+ * @package Tray_CheckoutApi
17
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
+ */
19
+
20
+ /** @var $installer Mage_Paypal_Model_Resource_Setup */
21
+ $installer = $this;
22
+
23
+ /**
24
+ * Prepare database for install
25
+ */
26
+ $installer->startSetup();
27
+
28
+ /**
29
+ * Add paypal attributes to the:
30
+ * - sales/flat_quote_payment_item table
31
+ * - sales/flat_order table
32
+ */
33
+ //$installer->addAttribute('quote_payment', 'traycheckout_transaction_id', array());
34
+ //$installer->addAttribute('quote_payment', 'traycheckout_split_number', array());
35
+ //$installer->addAttribute('quote_payment', 'traycheckout_split_value', array());
36
+ //$installer->addAttribute('quote_payment', 'traycheckout_token_transaction', array());
37
+ //$installer->addAttribute('quote_payment', 'traycheckout_url_payment', array());
38
+ //$installer->addAttribute('quote_payment', 'traycheckout_typeful_line', array());
39
+
40
+
41
+ $installer->run("
42
+ ALTER TABLE {$this->getTable('sales_flat_quote_payment')} ADD `traycheckout_transaction_id` VARCHAR( 255 ) NULL DEFAULT NULL;
43
+ ALTER TABLE {$this->getTable('sales_flat_quote_payment')} ADD `traycheckout_split_number` VARCHAR( 255 ) NULL DEFAULT NULL;
44
+ ALTER TABLE {$this->getTable('sales_flat_quote_payment')} ADD `traycheckout_split_value` VARCHAR( 255 ) NULL DEFAULT NULL;
45
+ ALTER TABLE {$this->getTable('sales_flat_quote_payment')} ADD `traycheckout_token_transaction` VARCHAR( 255 ) NULL DEFAULT NULL;
46
+ ALTER TABLE {$this->getTable('sales_flat_quote_payment')} ADD `traycheckout_url_payment` VARCHAR( 255 ) NULL DEFAULT NULL;
47
+ ALTER TABLE {$this->getTable('sales_flat_quote_payment')} ADD `traycheckout_typeful_line` VARCHAR( 255 ) NULL DEFAULT NULL;
48
+
49
+ ALTER TABLE {$this->getTable('sales_flat_order_payment')} ADD `traycheckout_transaction_id` VARCHAR( 255 ) NULL DEFAULT NULL;
50
+ ALTER TABLE {$this->getTable('sales_flat_order_payment')} ADD `traycheckout_split_number` VARCHAR( 255 ) NULL DEFAULT NULL;
51
+ ALTER TABLE {$this->getTable('sales_flat_order_payment')} ADD `traycheckout_split_value` VARCHAR( 255 ) NULL DEFAULT NULL;
52
+ ALTER TABLE {$this->getTable('sales_flat_order_payment')} ADD `traycheckout_token_transaction` VARCHAR( 255 ) NULL DEFAULT NULL;
53
+ ALTER TABLE {$this->getTable('sales_flat_order_payment')} ADD `traycheckout_url_payment` VARCHAR( 255 ) NULL DEFAULT NULL;
54
+ ALTER TABLE {$this->getTable('sales_flat_order_payment')} ADD `traycheckout_typeful_line` VARCHAR( 255 ) NULL DEFAULT NULL;
55
+ ");
56
+ /**
57
+ * Prepare database after install
58
+ */
59
+
60
+ $installer->endSetup();
app/code/community/Tray/CheckoutApi/{Model/Geral_D.php → sql/checkoutapi_setup/mysql4-upgrade-0.1.0-0.2.0.php} RENAMED
@@ -1,34 +1,20 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to suporte@tray.net.br so we can send you a copy immediately.
14
- *
15
- * @category Tray
16
- * @package Tray_CheckoutApi
17
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
- */
19
-
20
- class Tray_CheckoutApi_Model_Standard extends Tray_CheckoutApi_Model_Standard
21
- {
22
- protected $_code = 'checkoutapi_standard';
23
-
24
- protected $_formBlockType = 'checkoutapi/form_standard';
25
-
26
- protected $_blockType = 'checkoutapi/standard';
27
-
28
- protected $_infoBlockType = 'checkoutapi/info_standard';
29
-
30
- public function getOrderPlaceRedirectUrl()
31
- {
32
- return Mage::getUrl('checkoutapi/standard/payment', array('_secure' => true, 'type' => 'standard'));
33
- }
34
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to suporte@tray.net.br so we can send you a copy immediately.
14
+ *
15
+ * @category Tray
16
+ * @package Tray_CheckoutApi
17
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
+ */
19
+ $installer = $this;
20
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/template/tray/{checkoutredir → checkoutapi}/form/standard.phtml RENAMED
File without changes
app/design/adminhtml/default/default/template/tray/{checkoutredir → checkoutapi}/getbaseurl.phtml RENAMED
File without changes
app/design/adminhtml/default/default/template/tray/{checkoutredir → checkoutapi}/info/standard.phtml RENAMED
File without changes
app/design/frontend/base/default/layout/tray_checkoutapi.xml CHANGED
@@ -18,9 +18,9 @@
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  -->
21
- <layout version="0.1.0">
22
  <checkoutapi_standard_payment>
23
- <reference name="head">
24
  <action method="addCss">
25
  <stylesheet>tray/checkoutapi/css/styles.css</stylesheet>
26
  </action>
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  -->
21
+ <layout version="0.2.0">
22
  <checkoutapi_standard_payment>
23
+ <reference nam0.1.0e="head">
24
  <action method="addCss">
25
  <stylesheet>tray/checkoutapi/css/styles.css</stylesheet>
26
  </action>
package.xml CHANGED
@@ -1,18 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutApi</name>
4
- <version>0.1.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>
8
  <extends/>
9
  <summary>Extens&#xE3;o Tray Checkout API para Magento</summary>
10
  <description>O TrayCheckout &#xE9; um facilitador de pagamento que oferece benef&#xED;cios aos lojistas e aos compradores. Focado em praticidade e convers&#xE3;o, possibilita que as lojas virtuais ofere&#xE7;am diversas formas de pagamento, sem burocracia ou necessidade de contrato com operadoras financeiras.</description>
11
- <notes>Primeira vers&#xE3;o liberada no Magento Connect</notes>
 
12
  <authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
13
- <date>2014-01-13</date>
14
- <time>12:30:14</time>
15
- <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="8e6f1b128ebbb58f381bd8d169bddd44"/></dir><dir name="Info"><file name="Standard.php" hash="e383d51eaaa9a0afd82a1ec60024e752"/></dir><file name="Link.php" hash="06ad7cb8eb1a52c7f130caacc0921657"/><file name="Payment.php" hash="889bd2a45399c30470523c4472e3417b"/><file name="Redirect_D.php" hash="5500cadf24369462c8deaeb03deefb64"/><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"/><file name="Geral_D.php" hash="bf4cfa5e87c591a5b11e4b01465ab707"/><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="e7601ed73af5638c13f0d20ac9cd80d7"/></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="a1e5911b7b18b2c0ee86903c2144bba8"/><file name="system.xml" hash="3948c445ded660c565540836f3063d2c"/></dir><dir name="sql"><dir name="checkoutapi_setup"><file name="mysql4-install-0.1.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/></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="a8c98d02dc6be894803e1957d1422b79"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutredir"><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>
16
  <compatible/>
17
  <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.8</max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutApi</name>
4
+ <version>0.2.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>
8
  <extends/>
9
  <summary>Extens&#xE3;o Tray Checkout API para Magento</summary>
10
  <description>O TrayCheckout &#xE9; um facilitador de pagamento que oferece benef&#xED;cios aos lojistas e aos compradores. Focado em praticidade e convers&#xE3;o, possibilita que as lojas virtuais ofere&#xE7;am diversas formas de pagamento, sem burocracia ou necessidade de contrato com operadoras financeiras.</description>
11
+ <notes>- Corre&#xE7;&#xE3;o no envio do n&#xFA;mero de telefone.&#xD;
12
+ - Melhorias no envio dos dados.</notes>
13
  <authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
14
+ <date>2014-04-01</date>
15
+ <time>20:05:42</time>
16
+ <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="8e6f1b128ebbb58f381bd8d169bddd44"/></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="5f22448aa5b97e6702e33d2599595e7e"/></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="9561ec361cc7692e9909fe737e9f9c62"/><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-upgrade-0.1.0-0.2.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="51720760c1d09ea8c137839e652423f0"/></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>
17
  <compatible/>
18
  <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.8</max></package></required></dependencies>
19
  </package>