This repository contains Java SDK and samples for REST API. For PayPal mobile(Android) SDK, please go to PayPal Android SDK
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.
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.
- Java JDK 6 or higher
- An environment which supports TLS 1.2 (see the TLS-update site for more information)
repositories {
mavenCentral()
}
dependencies {
compile 'com.paypal.sdk:rest-api-sdk:+'
}
- For Maven and other options, follow instructions here
Code released under SDK LICENSE
Pull requests and new issues are welcome. See CONTRIBUTING.md for details.