Closed krasnikov-andrew closed 5 years ago
Are you testing this on mobile?
Yes. Nothing happens. Loading request returns false
get_purchases also return null. But i have iap products on Facebook
I recall that there were quite a few things I needed to setup before I could get both IAP and ads to work. Have you signed up for Audience Network? Do you have a Payment Account set up?
Yes. Yes. Do we need to review our app for test ads and IAP?
Ok, so for IAP:
What does fbinstant.on_payments_ready() return? And fbinstant.get_product_catalog(callback)? Have you followed these steps: https://developers.facebook.com/docs/games/instant-games/guides/in-app-purchases ?
For ads: Where do you see the "CLIENT_UNSUPPORTED_OPERATION"? In the console? When calling fbinstant.load_rewarded_video(placement, callback)?
Thanks for help! Problem with rewarded video solved. My account was added to Audience Network with developer permissions and now i can see ads.
But problem with IAP still actual. fbinstant.on_payments_ready() callback never triggered. fbinstant.get_product_catalog() return null. I will look for solution in facebook settings and write report in this thread.
Ok, good to hear that rewarded videos work!
For IAP it's probably some setting that is missing somewhere for your project. This is how it looks in the example project where IAP purchases are working:
Good news: administrators can see IAPs. Bad news developers cant. I don
t know why.
Ok, hmm, that might be something to ask Facebook about. You should ask this in the Instant Games group on Facebook.
Closing. Rewarded video was confirmed to work.
Rewarded video does not loading. Request throws: code: "CLIENT_UNSUPPORTED_OPERATION" message: "Client does not support the message: getrewardedvideoasync"