From 95ca9be71eab0a82e467b149f0cc03e24a167422 Mon Sep 17 00:00:00 2001 From: Chukwuemeka Ihedoro Date: Thu, 24 May 2018 07:56:47 +0100 Subject: [PATCH] edits done --- Model/PaymentGateway.php | 2 +- composer.json | 2 +- etc/adminhtml/system.xml | 23 ++++++++++------------- etc/config.xml | 10 +++++----- etc/module.xml | 3 ++- 5 files changed, 19 insertions(+), 21 deletions(-) diff --git a/Model/PaymentGateway.php b/Model/PaymentGateway.php index 351f014..f6aae57 100644 --- a/Model/PaymentGateway.php +++ b/Model/PaymentGateway.php @@ -10,7 +10,7 @@ class PaymentGateway extends \Magento\Payment\Model\Method\AbstractMethod { - protected $_code = 'payscrowgateway'; +// protected $_code = 'payscrowgateway'; // protected $_formBlockType = 'payscrowgateway/form_payscrowGateway'; // protected $_infoBlockType = 'payscrowgateway/info_payscrowGateway'; // protected $_isInitializeNeeded = true; diff --git a/composer.json b/composer.json index 065b025..ca2ca32 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "php": "~5.5.0|~5.6.0|^7.0.0" }, "type": "magento2-module", - "version": "1.0.3", + "version": "1.0.4", "authors": [ { "name": "Chukwuemeka Ihedoro", diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 4abd287..acec9e2 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -1,38 +1,35 @@ + -
- +
+ Magento\Config\Model\Config\Source\Yesno - + - - - + - + Magento\Sales\Model\Config\Source\Order\Status\NewStatus - + Magento\Config\Model\Config\Source\Yesno - + - - - + Magento\Payment\Model\Config\Source\Allspecificcountries - + Magento\Directory\Model\Config\Source\Country 1 diff --git a/etc/config.xml b/etc/config.xml index 25355ef..e082699 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -1,8 +1,8 @@ - - + + PayScrow - Premium Escrow Payment Service Payscrow\PaymentGateway\Model\PaymentGateway pending @@ -14,9 +14,9 @@ http://ps.ofekpc.com/ d1e5a982-fa05-414b-803c-b197307e4918 - 0 + 1 - - + + \ No newline at end of file diff --git a/etc/module.xml b/etc/module.xml index 8d0bf49..3b0a275 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,5 +1,6 @@ + - +