Skip to content

Commit

Permalink
Merge pull request #12 from hps/update-cert-url
Browse files Browse the repository at this point in the history
Update cert url to support PCI 3.1
  • Loading branch information
markhagan committed Nov 20, 2015
2 parents 7fae213 + 46eee70 commit fb9a625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/js/secure.submit-1.0.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var hps = (function ($) {
Tag: "SecureSubmit",

Urls: {
CERT: "https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway.Hpf.v1/api/token",
CERT: "https://cert.api2.heartlandportico.com/Hps.Exchange.PosGateway.Hpf.v1/api/token",
PROD: "https://api.heartlandportico.com/SecureSubmit.v1/api/token"
},

Expand Down Expand Up @@ -291,4 +291,4 @@ var hps = (function ($) {

return HPS;

}(jQuery));
}(jQuery));
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private function _gatewayUrlForKey()
{
if ($this->_config->secretApiKey != null && $this->_config->secretApiKey != "") {
if (strpos($this->_config->secretApiKey, '_cert_') !== false) {
return "https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway/PosGatewayService.asmx";
return "https://cert.api2.heartlandportico.com/Hps.Exchange.PosGateway/PosGatewayService.asmx";
} else if (strpos($this->_config->secretApiKey, '_uat_') !== false) {
return "https://posgateway.uat.secureexchange.net/Hps.Exchange.PosGateway/PosGatewayService.asmx";
} else {
Expand Down
2 changes: 1 addition & 1 deletion classes/includes/src/Services/HpsServicesConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class HpsServicesConfig
public $siteTrace = null;
public $useProxy = null;
public $proxyOptions = null;
public $soapServiceUri = "https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway/PosGatewayService.asmx";
public $soapServiceUri = "https://cert.api2.heartlandportico.com/Hps.Exchange.PosGateway/PosGatewayService.asmx";
public $payPlanBaseUri = null;

public function serviceUri()
Expand Down

0 comments on commit fb9a625

Please sign in to comment.