{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-product-guide/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"SDK","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"sdk","__idx":0},"children":["SDK"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["GlomoPay provides native SDKs for mobile platforms to help you embed payment checkout flows directly into your applications with minimal setup."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"available-sdks","__idx":1},"children":["Available SDKs"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"react-native-sdk","__idx":2},"children":["React Native SDK"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The React Native SDK enables you to embed GlomoPay payment checkout flows into your React Native application. It renders a secure WebView-based checkout and auto-detects the correct flow (LRS, standard, or subscriptions) based on your order."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Supported Payment Flows:"]}," LRS, Standard (Cards, Bank Transfer, Pay via Bank), Subscriptions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Platforms:"]}," iOS and Android"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Language:"]}," TypeScript / JavaScript"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Latest Version:"]}," v4.0.0 (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/react-native-sdk/changelog"},"children":["Changelog"]},")"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/react-native-sdk"},"children":["View React Native SDK →"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"flutter-sdk","__idx":3},"children":["Flutter SDK"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Flutter SDK provides a native widget (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GlomoPayCheckout"]},") for embedding GlomoPay checkout into Flutter applications. It supports multiple payment flows and handles device security compliance out of the box."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Supported Payment Flows:"]}," LRS (Liberalised Remittance Scheme), Standard (Cards, Bank Transfer), Subscriptions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Platforms:"]}," iOS and Android"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Language:"]}," Dart"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Latest Version:"]}," v1.0.4 (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/flutter-sdk/changelog"},"children":["Changelog"]},")"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/flutter-sdk"},"children":["View Flutter SDK →"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"unified-sdk-web","__idx":4},"children":["Unified SDK (Web)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Unified SDK enables you to embed the GlomoPay checkout flow directly into your web application. It supports standard payments, LRS, subscriptions, and payment sessions with automatic flow detection."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Supported Payment Flows:"]}," Standard, LRS, Subscriptions, Payment Sessions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Platforms:"]}," Web (all modern browsers)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Language:"]}," JavaScript / TypeScript"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/unified-sdk"},"children":["View Unified SDK (Web) →"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"payment-flow-support","__idx":5},"children":["Payment Flow Support"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Payment Flow"},"children":["Payment Flow"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"React Native SDK"},"children":["React Native SDK"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Flutter SDK"},"children":["Flutter SDK"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Unified SDK (Web)"},"children":["Unified SDK (Web)"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LRS (Liberalised Remittance Scheme)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Standard Payments (Cards, Bank Transfer, Pay via Bank)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Subscriptions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Payment Sessions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["❌"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["❌"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✅"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":6},"children":["How It Works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All GlomoPay SDKs follow the same integration pattern:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create an order"]}," on your backend using the GlomoPay API to obtain an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order_id"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Initialise the SDK"]}," in your app with your ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["publicKey"]}," and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["order_id"]}," (or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subscriptionId"]}," for subscription payments)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start the checkout"]}," by calling the SDK's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start()"]}," method — this launches the secure checkout UI."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Handle callbacks"]}," for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onPaymentSuccess"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onPaymentFailure"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onPaymentTerminate"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onSdkError"]}," to update your app state and backend accordingly."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"security","__idx":7},"children":["Security"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All SDKs are built with the following security measures:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["WebView-based checkout"]}," — payment data is handled within a secure, isolated WebView and never passes through your application code."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Signature verification"]}," — every payment success or failure callback includes a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signature"]}," field for backend verification."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Device compliance checks"]}," — the SDKs detect rooted (Android) or jailbroken (iOS) devices and block checkout initiation on non-compliant devices, in line with regulatory requirements."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Mock mode isolation"]}," — using a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["test_"]}," public key automatically enables mock mode, ensuring test transactions are completely isolated from live payments."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"choosing-the-right-sdk","__idx":8},"children":["Choosing the Right SDK"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If you are building a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["web application"]},", use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/unified-sdk"},"children":["Unified SDK (Web)"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If your app is built with ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["React Native"]},", use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/react-native-sdk"},"children":["React Native SDK"]},". Supports LRS, standard payments, and subscriptions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If your app is built with ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Flutter"]},", the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/product-guide/sdk/flutter-sdk"},"children":["Flutter SDK"]}," supports LRS, standard payments, and subscriptions."]}]}]},"headings":[{"value":"SDK","id":"sdk","depth":1},{"value":"Available SDKs","id":"available-sdks","depth":2},{"value":"React Native SDK","id":"react-native-sdk","depth":3},{"value":"Flutter SDK","id":"flutter-sdk","depth":3},{"value":"Unified SDK (Web)","id":"unified-sdk-web","depth":3},{"value":"Payment Flow Support","id":"payment-flow-support","depth":2},{"value":"How It Works","id":"how-it-works","depth":2},{"value":"Security","id":"security","depth":2},{"value":"Choosing the Right SDK","id":"choosing-the-right-sdk","depth":2}],"frontmatter":{"title":"SDK","seo":{"title":"SDK"}},"lastModified":"2026-06-22T09:49:36.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/product-guide/sdk","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}