How to buy game currency through the mobile portal m.ok.ru?

The information in the api refers to the purchase of foreign currency through the frame, and how to do it with the mobile version?
That is, to initialize the purchase money in the game for Oki using php script and send it to their handler?
July 2nd 19 at 16:57
1 answer
July 2nd 19 at 16:59
Solution
The mobile web is a special URL with the opening of bills, an example of calling it from the JS SDK:
https://github.com/odnoklassniki/ok-js-sdk/blob/ma...

And then the response is processed similar to web version using a frame callback to your server-side script

A full example of opening the bills and taking the response from it through ok-js-sdk
https://github.com/odnoklassniki/ok-js-sdk/blob/ma...

Find more questions by tags Classmates