Prerequisites
- Create a Flutterwave account at https://www.flutterwave.com
- Get your keys from https://dashboard.flutterwave.com/dashboard/settings/apis
- Test and live modes
- In test mode, payments are not processed by card networks or payment providers, and only test cards and accounts can be used.
- Flutterwave provides a toggle button to switch between live and test modes easily.
- More information: https://developer.flutterwave.com/docs/api-keys#test-and-live-modes
Installation
To install this plugin:
- Copy the plugin's (uncompressed) folder into the script's plugins folder like this:
/extras/plugins/flutterwave/ - Go to your Admin panel → Add-ons (and click on "Install") to install it.
Compatibility
- v2.1.0 => LaraClassifier v15.0.0+ and JobClass v14.0.0+
- v2.0.1 => LaraClassifier v14.2.0 and JobClass v13.2.0
- v2.0.0 => LaraClassifier (v14.0.0 to v14.1.0) and JobClass (v13.0.0 to v13.1.0)
- v1.2 => LaraClassifier (v11.0.0 to v13.0.0) and JobClass (v10.0.0 to v12.0.0)
- v1.1 => LaraClassifier (v10.2.0 to v10.2.6) and JobClass (v9.2.0 to v9.2.6)
- v1.0 => LaraClassifier (v10.0.0 to v10.1.4) and JobClass (v9.0.0 to v9.1.5)
Update
Replace all the plugin's files on your server.
Configuration
Add the settings below in the script's /.env file on your server:
FLUTTERWAVE_PUBLIC_KEY=
FLUTTERWAVE_SECRET_KEY=
FLUTTERWAVE_ENCRYPTION_KEY=
Example of use:
FLUTTERWAVE_PUBLIC_KEY=your-flutterwave-public-key
FLUTTERWAVE_SECRET_KEY=your-flutterwave-secret-key
FLUTTERWAVE_ENCRYPTION_KEY=your-flutterwave-encryption-key
NOTE:
- This plugin supports only card payments. Go to your accounts page and uncheck "Enable Dashboard Payment Options".
- Add your website logo using
FLUTTERWAVE_LOGO_URL=https://domain.tld/images/logo.png
Translation
To translate this plugin into your language:
- Go to the languages folder at
/extras/plugins/flutterwave/lang/ - Duplicate the folder
/extras/plugins/flutterwave/lang/en/to/extras/plugins/flutterwave/lang/<code>/
NOTE: Don't forget replace<code>by your language code (e.g. "de" for German language). - Open the file
/extras/plugins/flutterwave/lang/<code>/messages.phpand translate it.
NOTE: To translate the file, you must change the values and not the keys of PHP array.
Uninstallation
To uninstall this plugin, go to your Admin panel → Add-ons (and click on "Uninstall") to uninstall it.
Removing
To remove this plugin:
- Uninstall it
- Go in the folder
/extras/plugins/and remove the folderflutterwave/.