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.

Did this help?