Skip to content

iOS and SwiftUI demo

Explore a native SwiftUI checkout built with the Inttegro payment sheet.

Build a SwiftUI storefront that opens Inttegro’s native payment sheet. The app receives an order ID from your backend—never an API key.

See the flow

These captures show the payment-ready and completed states on iOS.

iOS

React Native and Flutter use these same native payment sheets instead of reimplementing checkout.

What you’ll build

  • A native SwiftUI product detail experience
  • An Inttegro SDK dependency resolved with Swift Package Manager
  • Native payment-sheet presentation and return handling
  • A backend boundary that keeps credentials off-device

Run the demo

Install Xcode and XcodeGen, generate the project, set the backend URL, and run an iPhone simulator. The released README has the exact commands.

Key files

  1. DemoBackend.swift requests the order ID from your backend.
  2. CheckoutView.swift presents the payment sheet and handles its lifecycle.

Before you ship

Authenticate calls to your backend and create the complete order there. Verify payment on the server before fulfillment.

Next

Type to search…

↑↓ navigate↵ selectEsc close