src/icepay_api_pbm.php
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);
    }
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);
    }
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 ) ; }
Validate the merchant settings

@since 1.0.0
@throws Exception
Validate the merchant settings