Skip to content

AltaPay/sdk-java

Repository files navigation

AltaPay - JavaSDK

For integrating Java projects with the AltaPay gateway.

How to Build

  1. Create local gradle.properties file in the root of the project with the following content:

    usr=USER
    pwd=PASSWORD

    Replace USER and PASSWORD with your credentials in case you're willing to publish the artifact to the Maven repository.

  2. Run the following command to build the project:

    ./gradlew clean build
  3. To update the SDK with the latest payment gateway changes, please replace the src/main/xsd/APIResponse.xsd file with the newest version and run:

    ./gradlew clean xjc build
  4. To publish the artifact to the local Maven repository, first comment-out:

    signing {
        sign publishing.publications.mavenJava
    }

    then run:

    ./gradlew publishToMavenLocal

    The artifact will be published to the local Maven repository.

Dependency

Maven

<dependency>
    <groupId>com.altapay</groupId>
    <artifactId>sdk-java</artifactId>
    <version>2.0.2</version>
</dependency>

Gradle

implementation 'com.altapay:sdk-java:2.0.2'

Changelog

See Changelog for all the release notes.

License

Distributed under the MIT License. See LICENSE for more information.

Documentation

For more details please see AltaPay docs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages