protected function redirectSuccess()
    {
        $vars = array(
            '@num' => $this->data_order['order_id'],
            '@status' => $this->order->getStatusName($this->data_order['status'])
        );

        $message = $this->controller->text('Thank you! Payment has been made. Order #@num, status: @status', $vars);
        $this->controller->redirect('/', $message, 'success', true);
    }
protected function redirectSuccess()
    {
        $vars = array(
            '@num' => $this->data_order['order_id'],
            '@status' => $this->order->getStatusName($this->data_order['status'])
        );

        $message = $this->controller->text('Thank you! Payment has been made. Order #@num, status: @status', $vars);
        $this->controller->redirect('/', $message, 'success', true);
    }
protected function redirectSuccess ( ) { $ vars = array ( '@num' => $ this -> data_order [ 'order_id' ] , '@status' => $ this -> order -> getStatusName ( $ this -> data_order [ 'status' ] ) ) ; $ message = $ this -> controller -> text ( 'Thank you! Payment has been made. Order #@num, status: @status' , $ vars ) ; $ this -> controller -> redirect ( '/' , $ message , 'success' , true ) ; }
Redirect on successful transaction
Redirect on successful transaction