function __construct(&$gateway_adapter) { parent::__construct(&$gateway_adapter); $this->isSecure = 1; // use HTTPS by default // set the allowed_fields hash $this->allowed_fields["l"] = 1; $this->allowed_fields["phone"] = 1; $this->allowed_fields["verify_code"] = 1; $this->num_allowed_fields = count($this->allowed_fields); // set the url of the web service $this->url = "app/telephone_http"; $this->check_field = "refid"; $this->server = array("www.maxmind.com", "www2.maxmind.com"); $this->numservers = count($this->server); $this->API_VERSION = 'PHP/1.4'; $this->timeout = 30; }
function __construct(&$gateway_adapter) { parent::__construct(&$gateway_adapter); $this->isSecure = 1; // use HTTPS by default // set the allowed_fields hash $this->allowed_fields["i"] = 1; $this->allowed_fields["city"] = 1; $this->allowed_fields["region"] = 1; $this->allowed_fields["postal"] = 1; $this->allowed_fields["country"] = 1; $this->allowed_fields["license_key"] = 1; $this->num_allowed_fields = count($this->allowed_fields); // set the url of the web service $this->url = "app/locvr"; $this->check_field = "distance"; $this->server = array("www.maxmind.com", "www2.maxmind.com"); $this->numservers = count($this->server); $this->API_VERSION = 'PHP/1.4'; }
function __construct(&$gateway_adapter) { parent::__construct($gateway_adapter); $this->isSecure = 1; // use HTTPS by default // set the allowed_fields hash $this->allowed_fields["i"] = 1; $this->allowed_fields["domain"] = 1; $this->allowed_fields["city"] = 1; $this->allowed_fields["region"] = 1; $this->allowed_fields["postal"] = 1; $this->allowed_fields["country"] = 1; $this->allowed_fields["bin"] = 1; $this->allowed_fields["binName"] = 1; $this->allowed_fields["binPhone"] = 1; $this->allowed_fields["custPhone"] = 1; $this->allowed_fields["license_key"] = 1; $this->allowed_fields["requested_type"] = 1; $this->allowed_fields["forwardedIP"] = 1; $this->allowed_fields["emailMD5"] = 1; $this->allowed_fields["shipAddr"] = 1; $this->allowed_fields["shipCity"] = 1; $this->allowed_fields["shipRegion"] = 1; $this->allowed_fields["shipPostal"] = 1; $this->allowed_fields["shipCountry"] = 1; $this->allowed_fields["txnID"] = 1; $this->allowed_fields["sessionID"] = 1; $this->allowed_fields["usernameMD5"] = 1; $this->allowed_fields["passwordMD5"] = 1; $this->allowed_fields["user_agent"] = 1; $this->allowed_fields["accept_language"] = 1; $this->num_allowed_fields = count($this->allowed_fields); // set the url of the web service $this->url = "app/ccv2r"; $this->check_field = "score"; $this->server = array("minfraud3.maxmind.com", "minfraud1.maxmind.com", "minfraud2.maxmind.com"); $this->numservers = count($this->server); $this->API_VERSION = 'PHP/1.49'; }