aporat / store-receipt-validator

PHP receipt validator for Apple iTunes, Google Play and Amazon App Store
Apache License 2.0
633 stars 153 forks source link

Apple App Store Server Notification v1 deprecated #174

Open Gamesh opened 10 months ago

Gamesh commented 10 months ago

Hi,

it seems verify receipts API is deprecated without date when it will be removed, for now at least.
https://developer.apple.com/documentation/appstorereceipts/verifyreceipt?changes=_1

Is there any plans to support Notification v2? https://developer.apple.com/documentation/appstoreserverapi?changes=_1 https://developer.apple.com/documentation/appstoreservernotifications/app_store_server_notifications_v2?changes=_1

Stafox commented 10 months ago

hey @Gamesh .

What are your expectations on that? I mean, what features you wanna have (provide an inteface to work with Notification V2, for instance)?

Gamesh commented 10 months ago

from what i understand the new way would be to call https://api.storekit-sandbox.itunes.apple.com/inApps/v1/history/{transactionId} to get Apple-signed transaction and subscription information of customers, or get the same signed transaction and subscription information from the App Store Server Notifications V2.

Stafox commented 10 months ago

Correct. The answer is yes, support for this API will be added. But I'm not sure this will happen this year. At least until there will be no defined deprecation date from Apple on verifyReceipt api.

Gamesh commented 10 months ago

thanks, no rush :) until it's deprecated with TTL it doesn't hurt, i hope there will be enough time migrate to v2