Accept donations using GiveWP with Instamojo payment gateway.
👉 Not a developer? Running WordPress? Download Instamojo for Give on WordPress.org.
Welcome to the GitHub repository for "Instamojo for Give". This is the source code and the center of active development. Here you can browse the source, look at open issues, and contribute to the project.
If you're looking to contribute or actively develop, then skip ahead to the Local Development section below. The following is if you're looking to actively use the plugin on your WordPress site.
- WordPress 4.8 or greater
- PHP version 5.6 or greater
- MySQL version 5.6 or greater
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don't need to leave your web browser. To do an automatic install of "Instamojo for Give", log in to your WordPress dashboard, navigate to the Plugins menu and click "Add New".
In the search field type "Instamojo for Give" and click Search Plugins. Once you have found the plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking "Install Now".
The manual installation method involves downloading our donation plugin and uploading it to your server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.
This repository is not suitable for support. Please don't use GitHub issues for support requests. To get support please use the following channels:
- WP.org Support Forums - for all users
To get started developing on the plugin, you will need to go through the following steps:
- Create a new WordPress site with
<any-name>.test
as the URL cd
into your local plugins directory:/path/to/wp-content/plugins/
- Clone this repository from GitHub into your plugins directory:
https://github.com/mehul0810/instamojo-for-give.git
- Run composer to set up dependancies:
composer install
- Run npm install to get the necessary npm packages:
npm install
- Activate the plugin in WordPress
That's it. You're now ready to start development.
We rely on the following npm commands:
npm run pot
- This will help to generate POT language files for production release.
-
Ensure that you have
SCRIPT_DEBUG
enabled within your wp-config.php file. Here's a good example of wp-config.php for debugging:// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Loads unminified core files define( 'SCRIPT_DEBUG', true );
-
Commit the
package.lock
file. Read more about why here. -
Your editor should recognize the
.eslintrc
and.editorconfig
files within the Repo's root directory (if any exists). Please only submit PRs following those coding style rulesets. -
Read CONTRIBUTING.md - it contains more about contributing to Instamojo for Give.