Skip to content

ElementLoadErrorEvent

Sent when the element could not load. Show error, or send the customer to fallbackUrl.

export interface ElementLoadErrorEvent
NameTypeDescription
elementTypeElementTypeThe element that failed.
errorPesepayErrorWhy it failed.
fallbackUrl?stringSent only by the payment and checkout elements: the Hosted checkout page for the same transaction. Send the customer there so they can still pay.