Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

app-correios

CodeFactor license mit

E-Com Plus app to integrate Correios calculator

CHANGELOG

Reference

  1. https://apx-mods.e-com.plus/api/v1/calculate_shipping/schema.json?store_id=100
  2. https://apx-mods.e-com.plus/api/v1/calculate_shipping/response_schema.json?store_id=100
  3. https://www.correios.com.br/a-a-z/pdf/calculador-remoto-de-precos-e-prazos/manual-de-implementacao-do-calculo-remoto-de-precos-e-prazos

About "Correios offline"

  1. https://github.com/victorhramos/correios-offline-opencart/blob/master/src/KauserCorreios/Correios.php
  2. https://suporte.boxloja.pro/article/90-faixa-de-ceps-do-brasil
  3. https://suporte.boxloja.pro/article/82-correios-calculo-frete

From direct tests with Correios WS we're also considering by default:

ValorValorDeclarado = (nVlValorDeclarado - 20.5) * 0.02

Environment variables sample

Variable Value
LOGGER_OUTPUT ~/app/log/logger.out
LOGGER_ERRORS ~/app/log/logger.err
LOGGER_FATAL_ERRORS ~/app/log/_stderr
PORT 3000
APP_BASE_URI https://correios.ecomplus.biz
DB_PATH ~/app/db.sqlite
ECOM_AUTH_DB ~/app/db.sqlite
ECOM_AUTH_UPDATE enabled

Production server

Published at https://correios.ecomplus.biz

Continuous deployment

When new version is production ready, create a new release (or npm run release) to run automatic deploy from master branch and (re)publish the app.

About

E-Com Plus app to integrate Correios calculator

Resources

License

Packages

No packages published
You can’t perform that action at this time.