libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
225 stars 83 forks source link

Googlebilling #171

Closed MrStahlfelge closed 5 years ago

MrStahlfelge commented 5 years ago

Google published a library for easy usage of payments. https://developer.android.com/google/play/billing/billing_java_kotlin

I did an implementation of gdx-pay using their library. It is very few code - less code, less errors! Can be used instead of OpenIAB and android-googleplay which uses the native libs.

This branch is based on my last PR.

keesvandieren commented 5 years ago

Thanks for providing the PRs! Currently I my agenda is busy, I will look at them on Friday.

keesvandieren commented 5 years ago

@MrStahlfelge we are using the old gdx-pay-android-googleplay library, and consider to switch to this.

One problem we now face, is that users who try to purchase using iDEAL continuously often fail to purchase the app. Do you know if the new API works better with iDEAL?

MrStahlfelge commented 5 years ago

Hi, I don't know iDEAL but it looks like a banking service to use with Google IAP instead of credit cards?

Of course I would appreciate if you use the playbilling implementation, too. But I doubt the approach using the billing lib will avoid these problems as they are probably not technically. The billing lib from Google used in playbilling is "just" a convenience wrapper around the same API googleplay implementation uses, so purchase flow is the same.