Skip to content

Commit

Permalink
5.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dyd committed Oct 16, 2020
1 parent 6dde367 commit add2fd3
Show file tree
Hide file tree
Showing 35 changed files with 106 additions and 106 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
E-ComProcessing Gateway Module for X-Cart
E-Comprocessing Gateway Module for X-Cart
===========================================

This is a Payment Module for X-Cart, that gives you the ability to process payments through E-ComProcessing's Payment Gateway - Genesis.
This is a Payment Module for X-Cart, that gives you the ability to process payments through E-Comprocessing's Payment Gateway - Genesis.

Requirements
------------

* X-Cart 5.3.x (you can get this plugin to work on older 5.2 versions simply by changing the __Major Version__ to ```5.2``` in ```Main.php```)
* [GenesisPHP v1.4](https://github.com/GenesisGateway/genesis_php) - (Integrated in Module)
* PCI-certified server in order to use ```E-ComProcessing Direct```
* PCI-certified server in order to use ```E-Comprocessing Direct```

GenesisPHP Requirements
------------
Expand All @@ -28,12 +28,12 @@ Installation
* Log into ```X-Cart Administration Area``` with your Administrator account
* Navigate to ```Modules```
* Install through the Marketplace OR click ```Upload add-on``` and select ```.zip``` file you downloaded
* Tick ```Enabled``` under the ```E-ComProcessing``` plugin and click ```Save changes```
* Tick ```Enabled``` under the ```E-Comprocessing``` plugin and click ```Save changes```
* Navigate to ```Store setup -> Payment methods```
* Under ```Online methods``` category, click ```Add payment method``` and select ```E-ComProcessing``` from the list
* Under ```Online methods``` category, click ```Add payment method``` and select ```E-Comprocessing``` from the list
* Enter your credentials and configure the plugin to your liking
* Go back to ```Store setup -> Payment methods``` and toggle the ```E-ComProcessing``` payment method from ```INACTIVE``` to ```ACTIVE```
* If you wish to use ```E-ComProcessing Direct```, the SSL of the Front Store must be enabled.
* Go back to ```Store setup -> Payment methods``` and toggle the ```E-Comprocessing``` payment method from ```INACTIVE``` to ```ACTIVE```
* If you wish to use ```E-Comprocessing Direct```, the SSL of the Front Store must be enabled.
If you have already configured a SSL Certificate, go to ```System settings``` -> ```HTTPS settings``` and click ```Enable HTTPS``` in order to be able to process direct payment transactions through our gateway

Installation (Manual)
Expand All @@ -42,12 +42,12 @@ Installation (Manual)
* Upload the contents of folder (excluding ```README.md```) to the ```<root>``` folder of your X-Cart installation
* Log into ```X-Cart Administration Area``` with your Administrator account
* Go to ```System Settings``` -> ```Cache Management```, click ```Re-deploy the store``` and wait until the ```Deployment Process``` finishes
* Go to ```Modules``` -> Locate ```E-ComProcessing``` Module and tick ```Enabled``` under the ```E-ComProcessing``` plugin and click ```Save changes```
* Go to ```Modules``` -> Locate ```E-Comprocessing``` Module and tick ```Enabled``` under the ```E-Comprocessing``` plugin and click ```Save changes```
* Navigate to ```Store setup -> Payment methods```
* Under ```Online methods``` category, click ```Add payment method``` and select ```E-ComProcessing``` from the list
* Under ```Online methods``` category, click ```Add payment method``` and select ```E-Comprocessing``` from the list
* Enter your credentials and configure the plugin to your liking
* Go back to ```Store setup -> Payment methods``` and toggle the ```E-ComProcessing``` payment method from ```INACTIVE``` to ```ACTIVE```
* If you wish to use ```E-ComProcessing Direct```, the SSL of the Front Store must be enabled.
* Go back to ```Store setup -> Payment methods``` and toggle the ```E-Comprocessing``` payment method from ```INACTIVE``` to ```ACTIVE```
* If you wish to use ```E-Comprocessing Direct```, the SSL of the Front Store must be enabled.
If you have already configured a SSL Certificate, go to ```System settings``` -> ```HTTPS settings``` and click ```Enable HTTPS``` in order to be able to process direct payment transactions through our gateway

_Note_: If you have trouble with your credentials or terminal configuration, get in touch with our [support] team
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

namespace XLite\Module\EComProcessing\Genesis\Controller\Admin;

/**
* E-ComProcessing Settings Controller
* E-Comprocessing Settings Controller
*
* @package XLite\Module\EComProcessing\Genesis\Controller\Admin
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
class Endpoints
{
/**
* Domain for E-ComProcessing's Genesis instance
* Domain for E-Comprocessing's Genesis instance
*
* @link http://www.e-comprocessing.com/
*/
Expand Down
18 changes: 9 additions & 9 deletions classes/XLite/Module/EComProcessing/Genesis/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

namespace XLite\Module\EComProcessing\Genesis;

/**
* E-ComProcessing Module
* E-Comprocessing Module
*/
abstract class Main extends \XLite\Module\AModule
{
/**
* Name of the E-ComProcessing Checkout method
* Name of the E-Comprocessing Checkout method
*/
const ECP_CHECKOUT = 'EComProcessingCheckout';
const ECP_DIRECT = 'EComProcessingDirect';
const ECP_CHECKOUT = 'EComprocessingCheckout';
const ECP_DIRECT = 'EComprocessingDirect';


/**
Expand All @@ -38,7 +38,7 @@ abstract class Main extends \XLite\Module\AModule
*/
public static function getAuthorName()
{
return 'E-ComProcessing';
return 'E-Comprocessing';
}

/**
Expand All @@ -58,7 +58,7 @@ public static function getAuthorWebsite()
*/
public static function getModuleName()
{
return 'E-ComProcessing';
return 'E-Comprocessing';
}

/**
Expand All @@ -78,7 +78,7 @@ public static function getMajorVersion()
*/
public static function getMinorVersion()
{
return '3';
return '4';
}

/**
Expand All @@ -88,7 +88,7 @@ public static function getMinorVersion()
*/
public static function getDescription()
{
return 'Accept payments through E-ComProcessing\'s Payment Gateway - Genesis';
return 'Accept payments through E-Comprocessing\'s Payment Gateway - Genesis';
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down Expand Up @@ -1122,7 +1122,7 @@ protected static function log($data)
$data = implode(PHP_EOL, $data);
}

\XLite\Logger::logCustom('E-ComProcessing', (string)$data);
\XLite\Logger::logCustom('E-Comprocessing', (string)$data);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

namespace XLite\Module\EComProcessing\Genesis\Model\Payment\Processor;

/**
* E-ComProcessing Checkout Payment Method
* E-Comprocessing Checkout Payment Method
*
* @package XLite\Module\EComProcessing\Genesis\Model\Payment\Processor
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

namespace XLite\Module\EComProcessing\Genesis\Model\Payment\Processor;

/**
* E-ComProcessing Checkout Payment Method
* E-Comprocessing Checkout Payment Method
*
* @package XLite\Module\EComProcessing\Genesis\Model\Payment\Processor
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

namespace XLite\Module\EComProcessing\Genesis\View\Form;

/**
* E-ComProcessing Settings Form
* E-Comprocessing Settings Form
*/
class Settings extends \XLite\View\Form\AForm
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

namespace XLite\Module\EComProcessing\Genesis\View\Menu\Admin;

/**
* Add EComProcessing to the menu
* Add EComprocessing to the menu
*/
abstract class AAdmin extends \XLite\View\Menu\Admin\AAdmin implements \XLite\Base\IDecorator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/
Expand Down
4 changes: 2 additions & 2 deletions classes/XLite/Module/EComProcessing/Genesis/View/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @author E-Comprocessing
* @copyright 2016 E-Comprocessing™
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

namespace XLite\Module\EComProcessing\Genesis\View;

/**
* E-ComProcessing per-method settings page
* E-Comprocessing per-method settings page
*
* @ListChild (list="admin.center", zone="admin")
*/
Expand Down
26 changes: 13 additions & 13 deletions classes/XLite/Module/EComProcessing/Genesis/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# @author E-ComProcessing
# @author E-Comprocessing
# @copyright 2016 E-Comprocessing™
# @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)

XLite\Model\Payment\Method:
- service_name: EComProcessingCheckout
- service_name: EComprocessingCheckout
class: Module\EComProcessing\Genesis\Model\Payment\Processor\EComProcessingCheckout
type: C
orderby: -10600
translations:
- code: en
name: 'E-ComProcessing Checkout'
title: 'E-ComProcessing Checkout'
description: 'E-ComProcessing offers a secure way to pay for your order, using Credit/Debit/Prepaid Card, e-Wallet or Vouchers.'
altAdminDescription: 'Accept Credit/Debit Cards or Alternative Payments (e-Wallet, Prepaid-Cards, Vouchers etc.) via Payment Form on E-ComProcessing PCI-certified servers.'
name: 'E-Comprocessing Checkout'
title: 'E-Comprocessing Checkout'
description: 'E-Comprocessing offers a secure way to pay for your order, using Credit/Debit/Prepaid Card, e-Wallet or Vouchers.'
altAdminDescription: 'Accept Credit/Debit Cards or Alternative Payments (e-Wallet, Prepaid-Cards, Vouchers etc.) via Payment Form on E-Comprocessing PCI-certified servers.'
settings:
- name: title
value: 'E-ComProcessing Checkout'
value: 'E-Comprocessing Checkout'
- name: username
- name: secret
- name: mode
Expand All @@ -39,19 +39,19 @@ XLite\Model\Payment\Method:
- name: transaction_types
value: '["authorize", "sale"]'

- service_name: EComProcessingDirect
- service_name: EComprocessingDirect
class: Module\EComProcessing\Genesis\Model\Payment\Processor\EComProcessingDirect
type: C
orderby: -10650
translations:
- code: en
name: 'E-ComProcessing Direct'
title: 'E-ComProcessing Direct'
description: 'E-ComProcessing offers a secure way to pay for your order, using Credit/Debit Card'
name: 'E-Comprocessing Direct'
title: 'E-Comprocessing Direct'
description: 'E-Comprocessing offers a secure way to pay for your order, using Credit/Debit Card'
altAdminDescription: 'Direct API - allow customers to enter their CreditCard information on your website. Note: You need PCI-DSS certificate in order to enable this payment method.'
settings:
- name: title
value: 'E-ComProcessing Direct'
value: 'E-Comprocessing Direct'
- name: username
- name: secret
- name: token
Expand All @@ -60,4 +60,4 @@ XLite\Model\Payment\Method:
- name: prefix
value: store_
- name: transaction_type
value: 'authorize'
value: 'authorize'
Loading

0 comments on commit add2fd3

Please sign in to comment.