Skip to content

Commit

Permalink
0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 21, 2017
1 parent 0d5dc6e commit e7ca7b8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/yandex-kassa"
,"version": "0.1.4"
,"version": "0.1.5"
,"description": "The «Yandex.Kassa» (Яндекс.Касса, Yandex.Checkout) payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/yandex-kassa"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.12.12"}
,"require": {"mage2pro/core": ">=2.12.13"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\YandexKassa\\": ""}}
,"keywords": [
"API"
Expand Down
21 changes: 18 additions & 3 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,26 @@
<field id='optionsLocation'>magento</field>
</depends>
</field>
<field
id='optionsDisplayMode'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='12'
translate='label'
type='select'
>
<label>The payment options display mode</label>
<comment><![CDATA[]]></comment>
<depends>
<field id='enable'>1</field>
<field id='optionsLocation'>magento</field>
</depends>
<source_model>Df\Payment\Source\Options\DisplayMode</source_model>
</field>
<field
dfRows='3'
id='optionsDescription'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='12'
sortOrder='13'
translate='label'
type='Df\Framework\Form\Element\Textarea'
>
Expand All @@ -199,7 +214,7 @@
<field
id='optionsLimit'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='13'
sortOrder='14'
translate='label'
type='Df\Framework\Form\Element\Checkbox'
>
Expand All @@ -214,7 +229,7 @@
<field
id='optionsAllowed'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='14'
sortOrder='15'
translate='label'
type='Df\Framework\Form\Element\Multiselect'
>
Expand Down
1 change: 1 addition & 0 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ https://tech.yandex.com/money/doc/payment-solution/payment-form/payment-form-htt
</identification_rules>
<optionsAllowed>AB,AC,EP,GP,KV,MA,MC,MP,PB,PC,QW,SB,WM</optionsAllowed>
<optionsDescription><![CDATA[После нажатия кнопки «<b>Оплатить</b>» Вы будете перенаправлены на платёжную страницу Яндекс.Кассы, где Вам будут доступны следующие способы оплаты: {options}.]]></optionsDescription>
<optionsDisplayMode>images</optionsDisplayMode>
<optionsLocation>magento</optionsLocation>
<optionsPrompt><![CDATA[Выберите способ оплаты и нажмите внизу кнопку «<b>Оплатить</b>»:]]></optionsPrompt>
<requireBillingAddress>0</requireBillingAddress>
Expand Down

0 comments on commit e7ca7b8

Please sign in to comment.