xslim / adyen-java-api-library

Adyen API Library for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.8.0</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.

About

Adyen API Library for Java

License:MIT License


Languages

Language:Java 99.9%Language:HTML 0.1%