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
+13-58Lines changed: 13 additions & 58 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,10 +66,7 @@ You do not need to download and build the source to use the SDK but if you want
66
66
- Number of retry parameter should be set between 1 to 5. Any other value will throw an Error Message.
67
67
- Refer to the [Retry Pattern](README.md#retry-pattern) section below.
68
68
- Please refer to the accompanying documentation for the other optional properties that you may wish to specify.
69
-
- Set customHttpClassEnabled to true to make use of Custom Http Library.
70
-
- Enter the custom class name in customHttpClass field. Provide the full package name along with the class name.
71
-
example customHttpClass= <packagename.customHttpClass>
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.
69
+
73
70
- Build this project using Maven.
74
71
-`mvn clean` - Cleans the Project
75
72
-`mvn install` - Builds the project and creates a jar file of client SDK. Includes running all unit tests and integration tests
@@ -96,7 +93,6 @@ Unix or Linux: runSample.sh <service_name>
96
93
- If you make any changes to the `RunSample.java` sample, you must rebuild the sample before using it. Use the `compileSample` batch file or shell script provided in the sample directory.
97
94
98
95
### Using samples and maven tool
99
-
100
96
- Clone/Download the code from GitHub.
101
97
- Choosing which sample to test:
102
98
- If you want to test Name-Value Pair, `cd` to the `cybersource-sdk-java-master/samples/nvp` directory.
@@ -111,31 +107,31 @@ Unix or Linux: runSample.sh <service_name>
111
107
112
108
- To convert the p12 file to JKS follow the steps mentioned below.
113
109
- These commands will take out all the certs from the p12 file.
- 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
134
+
- Second entry should be for `CyberSource_SJC_US` certificate with alias name as `CyberSource_SJC_US`
139
135
140
136
## Message Level Encryption
141
137
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.
@@ -155,7 +151,7 @@ CyberSource supports Message Level Encryption (MLE) for Simple Order API. Messag
155
151
## Retry Pattern
156
152
157
153
Retry Pattern allows to retry sending a failed request and it will only work with `useHttpClient=true`. `allowRetry` flag enables the retry mechanism.
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'.
154
+
- 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'.
159
155
- 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.
160
156
- 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.
161
157
@@ -179,47 +175,6 @@ Retry Pattern allows to retry sending a failed request and it will only work wit
179
175
9. org.mockito:mockito-all:1.10.19
180
176
Mock objects library for java
181
177
182
-
## Changes
183
-
184
-
Version Cybersource-sdk-java 6.2.5 (TBD)
185
-
_______________________________
186
-
1) Merchant cert to be read from JAVA key store. Flag is added to enable reading cert from Java keystore.
187
-
2) Added Custom HttpClient feature. Merchants can use there own http client instead of defaults which comes with SDK.
188
-
3) Http Client connection reuse issue.
189
-
4) Changed clientLibrary version to 6.2.5; in 6.2.4 release it was missed. So, in 6.2.4 release, clientLibrary version was pointing to 6.2.3.
190
-
_______________________________
191
-
Version Cybersource-sdk-java 6.2.4 (Dec 15, 2016)
192
-
_______________________________
193
-
1) RetryPattern config for http client.
194
-
2) Code review comments.
195
-
3) Added timers to log the method execution time.
196
-
4) Sample added to support other services.
197
-
_______________________________
198
-
Version Cybersource-sdk-java 6.2.3 (Oct 17, 2016)
199
-
_______________________________
200
-
1) Fixed performance issue; in case of multiple merchantIDs, p12 was getting loaded for every request.
201
-
2) p12 will be loaded once per merchantId.
202
-
_______________________________
203
-
Version Cybersource-sdk-java 6.2.2 (Sep 15, 2016)
204
-
_______________________________
205
-
1)Upgraded 3rd party dependencies jars including wss4j.
206
-
_______________________________
207
-
Version Cybersource-sdk-java 6.2.1 (Aug 4, 2016)
208
-
_______________________________
209
-
1) AkamaiSureroute config parameter introduced
210
-
2) i18n fix for NVP sample.
211
-
3) In `Sample/cybs.properties` file, `targetAPIVersion` changed to latest 1.129.
212
-
_______________________________
213
-
Version Cybersource-sdk-java 6.2.0 (Jul 28, 2016)
214
-
_______________________________
215
-
1) MLE[Message Level Encryption] is enabled.
216
-
2) published zip file with samples and packaged compiled cybersoruce-sdk-java jar file.
217
-
3)`Bouncycastle` jar issue; changed scope from provided to default"scope"
218
-
_______________________________
219
-
Version Cybersource-sdk-java 6.1.0 (Feb 24,2016)
220
-
_______________________________
221
-
1) SHA256 changes which are required to signed the request with SHA256.
222
-
223
178
## Documentation
224
179
- For more information about CyberSource services, see <http://www.cybersource.com/developers/documentation>.
225
180
- For all other support needs, see <http://www.cybersource.com/support>.
0 commit comments