Tray_CheckoutApi - Version 1.1.12

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

Versão 0.7.0

- Melhorias no NAS (Notificação Automática de Status).

Versão 0.8.0

- Ajuste na validação dos campos enviados na integração.

Versão 0.9.0

- Ajustes no NAS (Notificação Automática de Status).

Versão 1.1.0

- Melhoria nos dados capturados para realização da análise de risco.

Versão 1.1.1

- Ajuste na captura e atualização dos dados do pedido

Versão 1.1.2

- Ajuste na exibição do link de pagamento (Detalhes do Pedido)

Versão 1.1.3

- Segregar meios de pagamento (à vista / à prazo
- Cancelamento de transação pelo painel administrativo da loja
- Seleção automática das bandeiras de cartão.
- Adicionada as Bandeiras Hiper / Hipercard
- Adicionado o pagamento por HSBC

Versão 1.1.4

- Ajustes no botão de configuração.
- Melhorias no script de finger print.

Versão 1.1.5

- Ajustes na exibição da forma de pagamento nos detalhes do pedido.
- Correção para exibir o botão de efetuar pagamento HSBC na finalização de compra.
- Exibindo a imagem da bandeira de cartão.

Versão 1.1.6

- Ajustes na exibição do parcelamento consultando direto das configurações da conta no TrayCheckout.
- Ajustes no retorno automático para atualização de status.

Versão 1.1.7

- Ajustes no envio dos dados.

Versão 1.1.8

- Ajustes na requisição de parcelamento para HTTPS

Versão 1.1.9

- Ajustes na requisição de configuração no ADMIN para HTTPS

Versão 1.1.10

- Ajustes no cancelamento do pedido devido falha na configuração.

Versão 1.1.11

- Ajustes na parte de recarregar as configs no retorno automático.
- Ajustes no campo de cartão de crédito para retirar espaços em branco para a validação do cartão.

Versão 1.1.12

- Ajustes nos registros de log.
- Melhorias no sistema de envio de produtos.

Download this release

Release Info

Developer TrayCheckout
Extension Tray_CheckoutApi
Version 1.1.12
Comparing to
See all releases


Code changes from version 1.1.6 to 1.1.12

Files changed (99) hide show
  1. app/code/community/Tray/CheckoutApi/Block/Adminhtml/System/Config/Fieldset/Hidden.php +0 -0
  2. app/code/community/Tray/CheckoutApi/Block/Adminhtml/System/Config/Fieldset/Label.php +3 -1
  3. app/code/community/Tray/CheckoutApi/Block/Error.php +0 -0
  4. app/code/community/Tray/CheckoutApi/Block/Form/Bankslip.php +0 -0
  5. app/code/community/Tray/CheckoutApi/Block/Form/Onlinetransfer.php +0 -0
  6. app/code/community/Tray/CheckoutApi/Block/Form/Standard.php +0 -0
  7. app/code/community/Tray/CheckoutApi/Block/Info/Bankslip.php +0 -0
  8. app/code/community/Tray/CheckoutApi/Block/Info/Onlinetransfer.php +0 -0
  9. app/code/community/Tray/CheckoutApi/Block/Info/Standard.php +0 -0
  10. app/code/community/Tray/CheckoutApi/Block/Link.php +0 -0
  11. app/code/community/Tray/CheckoutApi/Block/Payment.php +0 -0
  12. app/code/community/Tray/CheckoutApi/Block/Return.php +0 -0
  13. app/code/community/Tray/CheckoutApi/Helper/Adress.php +0 -0
  14. app/code/community/Tray/CheckoutApi/Helper/Data.php +0 -0
  15. app/code/community/Tray/CheckoutApi/Model/Auth.php +4 -0
  16. app/code/community/Tray/CheckoutApi/Model/Bankslip.php +2 -0
  17. app/code/community/Tray/CheckoutApi/Model/Config.php +0 -0
  18. app/code/community/Tray/CheckoutApi/Model/Mysql4/Setup.php +0 -0
  19. app/code/community/Tray/CheckoutApi/Model/Observer.php +4 -2
  20. app/code/community/Tray/CheckoutApi/Model/Onlinetransfer.php +1 -0
  21. app/code/community/Tray/CheckoutApi/Model/Payment.php +0 -0
  22. app/code/community/Tray/CheckoutApi/Model/Request.php +0 -0
  23. app/code/community/Tray/CheckoutApi/Model/Resource/Payment.php +0 -0
  24. app/code/community/Tray/CheckoutApi/Model/Source/Country.php +0 -0
  25. app/code/community/Tray/CheckoutApi/Model/Source/Payment.php +0 -0
  26. app/code/community/Tray/CheckoutApi/Model/Source/Paymentmethods.php +0 -0
  27. app/code/community/Tray/CheckoutApi/Model/Source/Qtdsplit.php +0 -0
  28. app/code/community/Tray/CheckoutApi/Model/Source/Specificcountries.php +0 -0
  29. app/code/community/Tray/CheckoutApi/Model/Source/Tefpaymentmethods.php +0 -0
  30. app/code/community/Tray/CheckoutApi/Model/Standard.php +36 -8
  31. app/code/community/Tray/CheckoutApi/controllers/StandardController.php +12 -5
  32. app/code/community/Tray/CheckoutApi/etc/adminhtml.xml +0 -0
  33. app/code/community/Tray/CheckoutApi/etc/config.xml +1 -1
  34. app/code/community/Tray/CheckoutApi/etc/system.xml +0 -0
  35. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.1.0.php +0 -0
  36. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.2.0.php +0 -0
  37. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.3.0.php +0 -0
  38. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.4.0.php +0 -0
  39. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.2.php +0 -0
  40. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.3.php +0 -0
  41. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.4.php +0 -0
  42. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.5.php +0 -0
  43. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.6.php +0 -0
  44. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-upgrade-0.1.0-0.2.0.php +0 -0
  45. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-upgrade-0.2.0-0.3.0.php +0 -0
  46. app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-upgrade-0.3.0-0.4.0.php +0 -0
  47. app/design/adminhtml/default/default/layout/tray_checkoutapi.xml +1 -1
  48. app/design/adminhtml/default/default/template/tray/checkoutapi/form/bankslip.phtml +0 -0
  49. app/design/adminhtml/default/default/template/tray/checkoutapi/form/onlinetransfer.phtml +0 -0
  50. app/design/adminhtml/default/default/template/tray/checkoutapi/form/standard.phtml +0 -0
  51. app/design/adminhtml/default/default/template/tray/checkoutapi/getbaseurl.phtml +0 -0
  52. app/design/adminhtml/default/default/template/tray/checkoutapi/info/standard.phtml +0 -0
  53. app/design/frontend/base/default/layout/tray_checkoutapi.xml +1 -1
  54. app/design/frontend/base/default/template/tray/checkoutapi/error.phtml +0 -0
  55. app/design/frontend/base/default/template/tray/checkoutapi/form/bankslip.phtml +0 -0
  56. app/design/frontend/base/default/template/tray/checkoutapi/form/images/overlay.png +0 -0
  57. app/design/frontend/base/default/template/tray/checkoutapi/form/onlinetransfer.phtml +0 -0
  58. app/design/frontend/base/default/template/tray/checkoutapi/form/standard.phtml +3 -3
  59. app/design/frontend/base/default/template/tray/checkoutapi/head.phtml +0 -0
  60. app/design/frontend/base/default/template/tray/checkoutapi/info/bankslip.phtml +0 -0
  61. app/design/frontend/base/default/template/tray/checkoutapi/info/onlinetransfer.phtml +0 -0
  62. app/design/frontend/base/default/template/tray/checkoutapi/info/standard.phtml +0 -0
  63. app/design/frontend/base/default/template/tray/checkoutapi/overlay.phtml +0 -0
  64. app/design/frontend/base/default/template/tray/checkoutapi/payment.phtml +0 -0
  65. app/design/frontend/base/default/template/tray/checkoutapi/return.phtml +0 -0
  66. app/etc/modules/Tray_CheckoutApi.xml +0 -0
  67. js/tray/checkoutapi/js/traycheckout.js +1 -1
  68. package.xml +31 -5
  69. skin/adminhtml/default/default/tray/checkoutapi/css/magentomodal.css +0 -0
  70. skin/adminhtml/default/default/tray/checkoutapi/images/btn_bg.gif +0 -0
  71. skin/adminhtml/default/default/tray/checkoutapi/images/content_bg.gif +0 -0
  72. skin/adminhtml/default/default/tray/checkoutapi/images/top_bg.gif +0 -0
  73. skin/adminhtml/default/default/tray/checkoutapi/images/window_close.png +0 -0
  74. skin/adminhtml/default/default/tray/checkoutapi/js/modal.js +0 -0
  75. skin/frontend/base/default/tray/checkoutapi/css/styles.css +0 -0
  76. skin/frontend/base/default/tray/checkoutapi/images/BannerTrayCheckout890px.png +0 -0
  77. skin/frontend/base/default/tray/checkoutapi/images/american-express-flag.svg +0 -0
  78. skin/frontend/base/default/tray/checkoutapi/images/aura-flag.svg +0 -0
  79. skin/frontend/base/default/tray/checkoutapi/images/banner_comlogo_formas.jpg +0 -0
  80. skin/frontend/base/default/tray/checkoutapi/images/banner_semlogo_formas.jpg +0 -0
  81. skin/frontend/base/default/tray/checkoutapi/images/banner_semlogo_formas.png +0 -0
  82. skin/frontend/base/default/tray/checkoutapi/images/bb-flag.svg +0 -0
  83. skin/frontend/base/default/tray/checkoutapi/images/boleto-flag.svg +0 -0
  84. skin/frontend/base/default/tray/checkoutapi/images/bradesco-flag.svg +0 -0
  85. skin/frontend/base/default/tray/checkoutapi/images/close.png +0 -0
  86. skin/frontend/base/default/tray/checkoutapi/images/diners-club-international-flag.svg +0 -0
  87. skin/frontend/base/default/tray/checkoutapi/images/discover-flag.svg +0 -0
  88. skin/frontend/base/default/tray/checkoutapi/images/elo-flag.svg +0 -0
  89. skin/frontend/base/default/tray/checkoutapi/images/hiper-flag.svg +0 -0
  90. skin/frontend/base/default/tray/checkoutapi/images/hipercard-flag.svg +0 -0
  91. skin/frontend/base/default/tray/checkoutapi/images/hsbc-flag.svg +0 -0
  92. skin/frontend/base/default/tray/checkoutapi/images/itau-flag.svg +0 -0
  93. skin/frontend/base/default/tray/checkoutapi/images/jcb-flag.svg +0 -0
  94. skin/frontend/base/default/tray/checkoutapi/images/mastercard-flag.svg +0 -0
  95. skin/frontend/base/default/tray/checkoutapi/images/overlay.png +0 -0
  96. skin/frontend/base/default/tray/checkoutapi/images/paymentFlags1.png +0 -0
  97. skin/frontend/base/default/tray/checkoutapi/images/paymentFlagsTc.png +0 -0
  98. skin/frontend/base/default/tray/checkoutapi/images/peela-flag.svg +0 -0
  99. skin/frontend/base/default/tray/checkoutapi/images/visa-flag.svg +0 -0
app/code/community/Tray/CheckoutApi/Block/Adminhtml/System/Config/Fieldset/Hidden.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Adminhtml/System/Config/Fieldset/Label.php CHANGED
@@ -27,6 +27,8 @@ class Tray_CheckoutApi_Block_Adminhtml_System_Config_Fieldset_Label extends Mage
27
 
28
  $configTc = Mage::getSingleton('checkoutapi/'.$paymentMethod);
29
 
 
 
30
  $html = sprintf('
31
  <tr id="row_payment_traycheckoutapi_%s">
32
  <td class="label">
@@ -39,7 +41,7 @@ class Tray_CheckoutApi_Block_Adminhtml_System_Config_Fieldset_Label extends Mage
39
  <td class=""></td>
40
  </tr>
41
  ',
42
- $element->getHtmlId(), $element->getHtmlId(), $element->getLabel(), $element->getHtmlId(), $element->getName(), $configTc->getConfigData("sandbox") ,Mage::getBaseUrl(), $paymentMethod
43
  );
44
 
45
  $html .= <<<HTML
27
 
28
  $configTc = Mage::getSingleton('checkoutapi/'.$paymentMethod);
29
 
30
+ $urlLoja = (Mage::app()->getStore()->isCurrentlySecure()) ? Mage::getUrl('',array("_secure" => true)) : Mage::getBaseUrl();
31
+
32
  $html = sprintf('
33
  <tr id="row_payment_traycheckoutapi_%s">
34
  <td class="label">
41
  <td class=""></td>
42
  </tr>
43
  ',
44
+ $element->getHtmlId(), $element->getHtmlId(), $element->getLabel(), $element->getHtmlId(), $element->getName(), $configTc->getConfigData("sandbox") ,$urlLoja, $paymentMethod
45
  );
46
 
47
  $html .= <<<HTML
app/code/community/Tray/CheckoutApi/Block/Error.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Form/Bankslip.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Form/Onlinetransfer.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Form/Standard.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Info/Bankslip.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Info/Onlinetransfer.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Info/Standard.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Link.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Payment.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Block/Return.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Helper/Adress.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Helper/Data.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Auth.php CHANGED
@@ -34,8 +34,12 @@ class Tray_CheckoutApi_Model_Auth extends Varien_Object
34
 
35
  $tcRequest = Mage::getModel('checkoutapi/request');
36
 
 
 
37
  $tcResponse = $tcRequest->requestData($this->urlAccessToken,$params,$environment);
38
 
 
 
39
  if($tcResponse->message_response->message == "success"){
40
  $this->access_token = $tcResponse->data_response->authorization->access_token;
41
  $this->refresh_token = $tcResponse->data_response->authorization->refresh_token;
34
 
35
  $tcRequest = Mage::getModel('checkoutapi/request');
36
 
37
+ Mage::log($params, null, 'traycheckout.log');
38
+
39
  $tcResponse = $tcRequest->requestData($this->urlAccessToken,$params,$environment);
40
 
41
+ Mage::log($tcResponse, null, 'traycheckout.log');
42
+
43
  if($tcResponse->message_response->message == "success"){
44
  $this->access_token = $tcResponse->data_response->authorization->access_token;
45
  $this->refresh_token = $tcResponse->data_response->authorization->refresh_token;
app/code/community/Tray/CheckoutApi/Model/Bankslip.php CHANGED
@@ -38,6 +38,8 @@ class Tray_CheckoutApi_Model_Bankslip extends Tray_CheckoutApi_Model_Standard
38
 
39
  protected $errorTypeErrorTrayCheckout = '';
40
 
 
 
41
  /**
42
  * Return Order Place Redirect URL
43
  *
38
 
39
  protected $errorTypeErrorTrayCheckout = '';
40
 
41
+ protected $notification = 'bankslip';
42
+
43
  /**
44
  * Return Order Place Redirect URL
45
  *
app/code/community/Tray/CheckoutApi/Model/Config.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Mysql4/Setup.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Observer.php CHANGED
@@ -54,8 +54,10 @@ class Tray_CheckoutApi_Model_Observer extends Varien_Object
54
  if($tcResponse->message_response->message == "success"){
55
  $order->addStatusToHistory($order->getStatus(), "Pedido Cancelado no TrayCheckout!", false);
56
  }else{
57
- $order->addStatusToHistory($order->getStatus(), "Não foi possível cancelar o pedido: ".$tcResponse->error_response->errors->error[0]->code." - ".$tcResponse->error_response->errors->error[0]->message , false);
58
- Mage::throwException("Erro ao Cancelar o Pedido no TrayCheckout: " .$tcResponse->error_response->errors->error[0]->code." - ".$tcResponse->error_response->errors->error[0]->message);
 
 
59
  }
60
  }
61
 
54
  if($tcResponse->message_response->message == "success"){
55
  $order->addStatusToHistory($order->getStatus(), "Pedido Cancelado no TrayCheckout!", false);
56
  }else{
57
+ if ($params["access_token"] != ""){
58
+ $order->addStatusToHistory($order->getStatus(), "Não foi possível cancelar o pedido: ".$tcResponse->error_response->errors->error[0]->code." - ".$tcResponse->error_response->errors->error[0]->message , false);
59
+ Mage::throwException("Erro ao Cancelar o Pedido no TrayCheckout: " .$tcResponse->error_response->errors->error[0]->code." - ".$tcResponse->error_response->errors->error[0]->message);
60
+ }
61
  }
62
  }
63
 
app/code/community/Tray/CheckoutApi/Model/Onlinetransfer.php CHANGED
@@ -38,6 +38,7 @@ class Tray_CheckoutApi_Model_Onlinetransfer extends Tray_CheckoutApi_Model_Stand
38
 
39
  protected $errorTypeErrorTrayCheckout = '';
40
 
 
41
  /**
42
  * Return Order Place Redirect URL
43
  *
38
 
39
  protected $errorTypeErrorTrayCheckout = '';
40
 
41
+ protected $notification = 'onlinetransfer';
42
  /**
43
  * Return Order Place Redirect URL
44
  *
app/code/community/Tray/CheckoutApi/Model/Payment.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Request.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Resource/Payment.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Source/Country.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Source/Payment.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Source/Paymentmethods.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Source/Qtdsplit.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Source/Specificcountries.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Source/Tefpaymentmethods.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/Model/Standard.php CHANGED
@@ -38,6 +38,7 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
38
 
39
  protected $errorTypeErrorTrayCheckout = '';
40
 
 
41
  /**
42
  * Availability options
43
  */
@@ -128,6 +129,7 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
128
  if (!($data instanceof Varien_Object)) {
129
  $data = new Varien_Object($data);
130
  }
 
131
  $info = $this->getInfoInstance();
132
  $info->setCcType($data->getCcType())
133
  ->setCcOwner($data->getCcOwner())
@@ -285,6 +287,7 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
285
 
286
  $ccType = $quote->getPayment()->getData('cc_type');
287
  $ccNumber = $quote->getPayment()->getData('cc_number');
 
288
  if(!in_array($ccType, array("2","6","7","14","22","23"))){
289
  if ($this->validateCcNum($ccNumber)) {
290
  switch ($ccType){
@@ -409,8 +412,8 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
409
  $type_contact = "W";
410
  }
411
 
412
- $sArr['token_account']= $this->getConfigData('token');
413
- $sArr['transaction[free]']= "MAGENTO_API_v".(string) Mage::getConfig()->getNode()->modules->Tray_CheckoutApi->version;
414
  $sArr['transaction[order_number]']= $this->getConfigData('prefixo').$orderIncrementId;
415
 
416
  $sArr['customer[name]']= $order->getData("customer_firstname") . ' ' . str_replace("(pj)", "", $order->getData("customer_lastname"));
@@ -464,8 +467,14 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
464
 
465
  $sArr['transaction[url_process]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
466
  $sArr['transaction[url_success]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
467
- $sArr['transaction[url_notification]'] = Mage::getUrl('checkoutapi/standard/success', array('_secure' => true, 'type' => 'standard'));
468
-
 
 
 
 
 
 
469
  $sArr['payment[payment_method_id]'] = $order->getPayment()->getData('cc_type');
470
  $sArr['payment[split]'] = (($order->getPayment()->getData('traycheckout_split_number') == NULL)|| ($order->getPayment()->getData('traycheckout_split_number') == '0') ? '1' : $order->getPayment()->getData('traycheckout_split_number'));
471
  $sArr['payment[card_name]'] = $order->getPayment()->getData('cc_owner');
@@ -544,10 +553,29 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
544
  $ch = curl_init ( $this->getTrayCheckoutUrl().$url );
545
 
546
  if(is_array($params)){
547
- Mage::log('Data: '. http_build_query($params), null, 'traycheckout.log');
548
- }else{
549
- Mage::log('Data: '. $params, null, 'traycheckout.log');
550
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
551
 
552
  curl_setopt ( $ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1 );
553
  curl_setopt ( $ch, CURLOPT_POST, 1 );
38
 
39
  protected $errorTypeErrorTrayCheckout = '';
40
 
41
+ protected $notification = 'standard';
42
  /**
43
  * Availability options
44
  */
129
  if (!($data instanceof Varien_Object)) {
130
  $data = new Varien_Object($data);
131
  }
132
+ //var_dump($data->getCcType());
133
  $info = $this->getInfoInstance();
134
  $info->setCcType($data->getCcType())
135
  ->setCcOwner($data->getCcOwner())
287
 
288
  $ccType = $quote->getPayment()->getData('cc_type');
289
  $ccNumber = $quote->getPayment()->getData('cc_number');
290
+ //var_dump($quote->getPayment()->getData());
291
  if(!in_array($ccType, array("2","6","7","14","22","23"))){
292
  if ($this->validateCcNum($ccNumber)) {
293
  switch ($ccType){
412
  $type_contact = "W";
413
  }
414
 
415
+ $sArr['token_account']= $this->getConfigData('token');
416
+ $sArr['transaction[free]']= "MAGENTO_API_v".(string) Mage::getConfig()->getNode()->modules->Tray_CheckoutApi->version;
417
  $sArr['transaction[order_number]']= $this->getConfigData('prefixo').$orderIncrementId;
418
 
419
  $sArr['customer[name]']= $order->getData("customer_firstname") . ' ' . str_replace("(pj)", "", $order->getData("customer_lastname"));
467
 
468
  $sArr['transaction[url_process]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
469
  $sArr['transaction[url_success]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
470
+ $sArr['transaction[url_notification]'] = Mage::getUrl('checkoutapi/standard/success', array('_secure' => true, 'type' => $notification));
471
+
472
+ //Exemplo de Afiliados
473
+ //$sArr['affiliates[0][account_email]'] = 'emailaffiliate1@devtray.com.br';
474
+ //$sArr['affiliates[0][percentage]'] = '20';
475
+ //$sArr['affiliates[1][account_email]'] = 'emailaffiliate2@devtray.com.br';
476
+ //$sArr['affiliates[1][percentage]'] = '15';
477
+
478
  $sArr['payment[payment_method_id]'] = $order->getPayment()->getData('cc_type');
479
  $sArr['payment[split]'] = (($order->getPayment()->getData('traycheckout_split_number') == NULL)|| ($order->getPayment()->getData('traycheckout_split_number') == '0') ? '1' : $order->getPayment()->getData('traycheckout_split_number'));
480
  $sArr['payment[card_name]'] = $order->getPayment()->getData('cc_owner');
553
  $ch = curl_init ( $this->getTrayCheckoutUrl().$url );
554
 
555
  if(is_array($params)){
556
+ $params = http_build_query($params);
557
+ }
558
+ //Mage::log('Data: '. $params, null, 'traycheckout.log');
559
+ $patterns = array();
560
+ $patterns[0] = '/card_name%5D=[\w\W]*&payment%5Bcard_number/';
561
+ $patterns[1] = '/card_number%5D=\d+\D/';
562
+ $patterns[2] = '/card_expdate_month%5D=\d+\D/';
563
+ $patterns[3] = '/card_expdate_year%5D=\d+\D/';
564
+ $patterns[4] = '/card_cvv%5D=\d+/';
565
+ $replacements = array();
566
+ $replacements[0] = 'card_name%5D=&payment%5Bcard_number';
567
+ $replacements[1] = 'card_number%5D=';
568
+ $replacements[2] = 'card_expdate_month%5D=';
569
+ $replacements[3] = 'card_expdate_year%5D=';
570
+ $replacements[4] = 'card_cvv%5D=';
571
+
572
+ //$arrayp = array('%5B0%5D','%5B1%5D','%5B2%5D','%5B3%5D','%5B4%5D','%5B5%5D','%5B6%5D','%5B7%5D','%5B8%5D','%5B9%5D');
573
+ //$replace = ;
574
+
575
+ $params = preg_replace('/%5B\d{1,3}%5D/', '%5B%5D', $params);
576
+ //$params = str_replace($arrayp, $replace, $params);
577
+
578
+ Mage::log('Data: '. preg_replace($patterns, $replacements,$params), null, 'traycheckout.log');
579
 
580
  curl_setopt ( $ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1 );
581
  curl_setopt ( $ch, CURLOPT_POST, 1 );
app/code/community/Tray/CheckoutApi/controllers/StandardController.php CHANGED
@@ -51,6 +51,8 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
51
 
52
  $tcRequest = Mage::getModel('checkoutapi/request');
53
 
 
 
54
  $params["access_token"] = $tcAuth->access_token;
55
  $params["url"] = Mage::getBaseUrl();
56
  //var_dump($code,$customerKey,$customerSecret,$environment);
@@ -205,7 +207,7 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
205
  $_type = $this->getRequest()->getParam('type', false);
206
  $token = $this->getApi()->getConfigData('token');
207
 
208
- $urlPost = $this->getUrlPostCheckoutApi($this->getApi()->getConfigData('sandbox'));
209
 
210
  $dados_post = $this->getRequest()->getPost();
211
 
@@ -288,10 +290,11 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
288
  $transaction = $arrResponse['data_response']['transaction'];
289
  $order_number = str_replace($this->getApi()->getConfigData('prefixo'),'',$transaction['order_number']);
290
  $order = Mage::getModel('sales/order');
 
291
 
292
  $order->loadByIncrementId($order_number);
293
 
294
- echo "Pedido: $order_number - ID: ".$transaction['transaction_id'];
295
 
296
  if ($order->getId()) {
297
 
@@ -309,6 +312,8 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
309
  $cod_status = $transaction['status_id'];
310
 
311
  $comment = $cod_status . ' - ' . $transaction['status_name'];
 
 
312
  switch ($cod_status){
313
  case 4:
314
  case 5:
@@ -388,10 +393,10 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
388
 
389
  $order->addStatusToHistory(
390
  Mage_Sales_Model_Order::STATE_PROCESSING,
391
- Mage::helper('checkoutapi')->__($frase), true
392
  );
393
 
394
- $order->sendOrderUpdateEmail(true, $frase);
395
 
396
  }
397
  //}
@@ -429,6 +434,8 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
429
  {
430
  $tcStandard = Mage::getModel('checkoutapi/standard');
431
 
 
 
432
  $params = array(
433
  "token_account" => $tcStandard->getConfigData('token'),
434
  "price" => $this->getRequest()->getParam('price', false)
@@ -436,7 +443,7 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
436
 
437
  $method = $this->getRequest()->getParam('method', false);
438
 
439
- $tcResponse = simplexml_load_string($tcStandard->getTrayCheckoutRequest("/edge/transactions/simulate_splitting",$params));
440
 
441
  foreach ($tcResponse->data_response->payment_methods->payment_method as $payment_method){
442
  if(intval($payment_method->payment_method_id) == intval($method)){
51
 
52
  $tcRequest = Mage::getModel('checkoutapi/request');
53
 
54
+ //Mage::log($tcAuth, null, 'traycheckout.log');
55
+
56
  $params["access_token"] = $tcAuth->access_token;
57
  $params["url"] = Mage::getBaseUrl();
58
  //var_dump($code,$customerKey,$customerSecret,$environment);
207
  $_type = $this->getRequest()->getParam('type', false);
208
  $token = $this->getApi()->getConfigData('token');
209
 
210
+ $urlPost = $this->getUrlPostCheckoutApi($this->getApi()->getConfigData('sandbox'));
211
 
212
  $dados_post = $this->getRequest()->getPost();
213
 
290
  $transaction = $arrResponse['data_response']['transaction'];
291
  $order_number = str_replace($this->getApi()->getConfigData('prefixo'),'',$transaction['order_number']);
292
  $order = Mage::getModel('sales/order');
293
+ $prefixo123 = $this->getApi()->getConfigData('prefixo');
294
 
295
  $order->loadByIncrementId($order_number);
296
 
297
+ echo "Prefixo: $prefixo123 | Pedido: $order_number - ID: ".$transaction['transaction_id'];
298
 
299
  if ($order->getId()) {
300
 
312
  $cod_status = $transaction['status_id'];
313
 
314
  $comment = $cod_status . ' - ' . $transaction['status_name'];
315
+
316
+ $cod_status = 6;
317
  switch ($cod_status){
318
  case 4:
319
  case 5:
393
 
394
  $order->addStatusToHistory(
395
  Mage_Sales_Model_Order::STATE_PROCESSING,
396
+ Mage::helper('checkoutapi')->__($frase), false
397
  );
398
 
399
+ //$order->sendOrderUpdateEmail(true, $frase);
400
 
401
  }
402
  //}
434
  {
435
  $tcStandard = Mage::getModel('checkoutapi/standard');
436
 
437
+ Mage::log('Split Request: '. $tcStandard->getConfigData('token'), null, 'traycheckout.log');
438
+
439
  $params = array(
440
  "token_account" => $tcStandard->getConfigData('token'),
441
  "price" => $this->getRequest()->getParam('price', false)
443
 
444
  $method = $this->getRequest()->getParam('method', false);
445
 
446
+ $tcResponse = simplexml_load_string($tcStandard->getTrayCheckoutRequest("/v1/transactions/simulate_splitting",$params));
447
 
448
  foreach ($tcResponse->data_response->payment_methods->payment_method as $payment_method){
449
  if(intval($payment_method->payment_method_id) == intval($method)){
app/code/community/Tray/CheckoutApi/etc/adminhtml.xml CHANGED
File without changes
app/code/community/Tray/CheckoutApi/etc/config.xml CHANGED
@@ -21,7 +21,7 @@
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
- <version>1.1.6</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
21
  <config>
22
  <modules>
23
  <Tray_CheckoutApi>
24
+ <version>1.1.12</version>
25
  </Tray_CheckoutApi>
26
  </modules>
27
  <global>
app/code/community/Tray/CheckoutApi/etc/system.xml CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.1.0.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.2.0.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.3.0.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-0.4.0.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.2.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.3.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.4.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.5.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-install-1.1.6.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-upgrade-0.1.0-0.2.0.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-upgrade-0.2.0-0.3.0.php CHANGED
File without changes
app/code/community/Tray/CheckoutApi/sql/checkoutapi_setup/mysql4-upgrade-0.3.0-0.4.0.php CHANGED
File without changes
app/design/adminhtml/default/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="1.1.6">
22
  <adminhtml_system_config_edit>
23
  <reference name="head">
24
  <action method="addItem">
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  -->
21
+ <layout version="1.1.12">
22
  <adminhtml_system_config_edit>
23
  <reference name="head">
24
  <action method="addItem">
app/design/adminhtml/default/default/template/tray/checkoutapi/form/bankslip.phtml CHANGED
File without changes
app/design/adminhtml/default/default/template/tray/checkoutapi/form/onlinetransfer.phtml CHANGED
File without changes
app/design/adminhtml/default/default/template/tray/checkoutapi/form/standard.phtml CHANGED
File without changes
app/design/adminhtml/default/default/template/tray/checkoutapi/getbaseurl.phtml CHANGED
File without changes
app/design/adminhtml/default/default/template/tray/checkoutapi/info/standard.phtml CHANGED
File without changes
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="1.1.6">
22
  <default>
23
  <reference name="head">
24
  <action method="addJs">
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  -->
21
+ <layout version="1.1.12">
22
  <default>
23
  <reference name="head">
24
  <action method="addJs">
app/design/frontend/base/default/template/tray/checkoutapi/error.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/form/bankslip.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/form/images/overlay.png CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/form/onlinetransfer.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/form/standard.phtml CHANGED
@@ -88,7 +88,7 @@
88
  ?>
89
  <li class="tcPaymentMethod" >
90
  <!--input type="radio" name="tcPaymentMethodR" value="<?php echo $idTcPayment;?>" onclick="document.getElementById('tcPaymentMethod').value = this.value;"/-->
91
- <img src="<?php echo $this->getSkinUrl('tray/checkoutapi/images/'.$imgSrc.'-flag.svg') ?>" class="tcPaymentFlag" id="tcPaymentFlag<?php echo $idTcPayment;?>" onclick="selectCreditCardTc('<?php echo $idTcPayment;?>','<?php echo number_format((float)$totals->grand_total, 2, '.',''); ?>','<?php echo Mage::getBaseUrl();?>')">
92
  </li>
93
  <?php
94
  }
@@ -105,10 +105,10 @@
105
  <input type="text" title="<?php echo Mage::helper('payment')->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->getInfoData('cc_owner') ?>"/>
106
  </div>
107
  </li>
108
- <li>
109
  <div class="input-box">
110
  <label for="<?php echo $_code ?>_cc_number"><?php echo Mage::helper('payment')->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
111
- <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo Mage::helper('payment')->__('Credit Card Number') ?>" class="required-entry input-text validate-cc-number" value="<?php echo $this->getInfoData('cc_number')?>" onkeyup="identifyCreditCardTc(this.value)" onblur="getSplitValues('<?php echo number_format((float)$totals->grand_total, 2, '.',''); ?>',document.getElementById('tcPaymentMethod').value,'<?php echo Mage::getBaseUrl();?>')"/>
112
  </div>
113
  </li>
114
  <li>
88
  ?>
89
  <li class="tcPaymentMethod" >
90
  <!--input type="radio" name="tcPaymentMethodR" value="<?php echo $idTcPayment;?>" onclick="document.getElementById('tcPaymentMethod').value = this.value;"/-->
91
+ <img src="<?php echo $this->getSkinUrl('tray/checkoutapi/images/'.$imgSrc.'-flag.svg') ?>" class="tcPaymentFlag" id="tcPaymentFlag<?php echo $idTcPayment;?>" onclick="selectCreditCardTc('<?php echo $idTcPayment;?>','<?php echo number_format((float)$totals->grand_total, 2, '.',''); ?>','<?php echo (Mage::app()->getStore()->isFrontUrlSecure())?Mage::getUrl('',array("_secure" => true)):Mage::getBaseUrl();?>')">
92
  </li>
93
  <?php
94
  }
105
  <input type="text" title="<?php echo Mage::helper('payment')->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->getInfoData('cc_owner') ?>"/>
106
  </div>
107
  </li>
108
+ <li>
109
  <div class="input-box">
110
  <label for="<?php echo $_code ?>_cc_number"><?php echo Mage::helper('payment')->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
111
+ <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo Mage::helper('payment')->__('Credit Card Number') ?>" class="required-entry input-text validate-cc-number" value="<?php echo $this->getInfoData('cc_number')?>" onkeyup="identifyCreditCardTc(this.value.replace(/ /g,''))" onblur="getSplitValues('<?php echo number_format((float)$totals->grand_total, 2, '.',''); ?>',document.getElementById('tcPaymentMethod').value,'<?php echo (Mage::app()->getStore()->isFrontUrlSecure())?Mage::getUrl('',array("_secure" => true)):Mage::getBaseUrl();?>')"/>
112
  </div>
113
  </li>
114
  <li>
app/design/frontend/base/default/template/tray/checkoutapi/head.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/info/bankslip.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/info/onlinetransfer.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/info/standard.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/overlay.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/payment.phtml CHANGED
File without changes
app/design/frontend/base/default/template/tray/checkoutapi/return.phtml CHANGED
File without changes
app/etc/modules/Tray_CheckoutApi.xml CHANGED
File without changes
js/tray/checkoutapi/js/traycheckout.js CHANGED
@@ -99,7 +99,7 @@ function getSplitValues(pPrice, pMethod, pathM){
99
 
100
  if (pMethod != ""){
101
  document.getElementById('traycheckoutapi_split').innerHTML = "<option value=\"\">Carregando ...</option>";
102
- var data_file = pathM+"checkoutapi/standard/getsplit/price/"+pPrice+"/method/"+pMethod;
103
 
104
  var http_request = new XMLHttpRequest();
105
  try{
99
 
100
  if (pMethod != ""){
101
  document.getElementById('traycheckoutapi_split').innerHTML = "<option value=\"\">Carregando ...</option>";
102
+ var data_file = pathM+"checkoutapi/standard/getsplit/price/"+pPrice+"/method/"+pMethod+"/type/standard/";
103
 
104
  var http_request = new XMLHttpRequest();
105
  try{
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutApi</name>
4
- <version>1.1.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -89,11 +89,37 @@ Este m&#xF3;dulo &#xE9; capaz de fazer a integra&#xE7;&#xE3;o com a API do pagam
89
  Vers&#xE3;o 1.1.6&#xD;
90
  &#xD;
91
  - Ajustes na exibi&#xE7;&#xE3;o do parcelamento consultando direto das configura&#xE7;&#xF5;es da conta no TrayCheckout.&#xD;
92
- - Ajustes no retorno autom&#xE1;tico para atualiza&#xE7;&#xE3;o de status.</notes>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  <authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
94
- <date>2015-09-24</date>
95
- <time>13:33:00</time>
96
- <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="Hidden.php" hash="be5282cf3b72a35f2c7c808093bd2373"/><file name="Label.php" hash="f9ca741354aa668b5206360891a0198c"/></dir></dir></dir></dir><file name="Error.php" hash="a3a8aa9edb5c7718b7941e85421f0aa2"/><dir name="Form"><file name="Bankslip.php" hash="2a274dde3529a37888169d8b9b6e2c3a"/><file name="Onlinetransfer.php" hash="9fd9a1d28fab6d56b5b796e302da0cb0"/><file name="Standard.php" hash="e1fc731119385f07e0b92d02611c6502"/></dir><dir name="Info"><file name="Bankslip.php" hash="aeff5e716c8276e1f20cfc7cde6b49a6"/><file name="Onlinetransfer.php" hash="b1156534ef56fecf6bfc55807e650f0f"/><file name="Standard.php" hash="001cb928fdf7c652c2d64d888da34985"/></dir><file name="Link.php" hash="06ad7cb8eb1a52c7f130caacc0921657"/><file name="Payment.php" hash="be531180440dc9ebe575a847a812e8d1"/><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="Auth.php" hash="2b2c3130ad3d325cdc4bda96933f883d"/><file name="Bankslip.php" hash="2b560b0067a0dc0f9b55a22c6ca6b679"/><file name="Config.php" hash="7377296737b655ad3c01b3ae6081b507"/><dir name="Mysql4"><file name="Setup.php" hash="8a42c69f5c1a1be59d99985982a3703b"/></dir><file name="Observer.php" hash="bb74439605320f0133efd5434150e788"/><file name="Onlinetransfer.php" hash="0429bebc730f867743834e0ea17e676c"/><file name="Payment.php" hash="73d4ed6ffac89dc49d1dd908455cd4d8"/><file name="Request.php" hash="835404edf5edef57711264aab658de28"/><dir name="Resource"><file name="Payment.php" hash="74c257a6afb7ca7ff9ce96954dac64c0"/></dir><dir name="Source"><file name="Country.php" hash="153d0153071b72f23ac2a1c4fee93c24"/><file name="Payment.php" hash="7872c2c8b2f0a489876cea0fdaa89ce1"/><file name="Paymentmethods.php" hash="6e72208d95785d45181ac4a2557bb882"/><file name="Qtdsplit.php" hash="1273ee53626482898aefd7a3d31ebaea"/><file name="Specificcountries.php" hash="e41658287e6c68041d3f0042130f7db3"/><file name="Tefpaymentmethods.php" hash="efa55a28f959f252195134753b16a05c"/></dir><file name="Standard.php" hash="a6b7f6cf9e62b3f621f9b30e0bafb556"/></dir><dir name="controllers"><file name="StandardController.php" hash="9e92d3cd9516ad4a8fb9a282c313d82f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2b0114a2ffbce1930787f7a4e20ce73b"/><file name="config.xml" hash="0c467ae06730e094e9c666f1fed92aca"/><file name="system.xml" hash="dab854a4fbcadb5828517ece100e6af1"/></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-install-1.1.2.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.3.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.4.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.5.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.6.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"><file name="bankslip.phtml" hash="a07bbe0da9d492cc69bacffa2fd4781e"/><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir><file name="onlinetransfer.phtml" hash="59778850625bff50e592501c54f4e155"/><file name="standard.phtml" hash="20a5df9f27a6eb1e2a8dce112c1e7e60"/></dir><file name="head.phtml" hash="750d167a7a10ef1f56a73262f918dca5"/><dir name="info"><file name="bankslip.phtml" hash="0cd67cea7447ac3d7fcd33bf57bec7dd"/><file name="onlinetransfer.phtml" hash="0cd67cea7447ac3d7fcd33bf57bec7dd"/><file name="standard.phtml" hash="64cc0fb344ae0fe105fe1f5b3d6d68b2"/></dir><file name="overlay.phtml" hash="d4ee4dbb85f9a7a350c6e8d5f59a9978"/><file name="payment.phtml" hash="99d950355a4e208c4fd3cf74bbf3f9ec"/><file name="return.phtml" hash="47d5e3e1c3bda47721573e9639a54ca6"/></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="b11cf099608ce47a3b89758ca7deb4b7"/></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="bankslip.phtml" hash="f543bfd1254908764362a07bcb943116"/><file name="onlinetransfer.phtml" hash="6b185db6587e9089dd0032aceb4554fc"/><file name="standard.phtml" hash="591e95574d2653f139763929b22bc3fd"/></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="25b86eb75b0e4b21bfe9e3b0c551e8a4"/></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="american-express-flag.svg" hash="5e8f075abba7baa0bf6612ad7257b7af"/><file name="aura-flag.svg" hash="5108ae0c1ffcf5e8ade452971fab86e3"/><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="bb-flag.svg" hash="1f975352db9858164953c239c0f48b15"/><file name="boleto-flag.svg" hash="349465678cab30e15fc915cbb20f70c0"/><file name="bradesco-flag.svg" hash="922871bd31002207cd21fb4c83ab2bf9"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="diners-club-international-flag.svg" hash="6654d0a49c0bda41e37f09b204299719"/><file name="discover-flag.svg" hash="cc3c7a7a645c1c2b9ff45d35ec3d6ba4"/><file name="elo-flag.svg" hash="6aea17a57eb7f333bff577132846f6db"/><file name="hiper-flag.svg" hash="a42c6023c50d0a25e00072c4d9c1f382"/><file name="hipercard-flag.svg" hash="1f48be23788b90411c22ff2569b48f74"/><file name="hsbc-flag.svg" hash="4dec610798ad69cb53e32037d4bc9eee"/><file name="itau-flag.svg" hash="5eed9a56cbb9e313bce6c272a180275d"/><file name="jcb-flag.svg" hash="72c3cb6f8ccec48734422c5258e6d706"/><file name="mastercard-flag.svg" hash="6f8393b3588046c3bb17ffb26eb8c726"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/><file name="paymentFlags1.png" hash="2a1724b718bf2ff7a1b25b53acc0cefd"/><file name="paymentFlagsTc.png" hash="6dd7df4802b30ea61b96ad5752bab4ed"/><file name="peela-flag.svg" hash="59f1259c52ad40afaee0943ff1e64791"/><file name="visa-flag.svg" hash="98ec94a1fa4bcb73effc3e5f3506c08b"/></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="modal.js" hash="a1021b9d952418ab46053fb0af03efac"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tray_CheckoutApi.xml" hash="c95a8f82fd3200b98898f0b9712ea0c8"/></dir></target><target name="mage"><dir name="js"><dir name="tray"><dir name="checkoutapi"><dir><dir name="js"><file name="traycheckout.js" hash="a4aa70e041b43dcb0e6cbf0e25438808"/></dir></dir></dir></dir></dir></target></contents>
97
  <compatible/>
98
  <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>
99
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutApi</name>
4
+ <version>1.1.12</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
89
  Vers&#xE3;o 1.1.6&#xD;
90
  &#xD;
91
  - Ajustes na exibi&#xE7;&#xE3;o do parcelamento consultando direto das configura&#xE7;&#xF5;es da conta no TrayCheckout.&#xD;
92
+ - Ajustes no retorno autom&#xE1;tico para atualiza&#xE7;&#xE3;o de status.&#xD;
93
+ &#xD;
94
+ Vers&#xE3;o 1.1.7&#xD;
95
+ &#xD;
96
+ - Ajustes no envio dos dados.&#xD;
97
+ &#xD;
98
+ Vers&#xE3;o 1.1.8&#xD;
99
+ &#xD;
100
+ - Ajustes na requisi&#xE7;&#xE3;o de parcelamento para HTTPS&#xD;
101
+ &#xD;
102
+ Vers&#xE3;o 1.1.9&#xD;
103
+ &#xD;
104
+ - Ajustes na requisi&#xE7;&#xE3;o de configura&#xE7;&#xE3;o no ADMIN para HTTPS&#xD;
105
+ &#xD;
106
+ Vers&#xE3;o 1.1.10&#xD;
107
+ &#xD;
108
+ - Ajustes no cancelamento do pedido devido falha na configura&#xE7;&#xE3;o.&#xD;
109
+ &#xD;
110
+ Vers&#xE3;o 1.1.11&#xD;
111
+ &#xD;
112
+ - Ajustes na parte de recarregar as configs no retorno autom&#xE1;tico.&#xD;
113
+ - Ajustes no campo de cart&#xE3;o de cr&#xE9;dito para retirar espa&#xE7;os em branco para a valida&#xE7;&#xE3;o do cart&#xE3;o.&#xD;
114
+ &#xD;
115
+ Vers&#xE3;o 1.1.12&#xD;
116
+ &#xD;
117
+ - Ajustes nos registros de log.&#xD;
118
+ - Melhorias no sistema de envio de produtos.</notes>
119
  <authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
120
+ <date>2016-03-17</date>
121
+ <time>12:53:42</time>
122
+ <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="Hidden.php" hash="be5282cf3b72a35f2c7c808093bd2373"/><file name="Label.php" hash="32609059ab761629064c8788d4cb9054"/></dir></dir></dir></dir><file name="Error.php" hash="a3a8aa9edb5c7718b7941e85421f0aa2"/><dir name="Form"><file name="Bankslip.php" hash="2a274dde3529a37888169d8b9b6e2c3a"/><file name="Onlinetransfer.php" hash="9fd9a1d28fab6d56b5b796e302da0cb0"/><file name="Standard.php" hash="e1fc731119385f07e0b92d02611c6502"/></dir><dir name="Info"><file name="Bankslip.php" hash="aeff5e716c8276e1f20cfc7cde6b49a6"/><file name="Onlinetransfer.php" hash="b1156534ef56fecf6bfc55807e650f0f"/><file name="Standard.php" hash="001cb928fdf7c652c2d64d888da34985"/></dir><file name="Link.php" hash="06ad7cb8eb1a52c7f130caacc0921657"/><file name="Payment.php" hash="be531180440dc9ebe575a847a812e8d1"/><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="Auth.php" hash="570d4182c7879864dc1519b90f71c44d"/><file name="Bankslip.php" hash="a53cae20a4952eaf1bc1d43c166eb0d6"/><file name="Config.php" hash="7377296737b655ad3c01b3ae6081b507"/><dir name="Mysql4"><file name="Setup.php" hash="8a42c69f5c1a1be59d99985982a3703b"/></dir><file name="Observer.php" hash="4470a05bf0ec9c424099857b2882d19e"/><file name="Onlinetransfer.php" hash="2b40cf76d653a9d1573df3c0e6c538a4"/><file name="Payment.php" hash="73d4ed6ffac89dc49d1dd908455cd4d8"/><file name="Request.php" hash="835404edf5edef57711264aab658de28"/><dir name="Resource"><file name="Payment.php" hash="74c257a6afb7ca7ff9ce96954dac64c0"/></dir><dir name="Source"><file name="Country.php" hash="153d0153071b72f23ac2a1c4fee93c24"/><file name="Payment.php" hash="7872c2c8b2f0a489876cea0fdaa89ce1"/><file name="Paymentmethods.php" hash="6e72208d95785d45181ac4a2557bb882"/><file name="Qtdsplit.php" hash="1273ee53626482898aefd7a3d31ebaea"/><file name="Specificcountries.php" hash="e41658287e6c68041d3f0042130f7db3"/><file name="Tefpaymentmethods.php" hash="efa55a28f959f252195134753b16a05c"/></dir><file name="Standard.php" hash="7b94cf82ce64dd0f8c5b5e37f1620969"/></dir><dir name="controllers"><file name="StandardController.php" hash="4341f755fc70cbd34bc62f79511547fd"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2b0114a2ffbce1930787f7a4e20ce73b"/><file name="config.xml" hash="f80a5779c03f143532476893e8e42c63"/><file name="system.xml" hash="dab854a4fbcadb5828517ece100e6af1"/></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-install-1.1.2.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.3.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.4.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.5.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-1.1.6.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"><file name="bankslip.phtml" hash="a07bbe0da9d492cc69bacffa2fd4781e"/><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir><file name="onlinetransfer.phtml" hash="59778850625bff50e592501c54f4e155"/><file name="standard.phtml" hash="02fd32a5a4acac7871b9915c6b12637b"/></dir><file name="head.phtml" hash="750d167a7a10ef1f56a73262f918dca5"/><dir name="info"><file name="bankslip.phtml" hash="0cd67cea7447ac3d7fcd33bf57bec7dd"/><file name="onlinetransfer.phtml" hash="0cd67cea7447ac3d7fcd33bf57bec7dd"/><file name="standard.phtml" hash="64cc0fb344ae0fe105fe1f5b3d6d68b2"/></dir><file name="overlay.phtml" hash="d4ee4dbb85f9a7a350c6e8d5f59a9978"/><file name="payment.phtml" hash="99d950355a4e208c4fd3cf74bbf3f9ec"/><file name="return.phtml" hash="47d5e3e1c3bda47721573e9639a54ca6"/></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="94d7470c8102b2a8b64b0b908131cfb0"/></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="bankslip.phtml" hash="f543bfd1254908764362a07bcb943116"/><file name="onlinetransfer.phtml" hash="6b185db6587e9089dd0032aceb4554fc"/><file name="standard.phtml" hash="591e95574d2653f139763929b22bc3fd"/></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="45df4c930cf383713dc4b46589ecc1bb"/></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="american-express-flag.svg" hash="5e8f075abba7baa0bf6612ad7257b7af"/><file name="aura-flag.svg" hash="5108ae0c1ffcf5e8ade452971fab86e3"/><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="bb-flag.svg" hash="1f975352db9858164953c239c0f48b15"/><file name="boleto-flag.svg" hash="349465678cab30e15fc915cbb20f70c0"/><file name="bradesco-flag.svg" hash="922871bd31002207cd21fb4c83ab2bf9"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="diners-club-international-flag.svg" hash="6654d0a49c0bda41e37f09b204299719"/><file name="discover-flag.svg" hash="cc3c7a7a645c1c2b9ff45d35ec3d6ba4"/><file name="elo-flag.svg" hash="6aea17a57eb7f333bff577132846f6db"/><file name="hiper-flag.svg" hash="a42c6023c50d0a25e00072c4d9c1f382"/><file name="hipercard-flag.svg" hash="1f48be23788b90411c22ff2569b48f74"/><file name="hsbc-flag.svg" hash="4dec610798ad69cb53e32037d4bc9eee"/><file name="itau-flag.svg" hash="5eed9a56cbb9e313bce6c272a180275d"/><file name="jcb-flag.svg" hash="72c3cb6f8ccec48734422c5258e6d706"/><file name="mastercard-flag.svg" hash="6f8393b3588046c3bb17ffb26eb8c726"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/><file name="paymentFlags1.png" hash="2a1724b718bf2ff7a1b25b53acc0cefd"/><file name="paymentFlagsTc.png" hash="6dd7df4802b30ea61b96ad5752bab4ed"/><file name="peela-flag.svg" hash="59f1259c52ad40afaee0943ff1e64791"/><file name="visa-flag.svg" hash="98ec94a1fa4bcb73effc3e5f3506c08b"/></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="modal.js" hash="a1021b9d952418ab46053fb0af03efac"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tray_CheckoutApi.xml" hash="c95a8f82fd3200b98898f0b9712ea0c8"/></dir></target><target name="mage"><dir name="js"><dir name="tray"><dir name="checkoutapi"><dir><dir name="js"><file name="traycheckout.js" hash="84e31eeee45d2ce0f9a5d5ebde71772e"/></dir></dir></dir></dir></dir></target></contents>
123
  <compatible/>
124
  <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>
125
  </package>
skin/adminhtml/default/default/tray/checkoutapi/css/magentomodal.css CHANGED
File without changes
skin/adminhtml/default/default/tray/checkoutapi/images/btn_bg.gif CHANGED
File without changes
skin/adminhtml/default/default/tray/checkoutapi/images/content_bg.gif CHANGED
File without changes
skin/adminhtml/default/default/tray/checkoutapi/images/top_bg.gif CHANGED
File without changes
skin/adminhtml/default/default/tray/checkoutapi/images/window_close.png CHANGED
File without changes
skin/adminhtml/default/default/tray/checkoutapi/js/modal.js CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/css/styles.css CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/BannerTrayCheckout890px.png CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/american-express-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/aura-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/banner_comlogo_formas.jpg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/banner_semlogo_formas.jpg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/banner_semlogo_formas.png CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/bb-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/boleto-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/bradesco-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/close.png CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/diners-club-international-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/discover-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/elo-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/hiper-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/hipercard-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/hsbc-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/itau-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/jcb-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/mastercard-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/overlay.png CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/paymentFlags1.png CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/paymentFlagsTc.png CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/peela-flag.svg CHANGED
File without changes
skin/frontend/base/default/tray/checkoutapi/images/visa-flag.svg CHANGED
File without changes