question

Kim Strasser avatar image
Kim Strasser asked

How much time will I have to validate the Apple/Google receipts?

I call client API ValidateIOSReceipt/ValidateGooglePlayPurchase after the player purchased coins(consumable product) or a new level pack(non-consumable product) with real money in my game, the purchase state is always "purchased" when I call the client API. I have created the in-app products in the Apple App Store/Google Play Store and the products in my title's catalog.

I want to call client API ValidateIOSReceipt/ValidateGooglePlayPurchase again if it was not executed successfully the first time. How much time will I have to validate the Apple/Google receipts?

Will the receipts expire after a while if I don't call ValidateIOSReceipt/ValidateGooglePlayPurchase fast enough? When will the receipts expire?

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

·
Sarah Zhang avatar image
Sarah Zhang answered

If you validate receipts of the non-subscription purchases. They won’t expire. You can validate them at any time. For the receipts of subscription, the expiry time will be contained in their receipts. You can check the Google and Apple documentations - https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptions, https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/validating_receipts_with_the_app_store for more information.

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.