Methods for testing in-game purchases

Requirement 1.13

Technical requirements for in-app purchases:

  1. The consummation method is enabled.
  2. The use of the portal currency complies with the requirements of the Portal currency display section.
  3. The game progress is saved on the server and available on different devices.
  4. All in-game purchases have a cost that's shown as a figure and portal currency name.
  5. The image, name, contents, and specifications of the item purchased by the user must match the parameters specified in the purchase offer.

Consummation method

1.13.1. The consummation method is enabled. If you add in-game purchases and test them before configuring consumption, there may be unprocessed payments after the tests, which will make moderation approval impossible.

Verification Steps

  1. If necessary, add a login for test purchases.
  2. Open the game.
  3. Make a purchase and wait for the modal window to appear.
  4. Without clicking on Okay in the modal window, refresh the page.
  5. Verify that the purchase is saved.

Automatic detection of portal currency

1.13.2. The use of the portal currency complies with the requirements of the Portal currency display section.

Verification Steps

  1. Start the game with the debug panel.

    1. Open the Yandex Games console.
    2. Select the game you need.
    3. In the top left corner, click on Open with debug panel.
    1. Open the required game.
    2. Add &debug-mode=16 to the end of the browser's address bar.
  2. Click on the SDK mocks ⚒️ button.

  3. Click on the currency icon 🪙. The parameter will change to Currency mock is enabled.

  4. Wait for 5 seconds and reload the game.

The currency text representation should change to TST, and the icon should change to the yen symbol (¥). If they have not changed, it means the SDK methods are not being used, violating requirement 3.8. Moderators will reject such game.

Saving Purchases

Warning

The game should have only one session running. Do not keep multiple browser tabs with the game open simultaneously.

1.13.3. Purchases made from one account should be saved and displayed when opening the game on other devices and browsers. For more information about the list of purchased items, see the section Getting a list of purchased items.

Verification Steps

  1. If necessary, add a login for test purchases.
  2. Open the game.
  3. Make a purchase and wait for it to be processed.
  4. Check that the purchase has been applied: purchased game assets have appeared in the game.
  5. Close the game tab.
  6. Enter the game on the same domain on another device or in a different browser.
  7. Log in with the same login.
  8. Check that the purchase and progress have been saved.

The purchase matches the offer

1.13.5. The image, name, contents, and specifications of the item purchased by the user must match the parameters specified in the purchase offer.

Disabling Ads

Verification Steps

  1. If necessary, add a login for test purchases.

  2. Open the game.

  3. Make a purchase and wait for it to be processed.

  4. Ensure that after the purchase, the in-game advertising disappears:

    • If the purchase's name or description states that all ads should be disabled, verify that after the purchase both full-screen blocks and sticky banners are gone.

    • If there are no specific instructions in the purchase description, all ads should be disabled after the purchase is made.

    Note

    During the ad disabling verification, the following do not need to disappear:

    • Full-screen block at the start. It will be forcibly displayed by the platform.

    • Reward video blocks, as viewing them grants players bonuses.

If any type of advertisement continues to appear after the purchase, it is considered a violation, and the game will be rejected.