Longplay for AI apps
Subscription management on one customer record
Longplay keeps subscriptions, credits and entitlements on one customer record. Your app reads that record to decide what each customer can access, and your payment provider collects the money.
One record your app can read
Identify each signed-in user as a Customer from your backend. Subscriptions, credits and entitlements attach to that Customer, and your app checks access before running a feature.
- Check one entitlement, or read everything the customer currently holds.
- Guests can be created first and claimed when they sign in.
- Sandbox and Live are separate business environments with separate credentials.
Products, Offerings and versions
Create Features and Products, save their prices and entitlements, group Products into an Offering and publish an Offering Version. Saving a Product returns its identity and version; Products have no separate publish step.
- With the default update behavior, price, entitlement and trial changes create a new version when the selected version has active, past-due, scheduled or paused customer holdings.
- Creating a version does not migrate existing customers to it.
- Product details and metadata can still change in place, and explicit in-place or all-version updates can affect existing customers.
Purchases and changes follow one pattern
Every commercial change is quoted first, then confirmed, then read back by its operation ID. Nothing is charged at the quote.
- New purchases: quote, confirm, then read the purchase operation.
- Upgrades, downgrades and cancellations apply immediately, at renewal or in the store.
- Trials are started, extended or ended from your backend.
- Refunds can be full or partial and can optionally revoke access.
Who collects the money
You stay the merchant. Choose how payments run for each App and environment.
- Longplay runs payments: Longplay calls Stripe with your restricted API key and verifies signed Stripe webhooks to update billing and entitlements.
- Your backend runs payments: you take the payment in your own checkout and report the result to Longplay, with no Stripe credentials stored in Longplay.
- App Store and Google Play purchases need their own platform configuration and validation.
Sandbox first, then Live
Complete the flow in Sandbox, which uses Stripe test mode. Live uses its own Stripe account identity, key, webhook endpoint and signing secret. A Sandbox result does not establish that a Live setup is ready.
A subscription purchase, step by step
| Who | What it does |
|---|---|
| Your backend | Identifies the Customer and issues a customer session. |
| Your app | Requests a quote, confirms it and redirects to the Stripe payment page when a checkout URL is returned. |
| Stripe | Collects the payment from the customer. |
| Longplay | Verifies the signed Stripe event, completes the operation and updates the customer's subscription and entitlements. |
| Your app | Reads the purchase operation and checks entitlements before granting access. |
FAQ
How does Longplay relate to Stripe?
Stripe collects the money. Longplay manages Products, paywalls, targeting and entitlements, and reads subscription state from signed Stripe events.
How do Product changes affect existing customers?
Usually they keep what they have. Price, entitlement and trial changes go into a new version when the selected version has customer holdings in use, and existing customers are not migrated. Explicit in-place or all-version updates can affect them.
Can I use Longplay without Stripe?
Yes. When your backend executes payments, Longplay returns your prepared terms in the quote and completes the operation after your backend reports the payment result.
Does it work with the App Store and Google Play?
Yes, with their own setup. Your app completes the App Store or Google Play payment, then submits the Apple signed transaction or Google purchase token to Longplay; access is granted after verification. Each store needs its own platform configuration and validation before Live.
What does it cost?
Longplay is free during the public beta, and you will be notified before paid plans are introduced. Fees charged by Stripe, app stores or other connected providers are separate.