PayFlexi Instalment Payment Gateway for LifterLMS
=======================================

PayFlexi Installment Payment Gateway for LifterLMS allows you to accept installment or full payments from your customers before getting access your online courses, training and content. 

## Description

**PayFlexi Installment Payment Gateway for LifterLMS allows you to accept installment or full payments from your customers before getting access your online courses, training and content**. 

#### **About LifterLMS**

LifterLMS is a powerful WordPress learning management system plugin that makes it easy to create, sell, and protect engaging online courses and training based membership websites.

### Use Case for PayFlexi 

The opportunity to split the payment into several parts can increase the number of orders and facilitate the conversion of doubting users, especially if you are selling an expensive course. 
PayFlexi allows your customers to pay for courses immediately by paying the down payment and pay the remaining amount later in installments. Here are some benefits;

* Sell your premium courses at the right price without looking expensive.
* Start accepting down payment for courses ahead of launch (pre-order).
* Increase the average order and motivate your customers to pay for more expensive courses.
* Builds a trustworthy relationship between your business and the customers.
* Create an easy payment experience for your customers.
* Immediate cash flow

### Features

* Accept one-time payment or installment payment from your customers.
* Let customers customize plans within the limits that you set.
* Customers are automatically enrolled into a course after they complete their payment.
* Set the minimum amount to enable for installment payment.
* Set the minimum amount to enable for weekly or monthly installment payment.
* Accept payments via your existing payment processor and get paid instantly.
* Manage and view all payment schedules from your dedicated merchant dashboard.
* Customers have access to dedicated dashboard for managing their payment schedules.

With PayFlexi, you can bring your existing payment processor to accept payment. We currently support;

* __Stripe__
* __PayStack__
* __Flutterwave__

New Payment Gateways will be added regularly. If there is a Payment Gateway that you need urgently or a feature missing that you think we must add, [get in touch with us](https://payflexi.co/contact/) and we will consider it.

## Installation

#### Automatic Installation 
* 	Login to your WordPress Admin area
* 	Go to "Plugins > Add New" from the left hand menu
* 	In the search box type __PayFlexi Installment Payment Gateway for LifterLMS__
*	From the search result you will see __PayFlexi Installment Payment Gateway for LifterLMS__ click on __Install Now__ to install the plugin
*	A popup window will ask you to confirm your wish to install the Plugin.
*	After installation, activate the plugin.
* 	Open the settings page for LifterLMS and click the "Checkout" tab.
* 	Click on the __PayFlexi__ link from the available Checkout Options
*	Configure your __PayFlexi Payment Gateway__ settings. See below for details.

#### Manual Installation 
* 	Download the plugin zip file
* 	Login to your WordPress Admin. Click on "Plugins > Add New" from the left hand menu.
*  Click on the "Upload" option, then click "Choose File" to select the zip file from your computer. Once selected, press "OK" and press the "Install Now" button.
*  Activate the plugin.
* 	Open the settings page for LifterLMS and click the "Checkout" tab.
* 	Click on the __PayFlexi__ link from the available Checkout Options
*	Configure your __PayFlexi Payment Gateway__ settings. See below for details.

#### Configure the plugin 
To configure the plugin, go to __LifterLMS > Settings__ from the left hand menu, then click __Checkout__ from the top tab. You will see __PayFlexi__ as part of the available Checkout Options. Click on it to configure the payment gateway.

* __Enable/Disable__ - check the box to enable PayFlexi Payment Gateway.
* __Title__ - allows you to determine what your customers will see this payment option as on the checkout page.
* __Description__ - controls the message that appears under the payment fields on the checkout page.
* __Test Mode__ - Check to enable test mode. Test mode enables you to test payments before going live. If you ready to start receving real payment on your site, kindly uncheck this.
* __Test Secret API Key__ - Enter your Test Secret Key here. Get your API keys from your PayFlexi Merchant Account under Developer > API
* __Test Public API Key__ - Enter your Test Public Key here. Get your API keys from your PayFlexi Merchant Account under Developer > API
* __Live Secret API Key__ - Enter your Live Secret Key here. Get your API keys from your PayFlexi Merchant Account under Developer > API
* __Live Public API Key__ - Enter your Live Public Key here. Get your API keys from your PayFlexi Merchant Account under Developer > API
* Click on __Save Changes__ for the changes you made to be effected.

<strong>You have to set the Webhook URL in the [API Keys & Webhooks](https://merchant.payflexi.co/developers?tab=api-keys-integrations) settings page in your PayFlexi Merchant Account</strong>. Go to the plugin settings page for more information.

## Support 

Get timely and friendly support at, [PayFlexi Support](https://support.payflexi.co)

## Screenshots

![PayFlexi LifterLMS Payment Gateway Setting Page](assets/screenshot-1.png)

![PayFlexi LifterLMS Payment Gateway on the checkout page](assets/screenshot-2.png)

![PayFlexi Payment Plans Selection](assets/screenshot-3.png)

![PayFlexi LifterLMS Transactions History](assets/screenshot-4.png)

![PayFlexi Merchant Dashboard Schedule History](assets/screenshot-5.png)

## Changelog

= 1.0.0 - March 15, 2021 =
*   First release
