Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.Ingenico-ePayments:connect-sdk-java:6.47.0'
}
dependencies {
implementation("com.github.Ingenico-ePayments:connect-sdk-java:6.47.0")
}
<dependency>
<groupId>com.github.Ingenico-ePayments</groupId>
<artifactId>connect-sdk-java</artifactId>
<version>6.47.0</version>
</dependency>
libraryDependencies += "com.github.Ingenico-ePayments" % "connect-sdk-java" % "6.47.0"
:dependencies [[com.github.Ingenico-ePayments/connect-sdk-java "6.47.0"]]
This SDK has been rebranded to Worldline. As part of the rebranding the SDK has moved to https://github.com/Worldline-Global-Collect/connect-sdk-java.
The Java SDK helps you to communicate with the Ingenico Connect Server API. Its primary features are:
Its use is demonstrated by an example for each possible call. The examples execute a call using the provided API keys.
See the Ingenico Connect Developer Hub for more information on how to use the SDK.
This repository consists out of four main components:
/src/main/java/
and /src/main/generated/
/src/test/java/
/src/it/java/
/src/examples/java/
Assuming you have Maven installed, simply include the SDK as a Maven dependency:
<dependency>
<groupId>com.ingenico.connect.gateway</groupId>
<artifactId>connect-sdk-java</artifactId>
<version>x.y.z</version>
</dependency>
Alternatively, download the latest version of the SDK from GitHub. Choose the connect-sdk-java-x.y.z-bin.zip
file from the releases page, where x.y.z
is the version number. Add all JAR files inside the lib
folder of this file to your project, except for connect-sdk-java-x.y.z-javadoc.jar
and connect-sdk-java-x.y.z-sources.jar
This repository uses Maven to build. To build the SDK, execute the following command from its root directory (which contains the pom.xml
file):
mvn -clean package
The build will generate the following files in the target
directory, where x.y.z
is the version number:
connect-sdk-java-x.y.z.jar
, containing the compiled class filesconnect-sdk-java-x.y.z-javadoc.jar
, containing the generated Javadocconnect-sdk-java-x.y.z-sources.jar
, containing the source codeconnect-sdk-java-x.y.z-src.zip
, containing the contents of this folderconnect-sdk-java-x.y.z-bin.zip
, containing the necessary JAR files for standalone deployments and examplesTo use it add all JAR files inside the lib
folder of the connect-sdk-java-x.y.z-bin.zip
file to your project, except for connect-sdk-java-x.y.z-javadoc.jar
and connect-sdk-java-x.y.z-sources.jar
.