woocommerce_thankyou

This hook, works when a user complete the order.

add_action( ‘woocommerce_thankyou’, ‘complte_order’ );

function complte_order($order_id){

}

Use this hook, if you want to change any code once user complete order process.