Skip to main content

Payment System Configuration

In Flute, payment systems are configured with special attention to extensibility, which involves manually entering parameters for each payment driver. This approach ensures flexibility in integrating various payment services.

Configuration Process

Using the FreeKassa driver as an example, let's demonstrate how you can configure a payment system:

  1. Reviewing Driver Parameters: Open the Gateway.php file (or one ending in Gateway) which contains the getDefaultParameters function. This function represents the default parameters required for the driver to function. For FreeKassa, these might include:

    • purse - Store ID
    • secretKey - First secret key
    • secretKey2 - Second secret key
    • testMode - Test mode

    Example driver parameters

  2. Entering Parameters: According to the specified parameters, you need to enter them into the Flute system as shown in the following screenshot.

    Example configuration for FreeKassa

info

Note that some drivers, like FreeKassa, may require additional parameters such as currency. These parameters may not be included by default in the package, so you need to add them manually.

Features and Support

Each payment driver may have unique parameters and configuration features. It's important to remember that not all drivers may be up-to-date or fully compatible with the latest version of payment systems.

If you have any questions or encounter issues with configuration, you can always seek help in our Discord channel, where you'll receive support and assistance in resolving any issues that arise.