

Before testing you must follow all the other steps for creating in app purchases.

Sandbox subscription renewals# Sandbox subscriptions renew more quickly than normal to aid in testing. Subscription Group is a set of auto-renewable subscriptions which users cannot subscribe to two or more of them at the same time. Below is a list of the compressed duration times. During this time a user can try paid features for free. When testing auto-renewable subscriptions in the test environment, keep in mind that the duration times are compressed. This is the time duration after which the subscription will be automatically renewed unless the user opts out. The following table identifies the sandbox renewal times for subscriptions of various durations. IOS# e.g (in iOS's sandbox mode, 1 month subscription is shortened to 5 minutes for the sake of testing purposes). Create a sandbox tester on app store connect Login as the sandbox tester Rebuild your app with a development certificate and install on your device (cannot be a wildcard) Test the in app purchase Testing In App Purchases on iOS. For a subscription product, the entitlement will be active for the duration of the subscription. What will be the duration of 1 month subscription in sandbox mode?. But you never should forget about free trial period. We talked about the criteria of an auto-renewable In-App Purchase (IAP) and the things Apple could do to improve on its subscription IAP model in an earlier post. If a subscription expires or is cancelled, the entitlement is deactivated at the end of the paid term. An auto-renewable subscription is an iOS In-App Purchase category that allows an app to provide and charge for content or features over a set amount of time. In many cases, the only difference between the various IAP options your app offers will be the subscription duration and the price associated with it. The enhanced sandbox environment will afford developers far greater ability to test the implementation of their purchases using Apple's StoreKit framework in Xcode and iOS 14. The duration of auto-renewable subscription can be different: 1 week, 1 month, 2 months, 3 months, 6 months, 1 year. On iOS 13 and earlier, even for sandbox purchases, you'll need to test on a real device.Starting in iOS 12, you're able to add a sandbox account to your device without having to sign out of your iTunes account. Additionally, test subscriptions only auto-renew a maximum of six times. New subscription will be applied at the next renewal date. Note the Subscription Duration field, which is specific to Renewable Subscriptions.
