Search Unity

Question Iap Purchase fails "needs to be consumed first"

Discussion in 'Unity Distribution Portal (UDP)' started by LeventP, Nov 26, 2020.

  1. LeventP

    LeventP

    Joined:
    Jul 17, 2020
    Posts:
    22
    I am able to succesfully init and log in to the sandbox test user. When I purchase the item though I get the error: "Purchase failed: invalid operation: iap chip_0300 needs to be consumed first". I have not seen anything relating to this in the docs and I don't really know what I need to change in order to fix this. Help pls
     

    Attached Files:

  2. LeventP

    LeventP

    Joined:
    Jul 17, 2020
    Posts:
    22
    Turns out our server wasn't able to confirm the purchase because it had the wrong client id. So the purchase was stuck in "pending" status. Got it fixed when setting the correct client id and secret on our server