protected function cancelPurchase()
    {
        $this->controller->setMessage($this->controller->text('Payment has been canceled'), 'warning');
        $gateway_message = $this->response->getMessage();
        if (!empty($gateway_message)) {
            $this->controller->setMessage($gateway_message, 'warning');
        }
    }
protected function cancelPurchase()
    {
        $this->controller->setMessage($this->controller->text('Payment has been canceled'), 'warning');
        $gateway_message = $this->response->getMessage();
        if (!empty($gateway_message)) {
            $this->controller->setMessage($gateway_message, 'warning');
        }
    }
protected function cancelPurchase ( ) { $ this -> controller -> setMessage ( $ this -> controller -> text ( 'Payment has been canceled' ) , 'warning' ) ; $ gateway_message = $ this -> response -> getMessage ( ) ; if ( ! empty ( $ gateway_message ) ) { $ this -> controller -> setMessage ( $ gateway_message , 'warning' ) ; } }
Performs actions when a payment is canceled
Performs actions when a payment is canceled