Skip to main content
This page lists the Widget events and metadata available through onEvent. The Widget calls onEvent for each event. Define the callback as follows:
onEvent definition example
eventName identifies the event that triggered the callback. metadata contains information about the emitted event. Check each metadata attribute for null before using it. The following metadata attribute is documented:
The metadata object can include undocumented fields. Ignore fields that your integration does not recognize.

List of events

The Widget emits the following events, including events for Cobro Digital (CoDi) payments: