ElementLoadErrorEvent
Sent when the element could not load. Show error, or send the customer to fallbackUrl.
export interface ElementLoadErrorEventProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
elementType | ElementType | The element that failed. |
error | PesepayError | Why it failed. |
fallbackUrl? | string | Sent only by the payment and checkout elements: the Hosted checkout page for the same transaction. Send the customer there so they can still pay. |