Pix Nuvei Via Widget

Prerequisites

Before implementing Pix payments, ensure you have:

Payment Widget configuration

DeunaSDK.initPaymentWidget({
  orderToken: '<YOUR_GENERATED_ORDER_TOKEN>',
  paymentMethods: [
    {
      paymentMethod: 'bank_transfer',
      processors: ['nuvei_pix'],
    },
  ],
  callbacks: { ... },
});

Flow Events

Event Name Description Metadata
`paymentMethodsSelected` Triggered when **Pix Nuvei** is selected as the payment method. { "methodType": "bank_transfer", "processorName": "nuvei_pix" }
`paymentClick` Triggered when the **Payment Button** is clicked to process the transaction. { "methodType": "bank_transfer", "processorName": "nuvei_pix", "checkedPolicies": [] }
`paymentProcessing` Triggered while the transaction is being processed. {}
`linkClose` Triggered when the "change payment method" button is clicked on the voucher. {}
`apmCancelPayment` Triggered when the payment process is canceled. {}


Did this page help you?