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
+36-37Lines changed: 36 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,17 +71,10 @@ You do not need to download and build the source to use the SDK but if you want
71
71
example customHttpClass= <packagename.customHttpClass>
72
72
- The custom HTTP Class must have a three argument constructor which accepts MerchantConfig, DocumentBuilder and LoggerWrapper as argument. Then it should call the constructor of the parent class.
73
73
- Build this project using Maven.
74
-
a. mvn clean // Cleans the Project
75
-
76
-
b. mvn install
77
-
// Builds the project and creates a jar file of client SDK
78
-
// Includes running all unit tests and integration tests
79
-
80
-
c. mvn test
81
-
// Runs unit tests
82
-
83
-
d. mvn failsafe:integration-test
84
-
// Runs unit and integration tests. Note that integration tests require proper setup of test_cybs.properties
74
+
-`mvn clean` // Cleans the Project
75
+
-`mvn install` // Builds the project and creates a jar file of client SDK; Includes running all unit tests and integration tests
76
+
-`mvn test` // Runs unit tests
77
+
-`mvn failsafe:integration-test` // Runs unit and integration tests. Note that integration tests require proper setup of `test_cybs.properties`
85
78
86
79
## Testing the SDK
87
80
We have two ways to test -- one is by downloading the zip and using scripts to test; other is using maven tool.
@@ -116,27 +109,33 @@ We have two ways to test -- one is by downloading the zip and using scripts to t
116
109
117
110
## JKS creation
118
111
119
-
-To convert the p12 file to JKS follow the steps mentioned below.
112
+
-To convert the p12 file to JKS follow the steps mentioned below.
120
113
- These commands will take out all the certs from the p12 file.
-It should have two entries. The first entry should contain a chain of two certificates - CyberSourceCertAuth and <Merchant_ID> with alias name <Merchant_ID>
139
-
-Second entry should be for CyberSource_SJC_US certificate with alias name as CyberSource_SJC_US
- The first entry should contain a chain of two certificates - `CyberSourceCertAuth` and <Merchant_ID> with alias name <Merchant_ID>
138
+
- Second entry should be for `CyberSource_SJC_US` certificate with alias name as CyberSource_SJC_US
140
139
141
140
## Message Level Encryption
142
141
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.
@@ -156,7 +155,7 @@ CyberSource supports Message Level Encryption (MLE) for Simple Order API. Messag
156
155
## Retry Pattern
157
156
158
157
Retry Pattern allows to retry sending a failed request and it will only work with `useHttpClient=true`. `allowRetry` flag enables the retry mechanism.
159
-
- Set the value of `allowRetry` parameter to "TRUE/FALSE". Then the system will retry the failed request as many times as configured by the merchant in the config parameter 'numberOfRetries'.
158
+
- Set the value of `allowRetry` parameter to "TRUE/FALSE". Then the system will retry the failed request as many times as configured by the merchant in the config parameter 'numberOfRetries'.
160
159
- numberOfRetries parameter value should be set between 0 to 5. By default the value for numberOfRetries will be 5. User can set a delay in between the retry attempts.
161
160
- Config parameter for this property is 'retryInterval' in `cybs.property` file. The default value for 'retryInterval' parameter is 5 which means a delay of 5 seconds.
0 commit comments