Skip to content

Latest commit

 

History

History
 
 

PaymentSheet Example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

PaymentSheet Example App

PaymentSheet is a pre-built UI that combines all the steps required to accept payment - collecting payment information, billing details, and confirming the payment - into a single sheet that displays on top of your app.

Features

  • Supports 10+ payment methods
  • Card scanning
  • Light and dark mode
  • Helps you stay PCI compliant

PaymentSheet Example App

To run the app

  1. Open Stripe.xcworkspace in Xcode
  2. Choose the PaymentSheet Example target in the top left
  3. Choose any simulator and click Run

The example app will appear with buttons that show different view controllers in this project.

The view controllers correspond to different ways to integrate PaymentSheet into your app.

Toggling Liquid Glass (iOS 26 only)

Use the PaymentSheet Example scheme for the default (Liquid Glass enabled) app design. Use PaymentSheet Example No Glass to build the app with UIDesignRequiresCompatibility set to YES, disabling Liquid Glass.

This is independent of the Liquid Glass appearance setting in the Payment Sheet Playground (which calls the setting on the MPE appearance config).

The compatibility key is ignored if the app is both built with Xcode 27+ and running on an iOS 27+ device.

The No Glass scheme builds a separate app target that shares the default target's source files and resources, using the existing Debug and Release configurations. Both targets use the same bundle identifier, so switching schemes preserves playground settings. Automated tests use the default example scheme.

UIKit

SwiftUI