question

Chris Gunderson avatar image
Chris Gunderson asked

Store Discount for Group of Users

We have an in game store setup and working with both virtual currency and real money transactions.  Everything is working fine and we are wondering if there is a secure way to offer a 50% discount on all store items to a select group of users (those who bought the game early on in development).  As I understand it, I could create 2 stores and just adjust the prices accordingly, but then a clever user could figure out the store IDs and effectively give themselves and others access to the discounted items.  Is there a way to do this securely?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

Correct, a hacked client could indeed send any message it wants to. We'll be providing a way to secure stores using the Segments in PlayStream in an upcoming update.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Chris Gunderson avatar image
Chris Gunderson answered

Is there any ballpark ETA on this, or some kind of workaround that can be done in the meantime?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

Sorry, I realize it's frustrating to not have a date, but we have a policy of not stating estimates, since we cannot guarantee them. Having anyone take a dependency on a date we aren't highly confident in would be potentially disastrous for that title, so we try to be diligent about only providing dates when they're "locked in".

Since we're talking about something that must be server-authoritative, the best thing would be for us to have the support in our service - which is what we're going to do. For a title that needs to ship ahead of our support, there is the option of using SubtractVirtualCurrency and GrantItemsToUser in Cloud Script, checking for a user "tag" in UserInternalData which is used to indicate that they player can take advantage of the discounted prices.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.