Answer the question
In order to leave comments, you need to log in
How to call showPaymentSubscription in HTML5 game?
When trying to call
FAPI.invokeUIMethod('showPaymentSubscription', item, price)
in html5 version of the game gives an error{error_code:-1,error_message:"UI methods are available only for apps running on OK portal"}
. Answer the question
In order to leave comments, you need to log in
I'll duplicate the answer with api-support for the sake of history: at the moment there is no such possibility in HTML5 games (HTML (Mobile) platform). Adding this feature is in our plans, but not in the near future.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question