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
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,10 +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
-
-`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`
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`
78
78
79
79
## Testing the SDK
80
80
We have two ways to test -- one is by downloading the zip and using scripts to test; other is using maven tool.
@@ -87,12 +87,12 @@ We have two ways to test -- one is by downloading the zip and using scripts to t
87
87
- If you want to test XML, go to the `cybersource-sdk-java-master/samples/xml` directory.
88
88
- Use `compileSample` scripts to create classes directory as it is not included in SDK.
89
89
- Then at a command prompt, type this line:
90
-
91
-
Windows: runSample.bat <service_name>
92
-
Unix or Linux: runSample.sh <service_name>
93
-
94
-
- If JAVA_HOME is defined, the script uses <JAVA_HOME>/bin/java. Otherwise, it uses whatever java is in the path.
95
-
- If the client is installed correctly, the requests and replies for a credit card authorization and a follow-on capture appear.
90
+
```
91
+
Windows: runSample.bat <service_name>
92
+
Unix or Linux: runSample.sh <service_name>
93
+
```
94
+
- If JAVA_HOME is defined, the script uses <JAVA_HOME>/bin/java. Otherwise, it uses whatever java is in the path.
95
+
- If the client is installed correctly, the requests and replies for a credit card authorization and a follow-on capture appear.
96
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.
97
97
98
98
### Using samples and maven tool
@@ -111,10 +111,10 @@ We have two ways to test -- one is by downloading the zip and using scripts to t
111
111
112
112
- To convert the p12 file to JKS follow the steps mentioned below.
113
113
- These commands will take out all the certs from the p12 file.
0 commit comments