File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Sample Java Code for Authorize.Net
2
- [ ![ Build Status] ( https://travis-ci.org/AuthorizeNet/sample-code-java.png?branch=master )]
3
- (https://travis-ci.org/AuthorizeNet/sample-code-java )
2
+ [ ![ Build Status] ( https://travis-ci.org/AuthorizeNet/sample-code-java.png?branch=master )] ( https://travis-ci.org/AuthorizeNet/sample-code-java )
4
3
5
4
This repository contains working code samples which demonstrate Java integration with the Authorize.Net Java SDK
6
5
The samples are organized just like our API, which you can also try out directly here: http://developer.authorize.net/api/reference
@@ -14,24 +13,24 @@ The samples are all completely independent and self-contained so you can look at
14
13
1 . Clone this repository.
15
14
2 . Run "mvn package" in the root directory to create the SampleCode console app.
16
15
3 . Then run a sample directly by name:
17
- ````
16
+ ```
18
17
> java -jar target/SampleCode.jar [CodeSampleName]
19
- ````
18
+ ```
20
19
e.g.
21
- ````
20
+ ```
22
21
> java -jar target/SampleCode.jar ChargeCreditCard
23
- ````
22
+ ```
24
23
Running SampleCode without a parameter will give you the list of sample names. Handy or what!
25
24
26
25
** NOTE : You can update to your Sandbox credentials in SampleCode.java**
27
26
28
27
** For using behind proxy**
29
28
30
29
Please set the JAVA environment proxy using a similar code :
31
- ````
30
+ ```
32
31
System.setProperty("https.proxyUse", "true");
33
32
System.setProperty("https.proxyHost", "127.0.0.1");
34
33
System.setProperty("https.proxyPort", "3128");
35
- ````
34
+ ```
36
35
37
36
* PLEASE NOTE THIS PROJECT IS CURRENTLY UNDER DEVELOPMENT*
You can’t perform that action at this time.
0 commit comments