Builds By Luke
All plugins

WordPress Plugin · WooCommerce · v1.0.0 · Coming soon

Checkout Brasil

Campos brasileiros no checkout — CPF/CNPJ com validação pronta para o CNPJ alfanumérico de 2026, no checkout clássico E em blocos.

  • WordPress 6.2+
  • PHP 7.4+
  • GPLv2+
  • WooCommerce
  • CNPJ alfanumérico 2026

Free core coming to the WordPress.org plugin directory. This page is the plugin’s official home.

Checkout Brasil for WooCommerce icon

From July 31, 2026, Brazil issues CNPJs with letters in them. Every digits-only checkout will turn those companies away.

Brazilian WooCommerce has run for a decade on one plugin for its checkout fields — abandoned in early 2024, never taught the block checkout, and, like every validator of its era, convinced a CNPJ is fourteen digits. The Receita Federal disagrees: alphanumeric CNPJs arrive July 31, 2026, and a company registered under the new format cannot buy from a store that rejects its own tax ID. Checkout Brasil is the modern replacement: both checkouts, both CNPJ formats with real check-digit math, the full Brazilian address — and the incumbent’s exact data keys, so the switch costs you nothing downstream.

How it works

The Brazilian checkout, done properly.

Job one · Os campos

CPF/CNPJ, número e bairro — on BOTH checkouts

Brazilian orders need fields WooCommerce does not ship: CPF or CNPJ with real validation, the street number, the bairro, Inscrição Estadual and Razão Social for Pessoa Jurídica. Checkout Brasil adds them to the classic checkout with masks and a PF/PJ selector — and, unlike the abandoned incumbent, natively to the block checkout too, through WooCommerce’s own Additional Checkout Fields API.

  • Pessoa Física / Pessoa Jurídica flows with the right fields for each — Razão Social required for PJ.
  • Check-digit validation for CPF and CNPJ at submit time, with masks as you type.
  • The Brazilian address format — Rua, número, bairro — carried through orders, emails and My Account.

Dados do comprador · Pessoa Jurídica

CNPJ 12.ABC.345/01DE-35 válido · formato alfanumérico 2026, DVs conferidos
Razão Social Comércio Ipiranga Ltda — obrigatória para PJ
Inscrição Estadual isento — opcional
Endereço Rua Harmonia, 1024 · bairro Vila Madalena · São Paulo/SP

O validador que recusa de verdade
Um CNPJ com dígitos verificadores errados não passa — e um CNPJ alfanumérico legítimo passa. Nos dois checkouts.

The checkout — PF/PJ, validated documents, número e bairro. Example data shown.

Job two · O futuro e o passado

Alphanumeric-CNPJ ready, incumbent-compatible

From July 31, 2026, Brazil issues CNPJs with letters — 12.ABC.345/01DE-35 — and every digits-only validator on the internet rejects those companies at checkout. Checkout Brasil validates both formats, check digits included. And because it stores everything under the exact meta keys the abandoned “Brazilian Market on WooCommerce” used, your NF-e emitters and gateways keep reading the data they always read: migration is swapping plugins, not migrating data.

  • Classic 14-digit CNPJs and the 2026 alphanumeric format both validated, DVs computed per the SERPRO spec.
  • Byte-compatible meta keys — _billing_cpf, _billing_cnpj, _billing_persontype and family — verified against the incumbent and a real gateway dependent.
  • Block-checkout values mirrored into the classic keys, so integrations work for block orders too.

Dados armazenados no pedido

_billing_persontype 2 · Pessoa Jurídica — convenção do plugin antigo
_billing_cnpj 12.ABC.345/01DE-35
_billing_number · _billing_neighborhood 1024 · Vila Madalena
Pedido em blocos? Valores espelhados nas chaves clássicas — NF-e e gateways continuam lendo
The order — the incumbent's exact meta keys, so every integration keeps reading. Example data shown.

Ready for 31/07/2026

The alphanumeric CNPJ is not a rumour — it is a published SERPRO specification with a start date. Validation here handles both formats, check digits included, so new-format companies are not turned away at your checkout.

Migration without pain

Data lives under the incumbent’s exact meta keys, with the same value conventions. Existing customer and order data keeps working; NF-e and gateway integrations that read those keys never notice the swap — verified against a real gateway dependent.

Fields, honestly scoped

