Skip to content

Instantly share code, notes, and snippets.

@Juanpablobar
Last active October 7, 2023 01:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Juanpablobar/a21fd0c432336638c726c644f047bddb to your computer and use it in GitHub Desktop.
Save Juanpablobar/a21fd0c432336638c726c644f047bddb 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"));
$(window).on('paidValueUpdated.vtex', (event, orderForm) => console.log("paidValueUpdated.vtex"));
$(window).on('paymentUpdated.vtex', (event, orderForm) => console.log("paymentUpdated.vtex"));
$(window).on('sendAttachment.vtex', (event, orderForm) => console.log("sendAttachment.vtex"));
$(window).on('startTransaction.vtex', (event, orderForm) => console.log("startTransaction.vtex"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment