Skip to content

Commit eda4a7d

Browse files
committed
Update README.md
1 parent 3e247c9 commit eda4a7d

1 file changed

Lines changed: 17 additions & 9 deletions

File tree

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
# Sample Code for the Authorize.Net Java SDK
2-
The goal of this code sample repository is to provide completely self-contained autonomous examples of using our Java SDK to access the Authorize.Net API. We have tested all the samples and while we expect that many people will copy/paste them into their own development projects they are also idependently runnable from the command line.
1+
# Sample Java Code for Authorize.Net
2+
This repository contains working code samples which demonstrate Java integration with the Authorize.Net Java SDK
3+
The samples are organized just like our API, which you can also try out directly here: http://developer.authorize.net/api/reference
34

4-
## Set Up Steps
5-
* Clone this repository.
6-
* Run "mvn package" in the root directory.
7-
* Run the individual samples e.g.
85

9-
java -jar target/VisaCheckoutDecrypt-jar-with-dependencies.jar
6+
##Using the Sample Code
107

8+
The samples are all completely independent and self-contained so you can look at them to get a gist of how the method works, you can use the snippets to try in your own sample project, or you can run each sample from the command line.
119

12-
## API Reference
13-
The code samples are organized just like our API reference which you can access here http://developer.authorize.net/api/reference
10+
##Running the Samples
11+
Clone this repository.
12+
Run "mvn install" in the root directory to create the SampleCode console app.
13+
Then run a sample directly by name:
14+
````
15+
> SampleCode [CodeSampleName]
16+
````
17+
e.g.
18+
````
19+
> SampleCode ChargeACreditCard
20+
````
21+
Running SampleCode without a parameter will give you the list of sample names. Handy or what!
1422

1523
*PLEASE NOTE THIS PROJECT IS CURRENTLY UNDER DEVELOPMENT*

0 commit comments

Comments
 (0)