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)
Release Info
Developer | TrayCheckout |
Extension | Tray_CheckoutApi |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 0.7.0 to 1.1.2
- app/code/community/Tray/CheckoutApi/Block/Info/Standard.php +8 -5
- app/code/community/Tray/CheckoutApi/Block/Payment.php +5 -0
- app/code/community/Tray/CheckoutApi/Model/Payment.php +27 -0
- app/code/community/Tray/CheckoutApi/Model/Resource/Payment.php +23 -0
- app/code/community/Tray/CheckoutApi/Model/Standard.php +7 -2
- app/code/community/Tray/CheckoutApi/controllers/StandardController.php +41 -39
- app/code/community/Tray/CheckoutApi/etc/config.xml +11 -2
- app/design/frontend/base/default/layout/tray_checkoutapi.xml +2 -2
- app/design/frontend/base/default/template/tray/checkoutapi/form/standard.phtml +2 -1
- app/design/frontend/base/default/template/tray/checkoutapi/info/standard.phtml +3 -1
- app/design/frontend/base/default/template/tray/checkoutapi/payment.phtml +8 -1
- package.xml +62 -42
@@ -33,11 +33,14 @@ class Tray_CheckoutApi_Block_Info_Standard extends Mage_Payment_Block_Info
|
|
33 |
$quoteid = $_order->getData('quote_id');
|
34 |
|
35 |
$hash = Mage::getModel('core/encryption')->encrypt($incrementid . ":" . $quoteid);
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
|
|
|
|
41 |
}
|
42 |
}
|
43 |
}
|
33 |
$quoteid = $_order->getData('quote_id');
|
34 |
|
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>';
|
44 |
}
|
45 |
}
|
46 |
}
|
@@ -27,6 +27,7 @@ class Tray_CheckoutApi_Block_Payment extends Mage_Core_Block_Template
|
|
27 |
protected $status_name;
|
28 |
protected $payment_method_id;
|
29 |
protected $payment_method_name;
|
|
|
30 |
|
31 |
public function getOrderNumber() {
|
32 |
return $this->order_number;
|
@@ -52,6 +53,9 @@ class Tray_CheckoutApi_Block_Payment extends Mage_Core_Block_Template
|
|
52 |
public function getPaymentMethodName() {
|
53 |
return $this->payment_method_name;
|
54 |
}
|
|
|
|
|
|
|
55 |
|
56 |
protected function getPayment()
|
57 |
{
|
@@ -68,6 +72,7 @@ class Tray_CheckoutApi_Block_Payment extends Mage_Core_Block_Template
|
|
68 |
$this->status_name = $xml->data_response->transaction->status_name;
|
69 |
$this->payment_method_name = $xml->data_response->transaction->payment->payment_method_name;
|
70 |
$this->payment_method_id = $xml->data_response->transaction->payment->payment_method_id;
|
|
|
71 |
|
72 |
$standard->updateTransactionTrayCheckout($xml->data_response->transaction);
|
73 |
|
27 |
protected $status_name;
|
28 |
protected $payment_method_id;
|
29 |
protected $payment_method_name;
|
30 |
+
protected $token_account;
|
31 |
|
32 |
public function getOrderNumber() {
|
33 |
return $this->order_number;
|
53 |
public function getPaymentMethodName() {
|
54 |
return $this->payment_method_name;
|
55 |
}
|
56 |
+
public function getTokenAccount() {
|
57 |
+
return $this->token_account;
|
58 |
+
}
|
59 |
|
60 |
protected function getPayment()
|
61 |
{
|
72 |
$this->status_name = $xml->data_response->transaction->status_name;
|
73 |
$this->payment_method_name = $xml->data_response->transaction->payment->payment_method_name;
|
74 |
$this->payment_method_id = $xml->data_response->transaction->payment->payment_method_id;
|
75 |
+
$this->token_account = $standard->getConfigData('token');
|
76 |
|
77 |
$standard->updateTransactionTrayCheckout($xml->data_response->transaction);
|
78 |
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte@tray.net.br so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Tray
|
16 |
+
* @package Tray_CheckoutApi
|
17 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
+
*/
|
19 |
+
|
20 |
+
class Tray_CheckoutApi_Model_Payment extends Mage_Sales_Model_Order_Payment
|
21 |
+
{
|
22 |
+
protected function _construct()
|
23 |
+
{
|
24 |
+
$this->_init('checkoutapi/payment'); // name of single resource model
|
25 |
+
}
|
26 |
+
|
27 |
+
}
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte@tray.net.br so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Tray
|
16 |
+
* @package Tray_CheckoutApi
|
17 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
+
*/
|
19 |
+
|
20 |
+
class My_Module_Model_Resource_Payment extends Mage_Sales_Model_Mysql4_Order_Payment
|
21 |
+
{
|
22 |
+
|
23 |
+
}
|
@@ -204,8 +204,11 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
204 |
|
205 |
// Validação do email do cliente
|
206 |
Mage::log('Validate - Email Data: '. $quote->getCustomer()->getEmail(), null, 'traycheckout.log');
|
|
|
207 |
if (!filter_var($quote->getCustomer()->getEmail(), FILTER_VALIDATE_EMAIL)) {
|
208 |
-
$
|
|
|
|
|
209 |
}
|
210 |
|
211 |
// Validação do telefone do cliente
|
@@ -445,7 +448,9 @@ class Tray_CheckoutApi_Model_Standard extends Mage_Payment_Model_Method_Abstract
|
|
445 |
$shipping = sprintf('%.2f',$shippingAmount) ;
|
446 |
|
447 |
$sArr['transaction[shipping_type]'] = $shipping_description;
|
448 |
-
$sArr['transaction[shipping_price]'] = $shipping;
|
|
|
|
|
449 |
|
450 |
$sArr['transaction[url_process]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
|
451 |
$sArr['transaction[url_success]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
|
204 |
|
205 |
// Validação do email do cliente
|
206 |
Mage::log('Validate - Email Data: '. $quote->getCustomer()->getEmail(), null, 'traycheckout.log');
|
207 |
+
Mage::log('Validate - Email Billing Data: '. $billingAddress->getEmail(), null, 'traycheckout.log');
|
208 |
if (!filter_var($quote->getCustomer()->getEmail(), FILTER_VALIDATE_EMAIL)) {
|
209 |
+
if (!filter_var($billingAddress->getEmail(), FILTER_VALIDATE_EMAIL)) {
|
210 |
+
$errorMsg .= "E-mail em branco ou inválido!!\n";
|
211 |
+
}
|
212 |
}
|
213 |
|
214 |
// Validação do telefone do cliente
|
448 |
$shipping = sprintf('%.2f',$shippingAmount) ;
|
449 |
|
450 |
$sArr['transaction[shipping_type]'] = $shipping_description;
|
451 |
+
$sArr['transaction[shipping_price]'] = $shipping;
|
452 |
+
|
453 |
+
$sArr['transaction[customer_ip]'] = Mage::helper('core/http')->getRemoteAddr(true);
|
454 |
|
455 |
$sArr['transaction[url_process]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
|
456 |
$sArr['transaction[url_success]'] = Mage::getUrl('checkoutapi/standard/return', array('_secure' => true));
|
@@ -294,23 +294,13 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
|
|
294 |
// what to do - from admin
|
295 |
$toInvoice = $this->getApi()->getConfigData('acaopadraovirtual') == "1" ? true : false;
|
296 |
|
297 |
-
if ($thereIsVirtual &&
|
298 |
|
299 |
-
|
300 |
-
|
301 |
-
$order->addStatusToHistory(
|
302 |
-
$order->getStatus(), //continue setting current order status
|
303 |
-
Mage::helper('checkoutapi')->__($frase), true
|
304 |
-
);
|
305 |
-
|
306 |
-
$order->sendOrderUpdateEmail(true, $frase);
|
307 |
-
} else {
|
308 |
-
|
309 |
-
if (!$order->canInvoice()) {
|
310 |
$isHolded = ( $order->getStatus() == Mage_Sales_Model_Order::STATE_HOLDED );
|
311 |
|
312 |
-
|
313 |
-
|
314 |
|
315 |
//when order cannot create invoice, need to have some logic to take care
|
316 |
$order->addStatusToHistory(
|
@@ -318,42 +308,54 @@ class Tray_CheckoutApi_StandardController extends Mage_Core_Controller_Front_Act
|
|
318 |
Mage::helper('checkoutapi')->__( $frase )
|
319 |
);
|
320 |
|
321 |
-
} else {
|
322 |
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
//need to convert from order into invoice
|
327 |
-
$invoice = $order->prepareInvoice();
|
328 |
|
329 |
-
|
330 |
-
|
331 |
-
}
|
332 |
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
->save();
|
337 |
|
338 |
-
|
|
|
|
|
|
|
339 |
|
340 |
-
|
341 |
|
342 |
-
|
343 |
-
$order->getStatus(), Mage::helper('checkoutapi')->__($frase), true
|
344 |
-
);
|
345 |
|
346 |
-
|
|
|
|
|
347 |
|
348 |
-
|
349 |
-
Mage_Sales_Model_Order::STATE_PROCESSING, //update order status to processing after creating an invoice
|
350 |
-
Mage::helper('checkoutapi')->__($frase), true
|
351 |
-
);
|
352 |
-
}
|
353 |
|
354 |
-
$
|
|
|
|
|
|
|
355 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
356 |
}
|
|
|
357 |
break;
|
358 |
case 24:
|
359 |
$order->addStatusToHistory(
|
294 |
// what to do - from admin
|
295 |
$toInvoice = $this->getApi()->getConfigData('acaopadraovirtual') == "1" ? true : false;
|
296 |
|
297 |
+
if ($thereIsVirtual && $toInvoice) {
|
298 |
|
299 |
+
/*if ($order->canInvoice()) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
$isHolded = ( $order->getStatus() == Mage_Sales_Model_Order::STATE_HOLDED );
|
301 |
|
302 |
+
$status = ($isHolded) ? Mage_Sales_Model_Order::STATE_PROCESSING : $order->getStatus();
|
303 |
+
$frase = ($isHolded) ? 'Tray - Aprovado. Confirmado automaticamente o pagamento do pedido.' : 'Erro ao criar pagamento (fatura).';
|
304 |
|
305 |
//when order cannot create invoice, need to have some logic to take care
|
306 |
$order->addStatusToHistory(
|
308 |
Mage::helper('checkoutapi')->__( $frase )
|
309 |
);
|
310 |
|
311 |
+
} else {*/
|
312 |
|
313 |
+
//need to save transaction id
|
314 |
+
$order->getPayment()->setTransactionId($dados_post['transaction']['transaction_id']);
|
|
|
|
|
|
|
315 |
|
316 |
+
//need to convert from order into invoice
|
317 |
+
$invoice = $order->prepareInvoice();
|
|
|
318 |
|
319 |
+
if ($this->getApi()->canCapture()) {
|
320 |
+
$invoice->register()->capture();
|
321 |
+
}
|
|
|
322 |
|
323 |
+
Mage::getModel('core/resource_transaction')
|
324 |
+
->addObject($invoice)
|
325 |
+
->addObject($invoice->getOrder())
|
326 |
+
->save();
|
327 |
|
328 |
+
$frase = 'Pagamento (fatura) ' . $invoice->getIncrementId() . ' foi criado. Tray - Aprovado. Confirmado automaticamente o pagamento do pedido.';
|
329 |
|
330 |
+
if ($thereIsVirtual) {
|
|
|
|
|
331 |
|
332 |
+
$order->addStatusToHistory(
|
333 |
+
$order->getStatus(), Mage::helper('checkoutapi')->__($frase), true
|
334 |
+
);
|
335 |
|
336 |
+
} else {
|
|
|
|
|
|
|
|
|
337 |
|
338 |
+
$order->addStatusToHistory(
|
339 |
+
Mage_Sales_Model_Order::STATE_PROCESSING, //update order status to processing after creating an invoice
|
340 |
+
Mage::helper('checkoutapi')->__($frase), true
|
341 |
+
);
|
342 |
}
|
343 |
+
|
344 |
+
$invoice->sendEmail(true, $frase);
|
345 |
+
|
346 |
+
} else {
|
347 |
+
|
348 |
+
$frase = 'Tray - Aprovado. Pagamento (fatura) confirmado automaticamente.';
|
349 |
+
|
350 |
+
$order->addStatusToHistory(
|
351 |
+
$order->getStatus(), //continue setting current order status
|
352 |
+
Mage::helper('checkoutapi')->__($frase), true
|
353 |
+
);
|
354 |
+
|
355 |
+
$order->sendOrderUpdateEmail(true, $frase);
|
356 |
+
|
357 |
}
|
358 |
+
//}
|
359 |
break;
|
360 |
case 24:
|
361 |
$order->addStatusToHistory(
|
@@ -11,7 +11,7 @@
|
|
11 |
* http://opensource.org/licenses/osl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
-
* to suporte@tray.net.br so we can send you a copy immediately.
|
15 |
*
|
16 |
* @category Tray
|
17 |
* @package Tray_CheckoutApi
|
@@ -21,7 +21,7 @@
|
|
21 |
<config>
|
22 |
<modules>
|
23 |
<Tray_CheckoutApi>
|
24 |
-
<version>
|
25 |
</Tray_CheckoutApi>
|
26 |
</modules>
|
27 |
<global>
|
@@ -29,6 +29,7 @@
|
|
29 |
<checkoutapi>
|
30 |
<class>Tray_CheckoutApi_Model</class>
|
31 |
<resourceModel>checkoutapi_mysql4</resourceModel>
|
|
|
32 |
</checkoutapi>
|
33 |
<checkoutapi_mysql4>
|
34 |
<class>Tray_CheckoutApi_Model_Mysql4</class>
|
@@ -38,6 +39,14 @@
|
|
38 |
</api_debug>
|
39 |
</entities>
|
40 |
</checkoutapi_mysql4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
</models>
|
42 |
<resources>
|
43 |
<checkoutapi_setup>
|
11 |
* http://opensource.org/licenses/osl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to suporte@tray.net.br so we can send you a copy immediately.
|
15 |
*
|
16 |
* @category Tray
|
17 |
* @package Tray_CheckoutApi
|
21 |
<config>
|
22 |
<modules>
|
23 |
<Tray_CheckoutApi>
|
24 |
+
<version>1.1.2</version>
|
25 |
</Tray_CheckoutApi>
|
26 |
</modules>
|
27 |
<global>
|
29 |
<checkoutapi>
|
30 |
<class>Tray_CheckoutApi_Model</class>
|
31 |
<resourceModel>checkoutapi_mysql4</resourceModel>
|
32 |
+
<resourceModel>checkoutapi_resource</resourceModel>
|
33 |
</checkoutapi>
|
34 |
<checkoutapi_mysql4>
|
35 |
<class>Tray_CheckoutApi_Model_Mysql4</class>
|
39 |
</api_debug>
|
40 |
</entities>
|
41 |
</checkoutapi_mysql4>
|
42 |
+
<checkoutapi_eav>
|
43 |
+
<class>Tray_CheckoutApi_Model_Resource</class>
|
44 |
+
<entities>
|
45 |
+
<payment>
|
46 |
+
<table>sales_flat_order_payment</table>
|
47 |
+
</payment>
|
48 |
+
</entities>
|
49 |
+
</checkoutapi_eav>
|
50 |
</models>
|
51 |
<resources>
|
52 |
<checkoutapi_setup>
|
@@ -18,9 +18,9 @@
|
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
*/
|
20 |
-->
|
21 |
-
<layout version="
|
22 |
<checkoutapi_standard_payment>
|
23 |
-
<reference
|
24 |
<action method="addCss">
|
25 |
<stylesheet>tray/checkoutapi/css/styles.css</stylesheet>
|
26 |
</action>
|
18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
*/
|
20 |
-->
|
21 |
+
<layout version="1.1.2">
|
22 |
<checkoutapi_standard_payment>
|
23 |
+
<reference name="head">
|
24 |
<action method="addCss">
|
25 |
<stylesheet>tray/checkoutapi/css/styles.css</stylesheet>
|
26 |
</action>
|
@@ -194,4 +194,5 @@
|
|
194 |
</ul>
|
195 |
</li>
|
196 |
</ul>
|
197 |
-
|
|
194 |
</ul>
|
195 |
</li>
|
196 |
</ul>
|
197 |
+
|
198 |
+
</fieldset>
|
@@ -33,4 +33,6 @@
|
|
33 |
?>
|
34 |
<?php echo (array_search($this->getInfo()->getData("cc_type"), $tcIdPaymentMethodCreditCard)) ? $this->getInfo()->getData("traycheckout_split_number") . " x R$". number_format((float)$this->getInfo()->getData("traycheckout_split_value"), 2, ',','') : ""; ?>
|
35 |
</p>
|
36 |
-
<?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
|
|
|
|
33 |
?>
|
34 |
<?php echo (array_search($this->getInfo()->getData("cc_type"), $tcIdPaymentMethodCreditCard)) ? $this->getInfo()->getData("traycheckout_split_number") . " x R$". number_format((float)$this->getInfo()->getData("traycheckout_split_value"), 2, ',','') : ""; ?>
|
35 |
</p>
|
36 |
+
<?php echo $this->getLinkPayment($this->getInfo()->getOrder()); ?>
|
37 |
+
|
38 |
+
|
@@ -17,6 +17,7 @@
|
|
17 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
*/
|
19 |
?>
|
|
|
20 |
<?php
|
21 |
$this->getPayment();
|
22 |
$title = "";
|
@@ -81,4 +82,10 @@
|
|
81 |
</td>
|
82 |
</tr>
|
83 |
</table>
|
84 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
17 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
*/
|
19 |
?>
|
20 |
+
<script src="https://static.traycheckout.com.br/js/finger_print.js" type="text/javascript"></script>
|
21 |
<?php
|
22 |
$this->getPayment();
|
23 |
$title = "";
|
82 |
</td>
|
83 |
</tr>
|
84 |
</table>
|
85 |
+
</div>
|
86 |
+
|
87 |
+
<script>
|
88 |
+
jQuery(document).FingerPrint({token_account: '<?php $this->getTokenAccount()?>',
|
89 |
+
order_number: '<?php $this->getOrderNumber()?>',
|
90 |
+
production: 'true'});
|
91 |
+
</script>
|
@@ -1,55 +1,75 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tray_CheckoutApi</name>
|
4 |
-
<version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Extensão
|
10 |
<description>TrayCheckout is a payment facilitator that offers benefits to merchants and buyers. Focused on practicality and conversion, enables virtual stores offer many payments possibilites, no need contracts with financial operators. 
|
11 |
-

|
12 |
-
This module is able to do the integration with the Payment API of the TrayCheckout. In this case, the consumer isn't redirect to TrayCheckout environment. Every steps of the payment are made in the Magento Checkout. 
|
13 |
-

|
14 |
-
O TrayCheckout é um facilitador de pagamento que oferece benefícios aos lojistas e aos compradores. Focado em praticidade e conversão, possibilita que as lojas virtuais ofereçam diversas formas de pagamento, sem burocracia ou necessidade de contrato com operadoras financeiras. 
|
15 |
-

|
16 |
-
Este módulo é capaz de fazer a integração com a API do pagamento do TrayCheckout. Neste caso, o consumidor não é redirecionar para ambiente TrayCheckout. Todos os passos de o pagamento são feito no Checkout Magento
|
17 |
<notes>Versão 0.1.0
|
18 |
-

|
19 |
-
- Primeira versão liberada do TrayCheckout
|
20 |
-

|
21 |
-
Versão 0.2.0
|
22 |
-

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

|
26 |
-
Versão 0.3.0
|
27 |
-

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

|
33 |
-
Versão 0.4.0
|
34 |
-

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

|
37 |
-
Versão 0.5.0
|
38 |
-

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

|
41 |
-
Versão 0.6.0
|
42 |
-

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

|
46 |
-
Versão 0.7.0
|
47 |
-

|
48 |
-
- Melhorias no NAS (Notificação Automática de Status)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
<authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
|
50 |
-
<date>
|
51 |
-
<time>
|
52 |
-
<contents><target name="magecommunity"><dir name="Tray"><dir name="CheckoutApi"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="6eb581cddd1fb9380930da38e4404f5e"/></dir></dir></dir></dir><file name="Error.php" hash="a3a8aa9edb5c7718b7941e85421f0aa2"/><dir name="Form"><file name="Standard.php" hash="02612595b4e9d19ccf458cc072d9cf52"/></dir><dir name="Info"><file name="Standard.php" hash="
|
53 |
<compatible/>
|
54 |
<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>
|
55 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tray_CheckoutApi</name>
|
4 |
+
<version>1.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Extensão TrayCheckout API para Magento</summary>
|
10 |
<description>TrayCheckout is a payment facilitator that offers benefits to merchants and buyers. Focused on practicality and conversion, enables virtual stores offer many payments possibilites, no need contracts with financial operators. 
|
11 |
+

|
12 |
+
This module is able to do the integration with the Payment API of the TrayCheckout. In this case, the consumer isn't redirect to TrayCheckout environment. Every steps of the payment are made in the Magento Checkout. 
|
13 |
+

|
14 |
+
O TrayCheckout é um facilitador de pagamento que oferece benefícios aos lojistas e aos compradores. Focado em praticidade e conversão, possibilita que as lojas virtuais ofereçam diversas formas de pagamento, sem burocracia ou necessidade de contrato com operadoras financeiras. 
|
15 |
+

|
16 |
+
Este módulo é capaz de fazer a integração com a API do pagamento do TrayCheckout. Neste caso, o consumidor não é redirecionar para ambiente TrayCheckout. Todos os passos de o pagamento são feito no Checkout Magento.</description>
|
17 |
<notes>Versão 0.1.0
|
18 |
+

|
19 |
+
- Primeira versão liberada do TrayCheckout
|
20 |
+

|
21 |
+
Versão 0.2.0
|
22 |
+

|
23 |
+
- Correção no envio do número de telefone.
|
24 |
+
- Melhorias no envio dos dados.
|
25 |
+

|
26 |
+
Versão 0.3.0
|
27 |
+

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

|
33 |
+
Versão 0.4.0
|
34 |
+

|
35 |
+
- Ajustes nas URLs de integração com o TrayCheckout.
|
36 |
+

|
37 |
+
Versão 0.5.0
|
38 |
+

|
39 |
+
- Melhorias no código de integração com o TrayCheckout
|
40 |
+

|
41 |
+
Versão 0.6.0
|
42 |
+

|
43 |
+
- Melhorias na exibição das bandeiras de cartão de crédito
|
44 |
+
- Melhorias na exibição dos dados de parcelamento
|
45 |
+

|
46 |
+
Versão 0.7.0
|
47 |
+

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

|
50 |
+
Versão 0.8.0
|
51 |
+

|
52 |
+
- Ajuste na validação dos campos enviados na integração.
|
53 |
+

|
54 |
+
Versão 0.9.0
|
55 |
+

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

|
58 |
+
Versão 1.1.0
|
59 |
+

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

|
62 |
+
Versão 1.1.1
|
63 |
+

|
64 |
+
- Ajuste na captura e atualização dos dados do pedido
|
65 |
+

|
66 |
+
Versão 1.1.2
|
67 |
+

|
68 |
+
- Ajuste na exibição do link de pagamento (Detalhes do Pedido)</notes>
|
69 |
<authors><author><name>TrayCheckout</name><user>traycheckout</user><email>integracao@traycheckout.com.br</email></author></authors>
|
70 |
+
<date>2015-05-27</date>
|
71 |
+
<time>19:27:45</time>
|
72 |
+
<contents><target name="magecommunity"><dir name="Tray"><dir name="CheckoutApi"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="6eb581cddd1fb9380930da38e4404f5e"/></dir></dir></dir></dir><file name="Error.php" hash="a3a8aa9edb5c7718b7941e85421f0aa2"/><dir name="Form"><file name="Standard.php" hash="02612595b4e9d19ccf458cc072d9cf52"/></dir><dir name="Info"><file name="Standard.php" hash="001cb928fdf7c652c2d64d888da34985"/></dir><file name="Link.php" hash="06ad7cb8eb1a52c7f130caacc0921657"/><file name="Payment.php" hash="ef37c244aa74be3f70ff8c3f71bd72f4"/><file name="Return.php" hash="6b5700113c184160ee447d1c6116b1c0"/></dir><dir name="Helper"><file name="Adress.php" hash="6064f62a723b2075290964e3e980d92b"/><file name="Data.php" hash="9a1da0d7564539c0b2fc307fc815b4ea"/></dir><dir name="Model"><file name="Config.php" hash="7377296737b655ad3c01b3ae6081b507"/><dir name="Mysql4"><file name="Setup.php" hash="8a42c69f5c1a1be59d99985982a3703b"/></dir><file name="Observer.php" hash="059a8bfe166f862477127c8b7b63afad"/><file name="Payment.php" hash="73d4ed6ffac89dc49d1dd908455cd4d8"/><dir name="Resource"><file name="Payment.php" hash="74c257a6afb7ca7ff9ce96954dac64c0"/></dir><dir name="Source"><file name="Country.php" hash="153d0153071b72f23ac2a1c4fee93c24"/><file name="Paymentmethods.php" hash="e19dc6aa0d7846fb4358bf11c18ba6ce"/><file name="Qtdsplit.php" hash="1273ee53626482898aefd7a3d31ebaea"/><file name="Specificcountries.php" hash="e41658287e6c68041d3f0042130f7db3"/></dir><file name="Standard.php" hash="2640801ee0041c1287043252cfa7a4c1"/></dir><dir name="controllers"><file name="StandardController.php" hash="43f692c424fd55030c3662e8923e81de"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2b0114a2ffbce1930787f7a4e20ce73b"/><file name="config.xml" hash="695bca8113d661d2a72276f3082434cb"/><file name="system.xml" hash="3948c445ded660c565540836f3063d2c"/></dir><dir name="sql"><dir name="checkoutapi_setup"><file name="mysql4-install-0.1.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-0.2.0.php" hash="bb4ecef6ed4cb724d3fd505ad36acc4d"/><file name="mysql4-install-0.3.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-install-0.4.0.php" hash="8eb2972ea2fcdd38306041ed37665902"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="1020462cfb124528fb590922eadfb74a"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="1020462cfb124528fb590922eadfb74a"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="1020462cfb124528fb590922eadfb74a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutapi"><file name="error.phtml" hash="9e07c1164917e9118c3b21d5bf8c864b"/><dir name="form"><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir><file name="standard.phtml" hash="a7dbb4e6f6d87eddb11b2971bdc1a344"/></dir><file name="head.phtml" hash="750d167a7a10ef1f56a73262f918dca5"/><dir name="info"><file name="standard.phtml" hash="52b346990e73d69158b872e2189910c3"/></dir><file name="overlay.phtml" hash="d4ee4dbb85f9a7a350c6e8d5f59a9978"/><file name="payment.phtml" hash="303193cd94c93ba2b80fd26ac56406bc"/><file name="return.phtml" hash="47d5e3e1c3bda47721573e9639a54ca6"/></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="cd17e32db6af896518f362d9fb5d4596"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutapi"><dir name="form"><file name="standard.phtml" hash="9abb8cb909140d1af4cdd6afb5b5d7f5"/></dir><file name="getbaseurl.phtml" hash="05fba34637bc8da3958d1342f54c0ed4"/><dir name="info"><file name="standard.phtml" hash="1e9ba28c30b9a88c3fd6a53420ae8419"/></dir></dir></dir></dir><dir name="layout"><file name="tray_checkoutapi.xml" hash="5b288e1243541c19aad017941544e5a5"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="tray"><dir name="checkoutapi"><dir name="css"><file name="styles.css" hash="5d09463e234fd2f20622f63795019be6"/></dir><dir name="images"><file name="BannerTrayCheckout890px.png" hash="535d5a4a4f190d03df38664dcb6463f8"/><file name="banner_comlogo_formas.jpg" hash="e02a16c32109746786c24db177ddad3a"/><file name="banner_semlogo_formas.jpg" hash="4f13591f17ed96347f136eab09343121"/><file name="banner_semlogo_formas.png" hash="84a82c3d7ed9a42ade9660b8dd16511d"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/><file name="paymentFlags1.png" hash="2a1724b718bf2ff7a1b25b53acc0cefd"/><file name="paymentFlagsTc.png" hash="6dd7df4802b30ea61b96ad5752bab4ed"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="tray"><dir name="checkoutapi"><dir name="css"><file name="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="1d9d374cad719e27ffa6a78f1239c63a"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tray_CheckoutApi.xml" hash="c95a8f82fd3200b98898f0b9712ea0c8"/></dir></target></contents>
|
73 |
<compatible/>
|
74 |
<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>
|
75 |
</package>
|