Performing actions on the checkout button
Gain a better understanding of how to perform customized actions on the Prebuilt Checkout button
Last updated
Gain a better understanding of how to perform customized actions on the Prebuilt Checkout button
Last updated
Various callback functions can be assigned to properties in the . Some of these functions accept an optional actions
parameter, which allows you to:
The actions
parameter exposes loading.start()
and loading.stop()
. These two functions display and hide a spinning GIF, a visual cue that the is opening.
The actions
parameter exposes checkout.modal.open()
, which accepts a required id
and an optional , and results in creating a .
For details, refer to on the page.