Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Problem setting up in-app billing: IabResult: 3, No suitable appstore was found (response: 3:Billing Unavailable) #531

Open
abhishekraisharma opened this issue Jul 22, 2016 · 0 comments

Comments

@abhishekraisharma
Copy link

com.badlogic.gdx.utils.GdxRuntimeException: java.lang.RuntimeException: Problem setting up in-app billing: IabResult: 3, No suitable appstore was found (response: 3:Billing Unavailable)
at com.*****$1.handleInstallError(PurchaseManager.java:125)
at com.badlogic.gdx.pay.android.openiab.PurchaseManagerAndroidOpenIAB$1$1.onIabSetupFinished(PurchaseManagerAndroidOpenIAB.java:249)
at org.a.a.f$4$1.onIabSetupFinished(OpenIabHelper.java:853)
at org.a.a.f.a(OpenIabHelper.java:940)
at org.a.a.f.b(OpenIabHelper.java:909)
at org.a.a.f.b(OpenIabHelper.java:84)
at org.a.a.f$4$2.run(OpenIabHelper.java:860)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7325)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.RuntimeException: Problem setting up in-app billing: IabResult: 3, No suitable appstore was found (response: 3:Billing Unavailable)
... 13 more

Hi there, I have implemented Gdx-Pay since 6-7 months till now. in some of my games.
And this one error is bugging me down.
I have followed every integration step and still having this issue.

There have been total 3,026 Reports of crashing when users trying to use the in-app purchase.
in my game https://play.google.com/store/apps/details?id=com.gw.studioz.racing.mountain.climb

    gdxPayVersion = '0.9.2'
    openIabVersion = '0.9.8.7'

in android it's

    compile "org.onepf:openiab:${openIabVersion}"
    compile "com.badlogicgames.gdxpay:gdx-pay-android:$gdxPayVersion"
    compile "com.badlogicgames.gdxpay:gdx-pay-android-openiab:$gdxPayVersion"
    compile "com.badlogicgames.gdxpay:gdx-pay-android-ouya:$gdxPayVersion"
    compile "com.badlogicgames.gdxpay:gdx-pay-android-amazon:$gdxPayVersion"

in core

    compile "com.badlogicgames.gdxpay:gdx-pay:$gdxPayVersion"
    compile "com.badlogicgames.gdxpay:gdx-pay-client:$gdxPayVersion"

manifest has

<!--Google Play-->
<uses-permission android:name="com.android.vending.BILLING" />
<!--Open Store-->
<uses-permission android:name="org.onepf.openiab.permission.BILLING" />
<!--Samsung Apps-->
<uses-permission android:name="com.sec.android.iap.permission.BILLING" />
<!--Nokia-->
<uses-permission android:name="com.nokia.payment.BILLING" />
<!--SlideME-->
<uses-permission android:name="com.slideme.sam.manager.inapp.permission.BILLING" />

It's running fine on my side, plus IAP is also working as I can see purchases in dashboard too.
But there are major crashes for some devices.
Can anyone please help me fixing this issue. I am missing something?

Note:
The integration wiki of gdx-pay has not been updated since long time.
The integration steps are shown by downloading and copying the jars not the gradle way.
If possible please update the wiki according to gradle integration so that no steps can be left out.

Thanks.

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

No branches or pull requests

1 participant