Fix a paywall that doesn't show or has no products
To fix a BillDog paywall that doesn't show, turn on SDK logging and read the result register returns. NO_PAYWALL_CONFIGURED means the dashboard chain is broken: the placement needs an offering, the offering needs a default paywall, and that paywall must be published. A paywall with no products means the store didn't return them, so check product IDs, store agreements and testing tracks.
Steps last checked against the SDK source on 15 Nov 2026.
What you'll build
- SDK logs that show what each placement resolved to
- The
registerresult decoded on iOS and React Native, with the Android and Flutter types named - A checked chain: placement, offering, default paywall, products, store, entitlement
1. Turn on SDK logging
3 minLogging is off by default on every platform. Turn it on in a debug build before you change anything in the dashboard, so you can see what the SDK asked for and what came back.
// .debug also prints the product counts. enableLogging: true alone logs at .info.
BillDog.shared.configure(
config: BillDogConfig(apiKey: "bd_public_test_YOUR_KEY", logLevel: .debug)
)// import io.billdog.core.BillDog
// import io.billdog.core.BillDogConfig
// In Application.onCreate(). enableLogging = true logs at DEBUG level.
val key = "bd_public_test_YOUR_KEY"
BillDog.configure(this, key, config = BillDogConfig(apiKey = key, enableLogging = true))BillDogConfiguration.configure({
apiKey: 'bd_public_test_YOUR_KEY',
logLevel: 'debug', // or enableLogging: true
});await BillDog.configure(
'bd_public_test_YOUR_KEY',
options: const BillDogOptions(enableLogging: true),
);Then call register once and read the Xcode console or Logcat. On Android, filter Logcat by the tag Placement for placement lines. One warning is worth looking for straight away: Placement 'onboarding' is unconfigured (auto-created on first sighting). It means the dashboard had no placement with that identifier, usually because of a typo.
2. Read what register returned
4 minregister tells you why nothing was shown. These are the outcomes that show no paywall, and what each one means:
- Entitled (iOS
.entitled, AndroidPlacementResult.Entitled, React Native{ type: 'entitled' }, FlutterPlacementEntitled): the placement has Requires access on and this user already has the entitlement. Working as intended. - Holdout (
.holdout,PlacementResult.Holdout,{ type: 'holdout' },PlacementHoldout): a campaign put this user in its holdout group. Working as intended. - No paywall configured: iOS returns
.error(BillDogError.noPaywallConfigured(placement:)), which you detect withisNoPaywallConfigured. Android returnsPlacementResult.Errorholding aNoPaywallConfiguredException. React Native returns{ type: 'error', code: 'NO_PAYWALL_CONFIGURED' }. Flutter returnsPlacementErrorwhoseerroris aNoPaywallConfiguredError. The dashboard chain is broken: go to step 3. - Withheld: the placement has Requires access on, the server excluded this user (
audience_excluded,wall_inactiveorholdout), and the user has no entitlement. iOS returns.error(BillDogError.placementAccessWithheld(...))with the reason. Android returns an error whose message says access to the placement is withheld; React Native returnstype: 'error'withcode: 'PLACEMENT_ACCESS_WITHHELD'and the reason; Flutter returns aPlacementErrorwhoseerroris aPlacementAccessWithheldError(aServerRefusalError) carrying the reason. - Any other error: usually the network, or
registercalled beforeconfigure. The error message says which.
import BillDogFull
func diagnosePlacement() {
Task {
do {
let result = try await BillDog.shared.register(placement: "onboarding")
switch result {
case .entitled:
print("Skipped: the user already has access")
case .holdout:
print("Skipped: the user is in a campaign holdout")
case .error(let error):
if let billdogError = error as? BillDogError, billdogError.isNoPaywallConfigured {
print("No paywall configured for this placement")
} else if case .placementAccessWithheld(_, _, let reason, _)? = error as? BillDogError {
print("Withheld: \(reason ?? "no reason given")")
} else {
print("Placement failed: \(error)")
}
default:
print("A paywall was shown: \(result)")
}
} catch {
print("register threw: \(error)")
}
}
}import { BillDog, NO_PAYWALL_CONFIGURED } from '@billdog.io/react-native';
async function diagnosePlacement() {
const result = await BillDog.register('onboarding');
if (result.type === 'error' && result.code === NO_PAYWALL_CONFIGURED) {
console.warn('No paywall configured for this placement');
} else if (result.type === 'error') {
console.warn('Placement failed', result.code, result.message);
} else {
console.log('register result', result.type);
}
}To check a placement without showing anything, call getPresentationResult (iOS getPresentationResult(forPlacement:), Android getPresentationResult(placementId), and the same name in React Native and Flutter). It returns paywall, user subscribed, no paywall, holdout or error. On iOS the answer is cached for 60 seconds.
3. Check the placement and its offering
4 minA placement with no campaign shows one offering: the one set as default; with no default, the first offering in the placement's list, so always set a default. A placement with no offering resolves to nothing. It doesn't fall back to the project's default offering.
- Open Monetization → Placements and find the identifier your code passes. Identifiers are case-sensitive. If the Linked Offerings column says No offerings linked, that is the broken link. The Gating column shows whether the placement requires access, and Campaigns how many campaigns target it.
- Open the placement and go to the Offerings tab. Tick the offering, click Set as Default, then Save Offerings.
- If the placement was auto-created by a typo, fix the identifier in your code instead, and delete the empty placement.
- Open Engagement → Campaigns. A campaign that matches the user decides what the placement shows, before the placement's own offering. That includes a campaign whose content is Holdout, which shows nothing.
4. Check the default paywall is published
5 minAn offering shows exactly one paywall to placements: its default paywall. Publishing a paywall doesn't make it the default, so a second paywall for the same offering publishes fine and is never shown.
- Open Monetization → Offerings, click Edit on the offering (or open it and click Edit Packages), and look at the Default Paywall card. It lists only paywalls that sell this offering. If the dropdown lists only None, no paywall sells this offering yet: open the paywall and choose this offering under Products → Offering, then publish.
- Pick the paywall in Default Paywall and click Save Changes.
- Open the paywall in Paywalls & Funnels and check it is published. An unpublished paywall serves nothing. On a placement with Requires access on, the server reports it as withheld with the reason
wall_inactive. - Watch the message after Publish. Placements won't show this paywall means the paywall uses the project default offering, or another paywall is the offering's default. The message offers a Make this the default paywall action for the second case.
If you use the BillDog MCP server, ask your AI agent to run resolve_placement_preview with the placement identifier. It returns what an SDK would receive: what served it (a campaign or the placement's offering), the offering, its packages and the assigned paywall. The AI agent codelab shows the setup.
5. Check the products have store IDs and load
5 minWhen the paywall shows but has empty price slots or no plans, the products are the problem. The server only sends a platform the products that have that platform's store ID.
- Open Monetization → Products. For iOS, each product needs an App Store Product ID. For Android, it needs a Play Store Product ID. A product without one is left out of that platform's offering.
- For a Play subscription with several base plans, use
subscriptionId:basePlanId, for examplepremium:yearly. A bare subscription ID lets the SDK choose the base plan. - Compare each ID with App Store Connect or Play Console character by character. Store IDs are case-sensitive.
Then read the logs from step 1. On iOS, [BD-PKG] StoreKit returned 1/3 products gives the count (debug level). When only some products come back, the SDK drops those packages and warns enrich dropped … package(s) in offering '<id>' (no store product). When none come back, it keeps the packages so the paywall can render and warns that purchases will fail until StoreKit is configured.
On Android, Logcat always shows one [BillDog] queryProductDetailsAsync line per product query, even with logging off. Read its returned= and unfetched= counts. Unfetched products are listed with a reason.
6. Fix the store-side causes
5 minIf the IDs match and the store still returns nothing, the cause is in App Store Connect or Play Console. BillDog can't sell a product the store won't sell.
- App Store, every product missing: the Paid Apps Agreement isn't Active, banking or tax is incomplete, or the bundle ID doesn't match the App Store Connect app. Check Business in App Store Connect first.
- App Store, some products missing: a product ID typo, or a product with no price or localization (Missing Metadata).
- App Store, works in Xcode only: a StoreKit configuration file is selected in the scheme. Set StoreKit Configuration to None to test against the sandbox.
- Google Play, nothing loads: the app has no build on any testing track, or the installed build's package name differs from Play Console (a
.debugsuffix counts). - Google Play, item unavailable: the device's Play account isn't a license tester or opted-in tester, or the product or base plan isn't active.
Each of these has a full fix page: iOS returns no products, Google Play ITEM_UNAVAILABLE, Android: no products and purchases do nothing and products load on one platform only. Browse the rest at /fixes. For first-time store setup, follow the App Store setup or Play Store setup codelab.
7. Check the entitlement and the cached answer
3 min- The paywall never shows for you but shows for others: the placement has Requires access on and your test account already bought, so
registerreturns entitled. Test with a fresh sandbox account, or check the placement's Required entitlement setting. - The purchase succeeds but nothing unlocks: the product isn't attached to an entitlement. Open Monetization → Entitlements, edit the entitlement and select the product.
- You fixed the dashboard but the app still shows the old result: the SDK reuses a placement's last answer for up to 30 minutes and refreshes it in the background. Call
registeragain or relaunch the app.
To test purchases end to end once the paywall shows, use the iOS sandbox or Android sandbox codelab, or the Test Store if you have no store products yet.