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:
-
Reviewing Driver Parameters: Open the
Gateway.php
file (or one ending inGateway
) which contains thegetDefaultParameters
function. This function represents the default parameters required for the driver to function. For FreeKassa, these might include:purse
- Store IDsecretKey
- First secret keysecretKey2
- Second secret keytestMode
- Test mode
-
Entering Parameters: According to the specified parameters, you need to enter them into the Flute system as shown in the following screenshot.
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.