Skip to content

BillingService Android PurchasePlatformProductAsync Does Not Work #732

@david-maw

Description

@david-maw

Attempting to buy something always fails calling PurchasePlatformProductAsync.

Internally QueryProductDetailsAsync always returns "DEVELOPER ERROR: Invalid SKU type: InApp" because .SetProductType("InApp") is used to compose the QueryproductDetails parameter. The fix is to use .SetProductType(BillingClient.ProductType.Inapp) instead - it actually evaluates to "inapp" which the Android Play API recognizes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions