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.
Versão 1.2.0
- Melhorias no sistema de cancelamento de transação.
- Integração do envio do código de rastreio automático.
Versão 1.2.1
- Ajuste na atualização automática de status.
Versão 1.2.2
- Ajuste nos dados de cartão quando utilizado mascara.
- Adaptação do valor de meio de pagamento para evitar envio duplicado de campo devido falha contida no módulo OnePageCheckout.
Versão 1.2.3
- Ajuste nos dados de o comprador (IP) para análise.
Versão 1.2.4
- Ajuste nas configurações e exibição dos dados de cartão.
Versão 1.2.5
- Ajuste na URL de Notificação.
Versão 1.2.6
- Ajuste na URL de consulta de parcelas (remove ___SID=S).
Versão 1.3.0
- Ajuste para requisição com TLS 1.1 e TLS 1.2
Versão 1.3.1
- Correção no Layout
Versão 1.3.2
- Ajuste no envio do código de rastreio.
Versão 1.3.3
- Ajuste para segurança do módulo.
Release Info
Developer | TrayCheckout |
Extension | Tray_CheckoutApi |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- app/code/community/Tray/CheckoutApi/Block/Adminhtml/System/Config/Fieldset/Hidden.php +1 -12
- app/code/community/Tray/CheckoutApi/Block/Adminhtml/System/Config/Fieldset/Label.php +1 -24
- app/code/community/Tray/CheckoutApi/Block/Info/Bankslip.php +4 -4
- app/code/community/Tray/CheckoutApi/Block/Info/Onlinetransfer.php +3 -3
- app/code/community/Tray/CheckoutApi/Block/Info/Standard.php +3 -3
- app/code/community/Tray/CheckoutApi/Model/Observer.php +4 -5
- app/code/community/Tray/CheckoutApi/Model/Source/Tefpaymentmethods.php +0 -1
- app/code/community/Tray/CheckoutApi/controllers/StandardController.php +2 -2
- app/code/community/Tray/CheckoutApi/etc/config.xml +5 -5
- app/code/community/Tray/CheckoutApi/etc/system.xml +6 -6
- app/design/frontend/base/default/layout/tray_checkoutapi.xml +1 -1
- app/design/frontend/base/default/template/tray/checkoutapi/form/onlinetransfer.phtml +1 -2
- package.xml +9 -5
@@ -21,20 +21,9 @@ class Tray_CheckoutApi_Block_Adminhtml_System_Config_Fieldset_Hidden extends Mag
|
|
21 |
{
|
22 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
{
|
24 |
-
$id = $element->getHtmlId();
|
25 |
|
26 |
-
$html = sprintf('
|
27 |
-
<tr id="row_payment_traycheckoutapi_%s" >
|
28 |
-
<td class="value" colspan="4">
|
29 |
-
<input id="%s" name="%s" value="%s" class="input-text" type="hidden" >
|
30 |
-
</td>
|
31 |
-
</tr>',
|
32 |
-
$element->getHtmlId(), $element->getHtmlId(), $element->getName(), $element->getValue()
|
33 |
-
);
|
34 |
|
35 |
-
$html
|
36 |
-
|
37 |
-
HTML;
|
38 |
|
39 |
return $html;
|
40 |
}
|
21 |
{
|
22 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
{
|
|
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
+
$html = "";
|
|
|
|
|
27 |
|
28 |
return $html;
|
29 |
}
|
@@ -21,32 +21,9 @@ class Tray_CheckoutApi_Block_Adminhtml_System_Config_Fieldset_Label extends Mage
|
|
21 |
{
|
22 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
{
|
24 |
-
$paymentMethod = str_replace(array("payment_","_configButtom"),"",$element->getHtmlId());
|
25 |
|
26 |
-
$paymentMethod = ($paymentMethod == "traycheckoutapi_bankslip") ? "bankslip" : (($paymentMethod == "traycheckoutapi_onlinetransfer") ? "onlinetransfer" : "standard");
|
27 |
|
28 |
-
$
|
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">
|
35 |
-
<label for="payment_traycheckoutapi_%s">%s</label>
|
36 |
-
</td>
|
37 |
-
<td class="value">
|
38 |
-
<button type="button" id="%s" name="%s" class="button" onclick="openModalTc(\'http://developers.tray.com.br/authLogin.php?environment=%s&path=%s&type=%s\', \'Configuração TrayCheckout\');openMessagePopup();return false;"> Configurar </button>
|
39 |
-
</td>
|
40 |
-
<td class="scope-label"></td>
|
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
|
48 |
-
|
49 |
-
HTML;
|
50 |
|
51 |
return $html;
|
52 |
}
|
21 |
{
|
22 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
{
|
|
|
24 |
|
|
|
25 |
|
26 |
+
$html = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
return $html;
|
29 |
}
|
@@ -35,10 +35,10 @@ class Tray_CheckoutApi_Block_Info_Bankslip extends Mage_Payment_Block_Info
|
|
35 |
$hash = Mage::getModel('core/encryption')->encrypt($incrementid . ":" . $quoteid);
|
36 |
$method = $_order->getPayment()->getMethod();
|
37 |
|
38 |
-
Mage::log($_order->getCustomerId(), null, 'traycheckout.log');
|
39 |
-
Mage::log(Mage::getModel('checkoutapi/payment')->getPayment(), null, 'traycheckout.log');
|
40 |
-
Mage::log('Chamada: ', null, 'traycheckout.log');
|
41 |
-
Mage::log('URL Payment: '.$_order->getPayment()->getData('traycheckout_url_payment'), null, 'traycheckout.log');
|
42 |
|
43 |
if ($method == "traycheckoutapi_bankslip" && (($_order->getStatus() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT ) || ($_order->getStatus() == 'pending' ))){
|
44 |
return '<span><button onclick="window.open(\''.$_order->getPayment()->getData('traycheckout_url_payment').'\');" class="button btn-proceed-checkout btn-checkout" title="Imprimir Boleto" type="button"><span><span>Imprimir Boleto</span></span></button></span>';
|
35 |
$hash = Mage::getModel('core/encryption')->encrypt($incrementid . ":" . $quoteid);
|
36 |
$method = $_order->getPayment()->getMethod();
|
37 |
|
38 |
+
//Mage::log($_order->getCustomerId(), null, 'traycheckout.log');
|
39 |
+
//Mage::log(Mage::getModel('checkoutapi/payment')->getPayment(), null, 'traycheckout.log');
|
40 |
+
//Mage::log('Chamada: ', null, 'traycheckout.log');
|
41 |
+
//Mage::log('URL Payment: '.$_order->getPayment()->getData('traycheckout_url_payment'), null, 'traycheckout.log');
|
42 |
|
43 |
if ($method == "traycheckoutapi_bankslip" && (($_order->getStatus() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT ) || ($_order->getStatus() == 'pending' ))){
|
44 |
return '<span><button onclick="window.open(\''.$_order->getPayment()->getData('traycheckout_url_payment').'\');" class="button btn-proceed-checkout btn-checkout" title="Imprimir Boleto" type="button"><span><span>Imprimir Boleto</span></span></button></span>';
|
@@ -35,9 +35,9 @@ class Tray_CheckoutApi_Block_Info_Onlinetransfer extends Mage_Payment_Block_Info
|
|
35 |
$hash = Mage::getModel('core/encryption')->encrypt($incrementid . ":" . $quoteid);
|
36 |
$method = $_order->getPayment()->getMethod();
|
37 |
|
38 |
-
Mage::log($_order->getCustomerId(), null, 'traycheckout.log');
|
39 |
-
Mage::log(Mage::getModel('checkoutapi/payment')->getPayment(), null, 'traycheckout.log');
|
40 |
-
Mage::log('Chamada: ', null, 'traycheckout.log');
|
41 |
|
42 |
if ($method == "traycheckoutapi_onlinetransfer" && (($_order->getStatus() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT ) || ($_order->getStatus() == 'pending' ))){
|
43 |
return '<span><button onclick="window.open(\''.$_order->getPayment()->getData('traycheckout_url_payment').'\');" class="button btn-proceed-checkout btn-checkout" title="Efetuar Transferência Online" type="button"><span><span>Efetuar Transferência Online</span></span></button></span>';
|
35 |
$hash = Mage::getModel('core/encryption')->encrypt($incrementid . ":" . $quoteid);
|
36 |
$method = $_order->getPayment()->getMethod();
|
37 |
|
38 |
+
//Mage::log($_order->getCustomerId(), null, 'traycheckout.log');
|
39 |
+
//Mage::log(Mage::getModel('checkoutapi/payment')->getPayment(), null, 'traycheckout.log');
|
40 |
+
//Mage::log('Chamada: ', null, 'traycheckout.log');
|
41 |
|
42 |
if ($method == "traycheckoutapi_onlinetransfer" && (($_order->getStatus() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT ) || ($_order->getStatus() == 'pending' ))){
|
43 |
return '<span><button onclick="window.open(\''.$_order->getPayment()->getData('traycheckout_url_payment').'\');" class="button btn-proceed-checkout btn-checkout" title="Efetuar Transferência Online" type="button"><span><span>Efetuar Transferência Online</span></span></button></span>';
|
@@ -35,9 +35,9 @@ class Tray_CheckoutApi_Block_Info_Standard extends Mage_Payment_Block_Info
|
|
35 |
$hash = Mage::getModel('core/encryption')->encrypt($incrementid . ":" . $quoteid);
|
36 |
$method = $_order->getPayment()->getMethod();
|
37 |
|
38 |
-
Mage::log($_order->getCustomerId(), null, 'traycheckout.log');
|
39 |
-
Mage::log(Mage::getModel('checkoutapi/payment')->getPayment(), null, 'traycheckout.log');
|
40 |
-
Mage::log('Chamada: ', null, 'traycheckout.log');
|
41 |
|
42 |
if ($method == "traycheckoutapi" && ($_order->getStatus() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT )){
|
43 |
return '<span>Para efetuar o pagamento, <a href="' . Mage::getBaseUrl() . 'checkoutapi/standard/paymentbackend/order/' . $hash . '">clique aqui</a>.</span>';
|
35 |
$hash = Mage::getModel('core/encryption')->encrypt($incrementid . ":" . $quoteid);
|
36 |
$method = $_order->getPayment()->getMethod();
|
37 |
|
38 |
+
//Mage::log($_order->getCustomerId(), null, 'traycheckout.log');
|
39 |
+
//Mage::log(Mage::getModel('checkoutapi/payment')->getPayment(), null, 'traycheckout.log');
|
40 |
+
//Mage::log('Chamada: ', null, 'traycheckout.log');
|
41 |
|
42 |
if ($method == "traycheckoutapi" && ($_order->getStatus() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT )){
|
43 |
return '<span>Para efetuar o pagamento, <a href="' . Mage::getBaseUrl() . 'checkoutapi/standard/paymentbackend/order/' . $hash . '">clique aqui</a>.</span>';
|
@@ -34,7 +34,7 @@ class Tray_CheckoutApi_Model_Observer extends Varien_Object
|
|
34 |
// }
|
35 |
}
|
36 |
|
37 |
-
public function cancelOrderTrayCheckout(Varien_Event_Observer $observer) {
|
38 |
$order = $observer->getOrder();
|
39 |
|
40 |
$paymentMethod = str_replace(array("payment_","_configButtom"),"",$order->getPayment()->getData('method'));
|
@@ -85,13 +85,12 @@ class Tray_CheckoutApi_Model_Observer extends Varien_Object
|
|
85 |
}
|
86 |
|
87 |
if (count($tracking) > 0) {
|
88 |
-
|
89 |
-
$tcAuth->doAuthorization( $configTc->getConfigData("customerKey"), $configTc->getConfigData("customerSecret"), $configTc->getConfigData("code"), $configTc->getConfigData("sandbox"));
|
90 |
|
91 |
$tcRequest = Mage::getModel('checkoutapi/request');
|
92 |
|
93 |
$params["token_account"] = $configTc->getConfigData('token');
|
94 |
-
|
95 |
$params["order_number"] = $configTc->getConfigData('prefixo') . $order->getIncrementId();
|
96 |
$params["code"] = $tracking['number'];
|
97 |
$params["date_posting"] = date("d/m/Y",strtotime($shipment->getCreatedAt()));
|
@@ -114,6 +113,6 @@ class Tray_CheckoutApi_Model_Observer extends Varien_Object
|
|
114 |
//$params["transaction_id"] = $order->getPayment()->getData("traycheckout_token_transaction");
|
115 |
}
|
116 |
|
117 |
-
}
|
118 |
|
119 |
}
|
34 |
// }
|
35 |
}
|
36 |
|
37 |
+
/*public function cancelOrderTrayCheckout(Varien_Event_Observer $observer) {
|
38 |
$order = $observer->getOrder();
|
39 |
|
40 |
$paymentMethod = str_replace(array("payment_","_configButtom"),"",$order->getPayment()->getData('method'));
|
85 |
}
|
86 |
|
87 |
if (count($tracking) > 0) {
|
88 |
+
//$tcAuth->doAuthorization( $configTc->getConfigData("customerKey"), $configTc->getConfigData("customerSecret"), $configTc->getConfigData("code"), $configTc->getConfigData("sandbox"));
|
|
|
89 |
|
90 |
$tcRequest = Mage::getModel('checkoutapi/request');
|
91 |
|
92 |
$params["token_account"] = $configTc->getConfigData('token');
|
93 |
+
//$params["access_token"] = $tcAuth->access_token;
|
94 |
$params["order_number"] = $configTc->getConfigData('prefixo') . $order->getIncrementId();
|
95 |
$params["code"] = $tracking['number'];
|
96 |
$params["date_posting"] = date("d/m/Y",strtotime($shipment->getCreatedAt()));
|
113 |
//$params["transaction_id"] = $order->getPayment()->getData("traycheckout_token_transaction");
|
114 |
}
|
115 |
|
116 |
+
}*/
|
117 |
|
118 |
}
|
@@ -26,7 +26,6 @@ class Tray_CheckoutApi_Model_Source_Tefpaymentmethods
|
|
26 |
array('value' => '7', 'label'=>Mage::helper('adminhtml')->__('Itaú Shopline (Transferência)')),
|
27 |
array('value' => '22', 'label'=>Mage::helper('adminhtml')->__('Transf. Online Bradesco')),
|
28 |
array('value' => '23', 'label'=>Mage::helper('adminhtml')->__('Transf. Online Banco do Brasil')),
|
29 |
-
array('value' => '21', 'label'=>Mage::helper('adminhtml')->__('Transf. Online HSBC')),
|
30 |
);
|
31 |
}
|
32 |
}
|
26 |
array('value' => '7', 'label'=>Mage::helper('adminhtml')->__('Itaú Shopline (Transferência)')),
|
27 |
array('value' => '22', 'label'=>Mage::helper('adminhtml')->__('Transf. Online Bradesco')),
|
28 |
array('value' => '23', 'label'=>Mage::helper('adminhtml')->__('Transf. Online Banco do Brasil')),
|
|
|
29 |
);
|
30 |
}
|
31 |
}
|
@@ -38,7 +38,7 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
|
|
38 |
$this->renderLayout();
|
39 |
}
|
40 |
|
41 |
-
public function returnconfigmoduleAction()
|
42 |
{
|
43 |
|
44 |
$code = $this->getRequest()->getParam('code', false);
|
@@ -76,7 +76,7 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
|
|
76 |
|
77 |
echo $script;
|
78 |
}
|
79 |
-
}
|
80 |
|
81 |
public function paymentbackendAction()
|
82 |
{
|
38 |
$this->renderLayout();
|
39 |
}
|
40 |
|
41 |
+
/*public function returnconfigmoduleAction()
|
42 |
{
|
43 |
|
44 |
$code = $this->getRequest()->getParam('code', false);
|
76 |
|
77 |
echo $script;
|
78 |
}
|
79 |
+
}*/
|
80 |
|
81 |
public function paymentbackendAction()
|
82 |
{
|
@@ -21,7 +21,7 @@
|
|
21 |
<config>
|
22 |
<modules>
|
23 |
<Tray_CheckoutApi>
|
24 |
-
<version>1.3.
|
25 |
</Tray_CheckoutApi>
|
26 |
</modules>
|
27 |
<global>
|
@@ -97,7 +97,7 @@
|
|
97 |
</checkoutapi_observer>
|
98 |
</observers>
|
99 |
</checkout_multishipping_controller_success_action>
|
100 |
-
|
101 |
<observers>
|
102 |
<checkoutapi_observer>
|
103 |
<type>singleton</type>
|
@@ -105,8 +105,8 @@
|
|
105 |
<method>cancelOrderTrayCheckout</method>
|
106 |
</checkoutapi_observer>
|
107 |
</observers>
|
108 |
-
</order_cancel_after
|
109 |
-
|
110 |
<observers>
|
111 |
<checkoutapi_observer>
|
112 |
<type>singleton</type>
|
@@ -114,7 +114,7 @@
|
|
114 |
<method>shipmentTrayCheckout</method>
|
115 |
</checkoutapi_observer>
|
116 |
</observers>
|
117 |
-
</sales_order_shipment_save_after
|
118 |
</events>
|
119 |
<fieldsets>
|
120 |
<sales_convert_quote_payment>
|
21 |
<config>
|
22 |
<modules>
|
23 |
<Tray_CheckoutApi>
|
24 |
+
<version>1.3.3</version>
|
25 |
</Tray_CheckoutApi>
|
26 |
</modules>
|
27 |
<global>
|
97 |
</checkoutapi_observer>
|
98 |
</observers>
|
99 |
</checkout_multishipping_controller_success_action>
|
100 |
+
<!--order_cancel_after>
|
101 |
<observers>
|
102 |
<checkoutapi_observer>
|
103 |
<type>singleton</type>
|
105 |
<method>cancelOrderTrayCheckout</method>
|
106 |
</checkoutapi_observer>
|
107 |
</observers>
|
108 |
+
</order_cancel_after-->
|
109 |
+
<!--sales_order_shipment_save_after>
|
110 |
<observers>
|
111 |
<checkoutapi_observer>
|
112 |
<type>singleton</type>
|
114 |
<method>shipmentTrayCheckout</method>
|
115 |
</checkoutapi_observer>
|
116 |
</observers>
|
117 |
+
</sales_order_shipment_save_after-->
|
118 |
</events>
|
119 |
<fieldsets>
|
120 |
<sales_convert_quote_payment>
|
@@ -35,7 +35,7 @@
|
|
35 |
<show_in_website>1</show_in_website>
|
36 |
<show_in_store>0</show_in_store>
|
37 |
<fields>
|
38 |
-
|
39 |
<label>Consumer Key TrayCheckout</label>
|
40 |
<frontend_type>text</frontend_type>
|
41 |
<sort_order>0</sort_order>
|
@@ -70,7 +70,7 @@
|
|
70 |
<show_in_website>1</show_in_website>
|
71 |
<show_in_store>0</show_in_store>
|
72 |
<frontend_model>checkoutapi/adminhtml_system_config_fieldset_label</frontend_model>
|
73 |
-
</configButtom
|
74 |
<active translate="label">
|
75 |
<label>Enabled</label>
|
76 |
<frontend_type>select</frontend_type>
|
@@ -194,7 +194,7 @@
|
|
194 |
<show_in_website>1</show_in_website>
|
195 |
<show_in_store>0</show_in_store>
|
196 |
<fields>
|
197 |
-
|
198 |
<label>Consumer Key TrayCheckout</label>
|
199 |
<frontend_type>text</frontend_type>
|
200 |
<sort_order>0</sort_order>
|
@@ -229,7 +229,7 @@
|
|
229 |
<show_in_website>1</show_in_website>
|
230 |
<show_in_store>0</show_in_store>
|
231 |
<frontend_model>checkoutapi/adminhtml_system_config_fieldset_label</frontend_model>
|
232 |
-
</configButtom
|
233 |
<active translate="label">
|
234 |
<label>Enabled</label>
|
235 |
<frontend_type>select</frontend_type>
|
@@ -335,7 +335,7 @@
|
|
335 |
<show_in_website>1</show_in_website>
|
336 |
<show_in_store>0</show_in_store>
|
337 |
<fields>
|
338 |
-
|
339 |
<label>Consumer Key TrayCheckout</label>
|
340 |
<frontend_type>text</frontend_type>
|
341 |
<sort_order>0</sort_order>
|
@@ -370,7 +370,7 @@
|
|
370 |
<show_in_website>1</show_in_website>
|
371 |
<show_in_store>0</show_in_store>
|
372 |
<frontend_model>checkoutapi/adminhtml_system_config_fieldset_label</frontend_model>
|
373 |
-
</configButtom
|
374 |
<active translate="label">
|
375 |
<label>Enabled</label>
|
376 |
<frontend_type>select</frontend_type>
|
35 |
<show_in_website>1</show_in_website>
|
36 |
<show_in_store>0</show_in_store>
|
37 |
<fields>
|
38 |
+
<!--customerKey translate="label">
|
39 |
<label>Consumer Key TrayCheckout</label>
|
40 |
<frontend_type>text</frontend_type>
|
41 |
<sort_order>0</sort_order>
|
70 |
<show_in_website>1</show_in_website>
|
71 |
<show_in_store>0</show_in_store>
|
72 |
<frontend_model>checkoutapi/adminhtml_system_config_fieldset_label</frontend_model>
|
73 |
+
</configButtom-->
|
74 |
<active translate="label">
|
75 |
<label>Enabled</label>
|
76 |
<frontend_type>select</frontend_type>
|
194 |
<show_in_website>1</show_in_website>
|
195 |
<show_in_store>0</show_in_store>
|
196 |
<fields>
|
197 |
+
<!--customerKey translate="label">
|
198 |
<label>Consumer Key TrayCheckout</label>
|
199 |
<frontend_type>text</frontend_type>
|
200 |
<sort_order>0</sort_order>
|
229 |
<show_in_website>1</show_in_website>
|
230 |
<show_in_store>0</show_in_store>
|
231 |
<frontend_model>checkoutapi/adminhtml_system_config_fieldset_label</frontend_model>
|
232 |
+
</configButtom-->
|
233 |
<active translate="label">
|
234 |
<label>Enabled</label>
|
235 |
<frontend_type>select</frontend_type>
|
335 |
<show_in_website>1</show_in_website>
|
336 |
<show_in_store>0</show_in_store>
|
337 |
<fields>
|
338 |
+
<!--customerKey translate="label">
|
339 |
<label>Consumer Key TrayCheckout</label>
|
340 |
<frontend_type>text</frontend_type>
|
341 |
<sort_order>0</sort_order>
|
370 |
<show_in_website>1</show_in_website>
|
371 |
<show_in_store>0</show_in_store>
|
372 |
<frontend_model>checkoutapi/adminhtml_system_config_fieldset_label</frontend_model>
|
373 |
+
</configButtom-->
|
374 |
<active translate="label">
|
375 |
<label>Enabled</label>
|
376 |
<frontend_type>select</frontend_type>
|
@@ -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.3.
|
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.3.3">
|
22 |
<default>
|
23 |
<reference name="head">
|
24 |
<action method="addJs">
|
@@ -27,7 +27,7 @@
|
|
27 |
$strTcPaymentMethods = $_standardPD->getConfigData("tcPaymentMethods");
|
28 |
|
29 |
if($strTcPaymentMethods == "" || $strTcPaymentMethods == null){
|
30 |
-
$tctPaymentMethods = explode(",","14,7,22,23
|
31 |
}else{
|
32 |
$tctPaymentMethods = explode(",",$strTcPaymentMethods);
|
33 |
}
|
@@ -78,7 +78,6 @@
|
|
78 |
case 14: $imgSrc = "peela";break;
|
79 |
case 22: $imgSrc = "bradesco";break;
|
80 |
case 23: $imgSrc = "bb";break;
|
81 |
-
case 21: $imgSrc = "hsbc";break;
|
82 |
}
|
83 |
?>
|
84 |
<li class="tcPaymentMethod">
|
27 |
$strTcPaymentMethods = $_standardPD->getConfigData("tcPaymentMethods");
|
28 |
|
29 |
if($strTcPaymentMethods == "" || $strTcPaymentMethods == null){
|
30 |
+
$tctPaymentMethods = explode(",","14,7,22,23");
|
31 |
}else{
|
32 |
$tctPaymentMethods = explode(",",$strTcPaymentMethods);
|
33 |
}
|
78 |
case 14: $imgSrc = "peela";break;
|
79 |
case 22: $imgSrc = "bradesco";break;
|
80 |
case 23: $imgSrc = "bb";break;
|
|
|
81 |
}
|
82 |
?>
|
83 |
<li class="tcPaymentMethod">
|
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tray_CheckoutApi</name>
|
4 |
-
<version>1.3.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -158,11 +158,15 @@ Versão 1.3.1
|
|
158 |

