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 5, 2017
1 parent fd061a2 commit 2db9a9b
Show file tree
Hide file tree
Showing 3 changed files with 9 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.4"
,"version": "0.1.5"
,"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.12"}
,"require": {"mage2pro/core": ">=2.11.18"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Qiwi\\": ""}}
,"keywords": [
"API"
Expand Down
7 changes: 2 additions & 5 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,13 @@ You need to:
translate='label'
type='textarea'
>
<comment model='Df\Payment\Comment\Description'/>
<depends><field id='enable'>1</field></depends>
<label>Description</label>
<comment><![CDATA[<p class='df-note'>It will be displayed to you in the QIWI Wallet merchant interface alongside the payment.</p>
<p class='df-note'>You can use <a href='https://mage2.pro/t/1834' target='_blank'>some variables</a> in the description.</p>
<p class='df-note'>The full description length (after the variables substitution) should be not greater than <b><a href='https://github.com/QIWI-API/pull-payments-docs/blob/40d48cf0/_pull-payments-api_en.html.md#parameters' target='_blank' title='The GitHub-based documentation: «Pull REST API» → «Issuing Invoice for the Order» → «Parameters». See the «comment» parameter.'>255 characters</a></b> (the description will be automatically chopped to 255 characters if it is longer).</p>
]]></comment>
<!-- 2016-07-01
We do not use the `validate-length` validator here
because the value can contain variables, so do not know the real length here. -->
<validate>required-entry</validate>
<depends><field id='enable'>1</field></depends>
</field>
<field
id='requireBillingAddress'
Expand Down
5 changes: 5 additions & 0 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ https://corp.qiwi.com/en/company/world.action
<!-- 2017-09-02 [QIWI Wallet] Which currencies are supported by the REST API? https://mage2.pro/t/4445 -->
<currency>RUB</currency>
<description>{store.domain} // {customer.name} // {order.id}</description>
<descriptionMaxLength>
<title>The GitHub-based documentation: «Pull REST API» → «Issuing Invoice for the Order» → «Parameters». See the «comment» parameter.</title>
<url>https://github.com/QIWI-API/pull-payments-docs/blob/40d48cf0/_pull-payments-api_en.html.md#parameters</url>
<value>255</value>
</descriptionMaxLength>
<requireBillingAddress>1</requireBillingAddress>
<payment_action>authorize_capture</payment_action>
<title>QIWI Wallet</title>
Expand Down

0 comments on commit 2db9a9b

Please sign in to comment.