From woocommerce wordpress site only completed orders need to be shown in erpnext

I have connected web hook with wordpress woocomerce site and is showing every new order in sales order ,Problem i face is it is showing even cancelled orders in erpnext and cant distinguish whiche one is cancelled which one is completed successfully. Is there any way i can acheive this ?

Could you find the solution?