· 11 min read · Nadeera Silva
Not Configured for Billing Through Google Play: Flutter Fix
Fix the Google Play error 'not configured for billing' in Flutter: publish to a track, match the applicationId and set up license testers, with a check script.

You tap Buy in your Flutter app and, instead of the Google Play purchase sheet, a dialog says "This version of the application is not configured for billing through Google Play. Check the help center for more information." That message means Google Play does not accept this install of your app for billing yet: the build, the way it was installed, or the Google account on the device doesn't line up with what Play Console knows. I checked every common cause against Google's own docs on 4 December 2026 and wrote a small script that tells you which check fails.
Quick answer
Google Play blocks billing for any app that isn't signed and uploaded to Play, unless the Google account on the device is a license tester. To fix "not configured for billing through Google Play", publish a build to a testing track (internal testing is enough), make sure the installed app's applicationId matches the Play app, and then either install the app from the track with an opted-in tester account or add that account under License testing. If it still fails, make the installed versionCode match a build on the track.
What this means for your app or business
This error almost never comes from your payment code. It is a setup problem between the build on the test phone and your Play Console account, so customers who download the live app from Google Play normally never see it. What it costs you is time: developers lose days trying code fixes, and test purchases or app review get delayed.
The fix usually takes an hour of setup plus up to a few hours of waiting for Google to process a new release. If a live app shows this message to real users, treat it as urgent: it usually means users are running a copy that didn't come from Google Play, or a build that went out without the billing library. That is when it is worth bringing in someone who has set up Play billing before.
Why does Google Play say the app is not configured for billing?
Google's testing guide states the rule in one sentence: the Play Billing Library is blocked for apps that aren't signed and uploaded to Google Play, and license testers can bypass that check, even with debug builds and debug signatures, as long as the package name matches the app in Play Console. Every cause below breaks one part of that rule.

