I created a small test app to work on our approach to restoring in app non-consumable purchases.
When I submit a purchase via the Google store, it see the player receipt validation in the PlayFab playstream but it fails with the message "There is no item in the catalog with an ID matching the product ID in the receipt".
I've clearly missed a step in the setup because the product Id appears to be there. Can you please help?
Here's the full Json from the receipt:
{ "EventName": "player_receipt_validation", "PaymentProvider": "Google Play", "PaymentType": "ReceiptValidation", "ReceiptContent": "{\"orderId\":\"GPA.3362-5407-3005-09690\",\"packageName\":\"lol.copycat.SISRestorePurchases\",\"productId\":\"test2\",\"purchaseTime\":1542736758067,\"purchaseState\":0,\"developerPayload\":\"{\\\"developerPayload\\\":\\\"\\\",\\\"is_free_trial\\\":false,\\\"has_introductory_price_trial\\\":false,\\\"is_updated\\\":false}\",\"purchaseToken\":\"ljkedhacbafnccceejaimopa.AO-J1OwwwIXuGA4CNRnXiQVowyfSAIUGiHkWb-te1D5rE7xxOC-DjQv__Li_SlUxcL2AvLB7ZqtQgd1KUybcdijlcRp2nCfIFRDmqFe6rPZp1CbUPm8uoiWU3b8GE3XEwWS3J7Ze0KBA\"}", "Valid": true, "Error": "There is no item in the catalog with an ID matching the product ID in the receipt", "EntityId": "603E285F95581A09", "EventNamespace": "com.playfab", "EntityType": "player", "Source": "PlayFab", "TitleId": "1DF8", "EventId": "da13f27398cb458a97f3404f54b3f7a4", "SourceType": "BackEnd", "Timestamp": "2018-11-20T17:59:21.9328547Z", "History": null, "CustomTags": null, "Reserved": null, "PlayFabEnvironment": { "Vertical": "master", "Cloud": "main", "Application": "mainserver", "Commit": "af99ffd"} }
I'm using Unity 2018.2.4f1 and Google Play. I'm also using Unity IAP and the asset Simple IAP System (https://assetstore.unity.com/packages/add-ons/services/billing/simple-iap-system-12343).