See src/example/java
for examples on how to integrate the library.
There is no HTTP client library included to keep the library small and you can use any Java HTTP client of your choosing.
The library consists of two parts.
First com.ixopay.client.model
which contains JAXB models for all payment gateway operations.
Second com.ixopay.client.signing
which contains helpers to correctly sign an HTTP request and to hash transmitted passwords.
Add the jitpack.io repository:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency (replace VERSION
with the GitHub release name):
dependencies {
...
compile 'com.github.ixolit:java-ixopay:VERSION'
...
}
Add the jitpack.io repository:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency (replace VERSION
with the GitHub release name):
<dependency>
<groupId>com.github.ixolit</groupId>
<artifactId>java-ixopay</artifactId>
<version>VERSION</version>
</dependency>