I have a problem with in-app purchases. I use Corona (2018.3215) with the IAP Badger plugin.
For testing:
Device 1: Account A (Developer), Account B
Device 2: Account C
I start my app on device 1 with account A (my developer account). I can call iap.loadProducts without any problems and the given function is executed. I can process all in-app product data (title, price) further. But I can’t buy the products, because it doesn’t work through the developer account. It’s all good so far. If I test the same app with my two test accounts (B and C), the products will not be loaded. I read Google’s page about creating test accounts. I put them on my alpha channel as testers. I also added them to my account details so you can make free trial purchases. No errors are reported via ADB.
What could be the reason why the In-App products are not loaded in the test accounts, but in the Developer account?
PS - out of curiosity, how many in-app products do you have? I’ve just searched for this error, and came up with a reference to Google IAP v3, where if you do a loadProducts with more than 20 items at once, it throws an error.
Wondered if that was relevant here, if Corona automatically batches calls in 20 to avoid error etc.
Clearing cache may help but are you building with a different certificate?
I can’t comment on the helper plugin you are using (I go direct) but I can confirm that if the IAPs are active they can be viewed/purchased by any client. I am moving from closed alpha to open alpha and I’ll change nothing (other than flipping the switch).
There error you are getting could be because you have purchased but not consumed a test purchase or because of a cert mismatch.
After deleting the cache and data for the Google Play App, the in app products were loaded. I can buy them with my test accounts. BUT after the confirmation of the payment I get this error:
After that, I made two new test:
I created a new test account. Result: Same problems.
I created a new entry in the Google Play Console with an other app id. Result: Same problems.