Покупки в играх доходят до сервера игры
Игра со своим сервером теперь узнаёт об оплате от платформы, а не от клиента: оплаченные звёздами Telegram и Zloy Coin покупки сервер забирает сам и выдаёт ровно один раз.
- Начисляет сервер по сумме, которую игрок действительно заплатил: подменённая в клиенте цена ничего не даёт.
- Если Zloy Coin не хватает, окно покупки на сайте называет недостачу и открывает Робокассу в новой вкладке ровно на неё. Игра остаётся открытой, покупка проходит сама, как только приходит оплата.
- Описание для разработчиков — на странице документации, раздел покупок.
In-game purchases reach the game server
A game with its own server now learns about payments from the platform, not from the client: the server collects purchases paid in Telegram Stars or Zloy Coin itself and hands each one out exactly once.
- The server credits the amount the player actually paid, so a price tampered with in the client gives nothing.
- If Zloy Coin falls short, the purchase window on the website names the gap and opens Robokassa in a new tab for exactly that sum. The game stays open, and the purchase goes through on its own once the payment arrives.
- Developer details are in the documentation, in the purchases section.
Комментарии 0
Пока нет комментариев.
Войдите, чтобы комментировать. Войти