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
Esta extensão integra o sistema anti-fraude da BlockThatProxy. | |
Com alguns cliques, e uma conta livre de www.blockthatproxy.com você pode configurar o sistema para verificar todos os clientes durante o checkout. Se o cliente usa um proxy ou IP na lista negra, você receberá automaticamente um aviso de e-mail, incluindo o número de ordem, um link para confirmar o endereço de compradores e uma distância calculada entre o usuário digitou endereço de entrega eo endereço IP do usuário pertence (encontrada usando o nosso banco de dados global). | |
O usuário pode ser redirecionado automaticamente para qualquer página que você decidir, por exemplo, para que você possa criar uma página e pedir-lhes para entrar em contato para confirmar a sua ordem. Desta forma, você tem certeza de não processar um pedido fraudulento. Ordens detectados como possíveis fraudes são automaticamente definidas como "possíveis fraudes", em Magento, para que você possa confirmar o pedido manualmente antes do processamento e enviá-lo. |
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
<?php | |
/*Funcao de Geolocalizacao ###########*/ | |
function get_ip_info($ip,$minuscula) | |
{ | |
if(!$_SESSION['pais']){ | |
$url = "http://www.geoiptool.com/?IP=".$ip; | |
//echo $url; |
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
<customer_account_create> | |
<reference name="customer_form_register"> | |
<action method="setTemplate"><template>novoatributo/persistent/customer/form/register.phtml</template></action> | |
</reference> | |
</customer_account_create> | |
<customer_account_edit> | |
<reference name='customer_edit'> | |
<action method="setTemplate"><template>novoatributo/customer/form/edit.phtml</template></action> | |
</reference> | |
</customer_account_edit> |
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
<fieldsets> | |
<sales_copy_order_billing_address> | |
<jobtitle><to_order>*</to_order></jobtitle> | |
</sales_copy_order_billing_address> | |
<sales_copy_order_shipping_address> | |
<jobtitle><to_order>*</to_order></jobtitle> | |
</sales_copy_order_shipping_address> | |
<sales_convert_quote_address> | |
<jobtitle><to_order_address>*</to_order_address><to_customer_address>*</to_customer_address></jobtitle> | |
</sales_convert_quote_address> |
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
<customer_account_edit> | |
<reference name="customer_edit"> | |
<action method="setTemplate"><template>onepagecheckout/persistent/customer/form/edit.phtml</template></action> | |
</reference> | |
</customer_account_edit> | |
<!-- customer/address/new/--> <!-- frontend/base/default/template/customer/address/edit.phtml --> | |
<customer_address_edit> | |
<reference name="customer_address_edit"> | |
<action method="setTemplate"><template>onepagecheckout/persistent/customer/address/edit.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
customer.xml (Original) | |
<customer_address_index translate="label"> | |
<label>Customer My Account Address Book</label> | |
<!-- Mage_Customer --> | |
<update handle="customer_account"/> | |
<reference name="my.account.wrapper"> | |
<block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/> | |
</reference> | |
</customer_address_index> |
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
{{depend prefix}}{{var prefix}} {{/depend}}Nome: {{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}<br/> | |
{{depend company}}Empresa: {{var company}}<br />{{/depend}} | |
{{if street1}}Enredeco: {{var street1}}<br />{{/if}} | |
{{depend street2}}Numero: {{var street2}}<br />{{/depend}} | |
{{depend street3}}Complemento: {{var street3}}<br />{{/depend}} | |
{{depend street4}}Bairro: {{var street4}}<br />{{/depend}} | |
{{if city}}Cidade: {{var city}}, {{/if}}{{if region}}UF: {{var region}}, {{/if}}{{if postcode}}CEP: {{var postcode}}{{/if}}<br/> | |
{{var country}}<br/> | |
{{depend telephone}}Tel: {{var telephone}}{{/depend}} | |
{{depend fax}}<br/>Fax: {{var fax}}{{/depend}} |
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
<?php | |
//require_once MAGE_BASE_DIR . 'app/Mage.php'; | |
$orderId = Mage::getSingleton('checkout/session')->getLastRealOrderId(); | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); | |
$order = Mage::getModel('sales/order')->loadByIncrementId($orderId); |
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
<?php | |
/* | |
Objetivo criar uma chave serial para cada dominio. O script pega a chave gerada e compara com o $_SERVER['HTTP_HOST'] | |
*/ | |
//link do demo do gen: http://onestepcheckout.com.br/LojaModelo/keygen/ | |
//linha para ser add nas paginas que serao bloqueadas |