Pix Nuvei Via Widget
Prerequisites
Before implementing Pix payments, ensure you have:
- Enabled Pix Nuvei in the DEUNA Admin Panel.
- An generated order token.
- Integrated the DEUNA SDK in your project.
- Reviewed the Payment Widget documentation for your platform.
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. | {} |
Updated 2 days ago
Did this page help you?