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

Commit

Permalink
Merge pull request #3 from ChessMess/patch-1
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 23, 2015
2 parents 300d1ec + 6f1d202 commit 8cae7bb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion library/infrastructure/HpsConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ class HpsConfiguration {
$useProxy = null,
$proxyOptions = null,
$avsResponseErrors = null,
$soapServiceUri = "https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway/PosGatewayService.asmx";
$soapServiceUri = "https://cert.api2.heartlandportico.com/Hps.Exchange.PosGateway/PosGatewayService.asmx";
}
4 changes: 2 additions & 2 deletions library/js/secure.submit-1.0.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var hps = (function ($) {

Urls: {
UAT: "https://posgateway.uat.secureexchange.net/Hps.Exchange.PosGateway.Hpf.v1/api/token",
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 @@ -221,4 +221,4 @@ var hps = (function ($) {
//var hps = new hpsO();
//}(jQuery.noConflict()));

}(jQuery));
}(jQuery));
4 changes: 2 additions & 2 deletions library/services/HpsServicesConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class HpsServicesConfig {
$siteTrace = null,
$useProxy = null,
$proxyOptions = null,
$soapServiceUri = "https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway/PosGatewayService.asmx",
$soapServiceUri = "https://cert.api2.heartlandportico.com/Hps.Exchange.PosGateway/PosGatewayService.asmx",
$payPlanBaseUri = null;

public function serviceUri(){
Expand All @@ -23,4 +23,4 @@ public function serviceUri(){
public function setServiceUri($value){
$this->soapServiceUri = $value;
}
}
}
4 changes: 2 additions & 2 deletions library/services/HpsTokenService.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function __construct($publicAPIKey){
if(strtolower($components[1]) == "prod"){
$this->_url = "https://api.heartlandportico.com/SecureSubmit.v1/api/token";
}else {
$this->_url = "https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway.Hpf.v1/api/token";
$this->_url = "https://cert.api2.heartlandportico.com/Hps.Exchange.PosGateway.Hpf.v1/api/token";
}
}

Expand Down Expand Up @@ -56,4 +56,4 @@ function getToken(HpsCreditCard $cardData){
throw new HpsException($e->getMessage(),$e->getCode());
}
}
}
}

0 comments on commit 8cae7bb

Please sign in to comment.