Skip to content

Commit

Permalink
1.0.3: #90
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Dec 21, 2017
1 parent 474fea1 commit 8076cae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/alphacommercehub"
,"version": "1.0.2"
,"version": "1.0.3"
,"description": "AlphaCommerceHub integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/alphacommercehub"
Expand Down
8 changes: 6 additions & 2 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@ https://mage2.pro/t/4779
2017-11-01
[AlphaCommerceHub] Which characters are considered «special» and «not special»
for the AlphaHPP's `MerchantTxnID` parameter? https://mage2.pro/t/4842
2017-12-21
1) "The module should allow the #.: {}\-/ special characters in a `MerchantTxnID`":
https://github.com/mage2pro/alphacommercehub/issues/90
2) «If you want to escape \, you need to escape it as \\\»: https://stackoverflow.com/a/25263627
-->
<identification>increment_id</identification>
<identification_rules>
<regex>
<message><![CDATA[AlphaCommerceHub allows only the digits, the Latin letters, and the «<code>/</code>», «<code>.</code>, and «<code>-</code>» characters in the payment identifiers]]></message>
<pattern><![CDATA[#^[a-z0-9./\-]+$#i]]></pattern>
<message><![CDATA[AlphaCommerceHub allows only the digits, the Latin letters, and the «<code>#.: {}\-/</code>» characters in the payment identifiers]]></message>
<pattern><![CDATA[#^[a-z0-9.:\s{}\-/\#\\\]+$#i]]></pattern>
</regex>
<max_length>60</max_length>
</identification_rules>
Expand Down

0 comments on commit 8076cae

Please sign in to comment.