Android and Compose demo
Build a native Android storefront that opens the Inttegro 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 Android.
2 steps
AndroidLight
Start the paymentEnter a Mobile Money account number when there is no attached payment method.AndroidLight
Finish with confirmationThe terminal state confirms the paid amount and merchant before returning to the Android 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 Jetpack Compose product screen using Material 3
- A backend request that returns a finalized order ID
- Native payment-sheet presentation and lifecycle cleanup
- Server-side payment verification before fulfillment
Run the demo
Install Android Studio, set the
backend URL, and run the app configuration. The
released README
has the exact steps.
Key files
DemoBackend.ktrequests the order ID from your backend.MainActivity.ktpresents the payment sheet and handles the result.
Before you ship
Authenticate calls to your backend. Keep the customer, price, API key, and payment verification on the server.