Skip to content

juanpicuervo/px-android

 
 

Repository files navigation

Build Status Codecov branch

MercadoPago - Android SDK

The MercadoPago Android SDK makes it easy to collect your user's credit card details inside your android app. By creating tokens, MercadoPago handles the bulk of PCI compliance by preventing sensitive card data from hitting your server.

Screenshot MercadoPago

Installation

Android Studio

Add this line to your app's build.gradle inside the dependencies section:

compile 'com.mercadopago:sdk:3.8.0'

Eclipse

  1. Clone the repository.
  2. Be sure you've installed the Android SDK with API Level 25 and android-support-v7
  3. Import the sdk folder into Android Studio
  4. Add the folder as library.

ProGuard

If you're planning on optimizing your app with ProGuard, make sure that you exclude the MercadoPago bindings. You can do this by adding the following to your app's proguard.cfg file:

-keep class com.mercadopago.** { *; }

Documentation

Feedback

You can join the MercadoPago Developers Community on MercadoPago Developers Site: