- Open
Stripe.xcworkspace
in Xcode - Choose the PaymentSheet Example target in the top left
- 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.
ExampleCheckoutViewController.swift
: "one-step" integrationExampleCustomCheckoutViewController.swift
: "multi-step" integration
ExampleSwiftUIPaymentSheet.swift
: "one-step" integrationExampleSwiftUICustomPaymentFlow.swift
: "multi-step" integration