Your server can entry the verifyReceipt endpoint to validate app and in-app transaction receipts. Submit a receipt to the App Retailer to obtain a JSON response containing the app info and in-app buy particulars in a variety of fields that make up the receipt. Every subject or mixture of fields gives perception that you should utilize to ship service and content material to the person as you outline.
We’re all happy to assume that in order to grow a successful mobile game (or app) you need:
- play store search optimization
- turn off idfa ios 14
- mobile marketing success stories
- buy app store reviews
Receipts for auto-renewable subscriptions can develop over time because the renewal transactions keep within the receipt ceaselessly. To optimize efficiency, the App Retailer could truncate sandbox receipts to take away outdated transactions. When validating receipts for transactions made within the sandbox atmosphere, think about creating new check accounts as a substitute of reusing outdated accounts to check subscription purchases.
Receipt Verification Request
verifyReceipt-Ship a receipt to the App Retailer for verification.(https://purchase.itunes.apple.com/verifyReceipt)
requestBody The JSON contents submitted with the request.
Content material-Sort: software/json
responseBody: Content material-Sort: software/json
Validating with the App Retailer requires a safe connection between your app and your server, and code in your server to validate the receipt with the App Retailer. Submit an HTTP POST request with the contents detailed in requestBody utilizing the verifyReceipt endpoint to confirm receipts with the App Retailer. Use the receipt fields within the responseBody to validate app and in-app purchases.
Alternate URL for Sandbox Testing
The sandbox URL for verifying receipts is:
As a finest follow, all the time name the manufacturing URL for verifyReceipt first, and proceed to confirm with the sandbox URL should you obtain a 21007 standing code.