Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Closed] Facebook Gameroom - IAP Initialization fail ~ NoProductsAvailable`

Discussion in 'Unity IAP' started by Bazz_boyy, Nov 23, 2017.

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

    Bazz_boyy

    Joined:
    May 22, 2013
    Posts:
    192
    Hello,

    Unity IAP is apparently unable to get the products from my Facebook Web Games Page Product URL. I'm using the payments lite method and I've followed the steps in their guide:

    https://developers.facebook.com/docs/games/gameroom/requirements/

    Here are the logs:
    UnityIAP FB: AuthCallback()
    UnityIAP FB: token UserId 121994451911483
    UnityIAP FB: token ExpirationTime 1/22/2018 6:28:18 AM
    UnityIAP FB: productRequest = /149415415785187/products
    UnityIAP FB: ProductListCallback() RawResult had an empty "data[]"
    IAP initialization failed! Reason: NoProductsAvailable

    I've double checked my product ID's so I don't know what this could be.

    I suppose payments lite isn't storing my products in the web app product domain for some reason :( perhaps I've missed something...

    Hope somebody can help me!

    Cheers
     
  2. Bazz_boyy

    Bazz_boyy

    Joined:
    May 22, 2013
    Posts:
    192
    Can anyone help? I need to push this app soon for work :,(
     
  3. RaventurnPatrick

    RaventurnPatrick

    Joined:
    Aug 9, 2011
    Posts:
    248
    I suppose you test within gameroom as they suggest?
    https://developers.facebook.com/docs/games/gameroom/build
    And create test user accounts accordingly?

    Other than that as it's just an outh api you can use any oauth client you like to test: https://www.getpostman.com/
    So you could try with postman.. probably your root url + /149415415785187/products + you need the client secret

    However I never worked with facebooks unity integration.. so other people here in the forums probably know more details
     
  4. Bazz_boyy

    Bazz_boyy

    Joined:
    May 22, 2013
    Posts:
    192
    Hi thundergod,

    Sorry for late reply, I have been quite busy.

    I can't test your solution now but I'll give it a go some time in the next week and let you know how it goes.

    Cheers
     
Thread Status:
Not open for further replies.