-
Notifications
You must be signed in to change notification settings - Fork 796
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
Verification of the receipt on server side (non-atomic purchase) #153
Comments
Sorry. Problem in a php-script. Where - yet hasn't found, but it has no relation to SwiftyStoreKit any more PS: Php-script not correctly created data from: |
Closing this as it's not related to SwiftyStoreKit. |
Did you manage to solve this? I am trying to use this library to verify the receipt but I had no success
|
@contreras2004 See the error codes here: https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html
Check the server is receiving valid data |
Yea thanks. I managed to solve this. I was trying to verify a renewable subscription receipt and I forgot to add the secret |
SwiftyStoreKit.ReceiptStatus.malformedOrMissingData |
Platform
In app purchase type
Environment
Version
ℹ 0.8.2
Related issues
ℹ Please replace this with references to similar issues (either open or already closed).
Report
Issue summary
ℹ Hello!
Whether I transfer the correct data to the server for sending for the server of Apple?
My code (client side):
PHP script (server side)
What did you expect to happen
ℹ I expect that the server of Apple will confirm perfect purchase, having returned the status 0
What happened instead
ℹ Apple server returned:
The text was updated successfully, but these errors were encountered: