Exact Hook to payment methods

Like I said before change manually the data through admin works well with the woocommerce_order_status_processing hook. But the gateway I’m using was using other method and consequently other hook. The right hook is woocommerce_update_order.

Inside this hook was needed to use a conditional check if the status change to processing.

public function create_memberplan_after_update_order($order){
    $order = wc_get_order($order);
    if ($order->data['status'] == 'processing') {
        //update user when status is changed to processing
    }
}