question

Tommy Li avatar image
Tommy Li asked

Receipt Validation: Used receipts checked across Economy V1 and V2 or across titles?

Our game is being remade and it's a good opportunity for us to start the server with a clean slate.

One feature for returning players is that we want to carry their IAP items from the legacy server into the new one. The app will use the same listing on App Store and Google Play, so we can read their existing IAP receipts.

While we certainly can create a CloudScript function to migrate the inventory between the titles, I wonder if we can utilize receipt validation for this purpose as it auto-grants items. However, as a prerequisite, we wonder whether the previously used receipts are checked across titles, i.e. whether a receipt used for an old PlayFab title will also be valid for a new PlayFab title so that it does not get rejected as a replay attack.

We also wonder whether this also applies between Economy V1 and V2. As our legacy title only uses Economy V1 and JavaScript CloudScript, we could potentially reuse the same title but let the remake app only access Economy V2 and Azure Functions.

Thank you in advance for the answers!

In-Game Economy
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

·
kylemc@microsoft.com avatar image
kylemc@microsoft.com answered

V1 and V2 do not use the same validation system so in theory it could work. The challenge you'd face is that any receipts that have been consumed (VC typically) will remain consumed and won't be seen by V2. Any receipts that have not been consumed could be redeemable a second time by V2. It's worth trying.

1 comment
10 |1200

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

Tommy Li avatar image Tommy Li commented ·

Assuming VC here stands for Virtual Currency, then yes it will be fine for us, as in our legacy title all of our monetization were done with durable/non-consumables. But what about across title, i.e. whether a receipt already redeemed in one PlayFab title will also be flagged by the redeem API as used in another title, or otherwise, be eligible for redeeming items again?

0 Likes 0 ·

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.