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.
Information about the updated order.