0 Favourites

How do I make a number-value IAPs?

  • Hi,

    I'm not a specialist in IAPs so maybe someone more knowlegeable can enlighten me.

    As far as I can see, you can pretty easily have features unlocked via an in-app-purchase in Google Play. The IAP object allows to do that.

    Then you can request the info on whether the particular product has been purchased or not.

    However, what about quantitative purchases? Is it possible? For example, I want to have a couple of 'credit packs' in my app so that users can buy e.g. '10 credits' or '50 credits'. Sure, I could just add 10 to var_credits after a purchase but how would I verify that later? For example, the user could then hack the app's webstorage and manually add 1000 credits to their account and I couldn't cross-reference it with the 'has product' response from Google Play.

    Any help?

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
167 14,515
DMT2005's avatar
DMT2005
Unread sticky
1 Favourites
C2 Games made with CocoonIO
136 89,839
minhcuong's avatar
minhcuong
Unread hot topic
56 4,736
MPPlantOfficial's avatar
MPPlantOfficial