Skip to content

Instantly share code, notes, and snippets.

View phaelfp's full-sized avatar

Raphael Freitas Pereira phaelfp

View GitHub Profile
@phaelfp
phaelfp / magento_increment_id.sql
Created March 2, 2018 14:34 — forked from gabidavila/magento_increment_id.sql
Alterar numeração de um pedido no Magento / Change Increment ID Magento
UPDATE eav_entity_store
SET increment_last_id = '100180000'
WHERE
entity_store_id = 1
Cartão
Authorization
<= $ 1.050,00 -> Authorized
>= $ 1.050,01 && < $ 1.051,71 -> Timeout
>= $ 1.500,00 -> Not Authorized
Capture
<= $ 1.050,00 -> Captured
>= $ 1.050,01 -> Not Captured
Cancellation
@phaelfp
phaelfp / Vagrantfile
Created March 17, 2016 15:25
Vagrantfile e bootstrap.sh para subir um Ubuntu com MongoDB já configurado para acesso externo em ambiente de desenvolvimento.
IP = "10.0.33.34"
Vagrant.configure("2") do |config|
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.provision :shell, :path => "bootstrap.sh"
config.vm.network :private_network, :ip => IP