Tray_CheckoutApi - Version 0.3.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.

Download this release

Release Info

Developer TrayCheckout
Extension Tray_CheckoutApi
Version 0.3.0
Comparing to
See all releases


Code changes from version 0.2.0 to 0.3.0

app/code/community/Tray/CheckoutApi/Block/Form/Standard.php CHANGED
@@ -76,7 +76,7 @@ class Tray_CheckoutApi_Block_Form_Standard extends Mage_Payment_Block_Form
76
 
77
  $params = preg_replace("/splits\%5B\d+\%5D/","splits%5B%5D", http_build_query($params));
78
 
79
- $tcResponse = simplexml_load_string($tcStandard->getTrayCheckoutRequest("/api/seller_splits/simulate_split",$params));
80
  $splitSimulate = array(""=>'Parcela(s)');
81
 
82
  for($iTc = 0; $iTc < (int)$tcStandard->getConfigData('tcQtdSplit'); $iTc++){
76
 
77
  $params = preg_replace("/splits\%5B\d+\%5D/","splits%5B%5D", http_build_query($params));
78
 
79
+ $tcResponse = simplexml_load_string($tcStandard->getTrayCheckoutRequest("/edge/seller_splits/simulate_split",$params));
80
  $splitSimulate = array(""=>'Parcela(s)');
81
 
82
  for($iTc = 0; $iTc < (int)$tcStandard->getConfigData('tcQtdSplit'); $iTc++){
app/code/community/Tray/CheckoutApi/Model/Standard.php CHANGED
@@ -436,7 +436,7 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
436
  $sArr['transaction[url_notification]'] = Mage::getUrl('checkoutapi/standard/success', array('_secure' => true, 'type' => 'standard'));
437
 
438
  $sArr['payment[payment_method_id]'] = $order->getPayment()->getData('cc_type');
439
- $sArr['payment[split]'] = ($order->getPayment()->getData('traycheckout_split_number') == NULL ? '1' : $order->getPayment()->getData('traycheckout_split_number'));
440
  $sArr['payment[card_name]'] = $order->getPayment()->getData('cc_owner');
441
  $sArr['payment[card_number]'] = $this->decrypt($order->getPayment()->getData('cc_number_enc'));
442
  $sArr['payment[card_expdate_month]'] = $order->getPayment()->getData('cc_exp_month');
@@ -509,30 +509,50 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
509
 
510
  public function getTrayCheckoutRequest($url = "", $params = "")
511
  {
 
512
  $ch = curl_init ( $this->getTrayCheckoutUrl().$url );
513
-
 
 
 
 
 
 
514
  curl_setopt ( $ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1 );
515
  curl_setopt ( $ch, CURLOPT_POST, 1 );
516
  curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, 1 );
517
  curl_setopt ( $ch, CURLOPT_POSTFIELDS, $params);
518
- curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, 1 );
519
- curl_setopt ( $ch, CURLOPT_SSL_VERIFYHOST, 2 );
520
- curl_setopt ( $ch, CURLOPT_FORBID_REUSE, 1 );
521
- curl_setopt ( $ch, CURLOPT_HTTPHEADER, array ('Connection: Close' ) );
522
 
523
- if (! ($res = curl_exec ( $ch ))) {
 
 
 
 
 
 
 
 
524
  Mage::app()->getResponse()->setRedirect('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode(utf8_encode("Erro de execução!")),'codigo' => urlencode("999")))->sendResponse();
525
- echo "Erro na execucao!";
526
- curl_close ( $ch );
527
- exit ();
528
  }
 
 
529
  $httpCode = curl_getinfo ( $ch, CURLINFO_HTTP_CODE );
530
-
531
  if ($httpCode != "200") {
 
532
  http::httpError("Erro de requisicao em: $urlPost");
533
  Mage::app()->getResponse()->setRedirect('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode(utf8_encode("Erro ao conectar em: $url")),'codigo' => urlencode($httpCode)))->sendResponse();
534
  }
 
535
  if(curl_errno($ch)){
 
536
  http::httpError("Erro de conexão: " . curl_error($ch));
537
  Mage::app()->getResponse()->setRedirect('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode(utf8_encode("Erro de conexão: " . curl_error($ch))),'codigo' => urlencode($httpCode)))->sendResponse();
538
  }
@@ -540,13 +560,16 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
540
 
541
  if($this->hasErrorTrayCheckout($res)){
542
  Mage::app()->getResponse()->setRedirect(Mage::getModel('core/url')->getUrl('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode($this->getErrorMessageTrayCheckout()),'codigo' => urlencode($this->getErrorCodeTrayCheckout()),'type' => $this->getTypeErrorTrayCheckout())))->sendResponse();
543
- exit;
544
- }
 
 
 
545
  return $res;
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
 
436
  $sArr['transaction[url_notification]'] = Mage::getUrl('checkoutapi/standard/success', array('_secure' => true, 'type' => 'standard'));
437
 
438
  $sArr['payment[payment_method_id]'] = $order->getPayment()->getData('cc_type');
439
+ $sArr['payment[split]'] = (($order->getPayment()->getData('traycheckout_split_number') == NULL)|| ($order->getPayment()->getData('traycheckout_split_number') == '0') ? '1' : $order->getPayment()->getData('traycheckout_split_number'));
440
  $sArr['payment[card_name]'] = $order->getPayment()->getData('cc_owner');
441
  $sArr['payment[card_number]'] = $this->decrypt($order->getPayment()->getData('cc_number_enc'));
442
  $sArr['payment[card_expdate_month]'] = $order->getPayment()->getData('cc_exp_month');
509
 
510
  public function getTrayCheckoutRequest($url = "", $params = "")
511
  {
512
+ Mage::log('URL de Request: '.$this->getTrayCheckoutUrl().$url, null, 'traycheckout.log');
513
  $ch = curl_init ( $this->getTrayCheckoutUrl().$url );
514
+
515
+ if(is_array($params)){
516
+ Mage::log('Data: '. http_build_query($params), null, 'traycheckout.log');
517
+ }else{
518
+ Mage::log('Data: '. $params, null, 'traycheckout.log');
519
+ }
520
+
521
  curl_setopt ( $ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1 );
522
  curl_setopt ( $ch, CURLOPT_POST, 1 );
523
  curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, 1 );
524
  curl_setopt ( $ch, CURLOPT_POSTFIELDS, $params);
525
+ curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, FALSE );
526
+ curl_setopt ( $ch, CURLOPT_SSL_VERIFYHOST, FALSE );
527
+ //curl_setopt ( $ch, CURLOPT_FORBID_REUSE, 1 );
528
+ //curl_setopt ( $ch, CURLOPT_HTTPHEADER, array ('Connection: Close' ) );
529
 
530
+
531
+ if (!($res = curl_exec($ch))) {
532
+ Mage::log('Error: Erro na execucao! ', null, 'traycheckout.log');
533
+ if(curl_errno($ch)){
534
+ Mage::log('Error '.curl_errno($ch).': '. curl_error($ch), null, 'traycheckout.log');
535
+ }else{
536
+ Mage::log('Error : '. curl_error($ch), null, 'traycheckout.log');
537
+ }
538
+
539
  Mage::app()->getResponse()->setRedirect('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode(utf8_encode("Erro de execução!")),'codigo' => urlencode("999")))->sendResponse();
540
+ echo "Erro na execucao!";
541
+ curl_close ( $ch );
542
+ exit();
543
  }
544
+
545
+
546
  $httpCode = curl_getinfo ( $ch, CURLINFO_HTTP_CODE );
547
+
548
  if ($httpCode != "200") {
549
+ Mage::log('Error: Erro de requisicao em:'. $urlPost, null, 'traycheckout.log');
550
  http::httpError("Erro de requisicao em: $urlPost");
551
  Mage::app()->getResponse()->setRedirect('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode(utf8_encode("Erro ao conectar em: $url")),'codigo' => urlencode($httpCode)))->sendResponse();
552
  }
553
+
554
  if(curl_errno($ch)){
555
+ Mage::log('Error: Erro de conexão: ' . curl_error($ch), null, 'traycheckout.log');
556
  http::httpError("Erro de conexão: " . curl_error($ch));
557
  Mage::app()->getResponse()->setRedirect('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode(utf8_encode("Erro de conexão: " . curl_error($ch))),'codigo' => urlencode($httpCode)))->sendResponse();
558
  }
560
 
561
  if($this->hasErrorTrayCheckout($res)){
562
  Mage::app()->getResponse()->setRedirect(Mage::getModel('core/url')->getUrl('checkoutapi/standard/error', array('_secure' => true , 'descricao' => urlencode($this->getErrorMessageTrayCheckout()),'codigo' => urlencode($this->getErrorCodeTrayCheckout()),'type' => $this->getTypeErrorTrayCheckout())))->sendResponse();
563
+ exit();
564
+ }
565
+
566
+ Mage::log('HttpCode: '. $httpCode, null, 'traycheckout.log');
567
+ Mage::log('Response: '. $res, null, 'traycheckout.log');
568
  return $res;
569
  }
570
 
571
  function updateTransactionTrayCheckout($transactionTc){
572
+
573
  $order = Mage::getModel('sales/order')->loadByIncrementId(str_replace($this->getConfigData('prefixo'),'',$transactionTc->order_number));
574
  $quote = Mage::getModel('sales/quote')->load($order->getData("quote_id"));
575
 
app/code/community/Tray/CheckoutApi/etc/config.xml CHANGED
@@ -21,7 +21,7 @@
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
- <version>0.2.0</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
+ <version>0.3.0</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.3.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/sql/checkoutapi_setup/mysql4-upgrade-0.2.0-0.3.0.php ADDED
@@ -0,0 +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
+ $installer = $this;
20
+
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.2.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.3.0">
22
  <checkoutapi_standard_payment>
23
  <reference nam0.1.0e="head">
24
  <action method="addCss">
package.xml CHANGED
@@ -1,19 +1,32 @@
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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutApi</name>
4
+ <version>0.3.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>Vers&#xE3;o 0.1.0&#xD;
12
+ &#xD;
13
+ - Primeira vers&#xE3;o liberada do TrayCheckout&#xD;
14
+ &#xD;
15
+ Vers&#xE3;o 0.2.0&#xD;
16
+ &#xD;
17
+ - Corre&#xE7;&#xE3;o no envio do n&#xFA;mero de telefone.&#xD;
18
+ - Melhorias no envio dos dados.&#xD;
19
+ &#xD;
20
+ Vers&#xE3;o 0.3.0&#xD;
21
+ &#xD;
22
+ - Corre&#xE7;&#xF5;es de integra&#xE7;&#xE3;o com a API de Simula&#xE7;&#xE3;o de Parcelamento.&#xD;
23
+ - Envio de um valor padr&#xE3;o ao finalizar por boleto e transfer&#xEA;ncia online.&#xD;
24
+ - Ajuste no envio das requisi&#xE7;&#xF5;es para as APIs do TrayCheckout.&#xD;
25
+ - Incrementado log personalizado no m&#xF3;dulo.</notes>
26
  <authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
27
+ <date>2014-04-11</date>
28
+ <time>20:44:48</time>
29
+ <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="31b88b566d57fea22d469ed5698aa313"/></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="ecd469db9e1d06ae645673fbdb3b62ac"/><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-upgrade-0.1.0-0.2.0.php" hash="1020462cfb124528fb590922eadfb74a"/><file name="mysql4-upgrade-0.2.0-0.3.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="b5ae55a3673bfa5078b6a78452760c84"/></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>
30
  <compatible/>
31
  <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>
32
  </package>