This plugin adds and validates checkout fields. It is not fiscal software, does not issue NF-e, and does not claim compliance on your behalf — it makes sure the data your fiscal tools need is captured correctly at the till.

In the free build

Complete for a Brazilian store.

Nothing below is limited, metered, or unlocked by payment. Nada abaixo é limitado ou pago.

  • PF/PJ checkout flows

    CPF for Pessoa Física; CNPJ, Inscrição Estadual and Razão Social for Pessoa Jurídica — with a selector when you serve both.

  • Alphanumeric-CNPJ validation

    Classic and 2026 formats, check digits computed — not a regex guess.

  • Block checkout, native

    Fields registered through WooCommerce’s Additional Checkout Fields API — not a legacy shim.

  • Legacy-key mirroring

    Block-checkout values mirrored into the incumbent’s classic meta keys, so every integration keeps working.

  • Número + bairro

    The Brazilian address completed, on billing and shipping, carried through the formatted address everywhere.

  • Masks that keep up

    CPF, CNPJ and CEP masks as you type — alphanumeric-aware, so the new CNPJs are not mangled.

  • Site Health + WP-CLI

    Field configuration surfaced in Site Health; the setup inspectable from the command line.

  • Admin order panels

    Documento, tipo de pessoa, número and bairro visible and editable on the order screen.

Free vs Pro

Pro é para o checkout de primeira.

The free build captures and validates everything a Brazilian checkout needs. Pro adds the conveniences: ViaCEP autofill, the alphanumeric-transition report for your customer base, and fiscal exports.

Capability Free Pro
PF/PJ fields on classic AND block checkout
CPF + CNPJ validation, incl. alphanumeric CNPJ
Incumbent-compatible meta keys + block mirroring
Masks, BR address format, admin order panels
Site Health, WP-CLI
Sites your licence covers One, complete 3 · unlimited on Agency
ViaCEP address autofill — CEP in, address out
Alphanumeric-CNPJ transition report + CSV
Fiscal CSV export for your accountant
Custom labels on the plugin’s own fields

Pro · founder pricing

Pro

$49/yr

3 sites · para a loja que quer o checkout completo

Agency

$149/yr

Unlimited sites · para a agência que cuida de várias lojas

14-day trial, no card required. Annual, in US dollars — priced for the Brazilian market. Pro is sold and licensed through Freemius, the merchant of record.

Questions people ask.

O que acontece em 31 de julho de 2026?

A partir dessa data a Receita passa a emitir CNPJs alfanuméricos — as 12 primeiras posições podem conter letras (ex.: 12.ABC.345/01DE-35), com os dois dígitos verificadores calculados sobre os valores ASCII. Qualquer validação que aceite só números recusa essas empresas no checkout. Este plugin valida os dois formatos, com dígitos verificadores.

Migro do “Brazilian Market on WooCommerce” sem perder dados?

Sim — esse é o ponto. Os campos usam exatamente as mesmas meta keys (_billing_cpf, _billing_cnpj, _billing_persontype, _billing_number, _billing_neighborhood…), com as mesmas convenções de valor. Pedidos e clientes existentes continuam válidos, e integrações que leem essas chaves — emissores de NF-e, gateways — continuam funcionando. Migrar é trocar o plugin, não os dados.

Funciona no checkout em blocos (Gutenberg)?

Sim, nativamente — os campos são registrados pela API oficial de campos adicionais do WooCommerce, e os valores são espelhados nas chaves clássicas para que as integrações funcionem também nos pedidos feitos em blocos. O plugin antigo nunca teve suporte a blocos.

Ele emite nota fiscal?

Não — e o readme diz isso com todas as letras. O plugin adiciona e valida campos no checkout; a emissão de NF-e continua com a sua ferramenta fiscal, que passa a receber os dados capturados corretamente.

Does it work if my store serves both companies and consumers?

Yes — the PF/PJ selector shows the right fields for each buyer type, requires Razão Social for companies, and stores the person type using the incumbent’s exact convention so downstream tools can tell them apart.

What does uninstalling remove?

The plugin’s own settings. Order data stays — it belongs to your orders, under the standard keys your other tools read.

Sua loja está pronta para 31/07/2026?

Test it today: try checking out with 12.ABC.345/01DE-35. If your current checkout says the CNPJ is invalid, you already know which customers you lose next — o plugin resolve isso em cinco minutos.