Brazilian Checkout Toolkit for WooCommerce

Описание

Brazilian stores need a few extra checkout fields to be compliant, avoid delivery issues, and reduce payment gateway errors.

Brazilian Checkout Toolkit for WooCommerce adds Brazilian-specific checkout fields (CPF/CNPJ, person type, neighborhood, street number, etc.), improves the customer experience with input masks, and works with both:

  • Classic (shortcode) WooCommerce checkout
  • WooCommerce Checkout Block (Cart & Checkout Blocks)

It also mirrors field values into the legacy _billing_* meta keys used by many themes, integrations and gateways.

Mission

Make the WooCommerce checkout truly Brazil-friendly — with the right fields, the right validation, and a smooth UX.

Why this plugin

Unlike older solutions that only work on the classic checkout, this plugin is built for modern WooCommerce stores:

  • Checkout Block compatible (WooCommerce 9.0+ Additional Checkout Fields API)
  • Backwards compatible with classic checkout and existing integrations
  • Lightweight, settings-driven (enable only what your store needs)

Key features

  • Person type (Individual / Company)
  • CPF / CNPJ fields with optional validation (settings)
  • Optional fields (settings): RG, State Registration (IE), Birthdate, Gender
  • Street number and Neighborhood fields (Neighborhood can be optional/required)
  • Cell phone options (optional field, required field, or replace WooCommerce phone)
  • Input masks / formatting for CPF, CNPJ, phone and more (settings)
  • Email typo suggestion (Mailcheck) to help reduce checkout failures
  • Brazilian address formatting in orders and “My account” addresses
  • REST API enhancements: exposes the extra fields on WooCommerce REST responses
  • HPOS compatible (WooCommerce High-Performance Order Storage)

Where to find the settings

WooCommerce Settings Shipping Brazilian Checkout Fields

Compatibility & requirements

  • Requires WooCommerce
  • WordPress 6.0+ (tested up to 6.9)
  • PHP 7.4+
  • WooCommerce 9.0+ recommended for Checkout Block support (the plugin auto-detects the Blocks API)

Integrations

This plugin includes compatibility layers / data mapping for:

  • Flux Checkout for WooCommerce
  • Bcash (adds number and CPF/CNPJ data)
  • Moip / Moip Transparent Checkout (adds number, neighborhood, CPF and birthdate when available)

Credits

This plugin is based on the original Brazilian checkout fields work by Claudio Sanches and contributors, and has been significantly refactored/modernized.

Third-party libraries included:
* Mailcheck jQuery (https://github.com/Kicksend/mailcheck)
* jQuery Mask Plugin (https://github.com/igorescobar/jQuery-Mask-Plugin)

Скриншоты

  • Settings screen (WooCommerce Settings Shipping Brazilian Checkout Fields)
  • Checkout Block with Brazilian fields (CPF/CNPJ, person type, number, neighborhood)
  • Classic checkout with Brazilian fields and input masks
  • Order admin screen showing saved Brazilian customer data
  • My Account Addresses showing the Brazilian address format

Установка

  1. Install and activate WooCommerce.
  2. Upload this plugin to /wp-content/plugins/ or install it via the Plugins screen.
  3. Activate Brazilian Checkout Toolkit for WooCommerce.
  4. Go to WooCommerce Settings Shipping Brazilian Checkout Fields and configure the fields.

Часто задаваемые вопросы

Does it work with the WooCommerce Checkout Block?

Yes. If your WooCommerce version provides the Additional Checkout Fields API (WooCommerce 9.0+), the plugin registers the Brazilian fields for the Checkout Block automatically.

Does it still work with the classic checkout?

Yes. The plugin keeps the classic checkout field injection and validation, and also avoids rendering duplicate fields when the Checkout Block is used.

Can I make CPF/CNPJ validation optional?

Yes. Validation can be enabled/disabled in the plugin settings.

Can I show only Individuals or only Companies?

Yes. You can configure “Person type” mode in the settings.

Where is the settings page?

WooCommerce Settings Shipping Brazilian Checkout Fields.

Отзывы

11.03.2026
Really helpful plugin! It adds the fields Brazilian customers actually expect at checkout (CPF/CNPJ, person type, number, neighborhood, etc.) without making the checkout complicated. I also appreciate that it works with both the classic checkout and the newer Checkout Blocks, which a lot of older Brazil plugins still don’t support. Setup is simple and the input masks make the checkout experience smoother for our customers.
Посмотреть 1 отзыв

Участники и разработчики

«Brazilian Checkout Toolkit for WooCommerce» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Brazilian Checkout Toolkit for WooCommerce» переведён на 4 языка. Благодарим переводчиков за их работу.

Перевести «Brazilian Checkout Toolkit for WooCommerce» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.0

  • Initial release.