Pix payments (Brazil) via Primer

Accept Pix and Pix Automático subscriptions from Brazilian buyers with the Primer Pix block (CPF + full name).

What is Pix

Pix is Brazil's instant payment method. With Primer (dLocal) web2wave supports two variants:

MethodUse for
Pix Automático (DLOCAL_PIX_AUTOMATICO, default)Subscriptions – allows recurring charges
Pix (DLOCAL_PIX)One-off payments only

Pix requires the buyer's CPF (Brazilian tax ID) and full name, so it has its own paywall block.

The block works on paywalls with the Primer or Hubx payment system.


Setup

  1. Enable the Pix method you need (dLocal Pix / Pix Automático) in your Primer dashboard.
  2. Create a price in BRL (or add BRL as a currency of an existing Primer price).
  3. Open the paywall editor and add the Primer Pix (Brazil) block (category Paywall).
  4. Choose Pix payment method: Pix Automático (subscriptions) or Pix (one-off payments).
  5. Publish the paywall.

The block is shown only when Primer offers Pix for the checkout session – i.e. a BRL price for a buyer from Brazil. For everyone else it stays hidden, so it is safe to keep it next to your regular card form.

You can also add Pix manually as an option of the Primer tabs / accordion block; it is not in that block's defaults.


Block settings

SettingDefault
Pix payment methodPix Automático (subscriptions)
Button textPay with Pix
CPF field label / placeholderCPF / 000.000.000-00
Full name field label / placeholderFull name / Name as on your bank account
Error: invalid CPFEnter a valid CPF (11 digits)
Error: missing full nameEnter your full name (first and last name)
Error: Pix payment failedPix payment failed. Please try again or choose another payment method.
Error: Pix not availablePix is not available right now. Please choose another payment method.
Payment Failed ActionsPopup or JS callback on a failed payment

The button is styled with the regular Button theme variables.


How it works for the buyer

  1. The buyer enters CPF and full name. Both are validated (CPF must be a valid 11-digit number; the name must contain first and last name).
  2. Pay with Pix stays disabled until both fields are valid. CPF and name are sent to Primer (and Hubx) as the customer's national document ID, first and last name.
  3. The Pix payment flow starts (QR code / bank app). web2wave waits up to 15 minutes for the buyer to confirm the payment, then the purchase completes as usual.