Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This repository contains working code samples which demonstrate java integration with the Authorize.Net API

License

Notifications You must be signed in to change notification settings

jenikm/sample-code-java

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

239 Commits
239 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Java Code for Authorize.Net

Build Status

This repository contains working code samples which demonstrate Java integration with the Authorize.Net Java SDK The samples are organized just like our API, which you can also try out directly here: http://developer.authorize.net/api/reference

Using the Sample Code

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.

Running the Samples

  1. Clone this repository.
  2. Run "mvn package" in the root directory to create the SampleCode console app.
  3. Then run a sample directly by name:
     > java -jar target/SampleCode.jar [CodeSampleName]

e.g.

     > java -jar target/SampleCode.jar ChargeCreditCard

Running SampleCode without a parameter will give you the list of sample names. Handy or what!

NOTE : You can update to your Sandbox credentials in SampleCode.java

For using behind proxy

Please set the JAVA environment proxy using a similar code :

    System.setProperty("https.proxyUse", "true");
    System.setProperty("https.proxyHost", "127.0.0.1");
    System.setProperty("https.proxyPort", "3128");

PLEASE NOTE THIS PROJECT IS CURRENTLY UNDER DEVELOPMENT

About

This repository contains working code samples which demonstrate java integration with the Authorize.Net API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.