public function oGateway()
    {
        $gatewayName = $this->payment->Gateway;

        $gateway = $this->getGatewayFactory()->create($gatewayName);

        $parameters = GatewayInfo::getParameters($gatewayName);

        if (is_array($parameters)) {
            $gateway->initialize($parameters);
        }

        return $gateway;
    }