All cards entered into the Hosted Payment Page are tokenized first before 3DS verification and payment transaction.
| Event | Description | Applicable Methods |
|---|
fz.tokenization.success | Emitted when card is successfully tokenized. | renderPaymentsPage |
fz.tokenization.error | Emitted when card tokenization fails. | renderPaymentsPage |
| Attribute | Type | Description |
|---|
token | string | Card token |
{
message: "xxx",
data: {
token: "xxx",
}
}
| Attribute | Type | Description |
|---|
| N/A | N/A | N/A |
{
errors: ["xxx"],
data: null
}