protected function setOrderCompletePage(array $order, $model, $controller)
    {
        $this->order = $model;
        $this->data_order = $order;
        $this->controller = $controller;

        if ($order['payment'] === 'twocheckout') {
            $this->submitPayment();
            $this->completePayment();
        }
    }
protected function setOrderCompletePage(array $order, $model, $controller)
    {
        $this->order = $model;
        $this->data_order = $order;
        $this->controller = $controller;

        if ($order['payment'] === 'twocheckout') {
            $this->submitPayment();
            $this->completePayment();
        }
    }
protected function setOrderCompletePage ( array $ order , $ model , $ controller ) { $ this -> order = $ model ; $ this -> data_order = $ order ; $ this -> controller = $ controller ; if ( $ order [ 'payment' ] === 'twocheckout' ) { $ this -> submitPayment ( ) ; $ this -> completePayment ( ) ; } }
Set order complete page
@param array $order
@param \gplcart\core\models\Order $model
@param \gplcart\core\controllers\frontend\Controller $controller
Set order complete page