|
159 |
Versão 1.3.2
|
160 |

|
161 |
-
- Ajuste no envio do código de rastreio
|
|
|
|
|
|
|
|
|
162 |
<authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
|
163 |
-
<date>2017-
|
164 |
-
<time>
|
165 |
-
<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="
|
166 |
<compatible/>
|
167 |
<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>
|
168 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tray_CheckoutApi</name>
|
4 |
+
<version>1.3.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
158 |

|
159 |
Versão 1.3.2
|
160 |

|
161 |
+
- Ajuste no envio do código de rastreio.
|
162 |
+

|
163 |
+
Versão 1.3.3
|
164 |
+

|
165 |
+
- Ajuste para segurança do módulo.</notes>
|
166 |
<authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
|
167 |
+
<date>2017-07-21</date>
|
168 |
+
<time>19:08:39</time>
|
169 |
+
<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="f068afe134586968e5306b6dcca9100e"/><file name="Label.php" hash="a5bab326833029c87d3dec1e0cd31d97"/></dir></dir></dir></dir><file name="Config.php" hash="1a8bf5141909c4329a8cee867faadee6"/><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="fe9591391b77944b94b76889f6a4b8c5"/><file name="Onlinetransfer.php" hash="c27aebebbf523a0017e15b7c42e1f07c"/><file name="Standard.php" hash="a43aba6cd88dcbcca6f2f3fc27b5dcb3"/></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="e325bfc32b68c1cebdb7e0bf05e21260"/><file name="Onlinetransfer.php" hash="2b40cf76d653a9d1573df3c0e6c538a4"/><file name="Payment.php" hash="73d4ed6ffac89dc49d1dd908455cd4d8"/><file name="Request.php" hash="2a678d0fc64c498c41ec6e5c2e932c8e"/><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="81e4a99bd6e132332f938c000501c52d"/><file name="Qtdsplit.php" hash="1273ee53626482898aefd7a3d31ebaea"/><file name="Specificcountries.php" hash="e41658287e6c68041d3f0042130f7db3"/><file name="Tefpaymentmethods.php" hash="57c3491aeb1941aa2b51082b65bed4a7"/></dir><file name="Standard.php" hash="b028661c9205269910acc97215a62c8d"/></dir><dir name="controllers"><file name="StandardController.php" hash="e593036d50d5d60e19841087ba621e96"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2b0114a2ffbce1930787f7a4e20ce73b"/><file name="config.xml" hash="889fbf44de29a6a41d87def67e155cf2"/><file name="system.xml" hash="4e0485aaea3660c9bc7b656c7de66c6c"/></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="b013e40a0a2bbb083ab06f68fc2259ff"/><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir><file name="onlinetransfer.phtml" hash="2c150d65ceecebcf9eb0867ed2a9c3c5"/><file name="standard.phtml" hash="8ee3b56f14f4e3c7904728c345da7206"/></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="ee9ff39aff79540e3a42a19a2f31224e"/></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="0c59f6efc03be9cce1150579e8bfeeff"/></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="8c786528a475ba55c574d7fe723a9d3e"/></dir></dir></dir></dir></dir></target></contents>
|
170 |
<compatible/>
|
171 |
<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>
|
172 |
</package>
|