Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #67 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
slogsdon committed Nov 20, 2015
2 parents fb32d63 + fa95265 commit d96ccc9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/securesubmit/secure.submit-1.0.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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
2 changes: 1 addition & 1 deletion lib/SecureSubmit/src/Infrastructure/HpsConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ class HpsConfiguration
public $useProxy = null;
public $proxyOptions = null;
public $avsResponseErrors = null;
public $serviceUri = "https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway/PosGatewayService.asmx";
public $serviceUri = "https://cert.api2.heartlandportico.com/Hps.Exchange.PosGateway/PosGatewayService.asmx";
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class HpsRestGatewayService extends HpsGatewayServiceAbstract
{
const CERT_URL = 'https://posgateway.cert.secureexchange.net/Portico.PayPlan.v2';
const CERT_URL = 'https://cert.api2.heartlandportico.com/Portico.PayPlan.v2';
const PROD_URL = 'https://api.heartlandportico.com/payplan.v2';
const UAT_URL = 'https://api-uat.heartlandportico.com/payplan.v2';
protected $limit = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,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

0 comments on commit d96ccc9

Please sign in to comment.