Skip to main content

tuna and Robokassa

Step 1. Download the client

Инструкция доступна на странице.

Step 2. Run a server to handle HTTP notifications

Information about incoming Robokassa notifications can be found in the official documentation, where you will also find code examples.

Step 3. Run tuna

Specify your server port in the startup arguments:

tuna http 8080

Or with a static address:

tuna http 8080 --subdomain=billing

Step 4. Specify the address for incoming notifications

From the My Shops section, go to the shop you need, then to the Settings section on the Technical Settings tab, here in the Result URL field you need to set addresses for receiving notifications: robokassa The URL consists of the address received from tuna (for example, https://billing.ru.tuna.am) and the path to your server's method for processing events (for example, /payments/pay).

After all settings are complete, you can use test payment methods to debug the interaction.