Optional
onCalled when a button is pressed. Usually a call to action (CTA).
Called when a button is pressed. Usually a call to action (CTA).
Optional
props: { Optional
onCalled when the payment option is initialized or changed by the user.
Called when the payment option is initialized or changed by the user.
Optional
paymentOption: PaymentOptionOptional
onCalled when any personalData fields update.
Called when any personalData fields update.
Optional
props: { Optional
data?: Record<string, string>Optional
onCalled when the widget route changes. "Route" is a term to define the view the user sees.
Called when the widget route changes. "Route" is a term to define the view the user sees.
Optional
props: { Optional
data?: Record<string, string>Optional
onCalled when the checkout is successfully finished.
Called when the checkout is successfully finished.
Use onTransactionSent
instead (filter for functionName === 'createFlow | 'updateFlow'
).
Use onTransactionSent
instead (filter for functionName === 'createFlow | 'updateFlow'
).
Optional
onCalled when the merchant's success button is defined in the schema and it's clicked.
Called when the merchant's success button is defined in the schema and it's clicked.
Optional
onCalled when a transaction is executed.
Called when a transaction is executed.
Optional
props: { Optional
functionOptional
hash?: `0x${string}`Generated using TypeDoc
A set of non-blocking callback functions that are triggered in response to the widget events.
Example