Skip to content

Take donations and payments for services on your WordPress site using Rave.

License

Notifications You must be signed in to change notification settings

KTCNigeria/wp-rave-payment-forms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rave Payment Forms

  • Contributors: bosunolanrewaju
  • Tags: rave, payment form, payment gateway, bank account, credit card, debit card, nigeria, kenya, international, mastercard, visa
  • Requires at least: 4.4
  • Tested up to: 4.6
  • Stable tag: 0.1.2
  • License: MIT

Take donations and payments for services on your WordPress site using Rave.

Description

Accept Credit card, Debit card and Bank account payment directly on your WordPress site with the Rave payment gateway.

Take donations and payments easily and directly on your site

Signup for an account here

Rave is available in:

  • Nigeria
  • Ghana
  • Kenya

Installation

Automatic Installation

  • Login to your WordPress Dashboard.
  • Click on "Plugins > Add New" from the left menu.
  • In the search box type Rave Payment Forms.
  • Click on Install Now on Rave Payment Forms to install the plugin on your site.
  • Confirm the installation.
  • Activate the plugin.
  • Go to "Rave > Settings" from the left menu to configure the plugin.

Manual Installation

  • Download the plugin zip file.
  • Login to your WordPress Admin. Click on "Plugins > Add New" from the left menu.
  • Click on the "Upload" option, then click "Choose File" to select the zip file you downloaded. Click "OK" and "Install Now" to complete the installation.
  • Activate the plugin.
  • Go to "Rave > Settings" from the left menu to configure the plugin.

For FTP manual installation, check here.

Configure the plugin

To configure the plugin, go to Rave > Settings from the left menu.

Rave Settings Screenshot

  • Pay Button Public Key - Enter your public key which can be retrieved from "Pay Buttons" page on your Rave account dashboard.
  • Modal Title - (Optional) customize the title of the Pay Modal. Default is FLW PAY.
  • Modal Description - (Optional) customize the description on the Pay Modal. Default is FLW PAY MODAL.
  • Modal Logo - (Optional) customize the logo on the Pay Modal. Enter a full url (with 'http'). Default is Rave logo.
  • Success Redirect URL - (Optional) The URL the user should be redirected to after a successful payment. Enter a full url (with 'http'). Default: "".
  • Failed Redirect URL - (Optional) The URL the user should be redirected to after a failed payment. Enter a full url (with 'http'). Default: "".
  • Pay Button Text - (Optional) The text to display on the button. Default: "PAY NOW".
  • Charge Currency - (Optional) The currency the user is charged. Default: "NGN".
  • Charge Country - (Optional) The country the merchant is serving. Default: "NG: Nigeria".
  • Form Style - (Optional) Disable form default style and use the activated theme style instead.
  • Click Save Changes to save your changes.

Styling

You can enable default theme's style to override default form style from the Settings page. Or you can override the form class .flw-simple-pay-now-form from your stylesheet.

Usage

####1. Shortcode

Insert the shortcode anywhere on your page or post that you want the form to be displayed to the user.

Basic: requires the user to enter amount and email to complete payment

[flw-pay-button]

With button text:

[flw-pay-button]Button Text[/flw-pay-button]

With attributes: email or use_current_user_email with value "yes", amount

[flw-pay-button amount="1290" email="customer@email.com" ]

or

[flw-pay-button amount="1290" use_current_user_email="yes" ]

With attributes and button text: email, amount

[flw-pay-button amount="1290" email="customer@email.com" ]Button Text[/flw-pay-button]

####2. Visual Composer

The shortcode can be added via Visual Composer elements.

  • On Visual Composer Add Element dialog, click on "Rave Forms" and select the type of form you want to include on your page. Visual Composer Screenshot 1

  • On the "Form Settings" dialog, fill in the form attributes and click "Save Changes". Visual Composer Screenshot 2

  • Payment Form successfully added to the page. Visual Composer Screenshot 3

Transaction List

All the payments made through the forms to Rave can be accessed on Rave > Transactions page.

Rave Transactions Screenshot

TODO

  • Add advanced forms to include customization where user can choose what fields to add to the form.
  • Multiple Pay Button integrations.
  • More (that I can't think of ATM) - Suggestions and Feature request are highly welcome

Suggestions / Contributions

For issues, suggestions and feature request, click here. To contribute, fork the repo, add your changes and modifications, then create a pull request.

License

About

Take donations and payments for services on your WordPress site using Rave.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 93.6%
  • JavaScript 4.3%
  • CSS 2.1%