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
+58-12Lines changed: 58 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,10 @@ 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
-
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.
70
73
- Build this project using Maven.
71
74
-`mvn clean` - Cleans the Project
72
75
-`mvn install` - Builds the project and creates a jar file of client SDK. Includes running all unit tests and integration tests
@@ -93,6 +96,7 @@ Unix or Linux: runSample.sh <service_name>
93
96
- 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.
94
97
95
98
### Using samples and maven tool
99
+
96
100
- Clone/Download the code from GitHub.
97
101
- Choosing which sample to test:
98
102
- If you want to test Name-Value Pair, `cd` to the `cybersource-sdk-java-master/samples/nvp` directory.
@@ -106,17 +110,17 @@ Unix or Linux: runSample.sh <service_name>
106
110
## JKS creation
107
111
108
112
- To convert the p12 file to JKS follow the steps mentioned below.
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>
134
-
- Second entry should be for `CyberSource_SJC_US` certificate with alias name as `CyberSource_SJC_US`
138
+
- Second entry should be for `CyberSource_SJC_US` certificate with alias name as CyberSource_SJC_US
135
139
136
140
## Message Level Encryption
137
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.
@@ -151,7 +155,7 @@ CyberSource supports Message Level Encryption (MLE) for Simple Order API. Messag
151
155
## Retry Pattern
152
156
153
157
Retry Pattern allows to retry sending a failed request and it will only work with `useHttpClient=true`. `allowRetry` flag enables the retry mechanism.
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'.
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'.
155
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.
156
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.
157
161
@@ -175,7 +179,49 @@ Retry Pattern allows to retry sending a failed request and it will only work wit
175
179
9. org.mockito:mockito-all:1.10.19
176
180
Mock objects library for java
177
181
182
+
## Changes
183
+
184
+
Version Cybersource-sdk-java 6.2.5 (OCT,2017)
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
+
178
223
## Documentation
179
224
- For more information about CyberSource services, see <http://www.cybersource.com/developers/documentation>.
180
225
- For all other support needs, see <http://www.cybersource.com/support>.
0 commit comments