A
A
Alexander Sakharuk2018-01-17 18:23:34
Classmates
Alexander Sakharuk, 2018-01-17 18:23:34

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"}
.
Is there a proper way to call the subscribe window from html5? Or maybe some api initialization features to make the method work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Egorichev, 2018-01-19
@MaksimEgorichev

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 question

Ask a Question

731 491 924 answers to any question