Integrate Real Commerce into your App

Easily connect your agents and customers to the value chain of leading FMCG suppliers in your territory. You'll find comprehensive guides and documentation to help you start working with the ShopTopUp CommerceAPI as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Set Preferences on config.xml

1). Set the api key  
<preference name="shop-checkout-android-api-key" value="API" />
2). Set the shop-checkout-android-box to false if in production
<preference name="shop-checkout-android-sandbox" value="true" />

Implement Androidx

  1. setup androidx for your project by implementing androidx on dependencies in platforms/android/app/build.gradle file
implementation "androidx.core:core:1.0.0"
  1. implement Androidx on platforms/android/

Set Minimium SDK

set the default minimum SDK to version 21 in build.gradle located in platforms/android


App Initialization

For App Initialization, add your API Key to the preference on config.xml by inputting the following command below

<preference  name="shop-checkout-android-api-key" value="YOUR_ANDROID_API_KEY" />

Updated about a year ago

What's Next



Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.