Interface OrderEventTypes

interface OrderEventTypes {
    order.payment_status: {
        method: string;
        msgId: MsgKey;
        reference_id: string;
        timestamp: number;
    };
}

Properties

order.payment_status: {
    method: string;
    msgId: MsgKey;
    reference_id: string;
    timestamp: number;
}

Triggered when change the active chat

WPP.on('order.payment_status', (order) => {
// Your code
});