M
M
Maxim Tkach2016-11-14 22:42:18
Classmates
Maxim Tkach, 2016-11-14 22:42:18

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

The information in the api refers to the purchase of currency through the frame, but how to do it from the mobile version?
That is, initialize the purchase of money in the game for Oki using a php script and send it to their handler?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2016-11-15
@profikgames

The mobile web has a special URL with opening a payment, an example of a call from the JS SDK:
https://github.com/odnoklassniki/ok-js-sdk/blob/ma...
And then the response processing is similar to the web version through frame - callback on your server script
A complete example of opening a payment order and accepting a response from it via ok-js-sdk
https://github.com/odnoklassniki/ok-js-sdk/blob/ma...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question