/** * Order payment either online * Updates transactions hierarchy, if required * Prevents transaction double processing * Updates payment totals, updates order status and adds proper comments * * @param float $amount * @return $this */ protected function _order($amount) { return $this->orderPaymentProcessor->order($this, $amount); }