Closed Chrompower closed 1 year ago
You do ([googleSkuArray], "inapp")
but googleSkuArray is ["tailskin1","tailskin2","tailskin3"]
so you end up with
([["tailskin1","tailskin2","tailskin3"]], "inapp")
- thats one array too much.
As it's already an array, just (googleSkuArray, "inapp")
should work.
Hello Niano,
yes, that was the problem. I am dumb.
Thank you very much <3
Hello everybody, when I am trying to query an array of SKUs, it does not work.
This is my array:
onready var googleSkuArray = ["tailskin1","tailskin2","tailskin3"]
This is how I am trying to query the SKUs:
This is my code for a completed query:
The "SKU QUERY SUCCESSFUL" gets printed, but nothing else. If I then try to buy an item with:
payment.purchase(tailskinx)
It does not work, nothing happens. If I query only one item with:
payment.querySkuDetails([tailskinx], "inapp")
... everything works fine.
According to the docs (https://docs.godotengine.org/en/stable/tutorials/platform/android/android_in_app_purchases.html), it should be possible to query an array of strings.
Am I doing something wrong? Or is this a bug? I would appreciate any help!