/** * Returns true if the gateway is properly configured to perform transactions. * Intuit QBMS requires: application id, application login, and connection ticket * for proper configuration * * @since 1.0 * @see SV_WC_Payment_Gateway::is_configured() * @return boolean true if the gateway is properly configured */ protected function is_configured() { $is_configured = parent::is_configured(); // missing configuration if (!$this->get_application_id() || !$this->get_application_login() || !$this->get_connection_ticket()) { $is_configured = false; } return $is_configured; }
/** * Returns true if the gateway is properly configured to perform transactions. * Authorize.net AIM requires: API Login ID & API Transaction Key * * @since 3.0 * @see SV_WC_Payment_Gateway::is_configured() * @return boolean true if the gateway is properly configured */ protected function is_configured() { $is_configured = parent::is_configured(); // missing configuration if (!$this->get_api_login_id() || !$this->get_api_transaction_key()) { $is_configured = false; } return $is_configured; }