onCouponApplied( )


An event that is triggered when a coupon is used.

The onCouponApplied() event handler runs when an order with an applied coupon is completed, or when an order is manually marked as paid.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventCouponAppliedEventRequired

Information about an applied coupon.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?