Search Unity

[Solved] Consumable item purchase fails on Android

Discussion in 'Unity IAP' started by novaVision, Sep 19, 2017.

Thread Status:
Not open for further replies.
  1. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    518
    Hi,
    I got 2 type of purchases in my game - consumable and non-consumable. On closed alpha-test (sandbox) non-consumable works fine, but on consumable item purchase I got this response - FAIL - unrecognized product. But it's shouldn't, because product was initialized on "OnInitialized" callback.
    I have set up all parameters according to the documentation. In google play console I selected "managed product" according to google docs.

    What could be wrong? Such a pain with that issue, can't find any similar case.
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @novaVision

    Could you share your purchase script? Or are you using Codeless IAP?

    Typically, the "unrecognized product" error indicates that the product ID that is purchased doesn't match the product ID that was initialized. Could you double check that those IDs match?
     
  3. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    518
    I checked it firstly, but missed silly mistake in a code.. Thanks anyway
     
Thread Status:
Not open for further replies.