Last active
March 25, 2022 19:20
-
-
Save rfistman/7745560 to your computer and use it in GitHub Desktop.
Test production IAP receipts with curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IAP | |
curl -s -d "{ \"receipt-data\" : \"$(base64 receipt)\" }" https://buy.itunes.apple.com/verifyReceipt | python -mjson.tool | |
# autorenewing subscription | |
curl -s -d "{ \"password\" : \"shared-secret\", \"receipt-data\" : \"$(base64 receipt)\" }" https://buy.itunes.apple.com/verifyReceipt | python -mjson.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment