private function validateSettings()
    {
        // Validate Merchant ID
        if (!Icepay_Parameter_Validation::merchantID($this->getMerchantID()))
            throw new Exception('Merchant ID not set, use the setMerchantID() method', 1001);

        // Validate SecretCode
        if (!Icepay_Parameter_Validation::secretCode($this->getSecretCode()))
            throw new Exception('Secretcode ID not set, use the setSecretCode() method', 1002);
    }