• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by psykojello2 · Feb 26, 2015 at 06:40 PM · in-app purchase

Offering in-game store discounts and offers

I'm working on an infinite runner style game and would like to implement bonus features such as:

  1. The ability to offer discounts on powerups/outfits etc. from the store during certain promotion periods. For example : X costs 500 coins instead of 2000 for the next 2 days. These are not in-app purchases with real money, but purchases with in-game currency.

  2. Daily offers such as "Collect 500 coins today by doing X"

So I'm wondering how I should implement this. My idea is to maintain prices on an online database (for ex. Parse) so the game pings it to see if prices have changed.

My concern is what happens when someone is playing offline - they don't get the latest offers, sure, but is there a potential for someone to abuse the system by playing offline for an extended period when there is a certain offer open? How do you safeguard against that? Or do you just ignore and allow for it?

When offering daily specials/deals, do you use the system time on your device? Or the server time from the web? Again, is there potential for abuse here - i.e. by changing system time back 24 hours to reap more benefits.

Wondering how other games out there handle this. Thanks!

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jessespike · Feb 26, 2015 at 07:05 PM 1
Share

Time should be on server, not client. Or else, as you mentioned, someone could change their system time. imo it would be acceptable to only offer discounts while connected. Seems the easiest solution.

avatar image psykojello2 · Feb 26, 2015 at 07:46 PM 0
Share

That makes sense. I would package the default prices with the game - when not connected, I'd use that ins$$anonymous$$d.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to implement Mac App Store in-app purchase and receipt verfication? 1 Answer

Unity in app purchase - Is there a way to localize price on products? 3 Answers

IAP dialogs don't display in fullscreen mode in OS X 1 Answer

iTunes store login popup shows every time I start the app. Suspecting Unity IAP. 0 Answers

Amazon New Coin - Did anyone try it? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges