Forums

OverviewFelgo Plugins Support › some questions about Soomla

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22695

    jrrobles79

    Question 1: is possible to mix different types of Goods?

    Im implementing a small store on my app, I want to sell some items you can use during the game, there are only 4, So I want to sell them as package, ex:

    package 1:

    5 of item 1, 2 fo item 2, 10 of item 3,

    total: 1 usd

     

    package 2:

    10 of item 1, 4 fo item 2, 20 of item 3,

    total: 2 usd

    but on the examples I didn’t found an example similar to what Im trying to do.

     

    Question 2.Remote Receipt Validation

    Im new on all of this of mobile, and I was reading I need to do this validation to complete the purchase, Soomla already does this? or I need an extra service to do it, if so, please can you point me to a tutorial of how to do this?

     

    Question 3.The inventory of the purchases are only on Soomla? can I retrieve it to my DB? the items I implemented were granted and check by a service on my server. At the end of the game, I check, how many items and what types did the gamer used, and validate that the item used were granted by the server by an unique id.

    #22720

    Alex
    Felgo Team

    Hi,

    I’ll try to quickly answer your questions:

    1. You can freely mix them. What you probably are looking for is creating a SingleUseGood (which represents your pack) which is configured with a StorePurchase. If that one is bought by the user (listen to itemPurchased signal), you can use the giveItem method to give the user your desired amount of other SingleUseGood items (which represent your in game items). That way you can use the built in storage of the Store to manage those items.
    2. There is no need for manual additional remote receipt validation.
    3. The goods are managed by Soomla. If you want to sync them with your own remote DB, you will have to do so manually when performing associated actions in your app.

    Cheers,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

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