In App Billing Problem
I'm calling make purchase with product id: "android.test.purchased".
A Google Play dialog opens and I click buy.
It shows the message: "Payment successful".
The PURCHASESUCCESS listener is not called.
Instead The PURCHASEFAILED listener is called with:
data = null, errorCode = -1003, message = response:unknown.
After this the product "android.test.purchased" is considered to be owned.
When I try to call makePurchase again it leads to the following error:
errorCode = 7, message = response:item:already:owned.
Trying to consume this item also fails.
Now I can't use this item anymore (I'm changing the id of the application in the application.xml for the makePurchase to work).
We’re awaiting a fix from Google. It’s apparently in the release schedule.
-
Joe Pietroni commented
I ran into the same problem - however it is possible to successfully test a purchase using a real product id, if you ensure your device's Google account is set up as a test account in the admin console. It won't work with the developer account.
-
Hi,
Unfortunately this is an issue with the Google Play library and the test product. We're waiting for the fix to be released and as soon as it is we'll update the extension.
Regards,
Michael