onCheckoutTemplateUsed( )
Developer Preview
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a checkout template is used to create a checkout.
The onCheckoutTemplateUsed()
event handler runs when a checkout template is created. The received CheckoutTemplateUsedEvent
object contains information about the checkout template that was used, the checkout that was created, and event metadata.
Note: Backend events don't work when previewing your site.
Method Declaration
Copy
Method Parameters
eventCheckoutTemplateUsedEvent
Information about the checkout template that was used to create a checkout and event metadata.
Was this helpful?
Yes
No