Skip to content

Commit

Permalink
0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 5, 2017
1 parent 8b7ddfb commit 4d9d199
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 7 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/qiwi"
,"version": "0.1.5"
,"version": "0.1.6"
,"description": "The «Visa QIWI Wallet» (QIWI Кошелёк) payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/qiwi"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.11.18"}
,"require": {"mage2pro/core": ">=2.11.21"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Qiwi\\": ""}}
,"keywords": [
"API"
Expand Down
34 changes: 29 additions & 5 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,34 @@ because the value can contain variables, so do not know the real length here. --
<validate>required-entry</validate>
</field>
<field
id='requireBillingAddress'
id='waitPeriod'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='16'
translate='label'
type='text'
>
<label>Wait period for a payment</label>
<comment><![CDATA[In days. The maximum wait period is <a href='https://mage2.pro/t/topic/4453/2' target='_blank' title='[QIWI Wallet] What is the maximum unpaid invoice lifetime?'><b>45 calendar days</b></a>.]]></comment>
<validate>validate-digits validate-digits-range digits-range-1-60</validate>
<depends><field id='enable'>1</field></depends>
</field>
<field
id='waitPeriodType'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='17'
translate='label'
type='select'
>
<label>Wait Period Type</label>
<source_model>Df\Config\Source\WaitPeriodType</source_model>
<comment><![CDATA[You can set the working days with the<br/>«<b>General</b>» → «<b>General</b>» → «<b>Locale Options</b>» → «<b>Weekend Days</b>» option.]]></comment>
<depends><field id='enable'>1</field></depends>
</field>
<field
id='requireBillingAddress'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='18'
translate='label'
type='Df\Framework\Form\Element\Checkbox'
>
<label>Require the billing address?</label>
Expand All @@ -173,7 +197,7 @@ because the value can contain variables, so do not know the real length here. --
<field
id='min_order_total'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='17'
sortOrder='19'
translate='label'
type='text'
>
Expand All @@ -185,7 +209,7 @@ because the value can contain variables, so do not know the real length here. --
<field
id='max_order_total'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='18'
sortOrder='20'
translate='label'
type='text'
>
Expand All @@ -197,7 +221,7 @@ because the value can contain variables, so do not know the real length here. --
<field
id='country_restriction'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='19'
sortOrder='21'
translate='label'
type='select'
>
Expand All @@ -208,7 +232,7 @@ because the value can contain variables, so do not know the real length here. --
<field
id='countries'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='20'
sortOrder='22'
translate='label'
type='Df\Framework\Form\Element\Multiselect'
>
Expand Down
3 changes: 3 additions & 0 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ https://corp.qiwi.com/en/company/world.action
<payment_action>authorize_capture</payment_action>
<title>QIWI Wallet</title>
<title_backend>QIWI Wallet</title_backend>
<!-- 2017-09-05 [QIWI Wallet] What is the maximum unpaid invoice lifetime? https://mage2.pro/t/4453 -->
<waitPeriod>45</waitPeriod>
<waitPeriodType>calendar_days</waitPeriodType>
</qiwi>
</df_payment>
<payment>
Expand Down

0 comments on commit 4d9d199

Please sign in to comment.