Event Listener
The widget sends events to the parent window usingwindow.postMessage. Listen for these events to respond to widget actions.
Available Events
| Event Type | Description |
|---|---|
close_frame | Emitted when the user closes the widget. |
Handle events from the Holdstation Pay Widget using postMessage.
window.postMessage. Listen for these events to respond to widget actions.
| Event Type | Description |
|---|---|
close_frame | Emitted when the user closes the widget. |