I wanna implement a store with facebook js sdk , but when I check whether payments is available for my game, the “getSupportedAPIs” doesn’t return “payments.purchaseAsync” neither in my local nor in dashboard test .
as document said :
Check whether payments is available for the session; use getSupportedAPIs and look for payments.purchaseAsync.
is there something that I’m missing ? I’m googling too but can’t find proper answer
“getSupportedAPIs” return this items :
[‘getLocale’,
‘getPlatform’,
‘getSDKVersion’,
‘getSupportedAPIs’,
‘getEntryPointData’,
‘player.getID’,
‘player.getName’,
‘player.getPhoto’,
‘context.getID’,
‘context.getType’,
‘context.isSizeBetween’,
‘logEvent’,
‘onPause’,
‘matchPlayerAsync’,
‘initializeAsync’,
‘setLoadingProgress’,
‘setSessionData’,
‘startGameAsync’,
‘player.flushDataAsync’,
‘player.getDataAsync’,
‘player.setDataAsync’,
‘player.subscribeBotAsync’,
‘player.getConnectedPlayersAsync’,
‘player.getSignedPlayerInfoAsync’,
‘context.switchAsync’,
‘context.chooseAsync’,
‘context.createAsync’,
‘context.getPlayersAsync’,
‘getInterstitialAdAsync’,
‘getRewardedVideoAsync’,
‘shareAsync’,
‘switchGameAsync’,
‘quit’,
‘canCreateShortcutAsync’,
‘createShortcutAsync’,
‘loadBannerAdAsync’,
‘hideBannerAdAsync’,
‘registerScreenshotProvider’,
‘arenas.getArenasAsync’,
‘getEntryPointAsync’,
‘getLeaderboardAsync’,
‘checkCanPlayerMatchAsync’,
‘context.isPublicAsync’,
‘player.canSubscribeBotAsync’,
‘player.getStatsAsync’,
‘player.setStatsAsync’,
‘player.incrementStatsAsync’,
‘postSessionScore’,
‘postSessionScoreAsync’,
‘room.getCurrentMatchAsync’,
‘squads.getAsync’,
‘squads.getPlayerSquadsAsync’,
‘squads.canUseSquadsAsync’,
‘tournament.postScoreAsync’,
‘tournament.joinAsync’,
‘tournament.getTournamentsAsync’,
‘shareLinkAsync’,
‘inviteAsync’,
‘squads.createAsync’,
‘tournament.createAsync’,
‘tournament.shareAsync’,
‘updateAsync’]