Whether you want to receive money from a customer (Feda Direct) or integrate FedaPay in your web or mobile application (Feda Commerce), accepting a payment is a process that comes in 3 steps.

Feda Direct

If you use Feda Direct, you can simply send a payment link to your customer from the dashboard interface of your FedaPay account.

To do so :

  • Create the customer
  • Create a transaction for the customer
  • Generate the payment link

Step 1: Create the customer

You can create a customer from the dashboard interface by filling in his last name, first name, email and phone number.
The customer email is unique for each account and allows you to identify your customers distinctly.

Customer registering

Step 2: Create a transaction
Each payment from FedaPay constitutes a transaction.
Creating a transaction is just as easy as adding a new customer.
From the interface of your dashboard, create a transaction by entering the amount of the transaction, a return link (optional) and a description.
Creating transaction

Step 3: Generate a payment link
Once the transaction is created, generate a payment link which you send to the recipient either by email or by simply copying the link and transfer it to your customer by any other mean of your choice.
This secure payment link ensures that the transaction was indeed generated by FedaPay.
Any link generated apart from the system will invalidate the transaction payment.
The link is valid for 24 hours. Generating payment link_1
Generating payment link_2
Generating payment link_3

Feda Commerce

If you are planning to use Feda Commerce, this means that you want to accept payments directly on your website or mobile application. In this case, start doing it quickly on your platform with Feda Checkout.
It combines HTML, JavaScript and CSS to create an integrated payment form. When your customer enters their payment information, the details are checked and validated so that your server-side code could run.


Step 1: Test out Feda Checkout
  • last name
  • first name(s)
  • a syntactically valid email address (ex: [email protected])
  • a valid phone number

Test out Feda Checkout to see how it works by clicking on the below button and filling the form which appears.


Step 2: Integrate the code

Add the following code to the payment page on your platform, ensuring that the information contained in this form are sent through your server-side code:


<!--
Replace YOUR_API_PUBLIC_KEY by the API public key of your sandbox or live account.
If you are using your live account, you must replace
the link by https://cdn.fedapay.com/checkout.js?v=1.1.7
-->
<form action="index.php" method="POST">
 <input type="hidden" name="field" value="test">
 <script
   src="https://cdn.fedapay.com/checkout.js?v=1.1.7"
   data-public-key="YOUR_API_PUBLIC_KEY"
   data-button-text="Pay 35000"
   data-transaction-amount="35000"
   data-transaction-description="Transaction description"
   data-currency-iso="XOF"
   data-widget-description="Your 100% african store"
   data-widget-image="https://cdn.fedapay.com/img/marketplace.svg"
   data-widget-title="Afrimarket">
 </script>
</form>

Make sure to fill in your public API key and not the secret API key. This is very important and don't communicate your API keys unless it is required


Step 3: Connect your account to Feda Checkout

Once the code is integrated, you will need to connect your FedaPay account to Feda Checkout so that the application can create the customers and transactions.
This step is necessary and secures your integration.

This step is necessary and secures your integration. In order to connect your account, click on the button generated by the code. Feda Checkout will ask you to log in to your account and then give account management rights.
Don’t worry, this action is only required once and allows you to link your application to Feda Checkout.

Once this step is completed, your application users will be able to make payments on it in one click.
On this page