rest-api-sdk

PayPal SDK for integrating with the REST APIs

License

License

PayPal SDK License
GroupId

GroupId

com.paypal.sdk
ArtifactId

ArtifactId

rest-api-sdk
Last Version

Last Version

1.14.0
Release Date

Release Date

Type

Type

jar
Description

Description

rest-api-sdk
PayPal SDK for integrating with the REST APIs
Project URL

Project URL

https://github.com/paypal/PayPal-Java-SDK.git
Source Code Management

Source Code Management

https://github.com/paypal/PayPal-Java-SDK.git

Download rest-api-sdk

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.21
com.google.code.gson : gson jar 2.2.2

test (7)

Group / Artifact Type Version
org.mockito : mockito-all jar 1.10.19
org.apache.logging.log4j : log4j-core jar 2.1
org.testng : testng jar 6.3.1
org.apache.logging.log4j : log4j-slf4j-impl jar 2.1
org.apache.logging.log4j : log4j-api jar 2.1
org.powermock : powermock-module-testng jar 1.7.3
org.powermock : powermock-api-mockito jar 1.7.3

Project Modules

There are no modules declared in this project.

Deprecation Notice:

This SDK is deprecated. You can continue to use it, but no new features or support requests will be accepted. For alternatives, please visit the current SDK homepage on the PayPal Developer Portal

PayPal REST API Java SDK Build Status

Home Image

This repository contains Java SDK and samples for REST API. For PayPal mobile(Android) SDK, please go to PayPal Android SDK

Please Note

The Payment Card Industry (PCI) Council has mandated that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayPal is updating its services to require TLS 1.2 for all HTTPS connections. At this time, PayPal will also require HTTP/1.1 for all connections. Click here for more information. Connections to the sandbox environment use only TLS 1.2.

Direct Credit Card Support

Important: The PayPal REST API no longer supports new direct credit card integrations. Please instead consider Braintree Direct; which is, PayPal's preferred integration solution for accepting direct credit card payments in your mobile app or website. Braintree, a PayPal service, is the easiest way to accept credit cards, PayPal, and many other payment methods.

PayPal Checkout v2

Please note that if you are integrating with PayPal Checkout, this SDK and corresponding API v1/payments are in the process of being deprecated.

We recommend that you integrate with API v2/checkout/orders and v2/payments. Please refer to the Checkout Java SDK to continue with the integration.

2.0 Release Candidate!

We're releasing a brand new version of our SDK! 2.0 is currently at release candidate status, and represents a full refactor, with the goal of making all of our APIs extremely easy to use. 2.0 includes all of the existing APIs (except payouts), and includes the new Orders API (disputes and Marketplace coming soon). Check out the FAQ and migration guide, and let us know if you have any suggestions or issues!

Prerequisites

  • Java JDK 6 or higher
  • An environment which supports TLS 1.2 (see the TLS-update site for more information)

Integration

Gradle

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

Others

Get Started

License

Code released under SDK LICENSE

Contributions

Pull requests and new issues are welcome. See CONTRIBUTING.md for details.

com.paypal.sdk

PayPal

Versions

Version
1.14.0
1.13.1
1.13.0
1.12.0
1.11.0
1.10.0
1.9.3
1.9.2
1.9.1
1.9.0
1.8.1
1.8.0
1.7.0
1.6.0
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.9
1.2.8
1.2.7
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
0.12.2
0.12.1
0.11.0
0.10.0
0.9.2
0.9.1
0.9.0
0.8.0
0.7.1
0.7.0
0.6.0
0.5.2