function onOrderTransactionsUpdated(handler: function): void;
handler(event: OrderTransactionsUpdatedEnvelope): void | Promise<void>
import { orderTransactions } from "@wix/ecom";
orderTransactions.onOrderTransactionsUpdated((event) => {
// handle your event here
});