Installation
To install this plugin:
- Copy the plugin's (uncompressed) folder into the script's plugins folder like this:
/extras/plugins/cashfree/ - 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:
CASHFREE_MODE=live
CASHFREE_APP_ID=
CASHFREE_SECRET_KEY=
Example of use:
CASHFREE_MODE=your-cashfree-mode
CASHFREE_APP_ID=your-cashfree-app-id
CASHFREE_SECRET_KEY=your-cashfree-secret-key
NOTE: To place a test order with Cashfree's legacy Payment API, you have to:
- add the mode variable "
CASHFREE_MODE=" with a value of sandbox like thisCASHFREE_MODE=sandbox. - instead of provide the Cashfree mode, you can provide the environment base URL with the variable "
CASHFREE_BASE_URL=" in the/.envfile (optional). For example:https://sandbox.cashfree.com/pgis the actual Cashfree's sandbox endpoint base.https://payout-api.cashfree.comis the actual Cashfree's production endpoint base.
Translation
To translate this plugin into your language:
- Go to the languages folder at
/extras/plugins/cashfree/lang/ - Duplicate the folder
/extras/plugins/cashfree/lang/en/to/extras/plugins/cashfree/lang/<code>/
NOTE: Don't forget replace<code>by your language code (e.g. "de" for German language). - Open the file
/extras/plugins/cashfree/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 foldercashfree/.