Adyen API Library for Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
docs
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

Build Status Coverage Status

Adyen Java API Library

The Adyen API Library for Java enables you to work with Adyen APIs and Hosted Payment Pages.

Requirements

  • Java 7 or higher

Installation

You can use Maven or simply download the release.

Maven

Add this dependency to your project's POM:

<dependency>
  <groupId>com.adyen</groupId>
  <artifactId>adyen-java-api-library</artifactId>
  <version>1.5.3</version>
</dependency>

Documentation

Follow the rest of our guides from the documentation on how to use this library.

Usage

The code examples on using this library are located in the library section of the java-sample-code repository: https://github.com/adyen/adyen-java-sample-code

Proxy configuration

You can configure a proxy connection by injecting your own HttpURLConnectionClient on your client instance.

Example:

...
HttpURLConnectionClient httpURLConnectionClientWithProxy = new HttpURLConnectionClient();

Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("PROXY_HOST", PROXY_PORT));
httpURLConnectionClientWithProxy.setProxy(proxy);

client.setHttpClient(httpURLConnectionClientWithProxy);

Support

If you have any problems, questions or suggestions, create an issue here or send your inquiry to support@adyen.com.

Licence

MIT license. For more information, see the LICENSE file.