PayPal plugin Documentation
PayPal plugin for LaraClassifier and JobClass.
Installation
To install this plugin:
- Go to your Admin panel → Add-ons (and click on "Install") to install it.
Compatibility
Compatible with the latest version of LaraClassifier and with the latest version of JobClass.
Update
Replace all the plugin's files on your server.
Configuration
Setting up credentials
- Get client ID and client secret by going to: https://developer.paypal.com/developer/applications and generating a REST API app. Get Client ID and Secret from there.
- Copy and paste the API client-id, and client-secret into the
/.envfile like this:PAYPAL_MODE=your-paypal-mode PAYPAL_CLIENT_ID=your-paypal-client-id PAYPAL_CLIENT_SECRET=your-paypal-client-secret
NOTE: The PAYPAL_MODE variable can be sandbox (for your sandbox account testing) or live (for your live or real account).
Translation
To translate this plugin into your language:
- Go to the languages folder at
/extras/plugins/paypal/resources/lang/ - Duplicate the folder
/extras/plugins/paypal/resources/lang/en/to/extras/plugins/paypal/resources/lang/<code>/
NOTE: Don't forget to replace<code>by your language code (e.g. "de" for German language). - Open the file
/extras/plugins/paypal/resources/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 folderpaypal/.