Skip to content

Instantly share code, notes, and snippets.

@ganobrega
Forked from acjr1910/vtex-checkout-events.js
Created October 11, 2022 21:03
Show Gist options
  • Save ganobrega/f827ce3ef52a9a6269a79b13f305280b to your computer and use it in GitHub Desktop.
Save ganobrega/f827ce3ef52a9a6269a79b13f305280b to your computer and use it in GitHub Desktop.
VTEX checkout events
$(window).on('orderFormUpdated.vtex', (event, orderForm) => console.log("orderFormUpdated.vtex"));
$(window).on('orderFormUpdated.vtex', (event, orderForm) => console.log("orderFormUpdated.vtex"));
$(window).on('checkoutRequestEnd.vtex', (event, orderForm) => console.log("checkoutRequestEnd.vtex"));
$(window).on('checkout.vtex.com', (event, orderForm) => console.log("checkout.vtex.com "));
$(window).on('.vtexIdUI', (event, orderForm) => console.log(".vtexIdUI"));
$(window).on('authenticatedUser.vtexid', (event, orderForm) => console.log("authenticatedUser.vtexid"));
$(window).on('started.vtexid', (event, orderForm) => console.log("started.vtexid"));
$(window).on('rendered.vtexid', (event, orderForm) => console.log("rendered.vtexid "));
$(window).on('closed.vtexid', (event, orderForm) => console.log("closed.vtexid"));
$(window).on('guestUser.vtexid', (event, orderForm) => console.log("guestUser.vtexid "));
$(window).on('tokenRefreshed.vtexid', (event, orderForm) => console.log("tokenRefreshed.vtexid"));
$(window).on('localeSelected.vtex', (event, orderForm) => console.log("localeSelected.vtex "));
$(window).on('componentValidated.vtex', (event, orderForm) => console.log("componentValidated.vtex"));
$(window).on('validate.vtex', (event, orderForm) => console.log("validate.vtex "));
$(window).on('addressSearchStart.vtex', (event, orderForm) => console.log("addressSearchStart.vtex "));
$(window).on('addressSearchResult.vtex', (event, orderForm) => console.log("addressSearchResult.vtex"));
$(window).on('enable.vtex', (event, orderForm) => console.log("enable.vtex "));
$(window).on('disable.vtex', (event, orderForm) => console.log("disable.vtex "));
$(window).on('startLoading.vtex', (event, orderForm) => console.log("startLoading.vtex "));
$(window).on('googleMapsAPILoaded.vtex', (event, orderForm) => console.log("googleMapsAPILoaded.vtex"));
$(window).on('addressKeysUpdated.vtex', (event, orderForm) => console.log("addressKeysUpdated.vtex"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment