Ship to the App Store

Have an Agent turn on Apple's billing grace period for your app's subscriptions, choose how long it lasts and which renewals it covers, and try it in Sandbox first.

When a subscriber’s renewal fails because of a payment problem, Apple’s billing grace period can give them a few more days of access while Apple tries to collect the payment. Apple describes it in Enable billing grace period for auto-renewable subscriptions ↗. An Agent can turn it on for your app, choose how long it lasts, and try it in Sandbox first.

One setting for the whole app

The asc help calls it “an app’s subscription grace period”: the app has one, not one per plan or per subscription group. Whatever you choose applies to the app’s subscriptions together.

What you choose

Setting Choices Flag
How long 3, 16 or 28 days (THREE_DAYS, SIXTEEN_DAYS, TWENTY_EIGHT_DAYS) --duration
Which renewals All renewals (ALL_RENEWALS), or only renewals from one paid period to the next (PAID_TO_PAID_ONLY) --renewal-type
Sandbox On or off --sandbox-opt-in
Your subscribers On or off --opt-in

For which renewals each choice covers, for example a free trial that turns into a paid subscription, see Apple’s page ↗.

Try it in Sandbox first

Ask in the Project’s chat, for example:

Turn on the billing grace period in Sandbox only: 16 days, for all renewals. Don't turn it on for real subscribers yet.
  1. The Agent reads your app’s grace period with asc apps subscription-grace-period view and tells you how it’s set now.
  2. It changes it with asc subscriptions grace-periods update, here with --sandbox-opt-in true, --duration SIXTEEN_DAYS and --renewal-type ALL_RENEWALS. The command sends only the settings you name; the others stay as they are.
  3. It shows you the setting as Apple returns it.

Then test with a sandbox tester on your iPhone: see Test in-app purchases before release. An Agent can make the tester’s subscriptions renew faster, but asc sandbox has no setting that makes a payment fail. For testing a billing problem in Sandbox, see Apple’s Overview of testing in sandbox ↗.

Check what your app does

The grace period is set at Apple. Whether your app keeps its paid features open during it depends on your app’s code. Apple’s page ↗ says what the app needs to do. Ask your Agents, for example:

Check that the app keeps Premium open for a subscriber in Apple's billing grace period, and fix it if it doesn't.

Turn it on for everyone

When it works in Sandbox, ask:

The grace period works in Sandbox. Turn it on for real subscribers too, with the same settings.

The Agent runs asc subscriptions grace-periods update with --opt-in true and shows you the result.

Change it or turn it off

Ask for what you want, for example “Make the billing grace period 28 days.” or “Turn off the billing grace period.” The Agent changes only what you name: the length, the renewals, or --opt-in false and --sandbox-opt-in false to turn it off. For what happens to subscribers who are already in a grace period when you change it, see Apple’s page ↗.

To see the setting at any time, ask “Show the app’s billing grace period.”

Questions

Can each plan have its own grace period?
No. The asc help calls it an app’s subscription grace period: one per app.
Can I see the grace period in AirBuild?
No. The In-App Purchases tab doesn’t show it. Ask an Agent, or look in App Store Connect on the web.
The Agent says at least one update flag is required.
The command needs something to change: the length, the renewals, Sandbox or your subscribers. Say what you want changed.
The Agent says --duration must be one of THREE_DAYS, SIXTEEN_DAYS, TWENTY_EIGHT_DAYS.
Only those three lengths exist. Pick 3, 16 or 28 days.
The Agent says --renewal-type must be one of ALL_RENEWALS, PAID_TO_PAID_ONLY.
Choose all renewals, or only renewals from one paid period to the next.