Payline Android SDK

This SDK features Payline's Mobile SDK, which allows a merchant's mobile application to use Payline services to realize an online payment or manage the wallet.

License

License

GroupId

GroupId

com.payline
ArtifactId

ArtifactId

android-sdk
Last Version

Last Version

0.9.0
Release Date

Release Date

Type

Type

aar
Description

Description

Payline Android SDK
This SDK features Payline's Mobile SDK, which allows a merchant's mobile application to use Payline services to realize an online payment or manage the wallet.
Project URL

Project URL

https://github.com/PaylineByMonext/payline-android-sdk
Source Code Management

Source Code Management

https://github.com/PaylineByMonext/payline-java-sdk

Download android-sdk

How to add to project

<!-- https://jarcasting.com/artifacts/com.payline/android-sdk/ -->
<dependency>
    <groupId>com.payline</groupId>
    <artifactId>android-sdk</artifactId>
    <version>0.9.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.payline/android-sdk/
implementation 'com.payline:android-sdk:0.9.0'
// https://jarcasting.com/artifacts/com.payline/android-sdk/
implementation ("com.payline:android-sdk:0.9.0")
'com.payline:android-sdk:aar:0.9.0'
<dependency org="com.payline" name="android-sdk" rev="0.9.0">
  <artifact name="android-sdk" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.payline', module='android-sdk', version='0.9.0')
)
libraryDependencies += "com.payline" % "android-sdk" % "0.9.0"
[com.payline/android-sdk "0.9.0"]

Dependencies

compile (5)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-android-extensions-runtime jar 1.3.60
androidx.appcompat » appcompat jar 1.1.0
androidx.lifecycle » lifecycle-extensions jar 2.1.0
com.google.android.material » material jar 1.0.0
org.jetbrains.kotlin : kotlin-stdlib-jdk7 jar 1.3.60

Project Modules

There are no modules declared in this project.

Payline Java SDK

Maven Central

The Payline API provides access to the various functions of the Payline payment solution. It is based on standard web service components, which include the SOAP protocol, the WSDL and XSD definition languages. These standards are supported by a large range of development tools on multiple platforms.

This SDK covers all the functions of the Payline payment solution.

Features

The set of web services Payline is covered by this library. Web services are divided into four classes:

  • DirectPayment
  • ExtendedAPI
  • WalletPayment
  • WebPayment

Requirements

Java 1.8 or higher

Installation

Maven users and JDK 8

Add this dependency in your project's POM:

<dependency>
  <groupId>com.payline</groupId>
  <artifactId>payline-java-sdk</artifactId>
  <version>4.64.1</version>
</dependency>

Maven users and JDK 12

<dependency>
  <groupId>com.payline</groupId>
  <artifactId>payline-java-sdk</artifactId>
  <version>4.64.1</version>
</dependency>
<dependency>
  <groupId>javax.xml.ws</groupId>
  <artifactId>jaxws-api</artifactId>
  <version>2.3.1</version>
</dependency>
<dependency>
  <groupId>com.sun.xml.ws</groupId>
  <artifactId>jaxws-rt</artifactId>
  <version>2.3.2</version>
</dependency>

Gradle users and JDK 8

   implementation 'com.payline:payline-java-sdk:4.59.0.1'

Gradle users and JDK 12

   implementation 'com.payline:payline-java-sdk:4.59.0.1'
   implementation 'javax.xml.ws:jaxws-api:2.3.1'
   implementation 'com.sun.xml.ws:jaxws-rt:2.3.2'

Usage

SampleCalls.java

import java.util.logging.Level;
import java.util.logging.Logger;

import com.payline.kit.utils.ConnectParams;
import com.payline.ws.model.GetMerchantSettingsResponse;
import com.payline.ws.wrapper.DirectPayment;

public class SampleCalls {

    private static final Logger logger = Logger.getLogger(SampleCalls.class.getName());

    public static void main(String[] args) {
        ConnectParams params = new ConnectParams(
                null, /* module */
                false, /* production */
                false, /* clientAuthentication */
                "", /* Your merchant account login: merchantId */
                "", /* Your access key to the Payline service: accessKey */
                null, /* proxyHost (optional) */
                null, /* proxyPort (optional) */
                null, /* proxyLogin (optional) */
                null /* proxyPassword (optional) */
                );
        DirectPayment directPayment = new DirectPayment(params);
        GetMerchantSettingsResponse res = directPayment.getMerchantSettings(null);

        logger.log(Level.INFO, "\ngetMerchantSettings result :  ");
        logger.log(Level.INFO, "  - code :  " + res.getResult().getCode());
        logger.log(Level.INFO, "  - short message :  " + res.getResult().getShortMessage());
        logger.log(Level.INFO, "  - long message :  " + res.getResult().getLongMessage());
    }
}

Version

4.59

Learn about Payline

For assistance, advice or an answer to your question, contact Payline Support by email at [email protected]

License

LGPL v3

com.payline

Payline by Monext

Versions

Version
0.9.0