## DOCUMENTATION

Paypal (v2.2.1) plugin for LaraClassifier and JobClass.

### Installation

To install this plugin:

- Copy the plugin's (uncompressed) folder into the script's plugins folder like this: `/extras/plugins/paypal/`
- Go to your Admin panel → Plugins (and click on "Install") to install it.

### Compatibility

- v2.2.1 => LaraClassifier (Latest Version) and JobClass (Latest Version)

### 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 /.env file like this:

    PAYPAL_MODE=your-paypal-mode
    PAYPAL_CLIENT_ID=your-paypal-client-id
    PAYPAL_CLIENT_SECRET=your-paypal-client-secret

### Translation

To translate this plugin into your language:

- Go to the languages folder at `/extras/plugins/paypal/lang/`
- Duplicate the folder `/extras/plugins/paypal/lang/en/` to `/extras/plugins/paypal/lang/<code>/`
  NOTE: Don't forget replace `<code>` by your language code (e.g. "de" for German language).
- Open the file `/extras/plugins/paypal/lang/<code>/messages.php` and 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 → Plugins (and click on "Uninstall") to uninstall it.

### Removing

To remove this plugin:

- Uninstall it
- Go in the folder `/extras/plugins/` and remove the folder `paypal/`.