How to import the PayPal API API for Java to my project

0

I need to see how to import the PayPal API SDK and download the GitHub SDK but I do not know what files I need to add to my project as well as its configuration.

    
asked by jonathan 07.07.2016 в 17:46
source

1 answer

2

There is a project on github that can help you

You must import liberia if you use maven

<dependency>
 <groupId>com.paypal.sdk</groupId>
 <artifactId>rest-api-sdk</artifactId>
 <version>LATEST</version>
</dependency>

or with gradle

repositories {
    mavenCentral()
}
dependencies {
    compile 'com.paypal.sdk:rest-api-sdk:+'
}

Then you must get the client ID to use the Api

I leave you the example

    
answered by 07.07.2016 в 18:21