Non-renewing Subscriptions
Sell a pass for a fixed period — a 30-day pass, a season pass — on the App Store, Google Play or the web, and let Rovenue end it on time.
A non-renewing subscription is paid once and grants access for a fixed period. It never renews: the subscriber buys again to keep access. The App Store sells it as a Non-Renewing Subscription in-app purchase; Google Play sells the same thing as a prepaid plan on a subscription.
The product
Create the product with type Non-renewing subscription and an access duration — how long one purchase grants access, as an ISO 8601 duration:
| Duration | Means |
|---|---|
P30D | 30 days |
P1W | 1 week |
P1M | 1 calendar month (Jan 31 + 1 month = Feb 28/29) |
P1Y | 1 year |
Years, months, weeks and days only, from one day to ten years. The duration is required: Rovenue refuses a non-renewing product without one, because without one a purchase would have nothing to end at.
{
"identifier": "season_pass",
"type": "NON_RENEWING_SUBSCRIPTION",
"accessDuration": "P3M",
"displayName": "Season pass",
"storeIds": { "ios": "com.example.season_pass" },
"accessIds": ["<premium access id>"]
}Importing from App Store Connect. A Non-Renewing Subscription imports as a non-renewing subscription. App Store Connect does not store how long it lasts, so the import asks you for the duration of each one.
How access is computed
- One purchase grants access from its purchase date for the product's duration.
- A repeat purchase before the current one ends extends it: the new period starts where the current one ends, so no paid day is lost. A purchase after the pass has ended starts fresh.
- Each purchase keeps the duration it was bought with. Changing the product's duration affects new purchases only.
- A refund or revocation removes exactly that purchase's period. Purchases made after it move back by one period.
- Restoring purchases, or a store notification delivered twice, never extends anything: the end is computed from the purchases themselves.
The entitlement your app reads carries the end as its expiry (expiresDate on the server, the entitlement's expiry in each SDK), and the product's type reads non_renewing_subscription (.nonRenewingSubscription in Swift and Flutter, NON_RENEWING_SUBSCRIPTION in Kotlin).
On Google Play the SDK consumes a pass after the server has recorded it, so the same product can be bought again to extend it.
The App Store keeps showing a non-renewing purchase in a device's current entitlements forever, because Apple does not know its period. Rovenue decides access from the server's computed end, never from the device.
When a pass ends
Within five minutes of the end the expiry sweep expires the purchase, removes access and announces the end once: the subscription.expired webhook event and a $0 CANCELLATION revenue row. No store confirms the end of a non-renewing purchase, so Rovenue announces it immediately. A purchase that a later purchase continues ends silently: the pass ends when its last purchase ends.
Revenue is recorded as NON_RENEWING_PURCHASE: one-time revenue, never part of MRR.
Google Play prepaid plans
A prepaid base plan is part of a subscription product, so keep the product's type Subscription. Google Play states each purchase's expiry, including a top-up, which Play records as a new purchase token linked to the one it extends. Rovenue takes Play's expiry as it is, retires the replaced token without announcing churn, and ends access at the topped-up expiry. The store import marks prepaid base plans Prepaid; in the Android SDK the plan's SubscriptionOption.isPrepaid is true.
A Play one-time product that can only be rented imports as a non-renewing subscription with the rental period as its duration; each purchase is priced from the rent option it used (read from Play's purchases.productsv2), so its revenue is the rental's own price. A product that can be bought or rented imports as a non-consumable (flagged rentable): a purchase of its buy option grants lifetime access, and a rental is timed from the rental option it used, which Rovenue reads per purchase from Play (purchases.productsv2). A rental period in hours is rounded up to whole days (PT36H grants two days). If Play cannot say which option a purchase used and the product lists a rent option (active or deactivated), the receipt is answered 503 and the SDK retries; Rovenue never grants a rental lifetime access. A rental whose option is no longer in the catalog gets one day.
Products imported before v0.13.1
Earlier releases imported App Store non-renewing subscriptions as non-consumable, so their purchases grant lifetime access. Rovenue does not change those products, because changing them would take away access people paid for.
To fix one, edit the product: set the type to Non-renewing subscription and enter the duration. New purchases are then timed. Purchases made before the change keep lifetime access.
To time earlier purchases as well, run the re-time tool. It is your decision, and it can take away access at once. It changes only purchases of one product bought on or after the cutoff you give, and it does a dry run unless you pass --apply:
pnpm --filter @rovenue/api non-renewing:retime --project <projectId> --product <productId> --since 2026-11-01T00:00:00ZThe dry run reports how many purchases and customers would be re-timed, and how many of those purchases have already ended (their access stops when you apply).