Skip to Content
Menu

Payment Provider: Flouci

by
Odoo
v 18.0 Third Party 60
Download for v 18.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 336
Technical Name payment_flouci
LicenseLGPL-3
Versions 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 336
Technical Name payment_flouci
LicenseLGPL-3
Versions 17.0 18.0

Payment Provider: Flouci

Flouci is a tunisian payment provider. It provides an easy payment experience for your customers and an easy integration process for the developers. Payment process works by initializing Payment Requests and then the customers accepting those Payment Requests.

  1. Create payment request URLs, each request has a unique Payment Reference.
  2. Your customers have the choice to specify their payment methods.
  3. You receive the payment confirmation with a unique Payment ID.
SETUP

Create a Flouci account on:
https://app.flouci.com/account/register
Actually, when you register on the Flouci platform, two accounts will be created automatically:

  1. Personal or Professional Account: to start accepting payments.
  2. Developer API Account for testing the module.

N.B. You can switch between your personal, professional, and developer accounts from the top left corner.

After switching to the suitable account, you need to create a New Application by clicking on the button framed in red and filling out the form bellow.

After installing the Flouci module, the Flouci provider will be added to the list of payment providers under the menus:

  • Sales/Configurations/Online Payments/Payment Providers
  • Accounting/Configurations/Online Payments/Payment Providers
  • Invoicing/Configurations/Online Payments/Payment Providers
  • Website/Configurations/eCommerce/Payment Providers

A Flouci Methods payment method will also be added to the list of payment methods under the menus:

  • Sales/Configurations/Online Payments/Payment Methods
  • Accounting/Configurations/Online Payments/Payment Methods
  • Invoicing/Configurations/Online Payments/Payment Methods
  • Website/Configurations/eCommerce/Payment Methods

We need to fill in the Flouci credentials. To do this, We open the Flouci payment provider form view.
First, We copy the Public Token framed in red from the Flouci Application.

Then, We paste it into the App Token field framed in red of the Flouci provider form view.

We also copy the Private Key framed in red from the Flouci Application.

Then, We paste it into the App Secret field framed in red of the Flouci provider form view.

To complete the configuration of our payment provider, We access the Configuration tab in which there are the additional configurations. We must select a Payment Journal in the field framed in red. We can also customize our provider by modifying the following fields:

  • Accept Card: Allow payments through debit cards and e-dinar cards.
  • Session Timeout: Duration of the payment session before the payment transaction expires, in seconds.
  • Payment Journal: the financial journal used to record and manage payments made by the current provider.
  • Maximum Amount: The maximum amount per transaction.
  • Currencies: By default, the only available currency for the Flouci payment provider is TND.
  • Countries: By default, the only available country is Tunisia.

After customizing our payment provider, We need to change its State to either "Test Mode" or "Enabled" to enable it. Then, We need to publish Flouci by clicking on the Unpublished button framed in red.

Finally, our provider configuration is complete. We can use it by accessing our Website, putting the products to buy in the cart. Then, We open the Cart.
First, We must fill in the delivery and billing addresses. Then, We must choose a payment method. Then, We click on the Pay now button.
The available currencies for the Flouci payment provider and payment methods must be TND, as TND is the only supported currency in Flouci. Additionally, the available countries must also be the same for both Flouci payment provider and Flouci payment methods. Furthermore, the billing address must be compatible with the Flouci payment provider available countries.

We fill out the payment form with the bank card credentials below.
To test our payment provider, Flouci gives us the following credentials:

  • To test the wallet transactions, use code 111111 for success and 000000 for failure.
  • To test the card transactions, use card number 4242 4242 4242 4242 for success, and any other combination of 16 characters for failure.

The payment is processed and the Odoo is making the necessary changes.

Finally, the payment has been successfully processed, the transaction has been recorded, and the shopping cart is now empty.

To verify that the transaction was successful, We can view the dashboard of Flouci payment provider.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.