Code Monkey home page Code Monkey logo

stripe-android's Introduction

Stripe Android SDK

CI GitHub release License

The Stripe Android SDK makes it quick and easy to build an excellent payment experience in your Android app. We provide powerful and customizable UI elements that can be used out-of-the-box to collect your users' payment details. We also expose the low-level APIs that power those UIs so that you can build fully custom experiences.

Get started with our ๐Ÿ“š integration guides and example projects, or ๐Ÿ“˜ browse the SDK reference.

Updating to a newer version of the SDK? See our migration guide and changelog.

Table of contents

Installation

Requirements

Configuration

Add stripe-android to your build.gradle dependencies.

dependencies {
    implementation 'com.stripe:stripe-android:15.1.0'
}

Releases

  • The changelog provides a summary of changes in each release.
  • The migration guide provides instructions on upgrading from older versions.

Proguard

The Stripe Android SDK will configure your app's Proguard rules using proguard-rules.txt.

Features

Simplified Security: Use the SDK to collect credit card numbers and remain PCI compliant. This means sensitive data is sent directly to Stripe instead of passing through your server. For more information, see our Integration Security Guide.

Google Pay: Stripe is fully compatible with Google Pay.

Stripe API: We provide low-level APIs that correspond to objects and methods in the Stripe API. You can build your own entirely custom UI on top of this layer.

SCA-Ready: The SDK automatically performs native 3D Secure authentication to comply with Strong Customer Authentication regulation in Europe.

Native UI: We provide native screens and elements to collect payment and shipping details. For example, CardInputWidget is a view that collects and validates card details. You can use these individually, or take all of the prebuilt UI in one flow by following the Basic Integration guide.

Getting Started

Get started with our ๐Ÿ“š integration guides and example projects, or ๐Ÿ“˜ browse the SDK reference.

The Stripe class is the entry-point to the Stripe SDK. It must be instantiated with a Stripe publishable key.

When testing, you can use a test publishable key. Remember to replace the test key with your live key in production. You can view your API keys in the Stripe Dashboard.

new Stripe(context, "pk_test_yourkey");

Examples

stripe-android's People

Contributors

mshafrir-stripe avatar mrmcduff-stripe avatar ksun2-stripe avatar smaskell-stripe avatar jemerick-stripe avatar joeydong-stripe avatar chiuki avatar acavailhez-stripe avatar bg-stripe avatar ob-stripe avatar stephen avatar brandur avatar dawn-stripe avatar bryan-stripe avatar joel-stripe avatar berg avatar csabol-stripe avatar freszu avatar chander-stripe avatar karlr-stripe avatar zwick-stripe avatar shengwei-stripe avatar danwaters-stripe avatar yuki-stripe avatar paulm212 avatar olivierbellone avatar kyleconroy avatar kjc-stripe avatar francoisblavoet avatar anelder-stripe avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.