调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
概览
关于 Stripe 支付
升级您的集成
支付分析
线上付款
概览查找您的用例Managed Payments
使用 Payment Link
构建结账页面
构建高级集成
构建应用内集成
支付方式
添加支付方式
管理支付方式
用 Link 更快结账
支付接口
Payment Links
结账
Web Elements
应用内 Element
    概览
    支付表单
    Payment Element
    Address Element
支付场景
处理多种货币
自定义支付流程
灵活收单
编排
线下支付
Terminal
超越支付功能
成立公司
加密货币
Financial Connections
Climate
了解欺诈
Radar 欺诈保护
管理争议
验证身份
首页付款In-app Elements

注意

该页尚未提供此语言版本。我们正在加紧将我们的文档翻译成更多语言,很快将为您提供译文。

Payment Element

Embed payment methods directly in your app.

The Payment Element is a customizable drop-in component that embeds a list of payment methods on any screen in your app. When a customer selects a payment method from the list, a sheet below it collects payment details. You can customize it to match the look and feel of your app. The In-app Payment Element is available in our iOS, Android, and React Native SDKs. See our accept in-app payments guide to get started.

Payment Element integration example

Payment Element integration example

With the Payment Element, you get:

  • Access to over 100 global payment methods This includes Apple Pay, Link, and other popular payment methods that are automatically enabled.
  • Dynamic payment methods Dynamically order and display payment methods and launch A/B tests for new payment methods.
  • UI customizations to match your app Match the UI to the design of your app. The layout stays consistent, but you can modify colors, fonts, and more.
  • Address collection Collect full or partial billing addresses with any payment method.
  • Saved payment methods Save, reuse, and manage cards and bank accounts. You can also store a customer’s payment details without an initial payment.

Layout

Choose between radio layout, check mark layout, or floating buttons.

Payment Element layout options

Payment Element supports: radio buttons, checkmarks, and floating button layouts.

Appearance

Use the Appearance API to customize the look and feel of the Payment Element to match your app. With the Appearance API, you can control fonts, colors, borders, shadows, and so on.

Payment Element appearance customization

Examples of different ways to style Payment Element

Payment methods

The Payment Element provides access to over 100 payment methods across all Stripe-supported countries. You can enable payment methods from your Stripe Dashboard or by using Custom Payment Methods.

Payment method providers often change their collection and display requirements. When you use Payment Element to display payment methods, Stripe handles all payment detail collection in prebuilt, localized forms that we keep up-to-date with each payment provider.

Payment Element payment methods

Examples of P24 and SEPA debit in the Payment Element

Wallets

Payment Element supports popular wallets, including Apple Pay and Link, a wallet built by Stripe. Payment Element shows wallets in-line as payment method options.

Payment Element wallets

Example of Link in Payment Element

Saved payment methods

The Payment Element supports saving, displaying, and managing saved payment methods. Consent collection is handled automatically, ensuring global compliance.

Saved payment methods supports cards, US bank accounts, and SEPA debit accounts.

The CustomerSessions API provides additional control over:

  • When to show or hide the save consent box
  • When to show or hide the saved payment methods
  • Allowing buyers to remove saved payment methods
  • Preventing buyers from removing the last saved payment method
Payment Element saved payment methods

Examples of how customers can access saved payment methods in Payment Element

Collect address details

You can configure the Payment Element to collect additional payment information, including name, email, phone number, and billing address, regardless of which payment method a customer uses.

Payment Element address collection

Example showing full billing details collected

Additional features

The Payment Element also contains the following features:

  • CVC recollection: Configure whether CVC re-collection is required when users pay with a saved payment method.
  • Card brand filtering: Configure which card brands you accept.

Get started

Learn how to integrate the Payment Element.

此页面的内容有帮助吗?
是否
  • 需要帮助?联系支持。
  • 加入我们的早期使用计划。
  • 查看我们的更改日志。
  • 有问题?联系销售。
  • LLM? Read llms.txt.
  • Powered by Markdoc