So I have a live app that can no longer make IAP on android. Every time the users call store.purchase({com.mycompany.id}), an error returns with InvalidClient The Marketplace app has not been properly configured with an account.
I can make purchases with other apps with the same account. I also tried another account, as well as tried on both my galaxy s4 (4.4.2) and s3 (4.3) with no luck. Note that both accounts are NOT my developer account.
here are my build settings:
plugins = { ["facebook"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, ["iphone-sim"]=true }, }, -- key is the name passed to Lua's 'require()' ["plugin.GameThrivePushNotifications"] = { -- required publisherId = "com.gamethrive", supportedPlatforms = { android=true }, }, -- Android requires Google Play Services with Corona v2014.2381 or later ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }, }, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs" }, ["plugin.notifications"] = { publisherId = "com.coronalabs" }, }, android = { permissions = { { name = "com.redpiston.veggieblast.permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", "com.redpiston.veggieblast.permission.C2D\_MESSAGE", }, },
I can also confirm I have the same version code as the one on the store, as well as the proper id’s. These purchases used to work but no longer work now. Any ideas?
Using build 2552, but also tried 2585 and 2393.
I also opened SampleCode/Store/InaAppPurchase sample app and I am experiencing the same issues.
store.canMakePurchases returns true, and store.loadProducts does not return anything on my callback. Everything works fine on iOS, and as I said, used to work on Android.
The app is live in the google play store now
https://play.google.com/store/apps/details?id=com.redpiston.veggieblast