Apruve_B2B_Payment_Gateway - Version 1.0.2

Version Notes

Stable Version

Download this release

Release Info

Developer Magento Core Team
Extension Apruve_B2B_Payment_Gateway
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

Files changed (28) hide show
  1. app/code/community/Apruve/ApruvePayment/Block/Admin/Webhook.php +16 -5
  2. app/code/community/Apruve/ApruvePayment/Block/Payment/Form.php +16 -5
  3. app/code/community/Apruve/ApruvePayment/Block/Review.php +17 -5
  4. app/code/community/Apruve/ApruvePayment/Block/Review/Billing.php +19 -0
  5. app/code/community/Apruve/ApruvePayment/Block/Review/Details.php +19 -0
  6. app/code/community/Apruve/ApruvePayment/Block/Review/Result.php +17 -5
  7. app/code/community/Apruve/ApruvePayment/Block/Review/Shipping.php +19 -0
  8. app/code/community/Apruve/ApruvePayment/Helper/Data.php +18 -0
  9. app/code/community/Apruve/ApruvePayment/LICENSE.txt +66 -0
  10. app/code/community/Apruve/ApruvePayment/Model/Api/Abstract.php +18 -0
  11. app/code/community/Apruve/ApruvePayment/Model/Api/PaymentRequest.php +21 -0
  12. app/code/community/Apruve/ApruvePayment/Model/Api/Rest.php +20 -0
  13. app/code/community/Apruve/ApruvePayment/Model/PaymentMethod.php +20 -1
  14. app/code/community/Apruve/ApruvePayment/Model/Session.php +19 -0
  15. app/code/community/Apruve/ApruvePayment/controllers/PaymentController.php +19 -0
  16. app/code/community/Apruve/ApruvePayment/controllers/WebhookController.php +17 -5
  17. app/code/community/Apruve/ApruvePayment/etc/config.xml +1 -1
  18. app/design/frontend/default/default/template/apruvepayment/head.phtml +23 -2
  19. app/design/frontend/default/default/template/apruvepayment/payment/form.phtml +21 -0
  20. app/design/frontend/default/default/template/apruvepayment/payment/mark.phtml +22 -1
  21. app/design/frontend/default/default/template/apruvepayment/review.phtml +21 -0
  22. app/design/frontend/default/default/template/apruvepayment/review/address.phtml +8 -14
  23. app/design/frontend/default/default/template/apruvepayment/review/details.phtml +8 -18
  24. app/design/frontend/default/default/template/apruvepayment/review/result.phtml +21 -0
  25. app/design/frontend/default/default/template/apruvepayment/review/shipping/method.phtml +10 -15
  26. app/design/frontend/default/default/template/apruvepayment/review/shipping_method.phtml +21 -0
  27. app/design/frontend/default/default/template/apruvepayment/shortcut.phtml +21 -0
  28. package.xml +6 -6
app/code/community/Apruve/ApruvePayment/Block/Admin/Webhook.php CHANGED
@@ -1,10 +1,21 @@
1
  <?php
2
  /**
3
- * Created by JetBrains PhpStorm.
4
- * User: Saa
5
- * Date: 14.10.13
6
- * Time: 12:08
7
- * To change this template use File | Settings | File Templates.
 
 
 
 
 
 
 
 
 
 
 
8
  */
9
 
10
  class Apruve_ApruvePayment_Block_Admin_Webhook extends Mage_Adminhtml_Block_System_Config_Form_Field
1
  <?php
2
  /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
  */
20
 
21
  class Apruve_ApruvePayment_Block_Admin_Webhook extends Mage_Adminhtml_Block_System_Config_Form_Field
app/code/community/Apruve/ApruvePayment/Block/Payment/Form.php CHANGED
@@ -1,10 +1,21 @@
1
  <?php
2
  /**
3
- * Created by JetBrains PhpStorm.
4
- * User: Saa
5
- * Date: 24.09.13
6
- * Time: 13:37
7
- * To change this template use File | Settings | File Templates.
 
 
 
 
 
 
 
 
 
 
 
8
  */
9
 
10
  class Apruve_ApruvePayment_Block_Payment_Form extends Mage_Payment_Block_Form
1
  <?php
2
  /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
  */
20
 
21
  class Apruve_ApruvePayment_Block_Payment_Form extends Mage_Payment_Block_Form
app/code/community/Apruve/ApruvePayment/Block/Review.php CHANGED
@@ -1,10 +1,22 @@
1
  <?php
 
