-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from eMerchantPay/feature/f2016032201-update_ve…
…rsion_to_v5.2.2 f2016032201-update_version_to_v5.2.2
- Loading branch information
Showing
94 changed files
with
4,024 additions
and
1,274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
E-ComProcessing Gateway Module for X-Cart | ||
=========================================== | ||
|
||
This is a Payment Module for eMerchantPay 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.2.x (you can get this plugin to work on older 5.X versions simply by tweaking ```Main.php```) | ||
* GenesisPHP 1.2 | ||
* [GenesisPHP v1.4](https://github.com/GenesisGateway/genesis_php) - (Integrated in Module) | ||
|
||
GenesisPHP Requirements | ||
------------ | ||
|
@@ -33,4 +33,20 @@ Installation | |
* 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``` | ||
|
||
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``` | ||
* Navigate to ```Store setup -> Payment methods``` | ||
* 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``` | ||
|
||
_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:[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...ite/Module/EComProcessing/Genesis/Library/Genesis/src/Genesis/API/Constants/Endpoints.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
/* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
* THE SOFTWARE. | ||
* | ||
* @license http://opensource.org/licenses/MIT The MIT License | ||
*/ | ||
namespace Genesis\API\Constants; | ||
|
||
/** | ||
* Class Endpoints | ||
* | ||
* List of possible Genesis endpoints | ||
* | ||
* @package Genesis\API\Constants | ||
*/ | ||
class Endpoints | ||
{ | ||
/** | ||
* Domain for E-ComProcessing's Genesis instance | ||
* | ||
* @link http://www.e-comprocessing.com/ | ||
*/ | ||
const ECOMPROCESSING = 'e-comprocessing.net'; | ||
|
||
/** | ||
* Domain for eMerchantPay's Genesis instance | ||
* | ||
* @link https://www.emerchantpay.com | ||
*/ | ||
const EMERCHANTPAY = 'emerchantpay.net'; | ||
} |
45 changes: 45 additions & 0 deletions
45
.../Module/EComProcessing/Genesis/Library/Genesis/src/Genesis/API/Constants/Environments.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
/* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
* THE SOFTWARE. | ||
* | ||
* @license http://opensource.org/licenses/MIT The MIT License | ||
*/ | ||
namespace Genesis\API\Constants; | ||
|
||
/** | ||
* Class Environments | ||
* | ||
* List of server environments | ||
* | ||
* @package Genesis\API\Constants | ||
*/ | ||
class Environments | ||
{ | ||
/** | ||
* Live (Production) environment | ||
*/ | ||
const PRODUCTION = 'production'; | ||
|
||
/** | ||
* Test (Staging) environment | ||
* | ||
* @note NO MONEY ARE BEING TRANSFERRED | ||
*/ | ||
const STAGING = 'sandbox'; | ||
} |
Oops, something went wrong.