Java SCMP Client SDK Upgrade
Follow these steps to upgrade the endpoint configuration in your Java SCMP Client SDK.
Only the Java SCMP Client SDK version 5.4.0 is valid for this
upgrade.
- Open yourICSClient.propsfile using a text editor application. This file is located in thepropertiesfolder in your Java SDK.
- Change theserverURLproperty value to one of these valid HTTPS endpoints that corresponds to your environment:
- Test Endpoint
- serverURL=https://ics2test.ic3.com:443/
- Production Endpoint
- serverURL=https://ics2.ic3.com:443/
- Add theuseJdkUrlConnectionproperty and set its value totrue.useJdkUrlConnection=true
- (Optional) Run the authorization sample in theICSAuthTest.javafile to test and confirm that your HTTPS connection is successful. The file is in thesamplesfolder.In the sample authorization, set the field value in thecustomer_cc_expyrfield to a future four digit year.
Troubleshooting Using Certificates
If you receive an error message when sending an API request to the HTTPS endpoints,
you may need to add certificates to your payment system. Follow these steps to add
the Certificate Authority (CA) root certificate and intermediate certificate to your
system.
- Download the certificates from the attachments section in this support article:
- Import the certificates to your Java truststore.
- If you need to enable your system to trust the certificates, add these two properties and values to yourICSClient.propsfile to override the default Java truststore.ssl.trustStore={path_to_your_truststore}/keys/truststore.jks ssl.trustStorePassword={your_password}