Skip to content

Longplay for AI apps

Build and update paywalls for AI apps

A Longplay Paywall is configured and published in the Console, then shown in your app by ID. The SDK renders it, and when a customer buys, completes the quote and the confirmation.

What a Paywall contains

A Paywall is pinned to one published Offering Version and selects which Products it displays, their order and the default choice. It does not need a Funnel, and it can also be a step inside one, after onboarding screens.

  • Products carry the prices and entitlements a customer receives.
  • An Offering groups Products and is published as a version.
  • Publishing a new Offering Version does not change the version an existing Paywall is pinned to.

Show it from your app

Your backend identifies the signed-in user as a Customer and issues a customer session. Your app passes that session to the SDK and opens the Paywall in a container you provide.

  • Browser and mobile SDKs accept customer tokens only. Server Keys stay on your backend.
  • Official SDKs cover Web, React Native, iOS and Android. Native presentation and store purchases have their own prerequisites.
  • Displaying or dismissing a Paywall, or landing on a return page, is not payment confirmation. Read the original purchase operation and the customer's current entitlements.

What changes without an app release

With a compatible SDK already integrated, supported content changes use the new Paywall version the next time it is fetched.

  • SDK upgrades, new components and native host changes still need an app release.
  • Funnel Runs already in progress keep the version they started with.
  • Saving a draft and publishing are separate steps; only published versions reach customers.

Compare variants

Set up A/B tests for Funnel and Paywall variations, define audience rules with customer attributes and saved groups, and configure the metrics used to compare results.

  • Results depend on the events and metrics you register. Configuring a test does not by itself produce a trustworthy conclusion.

Validate before taking payments

Connect Stripe for the same App and environment, and complete a purchase in Sandbox first. Sandbox uses Stripe test mode and never charges real money. Live needs its own configuration.

From edit to purchase

Who does what when a Paywall changes and a customer buys
WhoWhat it does
You, in the ConsoleEdit the Paywall and publish a new version pinned to a published Offering Version.
Your backendIdentifies the Customer and issues a customer session with a Server Key.
Longplay SDKFetches the published Paywall, renders it and completes the quote and confirmation when the customer buys.
Stripe or your own checkoutCollects the payment. Longplay reads the signed result and updates entitlements.

FAQ

Do I need a new app release to change a paywall?

Not for supported content. With a compatible SDK already integrated, supported content changes can use the new Paywall version the next time it is fetched. SDK upgrades, new components or native host changes still require an app release.

Does a Paywall require a Funnel?

No. You can show a published Paywall by ID on its own. Use a Funnel when the Paywall is one step of a longer onboarding or campaign flow.

How do I know a purchase succeeded?

Save the operation ID before redirecting to payment, then read that purchase operation when the customer returns. A completed operation means paid and active; a pending one means read again later. Do not infer payment from the redirect.

Can I keep my existing checkout?

Yes. When your backend executes payments, Stripe credentials are not needed in Longplay: the quote returns your prepared terms, you take the payment, and the operation completes after your backend reports the result.