diff --git a/composer.json b/composer.json index f577c2c..e577fb9 100755 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "magento/module-checkout": "^100.0", "magento/module-payment": "^100.0", "magento/module-sales": "^100.0", - "tpay-com/tpay-openapi-php": "^1.3", - "tpay-com/tpay-php": "^2.3" + "tpay-com/tpay-openapi-php": "^1.6.4", + "tpay-com/tpay-php": "^2.4.3" }, "autoload": { "psr-4": { diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index a03ea36..f24590d 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -18,47 +18,20 @@ Magento\Config\Model\Config\Source\Yesno + + + 1 - - - - - validate-number validate-length maximum-length-10 - - - - validate-length maximum-length-32 - - - - no-whitespace validate-length maximum-length-126 - - - - no-whitespace validate-length maximum-length-40 - - - - no-whitespace validate-length maximum-length-126 - - - - no-whitespace validate-length maximum-length-40 - - - - - - - - - - Magento\Config\Model\Config\Source\Yesno - - - - tpaycom\magento2basic\Model\Config\Source\HashTypes - + + + + + validate-number validate-length maximum-length-10 + + + + validate-length maximum-length-32 + Magento\Config\Model\Config\Source\Yesno @@ -71,48 +44,91 @@ Magento\Config\Model\Config\Source\Yesno - - - Magento\Config\Model\Config\Source\Yesno - Magento\Config\Model\Config\Source\Yesno - - - validate-number - - - - Magento\Payment\Model\Config\Source\Allspecificcountries - - - - Magento\Directory\Model\Config\Source\Country - - - - validate-number - - - - Leave empty for no limit - validate-number - - - - 1 - tpaycom\magento2basic\Model\Config\Source\OnsiteChannels - - - - validate-length maximum-length-64 - - - - validate-length maximum-length-64 - + + + + + + validate-length maximum-length-64 + + + + validate-length maximum-length-64 + + + + 1 + tpaycom\magento2basic\Model\Config\Source\OnsiteChannels + + + + + + + no-whitespace validate-length maximum-length-126 + + + + no-whitespace validate-length maximum-length-40 + + + + no-whitespace validate-length maximum-length-126 + + + + no-whitespace validate-length maximum-length-40 + + + + + + + + + + + + + Magento\Config\Model\Config\Source\Yesno + + + + tpaycom\magento2basic\Model\Config\Source\HashTypes + + + + + + + Magento\Config\Model\Config\Source\Yesno + + + + validate-number + + + + Magento\Payment\Model\Config\Source\Allspecificcountries + + + + Magento\Directory\Model\Config\Source\Country + + + + validate-number + + + + Leave empty for no limit + validate-number + +