This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="ISO-8859-1"?> | |
| <transacao xmlns="http://ecommerce.cbmp.com.br" versao="1.1.0" id="ce57654e3e26146a762e50f2a8d44280"> | |
| <tid>10324531490001653005</tid> | |
| <pan>zqvC6Iw1bP79MRfABaOOwmOo3MotAPEY7O8Qcy47Reg=</pan> | |
| <dados-pedido> | |
| <numero>100000058</numero> | |
| <valor>4288</valor> | |
| <moeda>986</moeda> | |
| <data-hora>2012-09-13T14:00:52.806-03:00</data-hora> | |
| <idioma>PT</idioma> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Na linha 399 tem isso | |
| addObservers: function () { | |
| $$('input[name="shipping_method"]').each(function (el) { | |
| el.observe('click', function () { | |
| checkout.update({ | |
| 'payment-method': 1, | |
| 'review': 1 | |
| }) | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <layout version="0.1.0"> | |
| <onepagecheckout_index_index translate="label"> | |
| <label>Easy Checkout</label> | |
| <remove name="left"/> | |
| <remove name="right"/> | |
| <reference name="root"> | |
| <action method="setTemplate"><template>page/1column.phtml</template></action> | |
| </reference> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Redireciona para o Success e Failure default do Magento - Se remover ele tenta procurar assim onestepcheckout/success.phtml --> | |
| <onepagecheckout_index_success translate="label"> | |
| <reference name="root"> | |
| <action method="setTemplate"><template>page/1column.phtml</template></action> | |
| </reference> | |
| <reference name="content"> | |
| <!--<block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/> --> | |
| <block type="Maxima_Cielo/verify" name="Maxima_Cielo.success" template="cielo/success.phtml"/> | |
| </reference> | |
| </onepagecheckout_index_success> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .h1_opc{text-transform:uppercase;font-size:22px;color:#000;} | |
| .onepagecheckout_loginarea { margin: 10px 0 20px; } | |
| .op_login_area{width:200px;padding:10px;border:1px solid #ccc;margin-bottom:15px;} | |
| .op_login_area sup{color:#767676;font-size: 12px;line-height:0;margin-left:3px;position:relative;top:6px;} | |
| .op_login_area .buttons-set{margin-top:10px;} | |
| .op_login_area .buttons-set a{color:#767676;} | |
| .op_login_area .page-title{margin-bottom:10px;} | |
| .close_la{position:relative;margin-bottom:-16px;top:-16px;right:-16px;cursor:pointer;float:right;width:16px;height:16px; | |
| background:url("../images/onepagecheckout/cancel.png") no-repeat scroll 0 0 transparent;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*========================================================================================================================================================= | |
| * | |
| * PROJETO OSC MAGENTO BRASIL - VERSÃO FINAL V3.0 | |
| * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
| * O módulo One Step Checkout normatizado para a localização brasileira. | |
| * site do projeto: http://onestepcheckout.com.br/ | |
| * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
| * | |
| * | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var OPC = Class.create(); | |
| OPC.prototype = { | |
| initialize: function (form, urls, agreement) { | |
| this.acceptAgreementText = agreement; | |
| this.successUrl = check_secure_url(urls.success); | |
| this.saveUrl = check_secure_url(urls.save); | |
| this.updateUrl = check_secure_url(urls.update); | |
| this.failureUrl = check_secure_url(urls.failure); | |
| this.form = form; | |
| this.loadWaiting = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style> | |
| body { | |
| background:#fff none repeat scroll 0 0; | |
| color:#000; | |
| font-family:Helvetica,Arial,Verdana,sans-serif; | |
| font-size:12px; | |
| margin:0; | |
| padding:0; | |
| text-align:center; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--Acredito que seja +/- isso existe uma verficação <?php if (!$logged) : ?> dentro dela tem vários campos tipo esse:--> | |
| <!-- | |
| IF BLOCO EMPRESA ----------------------------------------- | |
| --> | |
| <?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //adicionar no final | |
| /* deivison 02 | |
| FUNÇÃO QUE EXECUTA PASSO A PASSO DE ATUALIZAÇÃO DOS CAMPOS PAYMENTS E REVIEW | |
| ------------------------------------------------------------------------------------------------------------------------------- | |
| Essa função foi feita para atualização dos valores, caso haja desconto para pagamentos específicos como 10% pagamento no boleto | |
| ------------------------------------------------------------------------------------------------------------------------------- | |
| Métodos de atualiação | |
| 'payment-method': 1, <- Atualiza os meios de pagamentos |