28.5 · Paywall design, price display and testing with StoreKit configuration, sandbox and TestFlight

A paywall is both a UX problem and a legal one, and billing code that was never tested against renewals, refunds and failures is code you find out about from reviews.

Mental model. Show exactly what the store will charge, using the store's own text and numbers, and test every state with a tool that can move time and force failures.

Paywalls

What a paywall must show, the system views, price maths and experiments.

  1. How do you design a paywall that is clear, localised and legal, and how do you run experiments on it? 28.5.1 · L3
    Start with what the user must understand before paying: the price and billing period from the store (displayPrice plus subscription.subscriptionPeriod), the…

Testing

StoreKit configuration files, sandbox, TestFlight and what each can prove.

  1. How do you test purchases: StoreKit configuration files, sandbox accounts and TestFlight, and what can each not prove? 28.5.2 · L3
    Three layers, from fast and local to real. (1) A StoreKit configuration file (.storekit, JSON edited in Xcode) defines products, groups, prices and offers…

More in Purchases & subscriptions