Skip to main content

tuna and CloudPayments

Step 1. Download the client​

Instructions are available on the installation page.

Step 2. Run a server to process HTTP notifications​

Information about incoming CloudPayments notifications can be found in the official documentation.

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 sites section, go to the site you need, then in the Notifications section, you need to set addresses for receiving notifications: cloudpayments Each 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, you can use test payment methods to debug the interaction.