Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrovv committed Sep 21, 2016
1 parent a855c58 commit e320136
Show file tree
Hide file tree
Showing 161 changed files with 27,035 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,38 @@
E-ComProcessing Gateway Module for Zen Cart
======================================

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

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

* Zen Cart 1.5.x
* [GenesisPHP v1.4](https://github.com/GenesisGateway/genesis_php) - (Integrated in Module)
* PCI-certified server in order to use ```E-ComProcessing Direct```

GenesisPHP Requirements
------------

* PHP version 5.3.2 or newer
* PHP Extensions:
* [BCMath](https://php.net/bcmath)
* [CURL](https://php.net/curl) (required, only if you use the curl network interface)
* [Filter](https://php.net/filter)
* [Hash](https://php.net/hash)
* [XMLReader](https://php.net/xmlreader)
* [XMLWriter](https://php.net/xmlwriter)

Installation (Manual)
------------

* Upload the contents of folder (excluding ```README.md``` and ```YOUR_ADMIN```) to the ```<root>``` folder of your Zen Cart installation
* Upload the contents of folder ```YOUR_ADMIN``` to your ```<admin>``` folder of your Zen Cart installation
* Log into ```Zen Cart Administration Area``` with your Administrator account
* Go to ```Modules``` -> ```Payment``` -> Locate ```E-ComProcessing Checkout``` or ```E-ComProcessing Direct``` Module and click ```Install```
* Click ```Edit```, enter your credentials and configure the plugin to your needs

_Note_: If you have trouble with your credentials or terminal configuration, get in touch with our [support] team

You're now ready to process payments through our gateway.

[support]: mailto:Tech-Support@e-comprocessing.com
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added YOUR_ADMIN/images/ecomprocessing/logos/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions YOUR_ADMIN/includes/css/ecomprocessing/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# deny *everything*
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>

# but now allow just *certain* necessary files (Including Fonts):
<FilesMatch "(?i).*\.(js|css|jpg|gif|png|otf|cur|map|eot|svg|ttf|woff2?)$">
Order Allow,Deny
Allow from all
</FilesMatch>

40 changes: 40 additions & 0 deletions YOUR_ADMIN/includes/css/ecomprocessing/admin_order.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.modal h3 {
margin: 0;
font-family: "Georgia", serif;
}

.alert-notification, .form-loading {
display:none;
}

.bootstrap-checkbox-holder {
padding-top: 3pt;
}

.module-controls-container .alert-notification {
display: none;
}

.transaction-action-button {
display:inline-block;
}

span.ecomprocessing-logo {
background-image: url("../../../images/ecomprocessing/logos/logo.png");
background-position: left center;
background-repeat: no-repeat;
display: inline-block;
height: 16px;
width: 100%;
line-height: 16px;
padding-left: 25px;
font-weight: bold;
font-size: 8pt;
}

.treegrid-indent {width:16px; height: 16px; display: inline-block; position: relative;}

.treegrid-expander {width:16px; height: 16px; display: inline-block; position: relative; cursor: pointer;}

.treegrid-expander-expanded{background-image: url(../../../images/ecomprocessing/treegrid/collapse.png); }
.treegrid-expander-collapsed{background-image: url(../../../images/ecomprocessing/treegrid/expand.png);}

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
655 changes: 655 additions & 0 deletions YOUR_ADMIN/includes/css/ecomprocessing/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/*
* Copyright (C) 2016 E-ComProcessing™
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @author E-ComProcessing
* @copyright 2016 E-ComProcessing Ltd.
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2 (GPL-2.0)
*/

if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}

define('ECOMPROCESSING_CHECKOUT_CODE', 'ecomprocessing_checkout');
define('FILENAME_EMECHANTPAY_CHECKOUT_IPN', 'ecomprocessing_checkout_ipn');
define('ECOMPROCESSING_CHECKOUT_SETTINGS_PREFIX', 'MODULE_PAYMENT_ECOMPROCESSING_CHECKOUT_');
define('TABLE_ECOMPROCESSING_CHECKOUT_TRANSACTIONS', DB_PREFIX . 'ecomprocessing_checkout_transactions');

define('ECOMPROCESSING_DIRECT_CODE', 'ecomprocessing_direct');
define('FILENAME_EMECHANTPAY_DIRECT_IPN', 'ecomprocessing_direct_ipn');
define('ECOMPROCESSING_DIRECT_SETTINGS_PREFIX', 'MODULE_PAYMENT_ECOMPROCESSING_DIRECT_');
define('TABLE_ECOMPROCESSING_DIRECT_TRANSACTIONS', DB_PREFIX . 'ecomprocessing_direct_transactions');
Loading

0 comments on commit e320136

Please sign in to comment.