onOrderPaymentStatusUpdated( )


Triggered when an order's payment status is updated.

The onOrderPaymentStatusUpdated() event handler runs when an order's payment status is updated. The received OrderPaymentStatusUpdated object contains information about the order, the previous payment status, and event metadata.

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

Method Declaration
Copy
Method Parameters
eventOrderPaymentStatusUpdated

Information about the updated order.

Errors

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

Did this help?