Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't buy an item #56

Open
FNGEntertainment opened this issue Oct 4, 2023 · 10 comments
Open

Can't buy an item #56

FNGEntertainment opened this issue Oct 4, 2023 · 10 comments

Comments

@FNGEntertainment
Copy link

Hello! Thank you very much for sharing the plugin with us, I have an error and I am using version 2.0.0 of the plugin, the problem is that when I press the buy button, I have two errors:


Mistake

This version of the app was not configured to be billed through Google Play.

[Accept]

and

Mistake

This item you requested is not available for purchase

[Accept]

What can be?
I have done the same as in the tutorial, I have followed this
https://www.youtube.com/watch?v=qejP2VwvlYE&t=158s
I would really appreciate an answer ^^

@NianoTT
Copy link

NianoTT commented Oct 4, 2023

Did you setup the IAP in the Play Console, and is it "active" there?

@FNGEntertainment
Copy link
Author

FNGEntertainment commented Oct 4, 2023 via email

@FNGEntertainment
Copy link
Author

Oh wait, do I copy the code of the files like build.gradle to my project? maybe is that the issue

@NianoTT
Copy link

NianoTT commented Oct 5, 2023

No, thats not something you have to do.

But I'm wondering, are you trying with an export from the editor? For IAP to work, you need to install it from Google Play - if you are trying with your project deployed to your device from the phone, that won't work*.

* for the first time. As soon you have installed it from Google Play and used the IAP once, you can then uninstall it, deploy from the editor and it will work.

@FNGEntertainment
Copy link
Author

but let's see, I just saw the .gradle settings files and that's what github has, I see mine and they are different, they don't have those lines of code, should I add them? maybe that's the problem.

And yes, I tried to export from the editor and it doesn't work, nor downloading it from Google, I think it must be the files, I don't know.

@NianoTT
Copy link

NianoTT commented Oct 5, 2023

Normally you should not have to edit it as it's autogenerated.

There must be some step that is missing,.. Did you upload a build to Google Play after you created the IAP? If not, you should do it.

@FNGEntertainment
Copy link
Author

From what I see, it is not generated automatically, because the github has new lines that I do not have, and I do not understand that thing about the iap that you say, you have discord?

@FNGEntertainment
Copy link
Author

Yes, I have created the iap and I have uploaded it to Google as a video I said, but I don't know if it makes sense because before I have tried two Google plugins and they worked without having to upload to Google Play, for example admob and google play services (login , achievements etc)

@NianoTT
Copy link

NianoTT commented Oct 5, 2023

Come to the Godot discord: https://discord.gg/4JBkykG
#mobile-dev channel

Billing is different as it requires Google to update the stuff in the background.

@kyadalu1
Copy link

kyadalu1 commented Jan 6, 2024

Try this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants