> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fedapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Plugins FedaPay

## WooCommerce

Integrating FedaPay into your WooCommerce store is simple thanks to our dedicated WordPress plugin. Follow this guide to install and configure the plugin so you can start accepting online payments quickly.

<Steps>
  <Step title="Download and Install the Plugin">
    You can download the FedaPay plugin:

    * Directly from this [link](https://wordpress.org/plugins/woo-gateway-fedapay/)

    * Or from your WordPress dashboard, go to **Plugins > Add New** and search for "FedaPay WooCommerce."

    ![Image Showing the plugin in WordPress](https://res.cloudinary.com/dvilp6td2/image/upload/v1731408081/plugin-WordPress_pv4rcu.png)
  </Step>

  <Step title="Activate the Plugin">
    Once the plugin is installed, activate it by clicking on **Activate**. Then, go to the WooCommerce settings to finalize the configuration.
  </Step>

  <Step title="Access WooCommerce Settings">
    To configure FedaPay, go to your WordPress dashboard and click on:

    * **WooCommerce**

    * **Settings**

    * **Payments**

    In this section, you will see all the available payment methods. At the bottom, you will find **FedaPay**.

    ![Image showing your WooCommerce store settings](https://res.cloudinary.com/dvilp6td2/image/upload/v1731408081/reglage-woocommerce_trdani.png)
  </Step>

  <Step title="Configure the FedaPay Gateway">
    Click on **Configure** next to FedaPay to open the configuration options.

    Here are the key settings to configure:

    * **Enable FedaPay**: Check this option to enable FedaPay and start receiving live payments.

    * **Test Mode (sandbox)** : Check this box only if you are testing. Leave it unchecked when you are in live mode to accept real payments.

    ![Image Showing the FedaPay configuration interface](https://res.cloudinary.com/dvilp6td2/image/upload/v1731408081/configuration-woocommerce-fedapay_aa6k5c.png)
  </Step>

  <Step title="Retrieve and Enter Your API Keys">
    To use FedaPay, you need to enter your API keys (private) for both the test and live environments. Here's how to retrieve them:

    1. Log in to your FedaPay account.

    2. Go to your FedaPay **dashboard**.

    3. Find the API keys for your **Sandbox (test)** and **Live (production)** accounts.

       * The **live** mode private key starts with **sk\_live**.

       * The **sandbox (test)** private key starts with **sk\_sandbox**.

    4. Copy these keys and paste them into the corresponding fields in the WooCommerce settings.

    ![Image Showing the API keys](https://res.cloudinary.com/dvilp6td2/image/upload/v1731408081/cle-woocommerce-fedapay_nwyzog.png)
  </Step>

  <Step title="Save the Changes">
    Once the API keys are correctly entered, click on **Save changes** to finalize the setup.
  </Step>

  <Step title="Payment Gateway Ready">
    Congratulations, your FedaPay payment gateway is now configured and ready to accept payments directly from your WooCommerce store !

    ![Image Showing the payment gateway active in WooCommerce](https://res.cloudinary.com/dvilp6td2/image/upload/v1731408081/passerelle-activer_ekwa2d.png)
  </Step>
</Steps>

With these simple steps, you can now enjoy fast and secure online payments through FedaPay on your WooCommerce store.

## PrestaShop

Integrating FedaPay into your PrestaShop store is easy with our dedicated plugin. Follow this guide to install and configure FedaPay quickly, so you can start accepting online payments with ease.

<Steps>
  <Step title="Download and Install the Plugin">
    You can download the FedaPay plugin for PrestaShop by clicking [here](https://www.fedapay.com/produit/plugin-fedapay-pour-prestashop/?v=ddd70bbaf5be).

    ![Image Showing the plugin](https://res.cloudinary.com/dvilp6td2/image/upload/v1731415086/prestashop-logo_bkbdkv.png)

    **Installation Steps :**

    1. Go to your PrestaShop dashboard.

    2. Click on **Modules > Module Manager**.

       ![prestashop mode](https://res.cloudinary.com/dvilp6td2/image/upload/v1731415087/module_prestshop_pnsvri.png)

    3. Click on **Install a module**.

    ![Image Showing how to access the module installation](https://res.cloudinary.com/dvilp6td2/image/upload/v1731415087/install_module_prestashop_lmzhw2.png)

    4. Upload the plugin file you downloaded.

       ![Image Showing where to upload the plugin](https://res.cloudinary.com/dvilp6td2/image/upload/v1731415086/televerser_module_prestashop_dz1zv9.png)

    Once the plugin is uploaded, the installation will start automatically. You will receive a success notification once the installation is complete.

    ![Image Showing installation confirmation](https://res.cloudinary.com/dvilp6td2/image/upload/v1731415087/confirme-install_prestashop_tj1d0g.png)
  </Step>

  <Step title="Configure the FedaPay Plugin">
    After installation, click on **Configure** to access FedaPay's settings.

    ![Image Showing the Configure button](https://res.cloudinary.com/dvilp6td2/image/upload/v1731416102/config_prestashop_habjbp.png)

    You can configure the plugin to work in either **Test Mode (Sandbox)** or **Live Mode** depending on your needs:

    **Test Mode (Sandbox) :**

    * Log in to your FedaPay **Sandbox account**.

    * Go to the **API** menu and copy the test secret key (**sk\_sandbox**).

    * Paste this key into the corresponding field in PrestaShop.

      ![Image showing sandbox configuration](https://res.cloudinary.com/dvilp6td2/image/upload/v1731416101/config_prestashop_sandbox_uaexbx.png)

    **Live Mode :**

    * Log in to your FedaPay **Live account**.

    * Go to the **API** menu and copy the live secret key (**sk\_live**).

    * Paste this key into the corresponding field in **PrestaShop**.

      ![Image showing live configuration](https://res.cloudinary.com/dvilp6td2/image/upload/v1731416102/config_prestashop_live_wpj2k1.png)
  </Step>

  <Step title="Configure the Currency (FCFA)">
    FedaPay currently only supports FCFA, so you need to configure this currency as the default in PrestaShop.

    **Steps to add FCFA :**

    1. Go to **International** > **Localization**.

       ![Image Showing access to localization](https://res.cloudinary.com/dvilp6td2/image/upload/v1731415087/module_prestshop_pnsvri.png)

    2. Click on the **Currencies** tab.

    ![Image showing currency tab](https://res.cloudinary.com/dvilp6td2/image/upload/v1731417650/currencie_prestashop_motwd3.png)

    3. Click on **Add a currency**.

       ![Image Showing how to add a currency](https://res.cloudinary.com/dvilp6td2/image/upload/v1731417650/ajout-devise_prestashop_yqzlmc.png)

    4. Select **FCFA** from the dropdown list.

    5. Set the conversion rate to Euro (if needed).

    ![Image Showing the conversion rate](https://res.cloudinary.com/dvilp6td2/image/upload/v1731417650/choisi-fcfa_prestashop_o2kaba.png)

    Once FCFA is added, it will appear in your store's currency list.

    ![Image Showing FCFA in the list of currencies](https://res.cloudinary.com/dvilp6td2/image/upload/v1731417650/ajout-devise_prestashop_yqzlmc.png)

    **Set FCFA as the default currency :**

    1. Return to **Localization**.

    2. Scroll down to the currency settings.

    3. Choose **FCFA** as the default currency.

    ![Image Showing how to set FCFA as default](https://res.cloudinary.com/dvilp6td2/image/upload/v1731417650/localisation_prestashop_du8mgw.png)
  </Step>

  <Step title="Finalize the Configuration">
    Once all the previous steps are completed, your PrestaShop store will be configured to accept payments via FedaPay.
  </Step>
</Steps>

## OpenCart

Integrating FedaPay into your OpenCart store is easy with our plugin. Follow these simple steps to install and configure FedaPay and start accepting payments.

<Steps>
  <Step title="Download and Install the Plugin">
    Download the FedaPay plugin for OpenCart by clicking [here](https://www.fedapay.com/produit/plugin-fedapay-pour-opencart/?v=ddd70bbaf5be).

    ![Image Showing the plugin](https://res.cloudinary.com/dvilp6td2/image/upload/v1731419530/opencart_sqnhxr.png)

    **Installation Steps :**

    1. Go to your **OpenCart dashboard**.

    2. Click on **Extensions** > **Install**.

       ![Image Showing the Extensions menu](https://res.cloudinary.com/dvilp6td2/image/upload/v1731419529/extension_opencart_egb2iy.png)

    3. Click the **Upload** button to upload the plugin you downloaded.

    ![Image Showing the plugin upload interface](https://res.cloudinary.com/dvilp6td2/image/upload/v1731419527/Upload_opencart_e0xvnp.png)

    <Note>
      **Important**: Do not change the name of the plugin file (fedapay.ocmod.zip) during upload, or the installation will fail.
    </Note>

    4. Once the upload is complete, click on the **Extensions** sub-menu to see the list of available extensions.

    ![Image Showing the list of extensions](https://res.cloudinary.com/dvilp6td2/image/upload/v1731419525/sous-menu_extension_opencart_xkaf42.png)

    5. Filter by category **Payments**.

    ![image showing the extension filter](https://res.cloudinary.com/dvilp6td2/image/upload/v1731419924/filter-extension_opencart_ad1srr.png)

    6. Find FedaPay in the list of payment methods.

    ![Image Showing the filter and the payment method list](https://res.cloudinary.com/dvilp6td2/image/upload/v1731419528/fedapay_opencart_teuxpk.png)

    7. Click the green button to install FedaPay.

       ![Image Showing the install button](https://res.cloudinary.com/dvilp6td2/image/upload/v1731419528/active-fedapay_opencart_fynw66.png)
  </Step>

  <Step title=" Configure the FedaPay Plugin">
    Once installed, you need to configure FedaPay to work with your store.

    1. Click the blue **Configure** button to access FedaPay’s settings.

    ![Image Showing the access to settings](https://res.cloudinary.com/dvilp6td2/image/upload/v1731420713/acces-reglage_opencart_obinib.png)

    2. Enable FedaPay by changing the Status from "Disabled" to "Enabled".

    ![image showing status](https://res.cloudinary.com/dvilp6td2/image/upload/v1731420713/active-status_opencart_kuxupa.png)

    3. Choose the environment according to your needs :

       * **Sandbox** if you want to test with a test account.

       * **Live** to start accepting real payments with your FedaPay account.

       ![Image Showing environment selection](https://res.cloudinary.com/dvilp6td2/image/upload/v1731420712/selection-environement_opencart_yuffpa.png)

    4. Depending on your selected environment, copy and paste the API secret key from your FedaPay account.

       * If you selected **Sandbox**, copy the API key from your FedaPay Sandbox account.

       * If you selected **Live**, copy the API key from your FedaPay Live account.

    ![Image Showing where to paste the API key](https://res.cloudinary.com/dvilp6td2/image/upload/v1731420712/api_opencart_zv8hzz.png)

    5. **Sort Order** : This field allows you to define the display order of FedaPay if you have multiple payment options. Fill in this field as per your preferences.

    6. Click the **Save** button at the top right to save your settings.

    ![Image: Showing the save button](https://res.cloudinary.com/dvilp6td2/image/upload/v1731420712/enregistrer_opencart_fc7izj.png)
  </Step>

  <Step title="Add and Configure the FCFA Currency">
    FedaPay only supports FCFA as the currency, so you need to add it and set it as the default currency.

    **Steps to add FCFA :**

    1. Click on **System** > **Localization** > **Currencies**.

       ![Image: Showing the path to currencies](https://res.cloudinary.com/dvilp6td2/image/upload/v1731421730/devise_opencart_qlqgoo.png)

    2. Click the blue Add a currency button.

       ![Image Showing how to add a new currency](https://res.cloudinary.com/dvilp6td2/image/upload/v1731421731/ajouter-devise_opencart_twnopw.png)

    3. Fill in the information for **FCFA** (name, symbol, conversion rate) and save.

       ![Image Showing the information to fill for FCFA](https://res.cloudinary.com/dvilp6td2/image/upload/v1731421729/sauvegarder-devise_opencart_vcgq7o.png)

    **Set FCFA as the default currency :**

    1. Go to **System** > **Settings**.

    ![Image Showing the path to settings](https://res.cloudinary.com/dvilp6td2/image/upload/v1731421730/parametre_opencart_kxathp.png)

    2. Click the **Edit** button to access your store’s settings.

    ![Image Showing the edit button](https://res.cloudinary.com/dvilp6td2/image/upload/v1731421730/modifier-devise_opencart_dk6qbb.png)

    3. Go to the **Local** tab, then in the **Currency** option, select **FCFA** from the currency list.

    ![Image Showing how to set FCFA as the default currency](https://res.cloudinary.com/dvilp6td2/image/upload/v1731421729/save_opencart_ao8cec.png)

    4. Click **Save**.
  </Step>

  <Step title="Complete the Integration">
    Your OpenCart store is now ready to accept payments via FedaPay !
  </Step>
</Steps>

## Feda Give Plugin Configuration for WordPress

With **Feda Give**, you can easily collect donations via Mobile Money and credit cards on your WordPress site. Follow this simple guide to install and configure the plugin.

<Steps>
  <Step title="Download and Install the Required Plugins">
    Before starting, make sure to install two essential plugins :

    1. **Give** – the main plugin for managing donations, available for free [here](https://wordpress.org/plugins/give/?utm_source=give\&utm_medium=marketing\&utm_campaign=download).

    2. **Feda Give** – the FedaPay payment plugin for donations, available [here](https://www.fedapay.com/produit/feda-give/?v=ddd70bbaf5be).
  </Step>

  <Step title="Configure the Give Plugin">
    Once both plugins are installed and activated, follow these steps :

    1. Go to **Donations** > **Settings** in the WordPress dashboard.

    ![Image Showing access to settings](https://res.cloudinary.com/dvilp6td2/image/upload/v1731423661/parametre_fedagive_dc3ge3.png)

    2. Click on the **Currency** tab in the General settings.

    3. Set **FCFA (XOF)** as the default currency, as Feda Give currently only supports this currency.

    ![Image showing Currency tab and FCFA selection](https://res.cloudinary.com/dvilp6td2/image/upload/v1731423661/devise_fedagive_fl3veq.png)

    ![Image showing Currency tab and FCFA selection](https://res.cloudinary.com/dvilp6td2/image/upload/v1731423662/devise1_fedagive_zzkq3q.png)

    4. Save the changes.
  </Step>

  <Step title="Enable the FedaPay Payment Gateway">
    After configuring the currency, activate FedaPay as a payment gateway :

    1. Click on the **Payment Gateways** tab in the Give settings.

    2. Check the box next to **FedaPay** to activate it.

    3. Click on the **FedaPay** section that appears after activation.

    ![Image Showing FedaPay activation](https://res.cloudinary.com/dvilp6td2/image/upload/v1731423661/passerelle_fedagive_xpkuik.png)
  </Step>

  <Step title="Configure Your FedaPay API Keys">
    For FedaPay to work properly, you need to link your FedaPay accounts using your secret API keys.

    1. Log in to your FedaPay **Sandbox** and **Live** accounts to retrieve the secret API keys:

       * **sk\_sandbox** for your test account.

       * **sk\_live** for your real (live) account.

    ![Image Showing where to retrieve the API keys](https://res.cloudinary.com/dvilp6td2/image/upload/v1731423662/api-cle_fedagive_r21vol.png)

    2. Copy and paste the secret API key for **test mode** in the corresponding field when using the test mode.

    3. Do the same with the live secret API key to receive real donations once you’re ready to go live.

    <Note> **Note**: Use the test key when the test mode is activated to avoid receiving real payments.</Note>

    ![Image Showing the test mode activated](https://res.cloudinary.com/dvilp6td2/image/upload/v1731423662/active_fedagive_wxj3ia.png)

    4. Save your changes.
  </Step>

  <Step title="Create a Donation Form">
    Once the configuration is complete, you're ready to create your donation form.

    1. Go to **Donations** > **Add Form** to create a donation collection form using Give.

    ![Image Showing the form addition](https://res.cloudinary.com/dvilp6td2/image/upload/v1731423661/formulaire_fedagive_emyycl.png)

    2. Customize your form as needed.

    Your Feda Give integration is now complete! You can now collect donations via Mobile Money and credit cards on your WordPress site.
  </Step>
</Steps>

## FedaPay Plugin Configuration for WHMCS

**WHMCS** is a simple-to-use web hosting automation system. If you manage a web hosting site with WHMCS, **FedaPay** offers an integration plugin to collect payments easily. Here’s how to install and configure it.

<Steps>
  <Step title="Install the Plugin">
    Before starting, follow these simple steps to install the plugin:

    1. **Create a FedaPay account** by signing up [here](https://live.fedapay.com/register).

    2. **Download the FedaPay WHMCS plugin** available on GitHub [here](https://github.com/fedapay/whmcs-fedapay).

    3. Once downloaded, you will need to copy the files into the appropriate folders in your WHMCS system.

    **File Structure to Copy :**

    ```
    modules/fedapay/
      callback/fedapay.php
      fedapay-php/
      fedapay.php
    ```

    * Copy the **fedapay-php/** folder and **fedapay.php** file into the **modules/gateways/** folder of your WHMCS installation.

    * Copy the contents of the **callback/** folder into **modules/gateways/callback/**.
  </Step>

  <Step title="Configure the Plugin in WHMCS">
    Once the plugin files are installed, follow these steps to configure FedaPay in WHMCS :

    **Step 1: Access Payment Settings**

    * In your WHMCS dashboard, go to **Setup > Payments > Payment Gateways**.

      ![Image showing how to access parameters](https://res.cloudinary.com/dvilp6td2/image/upload/v1731424814/parametre_whmcs_arsgwi.png)

      ![Image showing how to access parameters](https://res.cloudinary.com/dvilp6td2/image/upload/v1731424815/parametre1_whmcs_dn2k5h.png)

    * Click on the **All Payment Gateways** tab to view the full list of available payment gateways.

      ![Image Showing the list of payment gateways](https://res.cloudinary.com/dvilp6td2/image/upload/v1731424816/liste-passerelle_whmcs_l1y7oi.png)

    * In the list, select **FedaPay** to activate it.

    **Step 2: Activate and Configure FedaPay**

    * Check the box **Show on Order Form** to allow your customers to see FedaPay on the order form.

    * If you are in test mode, check the **Sandbox Mode** box. Otherwise, leave it unchecked for live transactions.

    **Step 3: Retrieve and Enter Your API Keys**

    * Log in to your **FedaPay Sandbox** (test) and **FedaPay Live** (real) accounts.

    * Copy the secret API keys for each mode:

      * **sk\_sandbox** for the test mode.

      * **sk\_live** for the real mode.

      ![Image Showing where to retrieve API keys](https://res.cloudinary.com/dvilp6td2/image/upload/v1731424816/active-fedapay_whmcs_krvp0l.png)

    * Paste these keys into the corresponding fields in WHMCS.

    **Step 4: Save Changes**

    Click **Save** to save your changes.
  </Step>

  <Step title="Add XOF (FCFA) Currency">
    To allow your customers to pay in FCFA (XOF), you need to add this currency in WHMCS.

    * In the **Payments** menu, click on **Currencies**.

    * Modify the default currency or add XOF as a new currency.

      ![Image showing the addition of the XOF currency](https://res.cloudinary.com/dvilp6td2/image/upload/v1731424816/ajout-devise_whmcs_ro5idt.png)

      ![Image showing the addition of the XOF currency](https://res.cloudinary.com/dvilp6td2/image/upload/v1731424816/ajout1-devise_whmcs_b85kby.png)
  </Step>

  <Step title="Finalize Configuration">
    You have now completed the FedaPay configuration for WHMCS. Your payment gateway is ready to accept payments via Mobile Money and credit cards.
  </Step>
</Steps>
