Installation
To install this plugin:
- Copy the plugin's (uncompressed) folder into the script's plugins folder like this:
/extras/plugins/iyzico/ - 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.8 => LaraClassifier (v11.0.0 to v13.0.0) and JobClass (v10.0.0 to v12.0.0)
- v1.7 => LaraClassifier (v10.2.0 to v10.2.6) and JobClass (v9.2.0 to v9.2.6)
- v1.6 => LaraClassifier (v10.1.2 to v10.1.4) and JobClass (v9.1.3 to v9.1.5)
- v1.5 => LaraClassifier (v10.0.0 to v10.1.1) and JobClass (v9.0.0 to v9.1.2)
- v1.4 => LaraClassifier v10.0.0 and JobClass v9.0.0
- v1.3 => LaraClassifier (v9.0.0 to v9.0.1) and JobClass (v8.0.0 to v8.0.1)
- v1.2 => LaraClassifier (v8.0.2 to v8.0.6) and JobClass (v7.0.2 to v7.0.6)
- v1.1 => LaraClassifier (v8.0.0 to v8.0.1) and JobClass (v7.0.0 to v7.0.1)
- v1.0 => LaraClassifier (v7.3.5 to v7.3.8) and JobClass (v6.1.5 to v6.1.8)
Update
Replace all the plugin's files on your server.
Configuration
Add the settings below in the script's /.env file on your server:
IYZICO_MODE=live
IYZICO_API_KEY=
IYZICO_SECRET_KEY=
Example of use:
IYZICO_MODE=live
IYZICO_API_KEY=your-iyzico-api-key
IYZICO_SECRET_KEY=your-iyzico-secret-key
NOTE: To place a test order with iyzico's legacy Payment API, you have to:
- add the mode variable IYZICO_MODE= with a value of sandbox
- or add the sandbox base URL variable IYZICO_BASE_URL= with a value of https://sandbox-api.iyzipay.com
Translation
To translate this plugin into your language:
- Go to the languages folder at
/extras/plugins/iyzico/lang/ - Duplicate the folder
/extras/plugins/iyzico/lang/en/to/extras/plugins/iyzico/lang/<code>/
NOTE: Don't forget replace<code>by your language code (e.g. "de" for German language). - Open the file
/extras/plugins/iyzico/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 folderiyzico/.
Resources
- iyzico - Sandbox
- iyzico - Getting started with Auth, Checkout Form, Initialize, and Retrieve options
- iyzico - PHP Library
- iyzico - Test cards