not permitted without written permission from Denken. https://denkeni.medium.com/unpredictable-sandbox-environment-for-iap-auto-renewable-subscriptions-44461d7b1378 Unpredictable Sandbox Environment for IAP Auto-renewable Subscriptions Denken Chen, Confused iOS App Developer #WWDC20 #WorldWideDevelopersConfused20
Email address that has never been used as an Apple ID Apple officially recommends using subaddressing You may still get stuck for multiple unclear reasons Multiple Accounts: Creation
sign in to the production environment. If you do, the test user account becomes invalid and can no longer be used.” from In-App Purchase Programming Guide — Retrieving Product Information — Suggested Testing Steps Multiple Accounts: Warning
Sandbox /verifyReceipt develop on device Production /verifyReceipt develop on device Xcode TestFlight App Review App Store “Verify your receipt first with the production URL; proceed to verify with the sandbox URL if you receive a 21007 status code.”
simulator Sandbox /verifyReceipt develop on device Production /verifyReceipt develop on device iOS 14 Settings → App Store → Sandbox Account iOS Settings or App Store → Profile → Subscriptions
support canceled the subscription or the user upgraded their subscription. (*1) This event is not the same as when the user enters their iTunes account — Subscription section, and indicates that they choose not to allow an existing auto-renewing subscription to renew. (*2, and see DID_CHANGE_RENEWAL_STATUS) RTFM (*1) https://developer.apple.com/documentation/appstoreservernotifications/notification_type (*2) https://forums.developer.apple.com/thread/98894#thread-message-301062
(it’s been renamed as DID_RECOVER) Indicates a successful automatic renewal of an expired subscription that failed to renew in the past. Check expires_date to determine the next renewal date and time. (*1, and see DID_RENEW) In general, iTunes will attempt to charge the user account a day before an auto-renewing subscription is scheduled to expire... in the few cases that iTunes is unable to renew the subscription (generally there was a connection problem with the credit card server)... technically considered “expired”. However, iTunes will still continue to attempt to renew the subscription. If iTunes is successful, then the “RENEWAL” event is sent. (*2)
a change in their subscription plan that takes effect at the next renewal. (Downgrade) DID_CHANGE_RENEWAL_STATUS Indicates a change in the subscription renewal status. (Toggling auto-renew on/off.) INTERACTIVE_RENEWAL Indicates the customer renewed a subscription interactively, ... (Upgrade or renew) RTFM * https://developer.apple.com/documentation/appstoreservernotifications/notification_type * https://developer.apple.com/videos/play/wwdc2020/10661/?time=14m19s