2
  /**
3
- * Created by JetBrains PhpStorm.
4
- * User: Saa
5
- * Date: 01.10.13
6
- * Time: 13:09
7
- * To change this template use File | Settings | File Templates.
 
 
 
 
 
 
 
 
 
 
 
8
  */
9
 
10
  class Apruve_ApruvePayment_Block_Review extends Mage_Core_Block_Template
1
  <?php
2
+
3
  /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
  */
21
 
22
  class Apruve_ApruvePayment_Block_Review extends Mage_Core_Block_Template
app/code/community/Apruve/ApruvePayment/Block/Review/Billing.php CHANGED
@@ -1,5 +1,24 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class Apruve_ApruvePayment_Block_Review_Billing extends Mage_Checkout_Block_Onepage_Billing
4
  {
5
  /**
1
  <?php
2
 
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
  class Apruve_ApruvePayment_Block_Review_Billing extends Mage_Checkout_Block_Onepage_Billing
23
  {
24
  /**
app/code/community/Apruve/ApruvePayment/Block/Review/Details.php CHANGED
@@ -1,5 +1,24 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class Apruve_ApruvePayment_Block_Review_Details extends Mage_Checkout_Block_Cart_Totals
4
  {
5
  /**
1
  <?php
2
 
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
  class Apruve_ApruvePayment_Block_Review_Details extends Mage_Checkout_Block_Cart_Totals
23
  {
24
  /**
app/code/community/Apruve/ApruvePayment/Block/Review/Result.php CHANGED
@@ -1,10 +1,22 @@
1
  <?php
 
2
  /**
3
- * Created by JetBrains PhpStorm.
4
- * User: Saa
5
- * Date: 02.10.13
6
- * Time: 18:06
7
- * To change this template use File | Settings | File Templates.
 
 
 
 
 
 
 
 
 
 
 
8
  */
9
 
10
  class Apruve_ApruvePayment_Block_Review_Result extends Mage_Core_Block_Template
1
  <?php
2
+
3
  /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
  */
21
 
22
  class Apruve_ApruvePayment_Block_Review_Result extends Mage_Core_Block_Template
app/code/community/Apruve/ApruvePayment/Block/Review/Shipping.php CHANGED
@@ -1,5 +1,24 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class Apruve_ApruvePayment_Block_Review_Shipping extends Mage_Checkout_Block_Onepage_Shipping
4
  {
5
  /**
1
  <?php
2
 
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
  class Apruve_ApruvePayment_Block_Review_Shipping extends Mage_Checkout_Block_Onepage_Shipping
23
  {
24
  /**
app/code/community/Apruve/ApruvePayment/Helper/Data.php CHANGED
@@ -1,5 +1,23 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  class Apruve_ApruvePayment_Helper_Data extends Mage_Core_Helper_Abstract
5
  {
1
  <?php
2
 
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
 
22
  class Apruve_ApruvePayment_Helper_Data extends Mage_Core_Helper_Abstract
23
  {
app/code/community/Apruve/ApruvePayment/LICENSE.txt ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License, Version 2.0
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
13
+
14
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
15
+
16
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
17
+
18
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
19
+
20
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
21
+
22
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
23
+
24
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
25
+
26
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
27
+
28
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
29
+
30
+ 2. Grant of Copyright License.
31
+
32
+ Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
33
+
34
+ 3. Grant of Patent License.
35
+
36
+ Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
37
+
38
+ 4. Redistribution.
39
+
40
+ You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
41
+
42
+ You must give any other recipients of the Work or Derivative Works a copy of this License; and
43
+ You must cause any modified files to carry prominent notices stating that You changed the files; and
44
+ You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
45
+ If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
46
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
47
+
48
+ 5. Submission of Contributions.
49
+
50
+ Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
51
+
52
+ 6. Trademarks.
53
+
54
+ This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
55
+
56
+ 7. Disclaimer of Warranty.
57
+
58
+ Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
59
+
60
+ 8. Limitation of Liability.
61
+
62
+ In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
63
+
64
+ 9. Accepting Warranty or Additional Liability.
65
+
66
+ While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
app/code/community/Apruve/ApruvePayment/Model/Api/Abstract.php CHANGED
@@ -1,5 +1,23 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  abstract class Apruve_ApruvePayment_Model_Api_Abstract
5
  {
1
  <?php
2
 
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
 
22
  abstract class Apruve_ApruvePayment_Model_Api_Abstract
23
  {
app/code/community/Apruve/ApruvePayment/Model/Api/PaymentRequest.php CHANGED
@@ -1,4 +1,25 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  /**
3
  * Class Apruve_ApruvePayment_Model_Api_PaymentRequest
4
  * Provide methods to build paymentRequest
1
  <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
+
23
  /**
24
  * Class Apruve_ApruvePayment_Model_Api_PaymentRequest
25
  * Provide methods to build paymentRequest
app/code/community/Apruve/ApruvePayment/Model/Api/Rest.php CHANGED
@@ -1,4 +1,24 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  /**
3
  * Class Apruve_ApruvePayment_Model_Api_Rest
4
  *
1
  <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
  /**
23
  * Class Apruve_ApruvePayment_Model_Api_Rest
24
  *
app/code/community/Apruve/ApruvePayment/Model/PaymentMethod.php CHANGED
@@ -1,5 +1,24 @@
1
  <?php
2
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class Apruve_ApruvePayment_Model_PaymentMethod extends Mage_Payment_Model_Method_Abstract
4
  {
5
  protected $_code = 'apruvepayment';
1
  <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
  class Apruve_ApruvePayment_Model_PaymentMethod extends Mage_Payment_Model_Method_Abstract
23
  {
24
  protected $_code = 'apruvepayment';
app/code/community/Apruve/ApruvePayment/Model/Session.php CHANGED
@@ -1,5 +1,24 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class Apruve_ApruvePayment_Model_Session extends Mage_Core_Model_Session_Abstract
4
  {
5
  public function __construct()
1
  <?php
2
 
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
  class Apruve_ApruvePayment_Model_Session extends Mage_Core_Model_Session_Abstract
23
  {
24
  public function __construct()
app/code/community/Apruve/ApruvePayment/controllers/PaymentController.php CHANGED
@@ -1,5 +1,24 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class Apruve_ApruvePayment_PaymentController extends Mage_Core_Controller_Front_Action
4
  {
5
  public function reviewAction()
1
  <?php
2
 
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
+ */
21
+
22
  class Apruve_ApruvePayment_PaymentController extends Mage_Core_Controller_Front_Action
23
  {
24
  public function reviewAction()
app/code/community/Apruve/ApruvePayment/controllers/WebhookController.php CHANGED
@@ -1,10 +1,22 @@
1
  <?php
 
2
  /**
3
- * Created by JetBrains PhpStorm.
4
- * User: Saa
5
- * Date: 14.10.13
6
- * Time: 13:07
7
- * To change this template use File | Settings | File Templates.
 
 
 
 
 
 
 
 
 
 
 
8
  */
9
 
10
  class Apruve_ApruvePayment_WebhookController extends Mage_Core_Controller_Front_Action
1
  <?php
2
+
3
  /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
+ *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
20
  */
21
 
22
  class Apruve_ApruvePayment_WebhookController extends Mage_Core_Controller_Front_Action
app/code/community/Apruve/ApruvePayment/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Apruve_ApruvePayment>
5
- <version>1.0.1</version>
6
  </Apruve_ApruvePayment>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Apruve_ApruvePayment>
5
+ <version>1.0.2</version>
6
  </Apruve_ApruvePayment>
7
  </modules>
8
  <frontend>
app/design/frontend/default/default/template/apruvepayment/head.phtml CHANGED
@@ -1,6 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php if(Mage::getStoreConfig('payment/apruvepayment/testmode')):?>
2
- <script type="text/javascript" src="https://test.apruve.com/js/apruve.js"></script>
3
  <?php else: ?>
4
- <script type="text/javascript" src="https://www.apruve.com/js/apruve.js"></script>
5
  <?php endif; ?>
6
  <script type="text/javascript" src="/js/Apruve/ApruvePayment.js"></script>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
+ */
20
+ ?>
21
+
22
  <?php if(Mage::getStoreConfig('payment/apruvepayment/testmode')):?>
23
+ <script type="text/javascript" src="https://test.apruve.com/js/apruve.js?display=compact"></script>
24
  <?php else: ?>
25
+ <script type="text/javascript" src="https://www.apruve.com/js/apruve.js?display=compact"></script>
26
  <?php endif; ?>
27
  <script type="text/javascript" src="/js/Apruve/ApruvePayment.js"></script>
app/design/frontend/default/default/template/apruvepayment/payment/form.phtml CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div id="payment_form_apruvepayment">
2
  Press continue to review order.
3
  <input type="hidden" id="aprt" value="" name="payment[aprt]"/>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
+ */
20
+ ?>
21
+
22
  <div id="payment_form_apruvepayment">
23
  Press continue to review order.
24
  <input type="hidden" id="aprt" value="" name="payment[aprt]"/>
app/design/frontend/default/default/template/apruvepayment/payment/mark.phtml CHANGED
@@ -1,9 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  $helper = Mage::helper('apruvepayment');
3
  $paymentRequestModel = $helper->getPaymentRequestApiModel();
4
  ?>
5
 
6
- <div id="apruveDiv" style="display: inline-block;"></div>
7
 
8
  <script type="test/javascript">
9
  var sh = '<?php echo $paymentRequestModel->getSecureHash();?>';
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
+ */
20
+ ?>
21
+
22
  <?php
23
  $helper = Mage::helper('apruvepayment');
24
  $paymentRequestModel = $helper->getPaymentRequestApiModel();
25
  ?>
26
 
27
+ <div id="apruveDiv" style="display: inline-block; position: absolute; margin-top: -5px; margin-left: 7px;"></div>
28
 
29
  <script type="test/javascript">
30
  var sh = '<?php echo $paymentRequestModel->getSecureHash();?>';
app/design/frontend/default/default/template/apruvepayment/review.phtml CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php $errors = $this->getErrors();?>
2
  <div class="page-title">
3
  <h1><?php echo $this->__('Review Order') ?></h1>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
+ */
20
+ ?>
21
+
22
  <?php $errors = $this->getErrors();?>
23
  <div class="page-title">
24
  <h1><?php echo $this->__('Review Order') ?></h1>
app/design/frontend/default/default/template/apruvepayment/review/address.phtml CHANGED
@@ -4,24 +4,18 @@
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
  * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
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 license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
  ?>
27
  <?php
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
  *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
 
 
 
 
 
 
19
  */
20
  ?>
21
  <?php
app/design/frontend/default/default/template/apruvepayment/review/details.phtml CHANGED
@@ -4,28 +4,18 @@
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
  * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
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 license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
-
27
- /**
28
- * @see Mage_Paypal_Block_Express_Review_Details
29
  */
30
  ?>
31
  <table id="details-table" class="data-table">
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
  *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
 
 
 
 
 
 
 
 
 
 
19
  */
20
  ?>
21
  <table id="details-table" class="data-table">
app/design/frontend/default/default/template/apruvepayment/review/result.phtml CHANGED
@@ -1 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  Thank you for your order.
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
+ */
20
+ ?>
21
+
22
  Thank you for your order.
app/design/frontend/default/default/template/apruvepayment/review/shipping/method.phtml CHANGED
@@ -1,29 +1,24 @@
1
  <?php
 
2
  /**
3
  * Magento
4
  *
5
  * NOTICE OF LICENSE
6
  *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
  * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
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 license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
- /** @var $this Mage_Paypal_Block_Express_Review */
27
  ?>
28
  <fieldset id="shipping-method-container">
29
  <?php if ($this->getCanEditShippingMethod() || !$this->getCurrentShippingRate()):?>
1
  <?php
2
+
3
  /**
4
  * Magento
5
  *
6
  * NOTICE OF LICENSE
7
  *
8
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
15
  *
16
+ * @category Apruve
17
+ * @package Apruve_Payment
18
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
19
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
 
 
 
 
 
 
20
  */
21
+
22
  ?>
23
  <fieldset id="shipping-method-container">
24
  <?php if ($this->getCanEditShippingMethod() || !$this->getCurrentShippingRate()):?>
app/design/frontend/default/default/template/apruvepayment/review/shipping_method.phtml CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div class="info-set">
2
  <h2 class="legend">Shipping Method</h2>
3
  <form method="post" action="<?php echo $this->getUrl('apruvepayment/payment/updateShippingMethod');?>">
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
+ */
20
+ ?>
21
+
22
  <div class="info-set">
23
  <h2 class="legend">Shipping Method</h2>
24
  <form method="post" action="<?php echo $this->getUrl('apruvepayment/payment/updateShippingMethod');?>">
app/design/frontend/default/default/template/apruvepayment/shortcut.phtml CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php $helper = Mage::helper('apruvepayment'); ?>
2
 
3
  <script src="https://test.apruve.com/js/apruve.js" type="text/javascript"></script>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Apache License, Version 2.0
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://opensource.org/licenses/Apache-2.0
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 license@apruve.com so we can send you a copy immediately.
14
+ *
15
+ * @category Apruve
16
+ * @package Apruve_Payment
17
+ * @copyright Copyright (coffee) 2014 Apruve, Inc. (http://www.apruve.com).
18
+ * @license http://opensource.org/licenses/Apache-2.0 Apache License, Version 2.0
19
+ */
20
+ ?>
21
+
22
  <?php $helper = Mage::helper('apruvepayment'); ?>
23
 
24
  <script src="https://test.apruve.com/js/apruve.js" type="text/javascript"></script>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Apruve_B2B_Payment_Gateway</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License, 2.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Payments designed for business spending. Increase sales and reduce cart abandonment by allowing your shoppers to send purchases directly to their company or client for payment, simply by using an email address instead of a credit card. Learn more and sign up for a free merchant account at http://www.apruve.com.</summary>
10
  <description>Payments designed for business spending. Increase sales and reduce cart abandonment by allowing your shoppers to send purchases directly to their company or client for payment, simply by using an email address instead of a credit card. Learn more and sign up for a free merchant account at http://www.apruve.com.</description>
11
- <notes>Release</notes>
12
- <authors><author><name>Apruve, Inc.</name><user>auto-converted</user><email>apruve@magento.com</email></author></authors>
13
- <date>2013-12-18</date>
14
- <time>21:11:04</time>
15
- <contents><target name="magecommunity"><dir name="Apruve"><dir name="ApruvePayment"><dir name="Block"><dir name="Admin"><file name="Webhook.php" hash="7d177e854e1f11abf4bf2f2e7961f23c"/></dir><dir name="Payment"><file name="Form.php" hash="9165ecf944750bb0945bfd92e8e6aa37"/></dir><dir name="Review"><file name="Billing.php" hash="a5b5ae0eb3c462e254cd17836cd0c322"/><file name="Details.php" hash="0098c3c32cfe7b3b88b2f3c282b386ba"/><file name="Result.php" hash="30e178df0f289a60615e3e5d1593f9de"/><file name="Shipping.php" hash="69cbea66dfe1ef0b15ff1a9fe02e84e6"/></dir><file name="Review.php" hash="5997c4fd7a53db047daaaca156ab634d"/></dir><dir name="Helper"><file name="Data.php" hash="aa55449aa48b32b6ad429630742301e7"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="52a9387e00e6146a3f530a6efba29e15"/><file name="PaymentRequest.php" hash="238f4670b7b302b335833c330f538cd6"/><file name="Rest.php" hash="bedde3a67c7f50baf7c0b9a76cfb84de"/></dir><dir name="Mysql4"><file name="Setup.php" hash="8b3e5b033dac91b47e59c024e16c04ec"/></dir><file name="PaymentMethod.php" hash="20c873a5621dae7e2c7e291967e2fdd5"/><file name="Session.php" hash="c48c70cec29137079926f304007569a6"/></dir><dir name="controllers"><file name="PaymentController.php" hash="d6bfc2b4e58f4f48a9932f3061b49d4b"/><file name="WebhookController.php" hash="a609157048ab0fa542f08bc6d336daa3"/></dir><dir name="etc"><file name="config.xml" hash="96f78008454ae64869ddca8ea61c9dbd"/><file name="system.xml" hash="edea825e239bc173d092d86cb940fe4d"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Apruve_ApruvePayment.xml" hash="68277872189de89c07b32651805c0cfd"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="apruvepayment.xml" hash="1d52df076454609594100f4f34410335"/></dir><dir name="template"><dir name="apruvepayment"><dir name="payment"><file name="form.phtml" hash="a25aa81654842c663049f6fde95fea96"/><file name="mark.phtml" hash="53bef0ba7c446f46eaef3b1ce43c0daf"/></dir><dir name="review"><dir name="shipping"><file name="method.phtml" hash="b3d255b8567f88996b2ed7cc36895a6e"/></dir><file name="address.phtml" hash="2d1c8a3ab36d35626c34e3a85466cedf"/><file name="details.phtml" hash="131bb43940d21196dd5067f4526e2ee5"/><file name="result.phtml" hash="a053fc9952a7dfc79282eba56ab8ad3a"/><file name="shipping_method.phtml" hash="612a34af37ed0f2dc74a4e740663e519"/></dir><file name="head.phtml" hash="84ac2a40701192e2570f911c29700a35"/><file name="review.phtml" hash="3563a6076a4185404dbdf409a2897735"/><file name="shortcut.phtml" hash="3199f72c2a48e96d3f0b38da6b841c36"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="Apruve"><file name="ApruvePayment.js" hash="e6f1716e3e0668963dffff0d1ab04fb1"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Apruve_B2B_Payment_Gateway</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License, 2.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Payments designed for business spending. Increase sales and reduce cart abandonment by allowing your shoppers to send purchases directly to their company or client for payment, simply by using an email address instead of a credit card. Learn more and sign up for a free merchant account at http://www.apruve.com.</summary>
10
  <description>Payments designed for business spending. Increase sales and reduce cart abandonment by allowing your shoppers to send purchases directly to their company or client for payment, simply by using an email address instead of a credit card. Learn more and sign up for a free merchant account at http://www.apruve.com.</description>
11
+ <notes>Stable Version</notes>
12
+ <authors><author><name>Apruve</name><user>auto-converted</user><email>magento@apruve.com</email></author></authors>
13
+ <date>2014-01-09</date>
14
+ <time>16:56:36</time>
15
+ <contents><target name="magecommunity"><dir name="Apruve"><dir name="ApruvePayment"><dir name="Block"><dir name="Admin"><file name="Webhook.php" hash="9d4bdae192f68d18b90ba7758d65413a"/></dir><dir name="Payment"><file name="Form.php" hash="06b236c8a4b77938fc4aa4958a5d0b51"/></dir><dir name="Review"><file name="Billing.php" hash="ef25b3b421753e850492230121ba123d"/><file name="Details.php" hash="630be5289ef8190c50932195e78d6f2f"/><file name="Result.php" hash="c04da45eabf6a68111f212ed3f9f1a85"/><file name="Shipping.php" hash="6996af1a1165e1652327b596f7300625"/></dir><file name="Review.php" hash="05da13dee430b15710ea26dfa7b2c705"/></dir><dir name="Helper"><file name="Data.php" hash="4e541255b94d18f3ee058044810cade2"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="c797cf78dffdd8ce7e5255dbda680c86"/><file name="PaymentRequest.php" hash="20642627cc3ae5c3fd3551ee7d545350"/><file name="Rest.php" hash="24594a585e77d39141e481cd33817b3d"/></dir><dir name="Mysql4"><file name="Setup.php" hash="8b3e5b033dac91b47e59c024e16c04ec"/></dir><file name="PaymentMethod.php" hash="e59fa770e455f1bf19ccd2fc66d21386"/><file name="Session.php" hash="2f7d9205490a8c0a053c1898a8e01cc4"/></dir><dir name="controllers"><file name="PaymentController.php" hash="35ed73a7807c4e8c299c89d160e3b791"/><file name="WebhookController.php" hash="f326a073653658b3844ee925fd20a4d8"/></dir><dir name="etc"><file name="config.xml" hash="945c46930d0a19c28769211ddb26a448"/><file name="system.xml" hash="edea825e239bc173d092d86cb940fe4d"/></dir><file name="LICENSE.txt" hash="9b76dd4b62de4f9840b5d462fcb25e39"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Apruve_ApruvePayment.xml" hash="68277872189de89c07b32651805c0cfd"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="apruvepayment.xml" hash="1d52df076454609594100f4f34410335"/></dir><dir name="template"><dir name="apruvepayment"><dir name="payment"><file name="form.phtml" hash="f5bb213aa629bed02b7c83c3e7512bbc"/><file name="mark.phtml" hash="266dfd05c9a3f308b7f3878c338d8750"/></dir><dir name="review"><dir name="shipping"><file name="method.phtml" hash="5d35b4f1f35d264bcd01864855da8db5"/></dir><file name="address.phtml" hash="6b9847fc1c92a1751de58691d6757313"/><file name="details.phtml" hash="603681f92d1683bf8edce9ac5bce7d2f"/><file name="result.phtml" hash="2b7438c88e2248f7591d600592210519"/><file name="shipping_method.phtml" hash="a8291b340315ca485c6a298eb86b3a0c"/></dir><file name="head.phtml" hash="34585fced2912e86978ab3253791c5a2"/><file name="review.phtml" hash="5e7d1ab1aebe6fa1cfec6e80466e665c"/><file name="shortcut.phtml" hash="cfb4ddcaa286b8b5fd1dc32dcdcde77d"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="Apruve"><file name="ApruvePayment.js" hash="e6f1716e3e0668963dffff0d1ab04fb1"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>