Deprecated.
This event will continue to work until September 4, 2024, but a newer version is available at
wix-ecom-backend.Events.onCheckoutCompleted()
.
We recommend you migrate to the new Wix eCommerce APIs as soon as possible.
An event that fires when a visitor completes a purchase from a shopping cart.
The onCartCompleted()
event handler runs when a visitor completes a
purchase from a shopping cart.
Note: Backend events don't work when previewing your site.
Information about the cart that was completed.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.