Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the correct serviceUrl to use for Heartland Portico? #2

Open
charlie-s opened this issue Dec 13, 2018 · 2 comments
Open

What is the correct serviceUrl to use for Heartland Portico? #2

charlie-s opened this issue Dec 13, 2018 · 2 comments

Comments

@charlie-s
Copy link

What is the correct serviceUrl to use for both certification/testing and production for Heartland Portico?

The docs suggest https://cert.api2.heartlandportico.com while the tests in this repo suggest https://cert.api2-c.heartlandportico.com.

@charlie-s charlie-s changed the title What is the correct serviceUrl to use? What is the correct serviceUrl to use for Heartland Portico? Dec 13, 2018
@charlie-s
Copy link
Author

It appears that either works, including loading the client SDK from either URL:

  • https://api2.heartlandportico.com/SecureSubmit.v1/token/gp-1.0.1/globalpayments.js
  • https://api2-c.heartlandportico.com/SecureSubmit.v1/token/gp-1.0.1/globalpayments.js

The strange thing is that api2-c gives me a fatal certificate error when attempting to load the resource (ERR_CERT_SYMANTEC_LEGACY / https://security.googleblog.com/2018/03/distrust-of-symantec-pki-immediate.html).

Additionally, even if I load the client SDK via api2.heartlandportico.com, it attempts to load subsequent images (credit card images, cvv.png, etc) via api2-c which Chrome will not load from.

Any ideas?

@slogsdon
Copy link
Contributor

@charlie-s The api2-c subdomain is preferred, but both are backed by our payment gateway. For the client library, we are working with our internal teams to get the certificate corrected for the api2-c subdomain, but this shouldn't affect server-side communication via Node.js as far as we've seen.

Both domains point to our payment gateway in its sandbox/certification environment, so at the end of the day, you're hitting the same service. The production environment would be on both the https://api2.heartlandportico.com and the https://api2-c.heartlandportico.com subdomains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants