godotengine / godot-google-play-billing

Godot Android plugin for the Google Play Billing library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getting error purchasing item // closed

chazzledazzle10 opened this issue · comments

hey guys please help me out ive been stuck for so long i dont know what to do. so this is my code for the purchase button down
image

and this is the result from the command line debugger when im using my phone
image

so i think its not connecting to the android/google api and the response.status code is 1 which i have been trying to figure out what it means?

please someone help

i will also add that in the connected function i have tried queryskudetails and query product details and they both make no differenced what so ever.

Some stuff I noticed:

  • are you using 2.0-rc1 of this plugin? the older ones won't work
  • do you have all the signals connected?
  • in _on_connected, you call your own signal function?
    instead, you need to call querySkuDetails() with the same parameters, and remove queryPurchases, it doesn't exist in 2.0
    calling it before purchase is required
  • all of this expects the IAP set up correctly with Google in the dev console and you need (!) to at least once upload a build to it (Testing Track is fine) and run the purchase from it (so, install it from Google and run), so it acknowledges that this iap is active. Just running it locally will not work, at least once you must run in from Google.

Hey thank you for the advise but I sorted this out.

👍

If you got it working you can close the issue as it's not a bug in the plugin then.

Hey thank you for the advise but I sorted this out.

👍

If you got it working you can close the issue as it's not a bug in the plugin then.

Hi mate ive just logged back in. i cant see a way to close the thread?

Hey thank you for the advise but I sorted this out.

👍
If you got it working you can close the issue as it's not a bug in the plugin then.

Hi mate ive just logged back in. i cant see a way to close the thread?

On Desktop, at the very bottom right next to "Comment" is a "Close Issue" button.