Originally published on AppRanker.
A billing grace period lets a subscriber keep using your app for a few days after a renewal payment fails, while the store quietly retries the charge. Get it wrong and you either lock out people whose card simply expired, or hand out free access forever. Here is how the setting works on both stores, which subscription states mean "grant access", and how to keep your server in sync.
How the two stores handle a failed renewal
Apple and Google solve the same problem with different defaults and different names.
| App Store | Google Play | |
|---|---|---|
| Default | Off | On for every auto-renewing base plan |
| Window with access | Billing Grace Period (if enabled) | Grace period |
| Window without access | Billing retry | Account hold |
| Total recovery window | Retry up to 60 days | Grace + hold, 60 days by default |
On both stores, a subscription recovered during grace keeps its original renewal date. Recovered later, the renewal date moves to the recovery date. The trade-off is simple: if the payment never comes through, those grace days were free.
Turning it on in App Store Connect
You need the Account Holder, Admin or App Manager role. Then:
- Open Apps > your app > Subscriptions and find the Billing Grace Period section.
- Click Set Up Billing Grace Period and pick 3, 16 or 28 days. Weekly plans get 3 days (for the 3-day option) or 6 days (for 16 or 28).
- Choose the renewal types: All Renewals (includes free trials and offers converting to paid) or Only Paid to Paid Renewals.
- Start with Only Sandbox Environment, then switch to Production and Sandbox once tested.
A few rules worth knowing:
- Changes can take up to 24 hours and only affect upcoming renewals.
- Turning the feature off doesn't end grace for subscribers already in it.
- It doesn't apply to monthly subscriptions with a 12-month commitment.
- The setting covers all subscriptions in the app, and can also be managed through the App Store Connect API.
Tuning grace and account hold on Google Play
On Google Play, grace and hold are configured per auto-renewing base plan in Play Console. Account hold defaults to 60 days minus the grace period, and grace plus hold must total at least 30 days. Even a zero-day grace period isn't truly zero: Play waits at least a day in a "silent grace" where the subscription stays ACTIVE and no grace notification is sent.
Google also announced a Dynamic Grace Period in September 2026 that sets grace length per subscriber after a decline, but much of that rollout is Early Access, so don't assume it's live for your app.
Map store states to access
This is where most bugs live. The rule is the same on both platforms: grace means access, retry or hold means no access.
-
StoreKit 2:
subscribedandinGracePeriodgrant service;inBillingRetryPerioddoesn't, unless another status in the group (such as Family Sharing) does. Loop through every status rather than reading the first one. -
Play Billing:
SUBSCRIPTION_STATE_IN_GRACE_PERIODstill shows up inqueryPurchasesAsync();SUBSCRIPTION_STATE_ON_HOLDdoes not.
If your server gates paid features, mirror those states there. A minimal mapping for incoming events looks like this:
// Apple App Store Server Notifications V2
function appleState(type, subtype) {
if (type === "DID_FAIL_TO_RENEW") return subtype === "GRACE_PERIOD" ? "grace" : "billing_retry";
if (type === "GRACE_PERIOD_EXPIRED") return "billing_retry";
if (type === "DID_RENEW" || type === "SUBSCRIBED") return "active";
if (type === "EXPIRED") return "expired";
if (type === "REFUND" || type === "REVOKE") return "revoked";
return null; // unknown: re-fetch status from the API
}
const hasAccess = (state) => state === "active" || state === "grace";
Two safeguards matter more than the mapping itself:
-
Re-fetch, don't trust one event. Google's RTDNs only signal that something changed; call
purchases.subscriptionsv2.getbefore updating entitlement. Verify Apple's signed notifications too. -
Store the grace end date (
gracePeriodExpiresDateon Apple, the line itemexpiryTimeon Google) so a missed notification can't leave someone entitled indefinitely.
Let the stores ask for the new card
Keep every feature working during grace and show a calm banner asking the user to update their payment method. Both stores also prompt for you:
-
App Store: a Billing Problem sheet appears on launch. On iOS 16+ you can observe
StoreKit.Message.messagesand delay it to a better moment, but don't suppress it. -
Google Play: call
billingClient.showInAppMessages()with theTRANSACTIONALcategory on every app open. If it returnsSUBSCRIPTION_STATUS_UPDATED, send the purchase token to your server and refresh entitlement.
Before shipping, test the full cycle: grace, retry or hold, recovery and expiry. Use a Sandbox Apple Account with Allow Purchases & Renewals turned off, and a Play license tester with the "Test instrument, always declines" payment method.
Key takeaways
- Billing Grace Period is off by default on the App Store and on by default on Google Play.
- Grant access in grace; remove it in billing retry (Apple) or account hold (Google).
- Recovery during grace keeps the original renewal date on both stores.
- Treat store notifications as hints and re-fetch the real status from the server APIs.
- Test failed renewals in the sandbox and with license testers before release.
The original article goes further, with full Swift, Kotlin and Node.js samples and a launch checklist, in the complete billing grace period setup guide for the App Store and Google Play. If you're also working on getting new subscribers in the door, the AppRanker app leaderboard for App Store and Google Play apps is one more place to get your app seen.
Which grace period length are you running today, and have you measured how many subscriptions it actually recovers?
Top comments (1)
One server-side trap worth adding: during Apple's grace period the transaction's
expiresDateis still the original renewal date, which is already in the past. If your entitlement check is simplyexpiresDate > now, grace users get locked out exactly when they should keep access. The check needs to look atgracePeriodExpiresDatefrom the renewal info as well, which you already mention storing.