The following files show receipt data and Apple's responses from its /verifyReceipt
endpoint when enacting a simulated scenario using an iTunes sandbox user.
Real-world scenario we seek to represent
- A user purchases an auto-renewing monthly subscription.
- The receipt (a.k.a.
originalReceipt
) from this purchase is posted to/verifyReceipt
and the response recorded. - The subscription auto-renews 5 times and then the user turns off auto-renewal, causing the subscription to lapse.
originalReceipt
is posted to/verifyReceipt
and the response recorded.- Over 60 days pass.
- The user purchases an auto-renewing monthly subscription.
- The receipt (a.k.a.
newReceipt
) from the re-subscription is posted to/verifyReceipt
and the response recorded.