2Checkout (v2.9) 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/twocheckout/
- Go to your Admin panel → Plugins (and click on "Install") to install it.
Compatibility
- v2.9 => LaraClassifier v11.0.2+ and JobClass v10.0.2+
- v2.8 => LaraClassifier (v11.0.0 to v11.0.1) and JobClass (v10.0.0 to v10.0.1)
- v2.7 => LaraClassifier (v10.2.0 to v11.0.0) and JobClass (v9.2.0 to v10.0.0)
- v2.6 => LaraClassifier v10.2.0 and JobClass v9.2.0
- v2.5 => LaraClassifier (v10.1.2 to v10.1.4) and JobClass (v9.1.3 to v9.1.5)
- v2.4 => LaraClassifier (v9.0.1 to v10.1.1) and JobClass (v8.0.1 to v9.1.2)
- v2.3 => LaraClassifier (v9.0.0 to v9.0.1) and JobClass (v8.0.0 to v8.0.1)
- v2.2 => LaraClassifier (v8.0.2 to v8.0.6) and JobClass (v7.0.2 to v7.0.6)
- v2.1 => LaraClassifier (v8.0.0 to v8.0.1) and JobClass (v7.0.0 to v7.0.1)
- v2.0 => LaraClassifier (v7.3.3 to v7.3.8) and JobClass (v6.1.3 to v6.1.8)
- v1.8 => LaraClassifier (v7.1.0 to v7.3.2) and JobClass (v5.9.0 to v6.1.2)
- v1.7 => LaraClassifier (v6.6 to v7.0.x) and JobClass (v5.4 to v5.8.x)
- v1.6 => LaraClassifier (v5.7 to v6.5) and JobClass (v4.5 to v5.3)
- v1.5 => LaraClassifier (v5.2 to v5.6) and JobClass (v4.0 to v4.4)
- v1.4 => LaraClassifier v5.1 and JobClass v3.9
- v1.3 => LaraClassifier (v4.9 to v5.0) and JobClass (v3.7 to v3.8)
- v1.1 to v1.2 => LaraClassifier (v3.1 to v4.8) and JobClass (v2.0 to v3.6)
- v1.0 => LaraClassifier v3.0 and JobClass v1.9
Update
Replace all the plugin's files on your server.
Configuration
Add the settings below in the script's /.env
file on your server:
TWOCHECKOUT_PUBLISHABLE_KEY= TWOCHECKOUT_PRIVATE_KEY= TWOCHECKOUT_SELLER_ID= TWOCHECKOUT_SECRET_WORD= TWOCHECKOUT_DEMO=false
Example of use:
TWOCHECKOUT_PUBLISHABLE_KEY=your-2checkout-publishable-key TWOCHECKOUT_PRIVATE_KEY=your-2checkout-private-key TWOCHECKOUT_SELLER_ID=your-2checkout-seller-id TWOCHECKOUT_SECRET_WORD=your-2checkout-secret-word TWOCHECKOUT_DEMO=true
NOTE:
- Integration modes supported:
redirect
andauthorize
. - To select an integration mode you have to use the variable
TWOCHECKOUT_INTEGRATION=
in the/.env
file like this:TWOCHECKOUT_INTEGRATION=authorize
. - Without adding the
TWOCHECKOUT_INTEGRATION=
variable in the/.env
, the default integration isredirect
. - To place a test order with 2Checkout's legacy Payment API, just add the demo variable
TWOCHECKOUT_DEMO=
with a value oftrue
like thisTWOCHECKOUT_DEMO=true
. Important: In the latest version of the 2checkout.com API, demo mode need to be set on the seller dashboard.
Translation
To translate this plugin into your language:
- Go to the languages folder at
/extras/plugins/twocheckout/lang/
- Duplicate the folder
/extras/plugins/twocheckout/lang/en/
to/extras/plugins/twocheckout/lang/<abbr>/
NOTE: Don't forget replace<abbr>
by your language code (e.g. "de" for German language). - Open the file
/extras/plugins/twocheckout/lang/<abbr>/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 foldertwocheckout/
.
Resources
No reviews found!
No comments found for this product. Be the first to comment!