Skip to content

Commit

Permalink
0.1.5: #2
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Nov 1, 2017
1 parent 8914ada commit 4068c8e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ protected function k_MerchantId() {return 'MerchantID';}
* Note 2.
* [AlphaCommerceHub] Are any limitations on the «MerchantTxnID» parameter allowed characters or length?
* https://mage2.pro/t/4779
* 2017-11-01
* Which characters are considered «special» and «not special» for the AlphaHPP's `MerchantTxnID` parameter?
* https://mage2.pro/t/4842
* @override
* @see \Df\PaypalClone\Charge::k_RequestId()
* @used-by \Df\PaypalClone\Charge::p()
Expand Down
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": "0.1.4"
,"version": "0.1.5"
,"description": "AlphaCommerceHub integration with Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/alphacommercehub"
Expand Down
12 changes: 8 additions & 4 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,22 @@
<value>2000</value>
</maxLength>
</description_rules>
<!-- 2017-10-27
<!--
2017-10-27
[AlphaCommerceHub] Are any limitations on the «MerchantTxnID» parameter allowed characters or length?
https://mage2.pro/t/4779
«Supported special characters are / and .»
2017-11-01
[AlphaCommerceHub] Which characters are considered «special» and «not special»
for the AlphaHPP's `MerchantTxnID` parameter? https://mage2.pro/t/4842
-->
<identification>increment_id</identification>
<identification_rules>
<regex>
<message><![CDATA[AlphaCommerceHub allows only the digits, the Latin letters, and the «<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>», «<code>.</code>, and «<code>-</code>» characters in the payment identifiers]]></message>
<pattern><![CDATA[#^[a-z0-9./\-]+$#i]]></pattern>
</regex>
<max_length>20</max_length>
<max_length>60</max_length>
</identification_rules>
<optionsAllowed>CC,PP,99,AL,CP,DD,DU,EN,IC,ID,IN,PO,SB,SK,SP</optionsAllowed>
<optionsDescription><![CDATA[On clicking the «<b>Place Order</b>» button you will be redirected to the AlphaCommerceHub payment page, and the following payment options will be available: {options}.]]></optionsDescription>
Expand Down

0 comments on commit 4068c8e

Please sign in to comment.