Prerequisites
- Create an Adyen account at https://www.adyen.com
- Each API request that you make to Adyen is processed through an API credential linked to your company account. For an API request to be successful, you need to:
- Generate an API key or basic authentication username and password.
- Have the required API permissions.
Installation
- Copy the plugin's (uncompressed) folder into the script's plugins folder like this:
/extras/plugins/adyen/ - 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.0 => LaraClassifier (v14.0.0 to v14.2.0) and JobClass (v13.0.0 to v13.2.0)
- v1.2 => LaraClassifier (v11.0.0 to v13.0.0) and JobClass (v10.0.0 to v12.0.0)
- v1.1 => LaraClassifier (v10.0.0 to v10.2.6) and JobClass (v9.0.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:
ADYEN_MODE=live
ADYEN_API_KEY=
ADYEN_MERCHANT_ACCOUNT=
ADYEN_CLIENT_KEY=
Example of use:
ADYEN_MODE=your-adyen-mode
ADYEN_API_KEY=your-adyen-api-key
ADYEN_MERCHANT_ACCOUNT=your-adyen-merchant-account
ADYEN_CLIENT_KEY=your-adyen-client-key
NOTE: To place a test order with Adyen's legacy Payment API, you have to:
- add the mode variable
ADYEN_MODE=with a value ofsandboxorlivelike thisADYEN_MODE=sandbox.
Translation
To translate this plugin into your language:
- Go to the languages folder at
/extras/plugins/adyen/lang/ - Duplicate the folder
/extras/plugins/adyen/lang/en/to/extras/plugins/adyen/lang/<code>/
NOTE: Don't forget replace<code>by your language code (e.g. "de" for German language). - Open the file
/extras/plugins/adyen/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 folderadyen/.