Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple verifyReceipt endpoint is deprecated #40

Open
kimesf opened this issue Jan 7, 2025 · 2 comments
Open

Apple verifyReceipt endpoint is deprecated #40

kimesf opened this issue Jan 7, 2025 · 2 comments

Comments

@kimesf
Copy link

kimesf commented Jan 7, 2025

The Apple endpoint to verify receipts seems to be deprecated.

See https://developer.apple.com/documentation/appstorereceipts/verifyreceipt/

I'm unsure there's interest in further supporting this verification through a different method or whether you'd be interested to add a note on README or even issuing a deprecation warning on a new release.

Just wanted to bring the issue up for now. Thanks for the gem 🙏

@gabrielgarza
Copy link
Owner

@kimesf thanks for the heads up! Correct, it's using a deprecated endpoint. At the moment everything works as expected. However we need to plan a migration onto the v2. Do you have any thoughts on this?

@kimesf
Copy link
Author

kimesf commented Jan 14, 2025

Actually, after getting a little bit more familiar with v2, working with receipts won't be part of the new flow at all.

The whole "receipt" concept is deprecated. See https://developer.apple.com/documentation/appstorereceipts.

If there is anything to be done, it would be to follow up on apple's suggestion on the verifyReceipt page. They say that "to validate receipts on your server, follow the steps in Validating receipts on the device on your server". If you go through the recommended docs though, you'll see that the process is more complex than just calling an API and relies on information that might not be available on servers out there that use Monza.

I think migrating to v2 will often mean to abandon the "receipt" concept as a whole, while relying more on transactions and notifications to work out purchases, etc.. You can check their video update (https://developer.apple.com/videos/play/wwdc2023/10141).

My impression now is that there isn't much value in changing how Monza is validating receipts, even if it means that eventually it will be obsolete. I do think though the use of Apple features on my current project is not that extensive. Maybe other people have other use cases that might justify changes. I don't see it for my use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants