iOS and SwiftUI demo
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.
2 steps
iOSLight
Start the paymentEnter a Mobile Money account number when there is no attached payment method.iOSLight
Finish with confirmationThe terminal state confirms the paid amount and merchant before returning control to the host app.React Native and Flutter use these same native payment sheets instead of reimplementing checkout. The Android robot is reproduced from work created and shared by Google and used according to the Creative Commons 3.0 Attribution License.
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
DemoBackend.swiftrequests the order ID from your backend.CheckoutView.swiftpresents 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.