public function __construct() { $username = Cart66Setting::getValue('paypalpro_api_username'); $password = Cart66Setting::getValue('paypalpro_api_password'); $signature = Cart66Setting::getValue('paypalpro_api_signature'); if (!($username && $password && $signature)) { throw new Cart66Exception('Invalid PayPal Pro Configuration', 66502); } parent::__construct(); }