If I'll have same game for multiple stores then how to setup in app item id for these? I have same in app purchase with different stores with different id like google_play_item1 and apple_store_item1.
If I'll have same game for multiple stores then how to setup in app item id for these? I have same in app purchase with different stores with different id like google_play_item1 and apple_store_item1.
If the question is, how to set up items in the PlayFab catalog so that they match the items in the Google Play and iTunes stores, the answer is that the PlayFab catalog's Item ID needs to match the Product ID in the Google Play and iTunes stores - that's how we match them up, so that we can give the player the correct items. There's no need to make them separate in the PlayFab catalog (google_play... vs apple_store...).
To add to that (very old) question and to clarify: if I have the same product on Google Play and on iTunes Connect - let's say on Google Play its ItemId is 'no_ads', but on iTunes Connect this product has the identifier 'no_ads_v2' (because of testing and I had to create a new identifier so 'no_ads' is disabled & blocked now).
PlayFab's receipt validation requires that the ItemId in PlayFab matches the identifier in the App Stores. So in this case, do I actually have to duplicate 'no_ads' in the PlayFab catalog and rename the copy to 'no_ads_v2', in addition to creating a new store for both Google Play (only containing product 'no_ads') and iTunes Connect (only containing product 'no_ads_v2') - which would double the effort on sales and description adjustments?
I could not seem to find a 'platform override' or way to assign multiple ItemIds to one product in the catalog, without duplicating stores, which is basically what I'm after.
Thank you for any hint!
Yes, the only way to have a secure receipt validation system is to use the Product ID from the receipt itself to find the item in the PlayFab catalog. So if you've got different IDs in the two services, you'll have to have two different ItemId values in the PlayFab catalog for them. However, these would not necessarily be in different stores - you should be putting both items in your primary catalog.
That instant reply was very much appreciated :)
Both items in the primary catalog makes sense, although I would still need to maintain two different stores for being able to run special sales in them separately, where I can also just put the correct ItemId in the respective store along with that. Thanks again!
If you're using Unity Purchasing, there's a workaround - you can define the store-specific item Id for each of Google Play and the iOS App Store in your Unity Purchasing setup, and it magically solves the issue (we set up some purchases as Durable by accident, so we ran into this issue).
@dragonfoundry can you elaborate how Unity would unify the the two different platform item Ids to a single id that would get sent back to PF for receipt validation? I get that Unity can unify them to one product, but not understanding the connection to playfab. As I see it, I would still need to items in the catalog that correspond to the platform-specific ids?
Hmm. Looking back on old economy exports, looks like we did have separate objects in PlayFab for each store (which were bundles that contained the core object). So I'm guessing I tried this in the past, and it didn't work - our setup's different now, so we don't end up worrying about that any more.
5 People are following this question.