Manual API

The Manual API covers configuration for sites built manually with HTML codes. Copy the set of codes shown below into your payment page and you’re good to go.

Configuration Code:

<form method="post" action="https://www.flexpay.com.ng/pay">
      <!--your other HTML codes or parameters should come here-->
      <input type="hidden" name="fp_id" value=""/>
      <input type="hidden" name="fp_amount" value=""/>
      <input type="hidden" name="fp_customer_name" value=""/>
      <input type="hidden" name="fp_site_name" value=""/>
      <input type="hidden" name="fp_return_url" value=""/>
      <input type="submit" name="fp_pay" value="Pay"/>

Populate the values of the input (hidden) fields with your own values (FlexPay ID, Amount, Customer Name, Your Site Name, Return URL). Once this is done, you’re ready to start receiving payments.

Return Value:

To test for either success or failure of payment transaction, you can query the fp_return_value variable on your return page, for e.g. if your site is PHP based, you can simply do the following…

      if($_POST['fp_return_value'] == 'Success') {
             /* Do Something (e.g. store successful transaction details in your own database) */

If you’re not sure of what to do with this information you can contact us directly or any experienced developer to help you out with this.

WordPress API

The WordPress API (plugin) comes in handy for most wordpress sites. If you own or operate a wordpress website then, this is the right API (plugin) for you.

Get Plugin