Giter Site home page Giter Site logo

olufemiobafunmiso / wp-rave-payment-forms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flutterwave/wordpress-v2

0.0 1.0 0.0 82 KB

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

License: MIT License

CSS 1.98% JavaScript 4.34% PHP 93.68%

wp-rave-payment-forms's Introduction

Rave Payment Forms

  • Contributors: bosunolanrewaju, Flutterwave
  • 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.9.8
  • 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
  • Uganda
  • Tanzania

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.
  • Recurring Payments - To enable recurring payments/subscription for your users, click the Enable Recurring Payment 'checkbox' to enable it. Go to your Rave Dashboard, navigate to 'Payment Plans' and click the 'Create Payment Plan' button to create a payment plan with an interval. The intervals accepted for this plugin are WEEKLY, MONTHLy, QUARTERLY, ANNUALLY/YEARLY.
  • 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="[email protected]" ]

or

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

With attributes and button text: email, amount

[flw-pay-button amount="1290" email="[email protected]" ]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

MIT License

wp-rave-payment-forms's People

Contributors

bosunolanrewaju avatar emmajiugo avatar flw-olufemi avatar kingflamez avatar olufemiobafunmiso avatar temiadesina avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.