question

Masashi Kimura avatar image
Masashi Kimura asked

One Chance Purchase on store.

i want to "one chance purchase".

this is "one chance purchase"

1. player can purchase item in store.

2. it's done.

3. player cant purchase item.

How can this be achieved?

i think. that's, save player data (purchase log).

but, it's not smart..

Please let me know if there is a good way.

10 |1200

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

1 Answer

·
Seth Du avatar image
Seth Du answered

PlayFab doesn’t provide such a feature natively, however, there are few workarounds that can fulfill your requirement.

Since the player can only purchase this item once, you can create another item as a token so that when purchasing, you can define it in the Cloud Script to consume this token for the item. Setting up flag variables in Player Data is also feasible, but please note that Player Read-only/Internal Data should be the right place to hold this flag.

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.