question

danilo avatar image
danilo asked

Economy V2 iOS receipt validation - There is no item in the catalog with an ID matching the product ID in the receipt

I'm trying to validate iOS purchase of Bundle from Catalog V2. I'm using ValidateIOSReceiptAsync client API call from Unity SDK.

When I test validation from postman, I get:

"in_app": [
            {
                "quantity": "1",
                "product_id": "com.sozap.fishingtour.starterpack",
                "transaction_id": "2000000183030652",
                "original_transaction_id": "2000000183030652",
                "purchase_date": "2022-10-21 11:29:21 Etc/GMT",
                "purchase_date_ms": "1666351761000",
                "purchase_date_pst": "2022-10-21 04:29:21 America/Los_Angeles",
                "original_purchase_date": "2022-10-21 11:29:21 Etc/GMT",
                "original_purchase_date_ms": "1666351761000",
                "original_purchase_date_pst": "2022-10-21 04:29:21 America/Los_Angeles",
                "is_trial_period": "false",
                "in_app_ownership_type": "PURCHASED"
            }
        ]

And when I check the info in PlayStream Monitor I get: There is no item in the catalog with an ID matching the product ID in the receipt

I have bundle with Marketplace Mapping AppleAppStore that matches the proruct_id from app store receipt above:

com.sozap.fishingtour.starterpack

Is this not supported in current version of Economy V2 or I'm I doing something wrong?


Thanks,

Danilo

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

Use the `RedeemAppleAppStoreInventoryItems` API to validate iOS receipts with V2.

Inventory - Redeem Apple App Store Inventory Items - REST API (PlayFab Economy) | Microsoft Learn

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.