paypal/PayPal-Android-SDK is tracked by TopGit as an open-source project, with 845 stars on GitHub.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Important: This PayPal Android SDK is Deprecated. The APIs powering them will remain operational long enough for merchants to migrate, but the SDKs themselves will no longer be updated. Please use the PayPal Android Checkout SDK. Reference the Developer Documentation for getting started.
PayPal Android SDK
The PayPal Android SDK makes it easy to add PayPal payments to mobile apps.
This documentation is available in Japanese: 日本語のドキュメント.
Contents
Use Cases
Integration with the PayPal Wallet App
Requirements
Add the SDK to Your Project
Credentials
International Support
Disabling Direct Credit Card Payments
Override minSdkVersion
Testing
Documentation
Usability
Next Steps
Contributing
License
Add the SDK to Your Project
The PayPal Android SDK is now available at Maven Repository. The latest version is available via mavenCentral():
The SDK supports two use cases for making payments - Single Payment and Future Payments - and a third use case for obtaining information about the customer - Profile Sharing.
Single Payment
Receive a one-time payment from a customer's PayPal account or payment card (scanned with card.io). This can be either (1) an immediate payment which your servers should subsequently verify, or (2) an authorization for a payment which your servers must subsequently capture, or (3) a payment for an order which your servers must subsequently authorize and capture:
Accept a Single Payment and receive back a proof of payment.
On your server, Verify the Payment, Capture the Payment, or Process the Order (PayPal Developer site) using PayPal's API.
Note: Direct Credit Card (DCC) payments are now deprecated in this SDK. Please use Braintree Payments, a PayPal Company, which is the easiest way to accept PayPal, credit cards, and many other payment methods. All new integrations should disable direct credit card payments.
Future Payments
Your customer logs in to PayPal just one time and consents to future payments:
Obtain Customer Consent to receive an authorization code.
On your server, use this authorization code to Obtain OAuth2 Tokens.
Later, when that customer initiates a payment:
Obtain a Client Metadata ID that you'll pass to your server.
On your server, Create a Payment using your OAuth2 tokens, the Client Metadata ID, and PayPal's API.
Profile Sharing
Your customer logs in to PayPal and consents to PayPal sharing information with you:
Obtain Customer Consent to receive an authorization code.
On your server, use this authorization code to Obtain OAuth2 Tokens.
On your server, Retrieve Customer Information using your OAuth2 tokens and PayPal's API.
Integration with the PayPal Wallet App
The SDK will now use the newest version of the PayPal Wallet App if present on the device to log in to a customer account. No additional configuration is required to enable this feature. This integration enables device-specific PayPal FIDO integrations, including login by fingerprint on the Galaxy S5. In addition, a user who logged in to the PayPal Wallet App and checked "Keep me logged in" may not need to log-in again when paying with your app. For more information on how this all works, please read the blog post from one of our architects.
Limitations
The integration will not be enabled in any of the testing modes, as the Wallet app does not support this developer testing environment.
Requirements
Android 4.1.x (API 16) or later
Phone or tablet
Credentials
Your mobile integration requires different client_id values for each environment: Live and Test (Sandbox).
Your server integrations for verifying or creating payments will also require the corresponding client_secret for each client_id.
You can obtain these PayPal API credentials by visiting the Applications page on the PayPal Developer site and logging in with your PayPal account.
Sandbox
Once logged in on this Applications page, you will be assigned test credentials, including Client ID, which will let you test your Android integration against the PayPal Sandbox.
While testing your app, when logging in to PayPal in the SDK's UI you should use a personal Sandbox account email and password. I.e., not your Sandbox business credentials.
You can create both business and personal Sandbox accounts on the Sandbox accounts page.
Sandbox and TLSv1.2
PayPal will be upgrading the endpoint that the PayPal Android SDK uses to communicate with PayPal servers on Jan 18th, 2016. If you're testing on sandbox with a version of the PayPal Android SDK older than 2.13.0, then you'll start seeing communication failures when using Android devices >= API 16, and < API 20. Please upgrade to a version 2.13.0 or higher to fix these errors.
If you're testing on a device older than API 16, Android will not be able to communicate with PayPal, no matter what version of the SDK you use.
These TLS changes coincides with the TLSv1.2 security mandate outlined here, and will be followed by a similar change to the Production endpoints at some later date. For any questions or concerns, please create an issue.
Live
To obtain your live credentials, you will need to have a business account. If you don't yet have a business account, there is a link at the bottom of that same Applications page that will get you started.
International Support
Localizations
The SDK has built-in translations for many languages and locales. See javadoc files for a complete list.
Currencies
The SDK supports multiple currencies. See the REST API country and currency documentation for a complete, up-to-date list.
Disabling Direct Credit Card Payments
Disabling Direct Credit Card Payments is now preferred. To completely disable Direct Credit Card (DCC) payments, exclude the card.io library in your application build.gradle:
As of release 2.14.0, the minSdkVersion has been increased to 16. If you prefer to have your app on a lower minSdkVersion and want to leverage the latest SDK, please disable PayPal for versions below API 16, add xmlns:tools="http://schemas.android.com/tools inside the manifest's xml declaration, and add the following snippet to your AndroidManifest.xml:
See the Android manifest merger docs for more information.
Testing
During development, use environment() in the PayPalConfiguration object to change the environment. Set it to either ENVIRONMENT_NO_NETWORK or ENVIRONMENT_SANDBOX to avoid moving real money.
Documentation
These docs in the SDK, which include an overview of usage, step-by-step integration instructions, and sample code.
The sample app included in this SDK.
There are javadocs available.
The PayPal Developer Docs, which cover error codes and server-side integration instructions.
Usability
User interface appearance and behavior is set within the library itself. For the sake of usability and user experience consistency, apps should not attempt to modify the SDK's behavior beyond the documented methods.
Next Steps
Depending on your use case, you can now:
Accept a single payment
Obtain user consent to create future payments.
Contributing
Please read our contributing guidelines prior to submitting a Pull Request.
Does paypal/PayPal-Android-SDK have a project website?
No homepage URL was recorded for paypal/PayPal-Android-SDK in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How many stars does paypal/PayPal-Android-SDK have?
paypal/PayPal-Android-SDK has 845 GitHub stars — refresh the page for the live number, or check github.com/paypal/PayPal-Android-SDK. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is paypal/PayPal-Android-SDK open source?
TopGit's metadata for paypal/PayPal-Android-SDK does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is paypal/PayPal-Android-SDK?
paypal/PayPal-Android-SDK (paypal/PayPal-Android-SDK) is a multi-language project tracked by TopGit. The repository has 845 GitHub stars at the time of our last sync.
Where do I read more about paypal/PayPal-Android-SDK?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/paypal/PayPal-Android-SDK is the definitive source.
Read full README in the tab above.
Is PayPal-Android-SDK worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of PayPal-Android-SDK.