diff --git a/js/securesubmit/secure.submit-1.0.1.js b/js/securesubmit/secure.submit-1.0.1.js index 740bf52..6dd564c 100644 --- a/js/securesubmit/secure.submit-1.0.1.js +++ b/js/securesubmit/secure.submit-1.0.1.js @@ -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" }, diff --git a/lib/SecureSubmit/src/Infrastructure/HpsConfiguration.php b/lib/SecureSubmit/src/Infrastructure/HpsConfiguration.php index 35c92f3..5fe86a0 100644 --- a/lib/SecureSubmit/src/Infrastructure/HpsConfiguration.php +++ b/lib/SecureSubmit/src/Infrastructure/HpsConfiguration.php @@ -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"; } diff --git a/lib/SecureSubmit/src/Services/Gateway/HpsRestGatewayService.php b/lib/SecureSubmit/src/Services/Gateway/HpsRestGatewayService.php index ae35b0c..dfcfbd2 100644 --- a/lib/SecureSubmit/src/Services/Gateway/HpsRestGatewayService.php +++ b/lib/SecureSubmit/src/Services/Gateway/HpsRestGatewayService.php @@ -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; diff --git a/lib/SecureSubmit/src/Services/Gateway/HpsSoapGatewayService.php b/lib/SecureSubmit/src/Services/Gateway/HpsSoapGatewayService.php index bbd67e9..e0b6ede 100644 --- a/lib/SecureSubmit/src/Services/Gateway/HpsSoapGatewayService.php +++ b/lib/SecureSubmit/src/Services/Gateway/HpsSoapGatewayService.php @@ -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 {