Complete events reference for the Paysight Widget SDK
onMessage
callback provided during widget initialization.
READY
- Emitted when the widget is fully loaded and ready to accept inputMOUNT
- Emitted when the widget is mounted to the DOMUNMOUNT
- Emitted when the widget is unmounted from the DOMHEIGHT_CHANGE
- Emitted when the widget’s height changesFOCUS
- Emitted when a field in the widget receives focusBLUR
- Emitted when a field in the widget loses focusPAYMENT_START
- Emitted when payment processing beginsPAYMENT_SUCCESS
- Emitted when payment is successfulPAYMENT_ERROR
- Emitted when payment failsPAYMENT_CANCEL
- Emitted when payment is cancelledPAYMENT_3DS_START
- Emitted when 3DS verification beginsPAYMENT_3DS_SUCCESS
- Emitted when 3DS verification is successfulPAYMENT_3DS_ERROR
- Emitted when 3DS verification encounters an errorPAYMENT_3DS_FAILURE
- Emitted when 3DS verification failsPAYMENT_3DS_CANCEL
- Emitted when 3DS verification is cancelledVALIDATION_ERROR
- Emitted when field validation failsVALIDATION_SUCCESS
- Emitted when field validation succeedsNETWORK_ERROR
- Emitted when a network request failsNETWORK_SUCCESS
- Emitted when a network request succeedsPAYMENT_ERROR
and VALIDATION_ERROR