onEvent
parameter that can be used to listen to certain
events emitted from the form.
argumentError
element
, options
) are incorrectly formatted or missing.
optionsLoaded
id
.
formUpdate
transactionCreated
transactionFailed
event.
transactionCancelled
transactionFailed
4XX
or
5XX
range is returned.
To catch failed or declined transactions due to
downstream issues with the payment service, please subscribe to the
transactionCreated
event.
apiError
cardDetailsChanged