soomla-iap

Qt 5 In-App Purchases with Soomla Plugin

By Alex

Today it’s time to introduce a new plugin for monetizing your apps with in-app purchases across iOS, Android & Amazon: Welcome the new Soomla In-App Purchase Plugin for Qt 5 apps and V-Play 2 games.

soomla-iap

Cross-Platform In-App Purchases for Apple iOS App Store, Google Play Store & Amazon AppStore

With the Soomla Plugin your V-Play 2 games can now support in-app purchases on iOS through Apple’s App Store and on Android through either Google’s Play Store or Amazon’s AppStore.

To support all these platforms, you don’t need to change anything in your QML code, because the V-Play Soomla plugin handles the different platform-specific services in the background. This means shorter development time and less headache during testing.

The API of the new Soomla Plugin is 100% compatible with the former Store Plugin of V-Play 1, which makes upgrading your games to V-Play 2 even easier!

In-App Purchases from QML

The Soomla plugin provides a familiar QML-based API which allows you to integrate in-app purchases like any other QML item. You can simply define your purchasable items like an in-game good:

import VPlay.plugins.soomla 1.0

Store {
  id: store
  goods: [
    SingleUseGood {
      id: boost
      itemId: "boost"
      name: "Speed Boost"
      purchaseType:  StorePurchase { id: boostPurchase; productId: boost.itemId; }
    }
  ]
}
    

and then buy a product with a simple call like:

store.buyItem(boostPurchase.productId)

Soomla Differences to Qt Purchasing API by Digia

Digia also offers a Qt Purchasing API for Qt Enterprise customers. If you already have a Qt Enterprise license, you can choose which of the plugins suits you better. Our Soomla Plugin has a couple of benefits over Qt Purchasing like:

You can find the documentation of the Soomla plugin QML components, a GitHub example and installation instructions here:

 

To stay up to date with future V-Play plugin announcements and promotions follow @vplayplugins on Twitter and subscribe to the V-Play Plugin Newsletter.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support