Skip to content

Commit 316c24a

Browse files
committed
modified readme after code review
1 parent b9af481 commit 316c24a

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ You do not need to download and build the source to use the SDK but if you want
5858
- `sendToProduction` is initially set to false. Set it to true only when you are ready to send live transactions.
5959
- Set `sendToAkamai` config parameter with toggle value "true/false" to turn on/off routing requests through Akamai to Cybersource. By default, it is set to true.
6060
- `serverURL` config parameter will take precedence over `sendToProduction` and `sendToAkamai` config parameters. By default the `serverURL` configuration is commented out.
61-
- if `enablejdkcert` parameter is set to true, certificates will be read from the JKS file specified at keysDirectory location. The JKS file should be of the same name as specified in keyFilename.
61+
- if `enableJdkcert` parameter is set to true, certificates will be read from the JKS file specified at keysDirectory location. The JKS file should be of the same name as specified in keyFilename.
6262
- To know how to convert p12 to JKS refer the JKS creation section of this document.
63-
- If enableCacert property is enabled then it means the certificates are kept under the keysDirectory path.
64-
By default, keysDirectory path is set to Java Installation cacerts location.
63+
- If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
6564
- if `certificateCacheEnabled` parameter is set to false (default is true), the p12 certificate of a merchant will be reloaded from filesystem every time a transaction is made
6665
- `allowRetry` config parameter will only work for HttpClient. Set `allowRetry` config parameter to "true" to enable retry mechanism and set merchant specific values for the retry.
6766
- Set integer values for config parameter `numberOfRetries` *and* `retryInterval`. Retry Interval is time delay for next retry in seconds.

java/src/main/resources/cybs.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ retryInterval=5
3636
# program will read it from keysDirectory path.
3737
enableJdkCert=false
3838

39-
# If enableCacert property is enabled then it means the certificates are kept under the keysDirectory path.
40-
# By default, keysDirectory path set to Java Installation cacerts location
39+
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
40+
# If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
4141
enableCacert=false
4242
# Enter the password for cacert file. Default password for JDK cacert is changeit
4343
cacertPassword=

java/src/test/resources/test_cybs.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ retryInterval=5
3434
# program will read it from keysDirectory path.
3535
enableJdkCert=false
3636

37-
# If enableCacert property is enabled then it means the certificates are kept under the keysDirectory path.
38-
# By default, keysDirectory path set to Java Installation cacerts location
37+
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
38+
# If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
3939
enableCacert=false
4040
# Enter the password for cacert file. Default password for JDK cacert is changeit
4141
cacertPassword=

samples/nvp/cybs.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ retryInterval=5
3737
# program will read it from keysDirectory path.
3838
enableJdkCert=false
3939

40-
# If enableCacert property is enabled then it means the certificates are kept under the keysDirectory path.
41-
# By default, keysDirectory path set to Java Installation cacerts location
40+
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
41+
# If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
4242
enableCacert=false
4343
# Enter the password for cacert file. Default password for JDK cacert is changeit
4444
cacertPassword=

samples/xml/cybs.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ retryInterval=5
3737
# program will read it from keysDirectory path.
3838
enableJdkCert=false
3939

40-
# If enableCacert property is enabled then it means the certificates are kept under the keysDirectory path.
41-
# By default, keysDirectory path set to Java Installation cacerts location
40+
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
41+
# If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
4242
enableCacert=false
4343
# Enter the password for cacert file. Default password for JDK cacert is changeit
4444
cacertPassword=

zip/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Refer to our Developer's Guide for details <http://apps.cybersource.com/library/
6666
i. if `enablejdkcert` parameter is set to true, certificates will be read from the JKS file specified at keysDirectory location. The JKS file should be of the same name as specified in keyFilename.
6767
To convert p12 to JKS refer to the JKS creation section.
6868

69-
j. `cacerts` property is considered only if `enablejdkcert` is set to true. If `cacerts` is set to true, certificates will be read from the cacerts folder under the JDK.
69+
j. - If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
7070

7171
k. "allowRetry" config parameter will only work for HttpClient. Set allowRetry config parameter to "true" to enable retry mechanism and set merchant specific values for the retry.
7272
Set integer values for config parameter numberOfRetries & retryInterval. Retry Interval is time delay for next retry in seconds. number of retry parameter should be set between

0 commit comments

Comments
 (0)