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

Google market skip verification failed. (Billing unavailable) #395

@qrqlt

Description

@qrqlt

I'm using OpenIAB 0.9.8 for unity, and trying to make server-side verification on google play. But I have an issue - without putting my public key in storeKeys Map - it doesn't work, the output:

billingNotSupportedEvent: No suitable appstore was found (response: 3:Billing Unavailable)

Here it is piece of my code:

var options = new Options();
options.verifyMode = OptionsVerifyMode.VERIFY_SKIP;
options.prefferedStoreNames = new string[] { OpenIAB_Android.STORE_GOOGLE };
options.availableStoreNames = new string[] { OpenIAB_Android.STORE_GOOGLE };
options.storeSearchStrategy = SearchStrategy.INSTALLER_THEN_BEST_FIT;

In case putting public key - it works perfectly:

var publicKey = "Here_it_is_my_public_key";
var options = new Options();
options.verifyMode = OptionsVerifyMode.VERIFY_SKIP;
options.prefferedStoreNames = new string[] { OpenIAB_Android.STORE_GOOGLE };
options.availableStoreNames = new string[] { OpenIAB_Android.STORE_GOOGLE };
options.storeKeys = new Dictionary<string, string>{{OpenIAB_Android.STORE_GOOGLE, publicKey}};
options.storeSearchStrategy = SearchStrategy.INSTALLER_THEN_BEST_FIT;

AndroidManifest setted correctly.
What's I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions