Testing
Prove a BillDog web integration before you ship
For web developers, BillDog lets you prove an integration before release in three checks on Lumen, our demo app: a sandbox event arrives in the dashboard, a placement serves its paywall, and a Test Store purchase unlocks Lumen Pro in the app. The Test Store stands in for a real store, so it proves your SDK wiring, not App Store, Google Play or live checkout.
What this video covers: The unlock shows in the app because the Test User ID is the app’s own anonymous user ID, on a sandbox key. The Test Store stands in for a real store, so App Store, Google Play and live checkout aren’t tested.
Transcript
Before an app with paywalls ships, you want proof of three things. Its events arrive. A purchase unlocks it. And the paywall shows up where you asked for it. Here are all three, proved on Lumen’s web app before release.
This debug build makes four calls to BillDog. Configure, with the sandbox key. Send one event when the app opens. Ask a placement for a paywall. And read access from the entitlement, fresh.
Test with a sandbox key. Every key says which environment it belongs to, and sandbox traffic is kept apart from production.
Under the keys is Verify installation. Paste the sandbox key, start verifying, and it waits for an event.
Now open the app.
And there it is. App opened, on sandbox. The event left the app, reached BillDog, and landed in sandbox, not production.
Second, the paywall. The app only names a placement: upgrade pro. What it serves is set here, in the dashboard, not in the app’s code.
Tap the button, and the placement serves a paywall. On the sandbox key, from a debug build.
Third, the purchase. The Test Store stands in for the store. Give it the app’s user ID, pick Lumen Pro Monthly, and create a test purchase.
It’s recorded as a sandbox purchase, and it never counts as real revenue.
That app user is now a sandbox customer, holding Pro Access.
Back in the app, reload. It reads the entitlement fresh, and Lumen Pro is unlocked. No real store, and no card.
An event that arrived. A paywall that showed. A purchase that unlocked. Proved before you ship, not after.