Namestitev in konfiguracija
Na spodnji povezavi si lahko prenesete zadnji Leanpay vtičnik skupaj z navodili.
Plugin Installation Guide via files
- Download Files
- Upload the files into Magento Root
- In terminal - bin/magento module:enable Leanpay_Payment
- In terminal bin/magento setup:upgrade
- In terminal - bin/magento cache:flush
- Navigate to Stores -> Configuration -> Sales -> Payment Methods, Leanpay tab
- Enable extension
Plugin Installation Guide via Composer (Updating)
- In terminal - composer require leanpay/payment
- In terminal - bin/magento module:enable Leanpay_Payment
- In terminal - bin/magento setup:upgrade
- In terminal - bin/magento cache:flush
- Navigate to Stores -> Configuration -> Sales -> Payment Methods, Leanpay tab
- Enable extension
Configurations - Admin
After successful extension installation, you can see its configurations in Stores -> Configuration -> Sales -> Payment Methods, Leanpay.com tab
Configuration Table
Configuration Name | Option/Field Type | Description | View |
---|---|---|---|
Enable Extension |
|
Enables or disables the extension. Disable is set by the default | Website |
Title | Input (26 characters is the limit) | Admin can enter the title of the payment method. It appears in the checkout. Default value is “Leanpay”. | Store View |
Description | Textarea (110 characters is the limit) | Admin can add the description that appears in the checkout if Leanpay payment method is selected. | Store View |
Base Currency Rate | String | Informative message that states current exchange rate. If the exchange rate is not set for base currency, the error will be displayed. By hovering on the tooltip, admin will see the helper message on how to set the currency exchange rate | Website |
Environment |
|
Allows to switch the environments between Demo and Production. Demo is set by default | Website |
API Key | Input | Merchant’s API Key has to be entered here. | Website |
Secret Word/td> | Input | Secret word associated with API Key | Website |
Payment from Applicable Countries | Select
|
When enable leanpay | Website |
Payment from Specific Billing Countries | Select
|
When enable leanpay | Website |