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

Return the receipt for restored purchases #11

Conversation

timoschwarzer
Copy link
Contributor

This PR allows getting the receipt for restored purchases. This is necessary if you want to verify a restored purchase on a server.

@naithar naithar merged commit a487696 into godot-sdk-integrations:master May 16, 2021
@naithar
Copy link
Contributor

naithar commented May 16, 2021

Thanks!

@Difference
Copy link

Difference commented Aug 25, 2021

@timoschwarzer I tried to use a nuget package for reciept verification, but the there is a bug in Godot ios export that does not copy the dll. Do you have a way to parse the receipt?

Also: The appstore plugin should probably have GetReceipt(), RefreshReceipt() and maybe ValidateReceipt() as seperate functions, in order to get the original purchase date/version, when changing an app from Paid to Freemium.

Some more context here: godotengine/godot-docs#5197 (comment)

@Difference
Copy link

Made some C# code that sends the receipt to Apple servers, returning json. godotengine/godot-docs#5197 (comment)

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

Successfully merging this pull request may close these issues.

4 participants