protected function finishOrderCheckout(array $result)
    {
        if ($this->admin === 'add') {
            $this->finishAddOrderCheckout($result);
        } else if ($this->admin === 'clone') {
            $this->finishCloneOrderCheckout($result);
        }

        $this->redirect($result['redirect'], $result['message'], $result['severity']);
    }
protected function finishOrderCheckout(array $result)
    {
        if ($this->admin === 'add') {
            $this->finishAddOrderCheckout($result);
        } else if ($this->admin === 'clone') {
            $this->finishCloneOrderCheckout($result);
        }

        $this->redirect($result['redirect'], $result['message'], $result['severity']);
    }
protected function finishOrderCheckout ( array $ result ) { if ( $ this -> admin === 'add' ) { $ this -> finishAddOrderCheckout ( $ result ) ; } else if ( $ this -> admin === 'clone' ) { $ this -> finishCloneOrderCheckout ( $ result ) ; } $ this -> redirect ( $ result [ 'redirect' ] , $ result [ 'message' ] , $ result [ 'severity' ] ) ; }
Performs final tasks after an order has been created
@param array $result
Performs final tasks after an order has been created