tuna and YooKassa
Step 1. Download the client
Инструкция доступна на странице.
Step 2. Run a server to handle HTTP notifications
Information about incoming YooKassa notifications can be found in the official documentation, where you can also find instructions for creating a test store.
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
On the HTTP notifications page, in the Integration section, you need to specify the address for receiving notifications, such as payment status changes or refunds:
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/yookassa).
After all settings are complete, you can use test payment methods to debug the interaction.