Adyen / adyen-android

Adyen Android Drop-in and Components
https://docs.adyen.com/checkout/android
MIT License
126 stars 65 forks source link
adyen adyen-components android android-library payment payment-methods payments

Checkout Android Logo

Maven Central Build status License

Adyen Android

Adyen Android allows you to accept in-app payments by providing you with the building blocks you need to create a checkout experience.

For an overview of how you can integrate with Adyen on Android check out the documentation.


DropIn Preview


Prerequisites

Installation

There are two main integration types: Drop-in and Components. Import the corresponding module in your build.gradle file.

With Jetpack Compose

For Drop-in:

implementation "com.adyen.checkout:drop-in-compose:5.7.1"

For the Credit Card component:

implementation "com.adyen.checkout:card:5.7.1"
implementation "com.adyen.checkout:components-compose:5.7.1"

Without Jetpack Compose

For Drop-in:

implementation "com.adyen.checkout:drop-in:5.7.1"

For the Credit Card component:

implementation "com.adyen.checkout:card:5.7.1"

The library is available on Maven Central.

Additional documentation

Migrate from v4

If you are upgrading from 4.x.x to a current release, check out our migration guide.

ProGuard

If you use ProGuard or R8, you do not need to manually add any rules, as they are automatically embedded in the artifacts. Please let us know if you find any issues.

Development and testing

For development and testing purposes the project is accompanied by a test app. See here how to set it up and run it.

To test your integration you could use Adyen Test Cards Android. This will allow you to easily autofill test payment method information.

Support

If you have a feature request, or spotted a bug or a technical problem, create an issue here. For other questions, contact our Support Team via Customer Area or via email: support@adyen.com

Analytics and data tracking

Starting 5.0.0 the Drop-in and Components integrations contain analytics and tracking features that are turned on by default. Find out more about what we track and how you can control it.

Contributing

We merge every pull request into the develop branch. We aim to keep develop in good shape, which allows us to release a new version whenever we need to.

Have a look at our contributing guidelines to find out how to raise a pull request.

See also

License

This repository is available under the MIT license.