Skip to main content

Installing Payment Gateways

Flute utilizes the powerful library Omnipay for integrating payment gateways. Thanks to this, connecting most payment methods is significantly simplified.

Finding the Required Payment Gateway

First, you need to determine which payment gateway you want to use. To do this, go to Packagist and perform a search. For example, if you're looking for Omnipay PayPal, you'll see something like this: Example PayPal search

Installing the Gateway via Composer

Once you've found the suitable gateway, visit its page and copy the command for installation via Composer.

Composer installation command

Now, open your website's terminal and execute this command. You should see a message indicating successful installation. Installation process

Initializing and Using the Gateway

After installing the package, it will be automatically initialized by the Flute engine. Now you can use the selected payment gateway in your project. Initialization in Flute

Additional Configuration

For more detailed configuration of payment gateways in your Flute project, visit this page, where instructions for setting up payment systems are provided.