Skip to content

Commit

Permalink
1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 5, 2017
1 parent b5f3776 commit 1698409
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The extension provides a 2-way integration between Magento 2 and the **[Omise](https://www.omise.co/)** payment service.
Omise works with Thailand or Japan based stores.
Omise works with Thailand, Japan, Indonesia, and Singapore based stores.

## Demo videos

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/omise"
,"version": "1.9.4"
,"version": "1.10.0"
,"description": "The «Omise» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/omise"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.10.24", "omise/omise-php": "^2.5.0"}
,"require": {"mage2pro/core": ">=2.11.18", "omise/omise-php": "^2.5.0"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Omise\\": ""}}
,"keywords": [
"3D Secure"
Expand Down
3 changes: 2 additions & 1 deletion etc/adminhtml/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:framework:ObjectManager/etc/config.xsd'
>
<!-- 2017-09-05 https://www.omise.co/which-currency-does-omise-support -->
<virtualType name='Dfe\Omise\Validator\Currency' type='Df\Framework\Validator\Currency'>
<arguments><argument name='iso3' xsi:type='string'>JPY,THB</argument></arguments>
<arguments><argument name='iso3' xsi:type='string'>THB,USD,EUR,GBP,JPY,SGD</argument></arguments>
</virtualType>
</config>
7 changes: 2 additions & 5 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ https://github.com/omise/omise-php/issues/52
<depends><field id='enable'>1</field></depends>
</field>
<field
dfValues='THB,JPY'
dfValues='THB,USD,EUR,GBP,JPY,SGD'
id='currency'
showInDefault='1' showInStore='1' showInWebsite='1'
sortOrder='12'
Expand Down Expand Up @@ -229,10 +229,7 @@ https://github.com/omise/omise-php/issues/52
type='textarea'
>
<label>Description</label>
<comment><![CDATA[<p class='df-note'>It will be displayed to you in the Omise 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 length <a href='https://www.omise.co/charges-api#charges-create' target='_blank' title='The Omise documentation: «Charge API» → «Create a charge» → «Request Parameter». See the «description» parameter.'>is not limited</a>.</p>
]]></comment>
<comment model='Df\Payment\Comment\Description'/>
<depends><field id='enable'>1</field></depends>
</field>
<field
Expand Down
12 changes: 6 additions & 6 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<omise>
<actionForNew>authorize_capture</actionForNew>
<actionForReturned>authorize_capture</actionForReturned>
<requireBillingAddress>1</requireBillingAddress>
<!--
2016-11-12
https://www.omise.co/which-currency-does-omise-support
«Currently, we only support Thai Baht (THB).»
-->
<!-- 2017-09-05 https://www.omise.co/which-currency-does-omise-support -->
<currency>THB</currency>
<!--
2016-11-16
«A custom description for the charge. This value can be searched for in your dashboard.»
https://www.omise.co/charges-api#charges-create
-->
<description>{order.id}</description>
<descriptionMaxLength>
<title>The Omise documentation: «Charge API» → «Create a charge» → «Request Parameter». See the «description» parameter.</title>
<url>https://www.omise.co/charges-api#charges-create</url>
</descriptionMaxLength>
<requireBillingAddress>1</requireBillingAddress>
<title>Bank Card</title>
<title_backend>Omise</title_backend>
</omise>
Expand Down

0 comments on commit 1698409

Please sign in to comment.