| Cause | How to spot it | Fix | Source |
|---|---|---|---|
| No build on any track | Play Console shows no release under Testing | Upload an AAB to internal testing and roll it out | Play Console Help |
| applicationId differs | A flavor adds .dev or .debug | Test billing with the flavor whose ID is in Play | Android Developers |
| Sideloaded, account not a license tester | flutter run or adb install, account only in a track list | Add the account under License testing and save | Android Developers |
| Track install, account not opted in | Wrong account installed the app | Open the opt-in link with the account that buys | Android Developers |
| Products not active | Product list shows inactive or draft | Activate the product or subscription base plan | Play Console Help |
| versionCode not on a track | Local build is newer than the uploaded one | Upload that versionCode or install the track build | Community reports (Stack Overflow, RevenueCat) |
Which old answers are out of date?
The canonical Stack Overflow thread dates from 2012 and still ranks first. Two of its popular claims no longer match Google's docs:
- "You can't test with your developer account." Play Console Help now says your own publishing account is always considered a licensed tester.
- "You must sign with the release key." License testers can use debug builds with debug signatures. A signing mismatch only matters for accounts that are not license testers, and those must install from Play anyway.
Adding the BILLING permission by hand isn't needed either. I unzipped the Play Billing Library 9.1.0 AAR and its manifest already declares com.android.vending.BILLING, so it merges into your app automatically.
How does the error reach my Flutter code?
The dialog is shown by the Play Store app, not by Flutter. After the user closes it, the result comes back through your purchase listener. The one detailed log I found, in a RevenueCat community thread, shows DEVELOPER_ERROR with the debug message "Please ensure the app is signed correctly."
- in_app_purchase:
in_app_purchase_android0.5.5 turns any non-OK result into anIAPErrorwith codepurchase_errorand messageBillingResponse.developerError, delivered onpurchaseStreamwithPurchaseStatus.error. - RevenueCat:
purchases-androidmapsDEVELOPER_ERRORtoPurchaseInvalidError, whichpurchases_flutter12.1.0 surfaces asPurchasesErrorCode.purchaseInvalidError.
How do I fix it, step by step?
Step 1: Publish a build with billing to a track
Upload a signed AAB that includes in_app_purchase or purchases_flutter to Internal testing and roll it out. Play Console Help requires the app to be published to an open, closed, internal test or production track, and it recommends internal testing. Internal testing is not the closed test that counts toward the 12 testers for 14 days rule, so you can do this on day one. Then activate your products: Google notes you must publish one-time products and subscriptions before you can test them.
Step 2: Check the applicationId
Flutter flavors often add applicationIdSuffix ".dev". Play sees com.example.shop.dev as a different app with no billing setup. Run billing tests with the flavor whose ID matches the app in Play Console.
Step 3: Match the Google account to how you installed
There are two valid setups:
- Installed from the track. The account that installed the app opens the opt-in link and is in the track's tester list. If the device has several accounts, Google says the purchase uses the account that downloaded the app.
- Sideloaded (
flutter run,adb install, a CI-built APK). The device's Google account must be a license tester: Play Console, Play apps settings, Monetization settings, License testing. Select the list and click Save changes. In the RevenueCat thread, two developers fixed the error with exactly this step after it had been missing.
Step 4: Check what is actually installed
When I can't see the phone, I run this script against it. It reads the installed app's package name, versionCode, signing certificate and installer, and compares them with the values from Play Console. Get the SHA-256 values from Protected with Play, Manage Play app signing (app signing key and upload key).
#!/usr/bin/env bash
# check-play-billing-build.sh
# Usage: PLAY_SHA256="AA:..,BB:.." PLAY_VERSION_CODES="41,42" \
# ./check-play-billing-build.sh com.example.shop [--apk app.apk]
# Needs adb, apksigner and aapt2 (Android SDK build-tools) on PATH.
set -euo pipefail
pkg="${1:?package name, e.g. com.example.shop}"
apk="" ; [[ "${2:-}" == "--apk" ]] && apk="${3:?path to apk}"
norm() { tr -d ':' | tr '[:lower:]' '[:upper:]'; }
fail=0
installer="(local APK)"
if [[ -z "$apk" ]]; then
dump="$(adb shell dumpsys package "$pkg")"
[[ -n "$dump" && "$dump" == *"versionCode="* ]] || { echo "FAIL $pkg is not installed on the device"; exit 1; }
installer="$(sed -n 's/.*installerPackageName=\([^ ]*\).*/\1/p' <<<"$dump" | head -1)"
path="$(adb shell pm path "$pkg" | sed -n 's/^package://p' | grep base.apk | head -1 | tr -d '\r')"
apk="$(mktemp -d)/base.apk"
adb pull "$path" "$apk" >/dev/null
fi
badging="$(aapt2 dump badging "$apk" | head -1)"
apk_pkg="$(sed -n "s/.*package: name='\([^']*\)'.*/\1/p" <<<"$badging")"
apk_vc="$(sed -n "s/.*versionCode='\([^']*\)'.*/\1/p" <<<"$badging")"
apk_sha="$(apksigner verify --print-certs "$apk" | sed -n 's/^Signer #1 certificate SHA-256 digest: //p' | head -1 | norm)"
echo "package : $apk_pkg"
echo "versionCode : $apk_vc"
echo "signer SHA256: $apk_sha"
echo "installer : ${installer:-null}"
echo
if [[ "$apk_pkg" != "$pkg" ]]; then
echo "FAIL applicationId is $apk_pkg, Play app is $pkg (check flavors and applicationIdSuffix)"; fail=1
else
echo "OK applicationId matches"
fi
if [[ "$installer" == "(local APK)" ]]; then
echo "SKIP installer check (local APK)"
elif [[ "$installer" == "com.android.vending" ]]; then
echo "OK installed by Google Play (track build). Next: is this Google account an opted-in tester?"
else
echo "WARN not installed by Google Play. Billing works only if the device's Google"
echo " account is a LICENSE TESTER (Play Console > Play apps settings > License testing)."
fi
if [[ -n "${PLAY_SHA256:-}" ]]; then
if tr ',' '\n' <<<"$PLAY_SHA256" | norm | grep -qx "$apk_sha"; then
echo "OK signed with a key Play knows (app signing or upload key)"
else
echo "WARN signed with a key Play does not know (debug key?). Fine for a license"
echo " tester; for anyone else install the build from the Play test track."
fi
fi
if [[ -n "${PLAY_VERSION_CODES:-}" ]]; then
if tr ',' '\n' <<<"$PLAY_VERSION_CODES" | grep -qx "$apk_vc"; then
echo "OK versionCode $apk_vc is released on a Play track"
else
echo "WARN versionCode $apk_vc is not on any Play track you listed ($PLAY_VERSION_CODES)."
echo " Not a documented rule, but many devs report this error until they match."
fi
fi
exit $failIf the signing result surprises you, my post on the Android App Bundle signed with the wrong key error explains the upload key and app signing key in more detail.
Step 5: Log the real error in Dart
Listen from app start and print a hint next to the raw error, so the next person on the team doesn't start rewriting purchase code:
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:in_app_purchase/in_app_purchase.dart';
import 'package:purchases_flutter/purchases_flutter.dart';
String? explainPlayBillingError(IAPError? error) {
if (error == null) return null;
final msg = '${error.message} ${error.details ?? ''}';
if (msg.contains('developerError')) {
return 'Play rejected this install for billing (DEVELOPER_ERROR). '
'Check: installed from a Play test track OR account is a license tester; '
'applicationId matches Play; a build is published to a track; '
'products are Active.';
}
if (msg.contains('billingUnavailable')) {
return 'Billing unavailable: Play Store missing, outdated, blocked, '
'or no Google account on the device.';
}
return null;
}
StreamSubscription<List<PurchaseDetails>> listenForBillingErrors() {
return InAppPurchase.instance.purchaseStream.listen((purchases) {
for (final p in purchases) {
if (p.status == PurchaseStatus.error) {
debugPrint('Purchase error: ${p.error}');
final hint = explainPlayBillingError(p.error);
if (hint != null) debugPrint(hint);
}
}
});
}
// RevenueCat (purchases_flutter 12.x): the same Play result arrives
// as PurchasesErrorCode.purchaseInvalidError.
Future<void> buyWithRevenueCat(Package package) async {
try {
await Purchases.purchase(PurchaseParams.package(package));
} on PlatformException catch (e) {
final code = PurchasesErrorHelper.getErrorCode(e);
if (code == PurchasesErrorCode.purchaseInvalidError) {
debugPrint('Play said DEVELOPER_ERROR: ${e.message} ${e.details}');
} else if (code != PurchasesErrorCode.purchaseCancelledError) {
debugPrint('Purchase failed: $code ${e.message}');
}
}
}If your products don't load at all (notFoundIDs is not empty), that is a different problem. Work through my Flutter in-app purchase product not found checklist first.
How do I verify the fix?
- Run the script. You want
OKon applicationId, and eitherinstalled by Google Playwith an opted-in account, or a sideloaded build on a license tester account. - Tap Buy. The purchase sheet should open with a test notice and test payment methods such as "Test card, always approves".
- Finish the purchase and confirm your listener gets
PurchaseStatus.purchased(or a RevenueCatPurchaseResult), then acknowledge it.
I tested the script on the box with three APKs I built with aapt2 and signed with apksigner, using a stand-in for adb: a Play-signed track install (all OK, exit 0), a debug-signed sideload with a newer versionCode (three warnings), and a .dev flavor (FAIL, exit 1). The Dart helper passed flutter analyze and four unit tests against the real BillingResponse and PurchasesErrorCode types. I did not run it on a physical device for this post.
How do I stop it from happening again?
- Keep one internal testing release live at all times, with every product active.
- Make the whole team, plus any QA accounts, license testers at the account level.
- Test billing only with the production applicationId; keep flavors with suffixes for other work.
- Install test builds from the internal testing link when you need non-license-tester behaviour.
- Add the script to your release checklist and save its output with each test report.
Frequently asked questions
What does This version of the application is not configured for billing through Google Play mean?
Google Play does not accept this install of your app for billing. The app is not published to a track, the installed package name differs from the Play app, or the Google account on the device is not a tester for how the app was installed.
How do I fix not configured for billing through Google Play in Flutter?
Upload a build with the billing plugin to internal testing and roll it out, activate your products, and make sure the installed applicationId matches Play. Then install from the track with an opted-in tester, or add the device's Google account under License testing for sideloaded builds.
Can I test Google Play billing with flutter run or a debug build?
Yes, if the Google account on the device is a license tester and the package name matches the app in Play Console. Google says license testers can use debug builds with debug signatures without uploading each new version.
Does the versionCode have to match the build on Google Play?
Google's current testing docs do not list it as a requirement, but many developers on Stack Overflow and the RevenueCat community report the error until the installed versionCode matches a build on a track. If the other checks pass, matching it is a cheap thing to try.
Can I make test purchases with my own developer account?
Yes. Play Console Help says your own publishing account is always considered a licensed tester. The old advice that you cannot buy from your own developer account dates from 2012 and no longer applies.
What error code does RevenueCat return for this?
Google Play returns DEVELOPER_ERROR, which the RevenueCat Android SDK maps to PurchaseInvalidError. In purchases_flutter this is PurchasesErrorCode.purchaseInvalidError.
Why do users of my live app see not configured for billing?
Developers report two common causes: the user is running a copy that was not installed from Google Play, or the live build shipped without the billing library. Ask the user to reinstall from Google Play, and check that your production release includes the billing plugin.
How long does it take after uploading before billing works?
Google says it can take a few hours after you publish to a testing track before the app is available to testers. Changes to License testing can also need some time before they apply.
Sources
- Test your Google Play Billing Library integration (Android Developers, 2026-12-03)
- Test in-app billing and Age Signals API with application licensing (Play Console Help)
- Google Play Billing Library release notes (9.1.0) (Android Developers, 2026-06-18)
- Handle BillingResult response codes (DEVELOPER_ERROR) (Android Developers, 2026-11-16)
- BillingClient.BillingResponseCode reference (Android Developers, 2026-05-19)
- This version of the application is not configured for billing through Google Play (Stack Overflow, 2012-06-17)
- Android says This version of the application is not configured for billing through Google Play (RevenueCat Community, 2024-01-19)
- in_app_purchase 3.3.1 (pub.dev, 2026-09-18)
- in_app_purchase_android changelog (0.5.5) (pub.dev, 2026-10-19)
- purchases_flutter 12.1.0 (pub.dev, 2026-12-01)
- RevenueCat purchases-android: Play error mapping (errors.kt) (RevenueCat on GitHub)
Keep reading
- Flutter In-App Purchase Product Not Found: Fix ChecklistFlutter in_app_purchase returning notFoundIDs or an empty paywall? Work through the App Store and Google Play setup checks in the right order.
- Google Play ITEM_ALREADY_OWNED in Flutter: fix consumablesGoogle Play says "You already own this item" when a Flutter consumable was never consumed. Here is why it happens and a tested fix that clears it.
- Android App Bundle Signed With the Wrong Key: Flutter FixFix the Play Console error that your Android App Bundle is signed with the wrong key: compare SHA-1 fingerprints, sign Flutter builds right, or reset the key.
Comments
Share a question or note about this article.
Loading comments…