This plugin was initiated as a form of dedication and contribution to the entire PKP community
About Plugin #
RazorPay OJS 3 Plugin is a payment gateway plugin integrated with OJS 3. Currently, this plugin supports the OJS 3.3 version. By using this plugin your journal enables you to receive payment for the below activity :
- Article processing charge
- Subscription
- Issue or Article Download
Benefit Razorpay Plugin #
- Secure payment system (all the credential data upon transaction secured by Razorpay server)
- Allow receiving for many payment channels including international card owners.
- Receive payment for Article Processing Charge (APC)
- Receive payment for subscription
- Receive payment for the issue or article download
- Compatible with Indian business owners only or for the one who has a Razorpay account
Requirement: #
- Minimum OJS version 3.3.x or newer
- Your PHP server has the extension installed: PHP-zip, PHP-curl ( Usually it is installed automatically )
- You should have a Razorpay account (currently only provided for Indian business only)
How to InstallĀ #
Installing this plugin can be done in two ways, namely through the plugin gallery in OJS or uploading it manually on your server. The following is the explanation.
Direct from Plugin Gallery #
To install the Razorpay Plugin via the plugin gallery, please follow the steps below.
1. Please go to Dashboard > Settings > Website > Plugins > Plugin Gallery and then look for “Razorpay” in the list of plugins
2. Then click on the plugin. After the pop up menu appears, click Install.
3. Once successfully installed, please refresh and go to the Installed Plugin tab. Next, activate the plugin by clicking the check box as image bellow
Upload Manually #
1. Please download the Razorpay plugin at this link
2. Then upload and extract this plugin to your server folder at your_ojs_installation/plugins/paymethod
3. Make sure the plugin folder name is like the following image
How to Setup #
Plugin Activation #
1. After the installation success, the plugin will available in the “Installed Plugins” tab and you need to activate the plugin by clicking the check box.
2. Then please go to Dashboard > Settings > Distribution > Payments. Scroll down until you find the Razorpay configuration like this image.
Here you just need to add these inputs to allow your ojs domain to communicate with the Razorpay service.
To get the Key Id and Key Secret, please follow the next tutorial.
Get the Key ID and Key Secret from RazorPay #
As the plugin requires some API key from Razorpay, here is the guide to retrieve that information on your Razorpay account.
Access Razorpay dashboard #
Head to the Razorpay login page here: https://dashboard.razorpay.com/signin?screen=sign_in
Access the left menu setting
Then in this tab you will find the Key Id :
Click the Regenerate Test Key and it will show this pop-up:
The pop will present you with Key Id and Key Secrets
Configure the payment in OJS #
After all the required data including Key Id and Key Secret has been inserted into the Razorpay Payment Plugin settings, then you need to configure the plugin to integrate into the OJS by going back to the OJS backend.
Enable the payment #
Go to the Distributions menu
Access the Payment tab
After you click Save in the Payment tab, you need to refresh the browser to get a new menu on the left named Payment.
Configure the payment setting #
Access the payment setting by clicking the left menu of the OJS backend
Here you need to access the Payment Types
Now the PDF file will be available with some cost on the frontend journal page :
Additional Information : #
Article Processing Charge Process #
This plugin also supports the Article Processing Charge to an author.
This is how it works :
So when the Editor clicks the Accept Submission the article processing payment request will be sent to the author’s email and in their notification on the OJS dashboard.
For the detail on how to set up APC in OJS, you can click this link.
Configure the fee for an article or Issue Download #
The other feature of this plugin allows accepting the payment for the article and an issue fee.
Here you can configure the fee for the issue and article fee.
Configure the amount of the download fee #
Go to the Payments menu and access the Payment Types tab
You can set up the cost for the file download fee cost in these inputs.
Implement the configuration for the Issue #
After you are certain about the fee, you can configure the issue to restrict any user to download before he/she makes any payment for that issue/article files.
Access the Issues
Click the Back Issues tab
Make sure each of the issues is configured as above.
Then you can see in the front end of the journal you get some information about the required fee before anyone can download the article.
If you have any other questions or support regarding the product just contact us.