You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,9 +58,9 @@ You do not need to download and build the source to use the SDK but if you want
58
58
-`sendToProduction` is initially set to false. Set it to true only when you are ready to send live transactions.
59
59
- 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.
60
60
-`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.
62
62
- To know how to convert p12 to JKS refer the JKS creation section of this document.
63
-
-`enableCacerts`property is considered only if `enablejdkcert` is set to true. If `enableCacerts`is set to true, certificates will be read from the cacerts folder under the JDK.
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.
64
64
- 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
65
65
-`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.
66
66
- Set integer values for config parameter `numberOfRetries`*and*`retryInterval`. Retry Interval is time delay for next retry in seconds.
- The first entry should contain a chain of two certificates - `CyberSourceCertAuth` and <Merchant_ID> with alias name <Merchant_ID>
139
139
- Second entry should be for `CyberSource_SJC_US` certificate with alias name as CyberSource_SJC_US
140
-
140
+
141
+
141
142
## Message Level Encryption
142
143
CyberSource supports Message Level Encryption (MLE) for Simple Order API. Message level encryption conforms to the SOAP Security 1.0 specification published by the OASIS standards group.
Copy file name to clipboardExpand all lines: java/src/main/resources/cybs.properties
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -32,13 +32,12 @@ retryInterval=5
32
32
#customHttpClassEnabled=
33
33
#customHttpClass=
34
34
35
-
# If This property is set to true then the p12 certificate must be stored in JKS format
36
-
# program will read it from there. If it is set to false then the certificate will be read from
37
-
# the location specified above from the key directory location
35
+
# If enableJdkCert property is set to true then the p12 certificate must be stored in JKS format.
36
+
# program will read it from keysDirectory path.
38
37
enableJdkCert=false
39
38
40
-
#if Cacert property is enabled then it means the certificates are kept under the cacert folder of JDK
41
-
#And it will read from JDK cert. This property will be considered only if enableJDKcert is set to true.
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.
42
41
enableCacert=false
43
42
# Enter the password for cacert file. Default password for JDK cacert is changeit
Copy file name to clipboardExpand all lines: java/src/test/resources/test_cybs.properties
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,12 @@ retryInterval=5
30
30
#customHttpClassEnabled=
31
31
#customHttpClass=
32
32
33
-
# If This property is set to true then the p12 certificate must be stored in JKS format
34
-
# program will read it from there. If it is set to false then the certificate will be read from
35
-
# the location specified above from the key directory location
33
+
# If enableJdkCert property is set to true then the p12 certificate must be stored in JKS format.
34
+
# program will read it from keysDirectory path.
36
35
enableJdkCert=false
37
36
38
-
#if Cacert property is enabled then it means the certificates are kept under the cacert folder of JDK
39
-
#And it will read from JDK cert. This property will be considered only if enableJDKcert is set to true.
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.
40
39
enableCacert=false
41
40
# Enter the password for cacert file. Default password for JDK cacert is changeit
Copy file name to clipboardExpand all lines: samples/nvp/cybs.properties
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -33,13 +33,12 @@ retryInterval=5
33
33
#customHttpClassEnabled=
34
34
#customHttpClass=
35
35
36
-
# If This property is set to true then the p12 certificate must be stored in JKS format
37
-
# program will read it from there. If it is set to false then the certificate will be read from
38
-
# the location specified above from the key directory location
36
+
# If enableJdkCert property is set to true then the p12 certificate must be stored in JKS format.
37
+
# program will read it from keysDirectory path.
39
38
enableJdkCert=false
40
39
41
-
#if Cacert property is enabled then it means the certificates are kept under the cacert folder of JDK
42
-
#And it will read from JDK cert. This property will be considered only if enableJDKcert is set to true.
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.
43
42
enableCacert=false
44
43
# Enter the password for cacert file. Default password for JDK cacert is changeit
Copy file name to clipboardExpand all lines: samples/xml/cybs.properties
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -33,13 +33,12 @@ retryInterval=5
33
33
#customHttpClassEnabled=
34
34
#customHttpClass=
35
35
36
-
# If This property is set to true then the p12 certificate must be stored in JKS format
37
-
# program will read it from there. If it is set to false then the certificate will be read from
38
-
# the location specified above from the key directory location
36
+
# If enableJdkCert property is set to true then the p12 certificate must be stored in JKS format.
37
+
# program will read it from keysDirectory path.
39
38
enableJdkCert=false
40
39
41
-
#if Cacert property is enabled then it means the certificates are kept under the cacert folder of JDK
42
-
#And it will read from JDK cert. This property will be considered only if enableJDKcert is set to true.
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.
43
42
enableCacert=false
44
43
# Enter the password for cacert file. Default password for JDK cacert is changeit
Copy file name to clipboardExpand all lines: zip/README
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,10 +63,10 @@ Refer to our Developer's Guide for details <http://apps.cybersource.com/library/
63
63
64
64
h. "serverURL" config parameter will take precedence over sendToProduction and sendToAkamai config parameters. By default the "serverURL" configuration is commented out.
65
65
66
-
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.
66
+
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.
67
67
To convert p12 to JKS refer to the JKS creation section.
68
68
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.
70
70
71
71
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.
72
72
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