Version Notes
Initial release
Download this release
Release Info
Developer | eGlobe IT Solutions |
Extension | Free_Admin_Payment_Method |
Version | 0.1.0 |
Comparing to | |
See all releases |
Version 0.1.0
- LICENSE.txt +90 -0
- app/code/community/Egits/AdminPayment/Block/Info.php +35 -0
- app/code/community/Egits/AdminPayment/Helper/Data.php +35 -0
- app/code/community/Egits/AdminPayment/Model/Method/Free.php +66 -0
- app/code/community/Egits/AdminPayment/etc/adminhtml.xml +48 -0
- app/code/community/Egits/AdminPayment/etc/config.xml +93 -0
- app/code/community/Egits/AdminPayment/etc/system.xml +113 -0
- app/etc/modules/Egits_AdminPayment.xml +41 -0
- package.xml +18 -0
LICENSE.txt
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
eGlobe IT Solutions End-User License Agreement
|
2 |
+
www.eglobeits.com
|
3 |
+
|
4 |
+
THIS LICENSE AGREEMENT (HEREINAFTER AGREEMENT) IS AN AGREEMENT BETWEEN THE LICENSEE
|
5 |
+
(THE PERSON OR COMPANY WHO IS BEING LICENSED TO USE THE SOFTWARE OR DOCUMENTATION)
|
6 |
+
AND EGLOBE IT SOLUTIONS (P)LTD. THE AGREEMENT APPLIES TO ALL PRODUCTS/SOFTWARE/
|
7 |
+
SCRIPTS/SERVICES YOU OBTAIN FROM US.
|
8 |
+
|
9 |
+
1. By using the Software you acknowledge that you have read this Agreement,
|
10 |
+
and that you agree to the content of the Agreement and its terms, and agree
|
11 |
+
to use the Software in compliance with this Agreement.
|
12 |
+
|
13 |
+
2. The Agreement comes into legal force at the moment when you order our
|
14 |
+
Software from our site or receive it through email or on data medium at
|
15 |
+
our discretion.
|
16 |
+
|
17 |
+
3. We are the copyright holder of the Software. The Software or a portion of it
|
18 |
+
is a copyrightable matter and is liable to protection by the law. Any
|
19 |
+
activity that infringes terms of this Agreement violates copyright law and
|
20 |
+
will be prosecuted according to the current law. We reserve the right to
|
21 |
+
revoke the license of any user who is holding an invalid license.
|
22 |
+
|
23 |
+
4. This Agreement gives you the right to use only one copy of the Software on
|
24 |
+
one Magento installation solely for your own personal or business use,
|
25 |
+
subject to all other terms of this Agreement. A separate License should be
|
26 |
+
purchased for each new Software installation. Any distribution of the Software
|
27 |
+
without our consent, including noncommercial distribution is regarded as
|
28 |
+
violation of this Agreement and entails liability, according to the current law.
|
29 |
+
|
30 |
+
5. You may not use any part of the code in whole or part in any other software
|
31 |
+
or product or website. Company reserves the right to audit Licensee�s use of
|
32 |
+
the Software during normal business hours and with reasonable notice and to
|
33 |
+
include means within the Software to limit Licensee�s use of the Software
|
34 |
+
to the licensed number of Servers.
|
35 |
+
|
36 |
+
6. You may not give, sell, distribute, sub-license, rent, lease or lend any
|
37 |
+
portion of the Software or Documentation to anyone. You may not place the
|
38 |
+
Software on a server so that it is accessible via a public network such as
|
39 |
+
the Internet for distribution purposes.
|
40 |
+
|
41 |
+
7. You are bound to preserve the copyright information intact in the source files.
|
42 |
+
|
43 |
+
8. We reserve the right to publish a selected list of users of our Software.
|
44 |
+
|
45 |
+
9. We will not be liable to you for any damages (including any loss of
|
46 |
+
profits/saving, or incidental or consequential) caused to you, your
|
47 |
+
information and your business arising out of the use or inability to use
|
48 |
+
this Software.
|
49 |
+
|
50 |
+
10. We are not liable for prosecution arising from use of the Software against
|
51 |
+
law or for any illegal use.
|
52 |
+
|
53 |
+
11. If you fail to use the Software in accordance with the terms and conditions
|
54 |
+
of this License Agreement, it constitutes a breach of the agreement, and
|
55 |
+
your license to use the program is revoked.
|
56 |
+
|
57 |
+
12. eGlobe reserves the right to change this license agreement at any
|
58 |
+
time and impose its clauses at any given time.
|
59 |
+
|
60 |
+
13. License agreement remains effective until terminated. We retain the right to
|
61 |
+
terminate your license to use the Software at any time, if in its sole
|
62 |
+
discretion, you are not abiding by the terms of the Agreement, including,
|
63 |
+
but not limited to, obscuring or removing any link or copyright notice as
|
64 |
+
specified in this agreement. You may terminate it at any time by destroying
|
65 |
+
all copies of the Software. Termination of this Agreement does not bind us
|
66 |
+
to return you the amount spent for purchase of the Software.
|
67 |
+
|
68 |
+
14. If you continue to use the Software after eGlobe gives you notice
|
69 |
+
of termination of your license, you hereby agree to accept an injunction to
|
70 |
+
enjoin you from its further use and to pay all costs (including but not
|
71 |
+
limited to reasonable attorney fees) to enforce our revocation of your
|
72 |
+
license and any damages suffered by us because of your misuse of
|
73 |
+
the Software.
|
74 |
+
|
75 |
+
15. This software is designed to work with a specific Magento edition and
|
76 |
+
its use on an edition other than specified is prohibited. eGlobe does not
|
77 |
+
provide extension support in case of incorrect edition use.
|
78 |
+
|
79 |
+
16. Technical support and product updates are time-limited according to the
|
80 |
+
purchased support periods for the product. Licensee hereby grants Company
|
81 |
+
the right to display Licensee�s logos as part of Company's customer lists
|
82 |
+
and other related marketing materials. The parties shall cooperate to
|
83 |
+
undertake mutually-agreed joint marketing activities.
|
84 |
+
|
85 |
+
17. Company will provide Support Services and any Updates to Licensee during the
|
86 |
+
periods identified in the Order Form, subject to Licensee�s payment of the
|
87 |
+
applicable fees.
|
88 |
+
|
89 |
+
18. Company shall not be liable for any failure or delay in performance under
|
90 |
+
these Support Terms due to causes beyond its reasonable control.
|
app/code/community/Egits/AdminPayment/Block/Info.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* eGlobe IT Solutions (P)Ltd.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the EULA
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://ecommerce.eglobeits.com/license.txt
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to hello@eglobeits.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* =================================================================
|
16 |
+
* MAGENTO USAGE NOTICE
|
17 |
+
* =================================================================
|
18 |
+
* This package designed & developed for Magento COMMUNITY edition
|
19 |
+
* eGits does not guarantee correct work of this extension
|
20 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
21 |
+
* eGits does not provide extension support in case of
|
22 |
+
* incorrect edition usage.
|
23 |
+
* =================================================================
|
24 |
+
*
|
25 |
+
* @category Egits
|
26 |
+
* @package Egits_AdminPayment
|
27 |
+
* @version 0.1.0
|
28 |
+
* @copyright Copyright (c) 2015-2016 eGlobe IT Solutions (P)Ltd. (http://www.eglobeits.com/)
|
29 |
+
* @author eGits Team <hello@eglobeits.com>
|
30 |
+
* @license http://ecommerce.eglobeits.com/license.txt
|
31 |
+
*/
|
32 |
+
class Egits_AdminPayment_Block_Info extends Mage_Payment_Block_Info
|
33 |
+
{
|
34 |
+
|
35 |
+
}
|
app/code/community/Egits/AdminPayment/Helper/Data.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* eGlobe IT Solutions (P)Ltd.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the EULA
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://ecommerce.eglobeits.com/license.txt
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to hello@eglobeits.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* =================================================================
|
16 |
+
* MAGENTO USAGE NOTICE
|
17 |
+
* =================================================================
|
18 |
+
* This package designed & developed for Magento COMMUNITY edition
|
19 |
+
* eGits does not guarantee correct work of this extension
|
20 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
21 |
+
* eGits does not provide extension support in case of
|
22 |
+
* incorrect edition usage.
|
23 |
+
* =================================================================
|
24 |
+
*
|
25 |
+
* @category Egits
|
26 |
+
* @package Egits_AdminPayment
|
27 |
+
* @version 0.1.0
|
28 |
+
* @copyright Copyright (c) 2015-2016 eGlobe IT Solutions (P)Ltd. (http://www.eglobeits.com/)
|
29 |
+
* @author eGits Team <hello@eglobeits.com>
|
30 |
+
* @license http://ecommerce.eglobeits.com/license.txt
|
31 |
+
*/
|
32 |
+
class Egits_AdminPayment_Helper_Data extends Mage_Payment_Helper_Data
|
33 |
+
{
|
34 |
+
|
35 |
+
}
|
app/code/community/Egits/AdminPayment/Model/Method/Free.php
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* eGlobe IT Solutions (P)Ltd.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the EULA
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://ecommerce.eglobeits.com/license.txt
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to hello@eglobeits.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* =================================================================
|
16 |
+
* MAGENTO USAGE NOTICE
|
17 |
+
* =================================================================
|
18 |
+
* This package designed & developed for Magento COMMUNITY edition
|
19 |
+
* eGits does not guarantee correct work of this extension
|
20 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
21 |
+
* eGits does not provide extension support in case of
|
22 |
+
* incorrect edition usage.
|
23 |
+
* =================================================================
|
24 |
+
*
|
25 |
+
* @category Egits
|
26 |
+
* @package Egits_AdminPayment
|
27 |
+
* @version 0.1.0
|
28 |
+
* @copyright Copyright (c) 2015-2016 eGlobe IT Solutions (P)Ltd. (http://www.eglobeits.com/)
|
29 |
+
* @author eGits Team <hello@eglobeits.com>
|
30 |
+
* @license http://ecommerce.eglobeits.com/license.txt
|
31 |
+
*/
|
32 |
+
class Egits_AdminPayment_Model_Method_Free extends Mage_Payment_Model_Method_Abstract
|
33 |
+
{
|
34 |
+
/**
|
35 |
+
* XML Pathes for configuration constants
|
36 |
+
*/
|
37 |
+
|
38 |
+
const XML_PATH_PAYMENT_FREE_ACTIVE = 'payment/adminpayment/active';
|
39 |
+
const XML_PATH_PAYMENT_FREE_ORDER_STATUS = 'payment/adminpayment/order_status';
|
40 |
+
const XML_PATH_PAYMENT_FREE_PAYMENT_ACTION = 'payment/adminpayment/payment_action';
|
41 |
+
|
42 |
+
/**
|
43 |
+
* The payment method will be available only for admin
|
44 |
+
* @var boolean
|
45 |
+
*/
|
46 |
+
protected $_canUseCheckout = false;
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Payment code name
|
50 |
+
*
|
51 |
+
* @var string
|
52 |
+
*/
|
53 |
+
protected $_code = 'adminpayment';
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Check whether method is available
|
57 |
+
*
|
58 |
+
* @param Mage_Sales_Model_Quote $quote
|
59 |
+
* @return bool
|
60 |
+
*/
|
61 |
+
public function isAvailable($quote = null)
|
62 |
+
{
|
63 |
+
return parent::isAvailable();
|
64 |
+
}
|
65 |
+
|
66 |
+
}
|
app/code/community/Egits/AdminPayment/etc/adminhtml.xml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* eGlobe IT Solutions (P)Ltd.
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://ecommerce.eglobeits.com/license.txt
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to hello@eglobeits.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* =================================================================
|
17 |
+
* MAGENTO USAGE NOTICE
|
18 |
+
* =================================================================
|
19 |
+
* This package designed & developed for Magento COMMUNITY edition
|
20 |
+
* eGits does not guarantee correct work of this extension
|
21 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
22 |
+
* eGits does not provide extension support in case of
|
23 |
+
* incorrect edition usage.
|
24 |
+
* =================================================================
|
25 |
+
*
|
26 |
+
* @category Egits
|
27 |
+
* @package Egits_AdminPayment
|
28 |
+
* @version 0.1.0
|
29 |
+
* @copyright Copyright (c) 2015-2016 eGlobe IT Solutions (P)Ltd. (http://www.eglobeits.com/)
|
30 |
+
* @author eGits Team <hello@eglobeits.com>
|
31 |
+
* @license http://ecommerce.eglobeits.com/license.txt
|
32 |
+
*/
|
33 |
+
-->
|
34 |
+
<config>
|
35 |
+
<menu>
|
36 |
+
<egits translate="title" module="egits_carousel">
|
37 |
+
<title>eGits</title>
|
38 |
+
<sort_order>80</sort_order>
|
39 |
+
<children>
|
40 |
+
<adminpayment translate="title" module="catalog">
|
41 |
+
<title>Free Admin Payment</title>
|
42 |
+
<action>adminhtml/system_config/edit/section/payment</action>
|
43 |
+
<sort_order>90</sort_order>
|
44 |
+
</adminpayment>
|
45 |
+
</children>
|
46 |
+
</egits>
|
47 |
+
</menu>
|
48 |
+
</config>
|
app/code/community/Egits/AdminPayment/etc/config.xml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* eGlobe IT Solutions (P)Ltd.
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://ecommerce.eglobeits.com/license.txt
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to hello@eglobeits.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* =================================================================
|
17 |
+
* MAGENTO USAGE NOTICE
|
18 |
+
* =================================================================
|
19 |
+
* This package designed & developed for Magento COMMUNITY edition
|
20 |
+
* eGits does not guarantee correct work of this extension
|
21 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
22 |
+
* eGits does not provide extension support in case of
|
23 |
+
* incorrect edition usage.
|
24 |
+
* =================================================================
|
25 |
+
*
|
26 |
+
* @category Egits
|
27 |
+
* @package Egits_AdminPayment
|
28 |
+
* @version 0.1.0
|
29 |
+
* @copyright Copyright (c) 2015-2016 eGlobe IT Solutions (P)Ltd. (http://www.eglobeits.com/)
|
30 |
+
* @author eGits Team <hello@eglobeits.com>
|
31 |
+
* @license http://ecommerce.eglobeits.com/license.txt
|
32 |
+
*/
|
33 |
+
-->
|
34 |
+
<config>
|
35 |
+
<modules>
|
36 |
+
<Egits_AdminPayment>
|
37 |
+
<version>0.1.0</version>
|
38 |
+
</Egits_AdminPayment>
|
39 |
+
</modules>
|
40 |
+
<global>
|
41 |
+
<models>
|
42 |
+
<adminpayment>
|
43 |
+
<class>Egits_AdminPayment_Model</class>
|
44 |
+
</adminpayment>
|
45 |
+
</models>
|
46 |
+
<resources>
|
47 |
+
<adminpayment_setup>
|
48 |
+
<setup>
|
49 |
+
<module>Egits_AdminPayment</module>
|
50 |
+
</setup>
|
51 |
+
</adminpayment_setup>
|
52 |
+
</resources>
|
53 |
+
<blocks>
|
54 |
+
<adminpayment>
|
55 |
+
<class>Egits_AdminPayment_Block</class>
|
56 |
+
</adminpayment>
|
57 |
+
</blocks>
|
58 |
+
<helpers>
|
59 |
+
<adminpayment>
|
60 |
+
<class>Egits_AdminPayment_Helper</class>
|
61 |
+
</adminpayment>
|
62 |
+
</helpers>
|
63 |
+
<adminpayment>
|
64 |
+
<groups>
|
65 |
+
<offline>Offline Payment Methods</offline>
|
66 |
+
</groups>
|
67 |
+
</adminpayment>
|
68 |
+
</global>
|
69 |
+
<adminhtml>
|
70 |
+
<translate>
|
71 |
+
<modules>
|
72 |
+
<Egits_AdminPayment>
|
73 |
+
<files>
|
74 |
+
<default>Egits_AdminPayment.csv</default>
|
75 |
+
</files>
|
76 |
+
</Egits_AdminPayment>
|
77 |
+
</modules>
|
78 |
+
</translate>
|
79 |
+
</adminhtml>
|
80 |
+
<default>
|
81 |
+
<payment>
|
82 |
+
<adminpayment>
|
83 |
+
<active>1</active>
|
84 |
+
<model>adminpayment/method_free</model>
|
85 |
+
<order_status>pending</order_status>
|
86 |
+
<title>Free Admin Payment</title>
|
87 |
+
<allowspecific>0</allowspecific>
|
88 |
+
<sort_order>1</sort_order>
|
89 |
+
<group>offline</group>
|
90 |
+
</adminpayment>
|
91 |
+
</payment>
|
92 |
+
</default>
|
93 |
+
</config>
|
app/code/community/Egits/AdminPayment/etc/system.xml
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* eGlobe IT Solutions (P)Ltd.
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://ecommerce.eglobeits.com/license.txt
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to hello@eglobeits.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* =================================================================
|
17 |
+
* MAGENTO USAGE NOTICE
|
18 |
+
* =================================================================
|
19 |
+
* This package designed & developed for Magento COMMUNITY edition
|
20 |
+
* eGits does not guarantee correct work of this extension
|
21 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
22 |
+
* eGits does not provide extension support in case of
|
23 |
+
* incorrect edition usage.
|
24 |
+
* =================================================================
|
25 |
+
*
|
26 |
+
* @category Egits
|
27 |
+
* @package Egits_AdminPayment
|
28 |
+
* @version 0.1.0
|
29 |
+
* @copyright Copyright (c) 2015-2016 eGlobe IT Solutions (P)Ltd. (http://www.eglobeits.com/)
|
30 |
+
* @author eGits Team <hello@eglobeits.com>
|
31 |
+
* @license http://ecommerce.eglobeits.com/license.txt
|
32 |
+
*/
|
33 |
+
-->
|
34 |
+
<config>
|
35 |
+
<sections>
|
36 |
+
<payment>
|
37 |
+
<groups>
|
38 |
+
<adminpayment translate="label">
|
39 |
+
<label>eGits: Free Admin Payment</label>
|
40 |
+
<frontend_type>text</frontend_type>
|
41 |
+
<sort_order>100</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
<fields>
|
46 |
+
<active translate="label">
|
47 |
+
<label>Enabled</label>
|
48 |
+
<frontend_type>select</frontend_type>
|
49 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
50 |
+
<sort_order>1</sort_order>
|
51 |
+
<show_in_default>1</show_in_default>
|
52 |
+
<show_in_website>1</show_in_website>
|
53 |
+
<show_in_store>0</show_in_store>
|
54 |
+
</active>
|
55 |
+
<order_status translate="label">
|
56 |
+
<label>New Order Status</label>
|
57 |
+
<frontend_type>select</frontend_type>
|
58 |
+
<source_model>adminhtml/system_config_source_order_status_newprocessing</source_model>
|
59 |
+
<sort_order>2</sort_order>
|
60 |
+
<show_in_default>1</show_in_default>
|
61 |
+
<show_in_website>1</show_in_website>
|
62 |
+
<show_in_store>0</show_in_store>
|
63 |
+
</order_status>
|
64 |
+
<payment_action translate="label">
|
65 |
+
<label>Automatically Invoice All Items</label>
|
66 |
+
<frontend_type>select</frontend_type>
|
67 |
+
<source_model>payment/source_invoice</source_model>
|
68 |
+
<sort_order>3</sort_order>
|
69 |
+
<show_in_default>1</show_in_default>
|
70 |
+
<show_in_website>1</show_in_website>
|
71 |
+
<show_in_store>0</show_in_store>
|
72 |
+
</payment_action>
|
73 |
+
<sort_order translate="label">
|
74 |
+
<label>Sort Order</label>
|
75 |
+
<frontend_type>text</frontend_type>
|
76 |
+
<sort_order>100</sort_order>
|
77 |
+
<show_in_default>1</show_in_default>
|
78 |
+
<show_in_website>1</show_in_website>
|
79 |
+
<show_in_store>0</show_in_store>
|
80 |
+
</sort_order>
|
81 |
+
<title translate="label">
|
82 |
+
<label>Title</label>
|
83 |
+
<frontend_type>text</frontend_type>
|
84 |
+
<sort_order>1</sort_order>
|
85 |
+
<show_in_default>1</show_in_default>
|
86 |
+
<show_in_website>1</show_in_website>
|
87 |
+
<show_in_store>1</show_in_store>
|
88 |
+
</title>
|
89 |
+
<allowspecific translate="label">
|
90 |
+
<label>Payment from Applicable Countries</label>
|
91 |
+
<frontend_type>allowspecific</frontend_type>
|
92 |
+
<sort_order>50</sort_order>
|
93 |
+
<source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
|
94 |
+
<show_in_default>1</show_in_default>
|
95 |
+
<show_in_website>1</show_in_website>
|
96 |
+
<show_in_store>0</show_in_store>
|
97 |
+
</allowspecific>
|
98 |
+
<specificcountry translate="label">
|
99 |
+
<label>Payment from Specific Countries</label>
|
100 |
+
<frontend_type>multiselect</frontend_type>
|
101 |
+
<sort_order>51</sort_order>
|
102 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
103 |
+
<show_in_default>1</show_in_default>
|
104 |
+
<show_in_website>1</show_in_website>
|
105 |
+
<show_in_store>0</show_in_store>
|
106 |
+
<can_be_empty>1</can_be_empty>
|
107 |
+
</specificcountry>
|
108 |
+
</fields>
|
109 |
+
</adminpayment>
|
110 |
+
</groups>
|
111 |
+
</payment>
|
112 |
+
</sections>
|
113 |
+
</config>
|
app/etc/modules/Egits_AdminPayment.xml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* eGlobe IT Solutions (P)Ltd.
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://ecommerce.eglobeits.com/license.txt
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to hello@eglobeits.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* =================================================================
|
17 |
+
* MAGENTO USAGE NOTICE
|
18 |
+
* =================================================================
|
19 |
+
* This package designed & developed for Magento COMMUNITY edition
|
20 |
+
* eGits does not guarantee correct work of this extension
|
21 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
22 |
+
* eGits does not provide extension support in case of
|
23 |
+
* incorrect edition usage.
|
24 |
+
* =================================================================
|
25 |
+
*
|
26 |
+
* @category Egits
|
27 |
+
* @package Egits_AdminPayment
|
28 |
+
* @version 0.1.0
|
29 |
+
* @copyright Copyright (c) 2015-2016 eGlobe IT Solutions (P)Ltd. (http://www.eglobeits.com/)
|
30 |
+
* @author eGits Team <hello@eglobeits.com>
|
31 |
+
* @license http://ecommerce.eglobeits.com/license.txt
|
32 |
+
*/
|
33 |
+
-->
|
34 |
+
<config>
|
35 |
+
<modules>
|
36 |
+
<Egits_AdminPayment>
|
37 |
+
<active>true</active>
|
38 |
+
<codePool>community</codePool>
|
39 |
+
</Egits_AdminPayment>
|
40 |
+
</modules>
|
41 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Free_Admin_Payment_Method</name>
|
4 |
+
<version>0.1.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://ecommerce.eglobeits.com/license.txt">EULA</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>“Free Admin Payment” can help you exceed your goals. Trusted by world leading Magento admins, it gives the best possible experience in implementing blank payment method or a demo payment method to admins.</summary>
|
10 |
+
<description>If you are looking for a perfect product for building great eCommerce websites with Magento, “Free Admin Payment” can help you exceed your goals. Trusted by world leading Magento admins, it gives the best possible experience in implementing blank payment method or a demo payment method to admins. Whatever your requirements are, how complexed your Magento platform is, Free Admin Payment can give you ultra-ease in managing and matching your transactions. It will ensure that the resulting total order equals the total even if the customer has already made the payment.</description>
|
11 |
+
<notes>Initial release</notes>
|
12 |
+
<authors><author><name>eGlobe IT Solutions</name><user>egits</user><email>hello@eglobeits.com</email></author></authors>
|
13 |
+
<date>2015-03-26</date>
|
14 |
+
<time>08:51:49</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Egits"><dir name="AdminPayment"><dir name="Block"><file name="Info.php" hash="e5c63da78a3c19edc974e412cad166b1"/></dir><dir name="Helper"><file name="Data.php" hash="2bd4ed43b97b629cfb499b12bedc23d4"/></dir><dir name="Model"><dir name="Method"><file name="Free.php" hash="6f006768caa6282f4fac6d18b4d260ca"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="4108c8c970351f84a02fdeb908225266"/><file name="config.xml" hash="936cd6a43ad8c6e7d88d1fd89276e9f3"/><file name="system.xml" hash="e3b446b675b803b79e6d7169e1497416"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Egits_AdminPayment.xml" hash="a832595dfe08f1fdb92a5b41ca5f9460"/></dir></target><target name="mageweb"><dir name="."><file name="LICENSE.txt" hash="a0ee912fd64f8ac619025272a61bf520"/></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>1.5.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
+
</package>
|