stripe-android

Stripe Android SDK

  • 所有者: stripe/stripe-android
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Stripe Android SDK

Build Status
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:14.0.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/stripe-android
主編程語言Kotlin
編程語言Java (語言數: 6)
平台
許可證MIT License
所有者活动
創建於2012-11-29 18:11:30
推送於2025-06-24 20:19:47
最后一次提交2025-06-24 10:29:14
發布數335
最新版本名稱v21.19.0 (發布於 2025-06-23 18:19:04)
第一版名稱v1.0.0 (發布於 2013-03-21 14:38:46)
用户参与
星數1.4k
關注者數61
派生數675
提交數9.1k
已啟用問題?
問題數1198
打開的問題數56
拉請求數8582
打開的拉請求數41
關閉的拉請求數1037
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?