Invipay_Ipcpaygate - Version 1.0.0.3

Version Notes

* Better compatibility with older PHP versions
* Know-how link in checkout block
* Bug fixes

Download this release

Release Info

Developer inviPay.com
Extension Invipay_Ipcpaygate
Version 1.0.0.3
Comparing to
See all releases


Code changes from version 1.0.0.2 to 1.0.0.3

Files changed (86) hide show
  1. app/code/community/Invipay/Common/Apiclient/LiabilitiesApiClient.class.php +30 -0
  2. app/code/community/Invipay/Common/Apiclient/PaygateApiClient.class.php +30 -2
  3. app/code/community/Invipay/Common/Apiclient/README.md +5 -0
  4. app/code/community/Invipay/Common/Apiclient/ReportsApiClient.class.php +30 -0
  5. app/code/community/Invipay/Common/Apiclient/TestApiClient.class.php +30 -0
  6. app/code/community/Invipay/Common/Apiclient/TransactionsApiClient.class.php +30 -0
  7. app/code/community/Invipay/Common/Apiclient/dto/AddressData.class.php +30 -0
  8. app/code/community/Invipay/Common/Apiclient/dto/BankAccount.class.php +30 -0
  9. app/code/community/Invipay/Common/Apiclient/dto/BaseApiData.class.php +30 -0
  10. app/code/community/Invipay/Common/Apiclient/dto/BaseDocumentDetails.class.php +30 -0
  11. app/code/community/Invipay/Common/Apiclient/dto/Contractor.class.php +30 -0
  12. app/code/community/Invipay/Common/Apiclient/dto/DocumentAttachmentDownloadInfo.class.php +30 -0
  13. app/code/community/Invipay/Common/Apiclient/dto/FileData.class.php +30 -0
  14. app/code/community/Invipay/Common/Apiclient/dto/FileInfo.class.php +30 -0
  15. app/code/community/Invipay/Common/Apiclient/dto/ListFilter.class.php +30 -0
  16. app/code/community/Invipay/Common/Apiclient/dto/index.php +38 -0
  17. app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/CommissionInvoiceDetails.class.php +30 -0
  18. app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/InterestInvoiceDetails.class.php +30 -0
  19. app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/InterestNoteDetails.class.php +30 -0
  20. app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/LiabilityDocumentDetails.class.php +30 -0
  21. app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/index.php +38 -0
  22. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/CallbackDataFormat.enum.php +30 -0
  23. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/OrderToInvoiceData.class.php +30 -0
  24. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentCreationData.class.php +30 -0
  25. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentData.class.php +30 -0
  26. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentManagementData.class.php +30 -0
  27. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentRequestStatus.enum.php +30 -0
  28. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentStartInfo.class.php +30 -0
  29. app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/index.php +38 -0
  30. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportCommissionInvoiceItem.class.php +30 -0
  31. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportDocument.class.php +30 -0
  32. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportInterestInvoiceItem.class.php +30 -0
  33. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportInterestNoteItem.class.php +30 -0
  34. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportPaymentItem.class.php +30 -0
  35. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportPayoffItem.class.php +30 -0
  36. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportPurchaseItem.class.php +30 -0
  37. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSBItem.class.php +30 -0
  38. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSPSettlementItem.class.php +30 -0
  39. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSReversedSettlementItem.class.php +30 -0
  40. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSSettlementItem.class.php +30 -0
  41. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportResaleStatementItem.class.php +30 -0
  42. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportSaleItem.class.php +30 -0
  43. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportSettlementItem.class.php +30 -0
  44. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/DocumentItem.class.php +30 -0
  45. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/ReportFilter.class.php +30 -0
  46. app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/index.php +38 -0
  47. app/code/community/Invipay/Common/Apiclient/dto/testapiservice/EchoIn.class.php +30 -0
  48. app/code/community/Invipay/Common/Apiclient/dto/testapiservice/EchoOut.class.php +30 -0
  49. app/code/community/Invipay/Common/Apiclient/dto/testapiservice/index.php +38 -0
  50. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/BaseTransactionData.class.php +30 -0
  51. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/InvoiceData.class.php +30 -0
  52. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/OrderData.class.php +30 -0
  53. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionDetails.class.php +30 -0
  54. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionItemDetails.class.php +30 -0
  55. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionSide.enum.php +30 -0
  56. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionType.enum.php +30 -0
  57. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionsFilter.class.php +30 -0
  58. app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/index.php +38 -0
  59. app/code/community/Invipay/Common/Apiclient/examples/data/index.php +38 -0
  60. app/code/community/Invipay/Common/Apiclient/examples/example.common.php +27 -0
  61. app/code/community/Invipay/Common/Apiclient/examples/index.php +38 -0
  62. app/code/community/Invipay/Common/Apiclient/examples/liabilities.example.php +27 -0
  63. app/code/community/Invipay/Common/Apiclient/examples/output/index.php +38 -0
  64. app/code/community/Invipay/Common/Apiclient/examples/paygate.callback.example.php +27 -0
  65. app/code/community/Invipay/Common/Apiclient/examples/paygate.example.php +30 -3
  66. app/code/community/Invipay/Common/Apiclient/examples/reports.example.php +27 -0
  67. app/code/community/Invipay/Common/Apiclient/examples/test.example.php +27 -0
  68. app/code/community/Invipay/Common/Apiclient/examples/transactions.example.php +27 -0
  69. app/code/community/Invipay/Common/Apiclient/exceptions/AccessFromIpDeniedException.class.php +30 -0
  70. app/code/community/Invipay/Common/Apiclient/exceptions/ApiOperationException.class.php +30 -0
  71. app/code/community/Invipay/Common/Apiclient/exceptions/AuthenticationException.class.php +30 -0
  72. app/code/community/Invipay/Common/Apiclient/exceptions/ObjectNotFoundException.class.php +30 -0
  73. app/code/community/Invipay/Common/Apiclient/exceptions/SignatureException.class.php +30 -0
  74. app/code/community/Invipay/Common/Apiclient/exceptions/TransactionContractorException.class.php +30 -0
  75. app/code/community/Invipay/Common/Apiclient/exceptions/ValidationException.class.php +30 -0
  76. app/code/community/Invipay/Common/Apiclient/exceptions/index.php +38 -0
  77. app/code/community/Invipay/Common/Apiclient/index.php +38 -0
  78. app/code/community/Invipay/Common/Apiclient/lib/AbstractRestApiClient.class.php +31 -1
  79. app/code/community/Invipay/Common/Apiclient/lib/index.php +38 -0
  80. app/code/community/Invipay/Ipcpaygate/Block/Form/Checkout.php +17 -1
  81. app/code/community/Invipay/Ipcpaygate/Helper/Data.php +4 -4
  82. app/code/community/Invipay/Ipcpaygate/controllers/PaymentController.php +1 -1
  83. app/code/community/Invipay/Ipcpaygate/etc/config.xml +2 -2
  84. app/design/frontend/base/default/template/ipcpaygate/form/checkout.phtml +3 -3
  85. app/design/frontend/base/default/template/ipcpaygate/form/checkout_label.phtml +4 -2
  86. package.xml +8 -7
app/code/community/Invipay/Common/Apiclient/LiabilitiesApiClient.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
4
  require_once(dirname(__FILE__) ."/dto/ListFilter.class.php");
5
  require_once(dirname(__FILE__) ."/dto/liabilitiesapiservice/CommissionInvoiceDetails.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
34
  require_once(dirname(__FILE__) ."/dto/ListFilter.class.php");
35
  require_once(dirname(__FILE__) ."/dto/liabilitiesapiservice/CommissionInvoiceDetails.class.php");
app/code/community/Invipay/Common/Apiclient/PaygateApiClient.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
4
  require_once(dirname(__FILE__) ."/dto/paygateapiservice/PaymentStartInfo.class.php");
5
  require_once(dirname(__FILE__) ."/dto/paygateapiservice/PaymentData.class.php");
@@ -21,8 +51,6 @@ class PaygateApiClient extends AbstractRestApiClient
21
  {
22
  $output = null;
23
 
24
- file_put_contents("/Volumes/Files/Users/Vir/Work/Aero Sandbox/Presta/dump.json", $callbackData);
25
-
26
  switch ($callbackDataFormat) {
27
  case CallbackDataFormat::JSON: $output = $this->__mapArrayToObject(json_decode($callbackData, true), 'PaymentData', false); break;
28
  case CallbackDataFormat::XML: $output = $this->__mapArrayToObject($this->__xmlToArray($callbackData), 'PaymentData', false); break;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
34
  require_once(dirname(__FILE__) ."/dto/paygateapiservice/PaymentStartInfo.class.php");
35
  require_once(dirname(__FILE__) ."/dto/paygateapiservice/PaymentData.class.php");
51
  {
52
  $output = null;
53
 
 
 
54
  switch ($callbackDataFormat) {
55
  case CallbackDataFormat::JSON: $output = $this->__mapArrayToObject(json_decode($callbackData, true), 'PaymentData', false); break;
56
  case CallbackDataFormat::XML: $output = $this->__mapArrayToObject($this->__xmlToArray($callbackData), 'PaymentData', false); break;
app/code/community/Invipay/Common/Apiclient/README.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ inviPay PHP API client
2
+ ======================
3
+
4
+ * Minimum tested PHP version: 5.3 (maybe runs on lower, need check)
5
+ * Checkout examples for now for more info
app/code/community/Invipay/Common/Apiclient/ReportsApiClient.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
4
  require_once(dirname(__FILE__) ."/dto/reportsapiservice/AccountantReportDocument.class.php");
5
  require_once(dirname(__FILE__) ."/dto/reportsapiservice/ReportFilter.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
34
  require_once(dirname(__FILE__) ."/dto/reportsapiservice/AccountantReportDocument.class.php");
35
  require_once(dirname(__FILE__) ."/dto/reportsapiservice/ReportFilter.class.php");
app/code/community/Invipay/Common/Apiclient/TestApiClient.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
4
  require_once(dirname(__FILE__) ."/dto/testapiservice/EchoIn.class.php");
5
  require_once(dirname(__FILE__) ."/dto/testapiservice/EchoOut.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
34
  require_once(dirname(__FILE__) ."/dto/testapiservice/EchoIn.class.php");
35
  require_once(dirname(__FILE__) ."/dto/testapiservice/EchoOut.class.php");
app/code/community/Invipay/Common/Apiclient/TransactionsApiClient.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
4
  require_once(dirname(__FILE__) ."/dto/transactionapiservice/InvoiceData.class.php");
5
  require_once(dirname(__FILE__) ."/dto/transactionapiservice/OrderData.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/lib/AbstractRestApiClient.class.php");
34
  require_once(dirname(__FILE__) ."/dto/transactionapiservice/InvoiceData.class.php");
35
  require_once(dirname(__FILE__) ."/dto/transactionapiservice/OrderData.class.php");
app/code/community/Invipay/Common/Apiclient/dto/AddressData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class AddressData
4
  {
5
  protected $street;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class AddressData
34
  {
35
  protected $street;
app/code/community/Invipay/Common/Apiclient/dto/BankAccount.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class BankAccount
4
  {
5
  protected $bankName;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class BankAccount
34
  {
35
  protected $bankName;
app/code/community/Invipay/Common/Apiclient/dto/BaseApiData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  abstract class BaseApiData
4
  {
5
  protected $createdAt;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  abstract class BaseApiData
34
  {
35
  protected $createdAt;
app/code/community/Invipay/Common/Apiclient/dto/BaseDocumentDetails.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/BaseApiData.class.php");
4
  require_once(dirname(__FILE__) ."/Contractor.class.php");
5
  require_once(dirname(__FILE__) ."/DocumentAttachmentDownloadInfo.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/BaseApiData.class.php");
34
  require_once(dirname(__FILE__) ."/Contractor.class.php");
35
  require_once(dirname(__FILE__) ."/DocumentAttachmentDownloadInfo.class.php");
app/code/community/Invipay/Common/Apiclient/dto/Contractor.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/AddressData.class.php");
4
  require_once(dirname(__FILE__) ."/BankAccount.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/AddressData.class.php");
34
  require_once(dirname(__FILE__) ."/BankAccount.class.php");
35
 
app/code/community/Invipay/Common/Apiclient/dto/DocumentAttachmentDownloadInfo.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/FileInfo.class.php");
4
 
5
  class DocumentAttachmentDownloadInfo extends FileInfo
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/FileInfo.class.php");
34
 
35
  class DocumentAttachmentDownloadInfo extends FileInfo
app/code/community/Invipay/Common/Apiclient/dto/FileData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class FileData
4
  {
5
  protected $name;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class FileData
34
  {
35
  protected $name;
app/code/community/Invipay/Common/Apiclient/dto/FileInfo.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class FileInfo
4
  {
5
  protected $name;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class FileInfo
34
  {
35
  protected $name;
app/code/community/Invipay/Common/Apiclient/dto/ListFilter.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class ListFilter
4
  {
5
  protected $modifiedAfter;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class ListFilter
34
  {
35
  protected $modifiedAfter;
app/code/community/Invipay/Common/Apiclient/dto/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/CommissionInvoiceDetails.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/LiabilityDocumentDetails.class.php");
4
 
5
  class CommissionInvoiceDetails extends LiabilityDocumentDetails
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/LiabilityDocumentDetails.class.php");
34
 
35
  class CommissionInvoiceDetails extends LiabilityDocumentDetails
app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/InterestInvoiceDetails.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/LiabilityDocumentDetails.class.php");
4
 
5
  class InterestInvoiceDetails extends LiabilityDocumentDetails
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/LiabilityDocumentDetails.class.php");
34
 
35
  class InterestInvoiceDetails extends LiabilityDocumentDetails
app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/InterestNoteDetails.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/LiabilityDocumentDetails.class.php");
4
 
5
  class InterestNoteDetails extends LiabilityDocumentDetails
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/LiabilityDocumentDetails.class.php");
34
 
35
  class InterestNoteDetails extends LiabilityDocumentDetails
app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/LiabilityDocumentDetails.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) . "/../BaseDocumentDetails.class.php");
4
 
5
  abstract class LiabilityDocumentDetails extends BaseDocumentDetails
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) . "/../BaseDocumentDetails.class.php");
34
 
35
  abstract class LiabilityDocumentDetails extends BaseDocumentDetails
app/code/community/Invipay/Common/Apiclient/dto/liabilitiesapiservice/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/CallbackDataFormat.enum.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  abstract class CallbackDataFormat
4
  {
5
  const JSON = "JSON";
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  abstract class CallbackDataFormat
34
  {
35
  const JSON = "JSON";
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/OrderToInvoiceData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class OrderToInvoiceData
4
  {
5
  protected $invoiceDocumentNumber;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class OrderToInvoiceData
34
  {
35
  protected $invoiceDocumentNumber;
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentCreationData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/CallbackDataFormat.enum.php");
4
  require_once(dirname(__FILE__) ."/../Contractor.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/CallbackDataFormat.enum.php");
34
  require_once(dirname(__FILE__) ."/../Contractor.class.php");
35
 
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/PaymentRequestStatus.enum.php");
4
  require_once(dirname(__FILE__) ."/../Contractor.class.php");
5
  require_once(dirname(__FILE__) ."/../BaseApiData.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/PaymentRequestStatus.enum.php");
34
  require_once(dirname(__FILE__) ."/../Contractor.class.php");
35
  require_once(dirname(__FILE__) ."/../BaseApiData.class.php");
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentManagementData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../FileData.class.php");
4
  require_once(dirname(__FILE__) ."/OrderToInvoiceData.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../FileData.class.php");
34
  require_once(dirname(__FILE__) ."/OrderToInvoiceData.class.php");
35
 
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentRequestStatus.enum.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  abstract class PaymentRequestStatus
4
  {
5
  const STARTED = "STARTED";
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  abstract class PaymentRequestStatus
34
  {
35
  const STARTED = "STARTED";
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/PaymentStartInfo.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class PaymentStartInfo
4
  {
5
  protected $paymentId;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class PaymentStartInfo
34
  {
35
  protected $paymentId;
app/code/community/Invipay/Common/Apiclient/dto/paygateapiservice/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportCommissionInvoiceItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportCommissionInvoiceItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportCommissionInvoiceItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportDocument.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
  require_once(dirname(__FILE__) ."/AccountantReportSaleItem.class.php");
5
  require_once(dirname(__FILE__) ."/AccountantReportPurchaseItem.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
  require_once(dirname(__FILE__) ."/AccountantReportSaleItem.class.php");
35
  require_once(dirname(__FILE__) ."/AccountantReportPurchaseItem.class.php");
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportInterestInvoiceItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportInterestInvoiceItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportInterestInvoiceItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportInterestNoteItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportInterestNoteItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportInterestNoteItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportPaymentItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportPaymentItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportPaymentItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportPayoffItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportPayoffItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportPayoffItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportPurchaseItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportPurchaseItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportPurchaseItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSBItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportRSBItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportRSBItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSPSettlementItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportRSPSettlementItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportRSPSettlementItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSReversedSettlementItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportRSReversedSettlementItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportRSReversedSettlementItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportRSSettlementItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportRSSettlementItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportRSSettlementItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportResaleStatementItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportResaleStatementItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportResaleStatementItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportSaleItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportSaleItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportSaleItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/AccountantReportSettlementItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
4
 
5
  class AccountantReportSettlementItem extends DocumentItem
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/DocumentItem.class.php");
34
 
35
  class AccountantReportSettlementItem extends DocumentItem
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/DocumentItem.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  abstract class DocumentItem
4
  {
5
  private $id;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  abstract class DocumentItem
34
  {
35
  private $id;
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/ReportFilter.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class ReportFilter
4
  {
5
  protected $fromDate;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class ReportFilter
34
  {
35
  protected $fromDate;
app/code/community/Invipay/Common/Apiclient/dto/reportsapiservice/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/dto/testapiservice/EchoIn.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class EchoIn
4
  {
5
  protected $message;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class EchoIn
34
  {
35
  protected $message;
app/code/community/Invipay/Common/Apiclient/dto/testapiservice/EchoOut.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class EchoOut
4
  {
5
  protected $echo;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class EchoOut
34
  {
35
  protected $echo;
app/code/community/Invipay/Common/Apiclient/dto/testapiservice/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/BaseTransactionData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../Contractor.class.php");
4
 
5
  abstract class BaseTransactionData
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../Contractor.class.php");
34
 
35
  abstract class BaseTransactionData
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/InvoiceData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/BaseTransactionData.class.php");
4
  require_once(dirname(__FILE__) ."/../FileData.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/BaseTransactionData.class.php");
34
  require_once(dirname(__FILE__) ."/../FileData.class.php");
35
 
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/OrderData.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/BaseTransactionData.class.php");
4
  require_once(dirname(__FILE__) ."/../FileData.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/BaseTransactionData.class.php");
34
  require_once(dirname(__FILE__) ."/../FileData.class.php");
35
 
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionDetails.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../BaseDocumentDetails.class.php");
4
  require_once(dirname(__FILE__) ."/TransactionType.enum.php");
5
  require_once(dirname(__FILE__) ."/TransactionItemDetails.class.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../BaseDocumentDetails.class.php");
34
  require_once(dirname(__FILE__) ."/TransactionType.enum.php");
35
  require_once(dirname(__FILE__) ."/TransactionItemDetails.class.php");
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionItemDetails.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class TransactionItemDetails
4
  {
5
  protected $id;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class TransactionItemDetails
34
  {
35
  protected $id;
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionSide.enum.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  abstract class TransactionSide
4
  {
5
  const PURCHASE = "PURCHASE";
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  abstract class TransactionSide
34
  {
35
  const PURCHASE = "PURCHASE";
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionType.enum.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  abstract class TransactionType
4
  {
5
  const INVOICE = "INVOICE";
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  abstract class TransactionType
34
  {
35
  const INVOICE = "INVOICE";
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/TransactionsFilter.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/TransactionType.enum.php");
4
  require_once(dirname(__FILE__) ."/TransactionSide.enum.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/TransactionType.enum.php");
34
  require_once(dirname(__FILE__) ."/TransactionSide.enum.php");
35
 
app/code/community/Invipay/Common/Apiclient/dto/transactionapiservice/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/examples/data/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/examples/example.common.php CHANGED
@@ -1,5 +1,32 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  function getConfig()
4
  {
5
  return json_decode(file_get_contents(dirname(__FILE__).'/configuration.json'), true);
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
  function getConfig()
31
  {
32
  return json_decode(file_get_contents(dirname(__FILE__).'/configuration.json'), true);
app/code/community/Invipay/Common/Apiclient/examples/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/examples/liabilities.example.php CHANGED
@@ -1,5 +1,32 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/example.common.php");
4
  require_once(dirname(__FILE__) ."/../LiabilitiesApiClient.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
  require_once(dirname(__FILE__) ."/example.common.php");
31
  require_once(dirname(__FILE__) ."/../LiabilitiesApiClient.class.php");
32
 
app/code/community/Invipay/Common/Apiclient/examples/output/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/examples/paygate.callback.example.php CHANGED
@@ -1,5 +1,32 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ob_start();
4
 
5
  require_once(dirname(__FILE__) ."/example.common.php");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
  ob_start();
31
 
32
  require_once(dirname(__FILE__) ."/example.common.php");
app/code/community/Invipay/Common/Apiclient/examples/paygate.example.php CHANGED
@@ -1,5 +1,32 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/example.common.php");
4
  require_once(dirname(__FILE__) ."/../PaygateApiClient.class.php");
5
 
@@ -17,9 +44,9 @@ $paymentId = null;
17
  $request->setReturnUrl("http://your.server.com/payment/return");
18
  $request->setStatusUrl("http://your.server.com/payment/status");
19
  $request->setStatusDataFormat(CallbackDataFormat::JSON);
20
- $request->setDocumentNumber("No risk ustawiony ręcznie " + uniqid());
21
- $request->setIssueDate(time() * 1000);
22
- $request->setDueDate((time() + 60 * 60 * 24 * 7) * 1000);
23
  $request->setPriceGross(123.00);
24
  $request->setCurrency("PLN");
25
  $request->setNote("My note");
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
  require_once(dirname(__FILE__) ."/example.common.php");
31
  require_once(dirname(__FILE__) ."/../PaygateApiClient.class.php");
32
 
44
  $request->setReturnUrl("http://your.server.com/payment/return");
45
  $request->setStatusUrl("http://your.server.com/payment/status");
46
  $request->setStatusDataFormat(CallbackDataFormat::JSON);
47
+ $request->setDocumentNumber("No risk ąśłśł ustawiony ręcznie " . uniqid());
48
+ $request->setIssueDate('2016-02-01');
49
+ $request->setDueDate('2016-03-21');
50
  $request->setPriceGross(123.00);
51
  $request->setCurrency("PLN");
52
  $request->setNote("My note");
app/code/community/Invipay/Common/Apiclient/examples/reports.example.php CHANGED
@@ -1,5 +1,32 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/example.common.php");
4
  require_once(dirname(__FILE__) ."/../ReportsApiClient.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
  require_once(dirname(__FILE__) ."/example.common.php");
31
  require_once(dirname(__FILE__) ."/../ReportsApiClient.class.php");
32
 
app/code/community/Invipay/Common/Apiclient/examples/test.example.php CHANGED
@@ -1,5 +1,32 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/example.common.php");
4
  require_once(dirname(__FILE__) ."/../TestApiClient.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
  require_once(dirname(__FILE__) ."/example.common.php");
31
  require_once(dirname(__FILE__) ."/../TestApiClient.class.php");
32
 
app/code/community/Invipay/Common/Apiclient/examples/transactions.example.php CHANGED
@@ -1,5 +1,32 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/example.common.php");
4
  require_once(dirname(__FILE__) ."/../TransactionsApiClient.class.php");
5
 
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
  require_once(dirname(__FILE__) ."/example.common.php");
31
  require_once(dirname(__FILE__) ."/../TransactionsApiClient.class.php");
32
 
app/code/community/Invipay/Common/Apiclient/exceptions/AccessFromIpDeniedException.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
4
 
5
  class AccessFromIpDeniedException extends ApiOperationException
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
34
 
35
  class AccessFromIpDeniedException extends ApiOperationException
app/code/community/Invipay/Common/Apiclient/exceptions/ApiOperationException.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  class ApiOperationException extends Exception
4
  {
5
  protected $type;
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  class ApiOperationException extends Exception
34
  {
35
  protected $type;
app/code/community/Invipay/Common/Apiclient/exceptions/AuthenticationException.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
4
 
5
  class AuthenticationException extends ApiOperationException
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
34
 
35
  class AuthenticationException extends ApiOperationException
app/code/community/Invipay/Common/Apiclient/exceptions/ObjectNotFoundException.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
4
 
5
  class ObjectNotFoundException extends ApiOperationException
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
34
 
35
  class ObjectNotFoundException extends ApiOperationException
app/code/community/Invipay/Common/Apiclient/exceptions/SignatureException.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
4
 
5
  class SignatureException extends ApiOperationException
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
34
 
35
  class SignatureException extends ApiOperationException
app/code/community/Invipay/Common/Apiclient/exceptions/TransactionContractorException.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
4
 
5
  class TransactionContractorException extends ApiOperationException
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
34
 
35
  class TransactionContractorException extends ApiOperationException
app/code/community/Invipay/Common/Apiclient/exceptions/ValidationException.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
4
 
5
  class ValidationException extends ApiOperationException
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
34
 
35
  class ValidationException extends ApiOperationException
app/code/community/Invipay/Common/Apiclient/exceptions/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Common/Apiclient/lib/AbstractRestApiClient.class.php CHANGED
@@ -1,5 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
4
  require_once(dirname(__FILE__) ."/../exceptions/AccessFromIpDeniedException.class.php");
5
  require_once(dirname(__FILE__) ."/../exceptions/AuthenticationException.class.php");
@@ -56,7 +86,7 @@ abstract class AbstractRestApiClient
56
 
57
  if ($arguments != null)
58
  {
59
- $postBody = json_encode($this->__toArray($arguments), JSON_UNESCAPED_UNICODE);
60
  $bodyHash = $this->__calculateBodyHash($postBody);
61
  array_push($headers, AbstractRestApiClient::HEADER_SIGNATURE_KEY . ": " . $bodyHash);
62
  curl_setopt($ch, CURLOPT_POSTFIELDS, $postBody);
1
  <?php
2
 
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * @author Kuba Pilecki (kpilecki@invipay.com)
9
+ * @version 1.0.4
10
+ *
11
+ * Redistribution and use in source and binary forms, with or
12
+ * without modification, are permitted provided that the following
13
+ * conditions are met: Redistributions of source code must retain the
14
+ * above copyright notice, this list of conditions and the following
15
+ * disclaimer. Redistributions in binary form must reproduce the above
16
+ * copyright notice, this list of conditions and the following disclaimer
17
+ * in the documentation and/or other materials provided with the
18
+ * distribution.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
23
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
28
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
29
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
30
+ * DAMAGE.
31
+ */
32
+
33
  require_once(dirname(__FILE__) ."/../exceptions/ApiOperationException.class.php");
34
  require_once(dirname(__FILE__) ."/../exceptions/AccessFromIpDeniedException.class.php");
35
  require_once(dirname(__FILE__) ."/../exceptions/AuthenticationException.class.php");
86
 
87
  if ($arguments != null)
88
  {
89
+ $postBody = json_encode($this->__toArray($arguments));
90
  $bodyHash = $this->__calculateBodyHash($postBody);
91
  array_push($headers, AbstractRestApiClient::HEADER_SIGNATURE_KEY . ": " . $bodyHash);
92
  curl_setopt($ch, CURLOPT_POSTFIELDS, $postBody);
app/code/community/Invipay/Common/Apiclient/lib/index.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Copyright (C) 2016 inviPay.com
5
+ *
6
+ * http://www.invipay.com
7
+ *
8
+ * Redistribution and use in source and binary forms, with or
9
+ * without modification, are permitted provided that the following
10
+ * conditions are met: Redistributions of source code must retain the
11
+ * above copyright notice, this list of conditions and the following
12
+ * disclaimer. Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following disclaimer
14
+ * in the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
18
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
20
+ * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25
+ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27
+ * DAMAGE.
28
+ */
29
+
30
+ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
31
+ header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
32
+
33
+ header("Cache-Control: no-store, no-cache, must-revalidate");
34
+ header("Cache-Control: post-check=0, pre-check=0", false);
35
+ header("Pragma: no-cache");
36
+
37
+ header("Location: ../");
38
+ exit;
app/code/community/Invipay/Ipcpaygate/Block/Form/Checkout.php CHANGED
@@ -9,7 +9,13 @@ class Invipay_Ipcpaygate_Block_Form_CheckoutLabel extends Mage_Core_Block_Templa
9
 
10
  public function getLabelTitle()
11
  {
12
- return Mage::getStoreConfig('payment/ipcpaygate/title');
 
 
 
 
 
 
13
  }
14
  }
15
 
@@ -23,4 +29,14 @@ class Invipay_Ipcpaygate_Block_Form_Checkout extends Mage_Payment_Block_Form
23
  $this->setMethodTitle('');
24
  $this->setMethodLabelAfterHtml($label->toHtml());
25
  }
 
 
 
 
 
 
 
 
 
 
26
  }
9
 
10
  public function getLabelTitle()
11
  {
12
+ $output = Mage::getStoreConfig('payment/ipcpaygate/title');
13
+
14
+ $exploded = explode('(', $output, 2);
15
+
16
+ $output = $exploded[0] . (count($exploded) > 1 ? '(' . str_replace(' ', '&nbsp;', $exploded[1]) : '');
17
+
18
+ return $output;
19
  }
20
  }
21
 
29
  $this->setMethodTitle('');
30
  $this->setMethodLabelAfterHtml($label->toHtml());
31
  }
32
+
33
+ public function getBaseDueDate()
34
+ {
35
+ return $this->getMethod()->getConfigData('invipay_base_duedate');
36
+ }
37
+
38
+ public function getTotalDueDate()
39
+ {
40
+ return $this->getMethod()->getConfigData('invipay_base_duedate') + 7;
41
+ }
42
  }
app/code/community/Invipay/Ipcpaygate/Helper/Data.php CHANGED
@@ -120,9 +120,9 @@ class Invipay_Ipcpaygate_Helper_Data extends Mage_Core_Helper_Abstract
120
  $pdfData = $pdf->render();
121
 
122
  $documentNumber = join(', ', $invoiceNumbers);
123
- $issueDate = strtotime($order->getCreatedAt()) * 1000;
124
  $dueDateDays = intval(Mage::getStoreConfig('payment/ipcpaygate/invipay_base_duedate'));
125
- $dueDate = $issueDate + ($dueDateDays * 60 * 60 * 24 * 1000);
126
 
127
  $client = $this->getApiClient();
128
 
@@ -133,8 +133,8 @@ class Invipay_Ipcpaygate_Helper_Data extends Mage_Core_Helper_Abstract
133
  {
134
  $conversionData = new OrderToInvoiceData();
135
  $conversionData->setInvoiceDocumentNumber($documentNumber);
136
- $conversionData->setIssueDate($issueDate);
137
- $conversionData->setDueDate($dueDate);
138
 
139
  $request->setConversionData($conversionData);
140
  }
120
  $pdfData = $pdf->render();
121
 
122
  $documentNumber = join(', ', $invoiceNumbers);
123
+ $issueDate = strtotime($order->getCreatedAt());
124
  $dueDateDays = intval(Mage::getStoreConfig('payment/ipcpaygate/invipay_base_duedate'));
125
+ $dueDate = $issueDate + ($dueDateDays * 60 * 60 * 24);
126
 
127
  $client = $this->getApiClient();
128
 
133
  {
134
  $conversionData = new OrderToInvoiceData();
135
  $conversionData->setInvoiceDocumentNumber($documentNumber);
136
+ $conversionData->setIssueDate(date('Y-m-d', $issueDate));
137
+ $conversionData->setDueDate(date('Y-m-d', $dueDate));
138
 
139
  $request->setConversionData($conversionData);
140
  }
app/code/community/Invipay/Ipcpaygate/controllers/PaymentController.php CHANGED
@@ -76,7 +76,7 @@ class Invipay_Ipcpaygate_PaymentController extends Mage_Core_Controller_Front_Ac
76
  $request->setStatusUrl(Mage::getUrl('ipcpaygate/payment/status', array()));
77
  $request->setStatusDataFormat(CallbackDataFormat::JSON);
78
  $request->setDocumentNumber($data['increment_id']);
79
- $request->setIssueDate(strtotime($data['created_at']) * 1000);
80
  $request->setPriceGross($data['grand_total']);
81
  $request->setCurrency($data['base_currency_code']);
82
  $request->setIsInvoice(false);
76
  $request->setStatusUrl(Mage::getUrl('ipcpaygate/payment/status', array()));
77
  $request->setStatusDataFormat(CallbackDataFormat::JSON);
78
  $request->setDocumentNumber($data['increment_id']);
79
+ $request->setIssueDate(date('Y-m-d', strtotime($data['created_at'])));
80
  $request->setPriceGross($data['grand_total']);
81
  $request->setCurrency($data['base_currency_code']);
82
  $request->setIsInvoice(false);
app/code/community/Invipay/Ipcpaygate/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Invipay_Ipcpaygate>
5
- <version>1.0.0.2</version>
6
  </Invipay_Ipcpaygate>
7
  </modules>
8
 
@@ -60,7 +60,7 @@
60
  <ipcpaygate>
61
  <active>1</active>
62
  <model>ipcpaygate/paymentmethod</model>
63
- <title>Zakupy na fakturę z 21-dniowym terminem płatności (tylko dla zakupów na firmę)</title>
64
  <allowspecific>0</allowspecific>
65
  <payment_action>sale</payment_action>
66
  <min_order_total>200.00</min_order_total>
2
  <config>
3
  <modules>
4
  <Invipay_Ipcpaygate>
5
+ <version>1.0.0.3</version>
6
  </Invipay_Ipcpaygate>
7
  </modules>
8
 
60
  <ipcpaygate>
61
  <active>1</active>
62
  <model>ipcpaygate/paymentmethod</model>
63
+ <title>Zakupy na fakturę z 14-dniowym terminem płatności (tylko dla zakupów na firmę)</title>
64
  <allowspecific>0</allowspecific>
65
  <payment_action>sale</payment_action>
66
  <min_order_total>200.00</min_order_total>
app/design/frontend/base/default/template/ipcpaygate/form/checkout.phtml CHANGED
@@ -1,12 +1,12 @@
1
  <div class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
2
  <div>
3
  <?php if($this->getMethod()->getConfigData('invipay_promo_checkout_text') == 'standard') { ?>
4
- <p>Po odbiorze zamówionego towaru, zapłacisz za niego w&nbsp;terminie płatności wynikającym z&nbsp;faktury VAT, którą od nas otrzymasz za pośrednictwem aplikacji inviPay.com, powiększonym o&nbsp;7&nbsp;dni.</p>
5
  <?php } ?>
6
 
7
  <?php if($this->getMethod()->getConfigData('invipay_promo_checkout_text') == 'short') { ?>
8
 
9
- <p>Po odbiorze zamówionego towaru, zapłacisz za niego w&nbsp;terminie płatności wynikającym z&nbsp;faktury VAT, którą od nas otrzymasz za pośrednictwem aplikacji inviPay.com powiększonym o&nbsp;7&nbsp;dni. Możesz też wydłużyć sobie ten termin do 4 miesięcy od zakupu (za dodatkową opłatą do inviPay.com).</p>
10
 
11
  <?php } ?>
12
 
@@ -14,7 +14,7 @@
14
 
15
  <p>Bezpieczna, szybka i&nbsp;wygodna metoda płatności świadczona za pośrednictwem inviPay.com. Po wyborze tej metody płatności, zostaniesz przekierowany do bramki płatności inviPay.com gdzie będziesz mógł potwierdzić swoje zakupy (jeżeli posiadasz konto w&nbsp;inviPay.com) lub założyć konto w&nbsp;inviPay.com i&nbsp;dokonać potwierdzenia. Założenie konta w&nbsp;inviPay.com trwa 40 sekund i&nbsp;jest całkowicie bezpłatne oraz niezobowiązujące. Z&nbsp;chwilą potwierdzenia, Twoje zamówienie trafia do realizacji.</p>
16
 
17
- <p>Po odbiorze zamówionego towaru, inviPay.com zapłaci za Twoje zakupy do sklepu, a&nbsp;Ty rozliczysz się z nich z inviPay.com w terminie płatności wynikającym z&nbsp;faktury VAT wystawionej przez sklep powiększonym o&nbsp;7 dni od inviPay.com. Rozliczenie zakupu w&nbsp;ww.&nbsp;terminie płatności faktury będzie dla Ciebie całkowicie bezpłatne. </p>
18
 
19
  <?php } ?>
20
 
1
  <div class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
2
  <div>
3
  <?php if($this->getMethod()->getConfigData('invipay_promo_checkout_text') == 'standard') { ?>
4
+ <p>Po odbiorze zamówionego towaru, zapłacisz za niego w&nbsp;terminie płatności wynikającym z&nbsp;faktury VAT (<?php echo $this->getBaseDueDate(); ?> dni), którą&nbsp;od nas otrzymasz za pośrednictwem aplikacji inviPay.com, powiększonym&nbsp;o&nbsp;7&nbsp;dni od&nbsp;inviPay.com (łącznie&nbsp;<?php echo $this->getTotalDueDate(); ?>&nbsp;dni&nbsp;na&nbsp;zapłatę).</p>
5
  <?php } ?>
6
 
7
  <?php if($this->getMethod()->getConfigData('invipay_promo_checkout_text') == 'short') { ?>
8
 
9
+ <p>Po odbiorze zamówionego towaru, zapłacisz za niego w&nbsp;terminie płatności wynikającym z&nbsp;faktury VAT (<?php echo $this->getBaseDueDate(); ?> dni), którą od nas otrzymasz za pośrednictwem aplikacji inviPay.com powiększonym o&nbsp;7&nbsp;dni od inviPay.com (łącznie <?php echo $this->getTotalDueDate(); ?> dni na zapłatę). Możesz też wydłużyć sobie ten termin do 4 miesięcy od zakupu (za dodatkową opłatą do inviPay.com).</p>
10
 
11
  <?php } ?>
12
 
14
 
15
  <p>Bezpieczna, szybka i&nbsp;wygodna metoda płatności świadczona za pośrednictwem inviPay.com. Po wyborze tej metody płatności, zostaniesz przekierowany do bramki płatności inviPay.com gdzie będziesz mógł potwierdzić swoje zakupy (jeżeli posiadasz konto w&nbsp;inviPay.com) lub założyć konto w&nbsp;inviPay.com i&nbsp;dokonać potwierdzenia. Założenie konta w&nbsp;inviPay.com trwa 40 sekund i&nbsp;jest całkowicie bezpłatne oraz niezobowiązujące. Z&nbsp;chwilą potwierdzenia, Twoje zamówienie trafia do realizacji.</p>
16
 
17
+ <p>Po odbiorze zamówionego towaru, inviPay.com zapłaci za Twoje zakupy do sklepu, a&nbsp;Ty rozliczysz się z nich z inviPay.com w terminie płatności wynikającym z&nbsp;faktury VAT wystawionej przez sklep (<?php echo $this->getBaseDueDate(); ?> dni), powiększonym o&nbsp;7 dni od inviPay.com (łącznie <?php echo $this->getTotalDueDate(); ?> dni na zapłatę). Rozliczenie zakupu w&nbsp;ww.&nbsp;terminie płatności faktury będzie dla Ciebie całkowicie bezpłatne. </p>
18
 
19
  <?php } ?>
20
 
app/design/frontend/base/default/template/ipcpaygate/form/checkout_label.phtml CHANGED
@@ -1,2 +1,4 @@
1
- <img src="http://invipay.com/promo/images/logo_slogan_small.png" alt="inviPay.com" style="display: inline !important; float: none !important; height: 25px !important; margin-right: 10px !important; vertical-align: middle !important;" />
2
- <span><?php echo $this->getLabelTitle(); ?></span>
 
 
1
+ <img src="http://invipay.com/promo/images/logo_slogan_big.png" alt="inviPay.com" style="display: inline !important; float: none !important; width: 75% !important; max-width: 70px !important; margin: 5px !important; vertical-align: middle !important;" />
2
+ <span style="display: block !important; margin-left: 102px !important; margin-top: -30px !important;"><?php echo $this->getLabelTitle(); ?></span>
3
+ <a href="#" class="learn_more" onclick="window.open('//invipay.com/zakupy-w-internecie-z-invipay-com/', 'inviPayLearnMore', 'width=400,height=700,status=0,titlebar=0,toolbar=0,menubar=0,scrollbars=1'); return false;" style="display: block !important; margin: 0px !important; margin-left: 102px !important; float: none !important; color: #00B2DD !important; font-weight: normal !important; font-size: 10px !important;">Kliknij tutaj, aby dowiedzieć się, jak to działa</a>
4
+ <!-- </div> -->
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Invipay_Ipcpaygate</name>
4
- <version>1.0.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/OSL-3.0">OSL-3.0</license>
7
  <channel>community</channel>
@@ -9,13 +9,14 @@
9
  <summary>Metoda p&#x142;atno&#x15B;ci dzi&#x119;ki kt&#xF3;rej, sprzedajesz na faktur&#x119; z odroczonym terminem p&#x142;atno&#x15B;ci bez &#x17C;adnego ryzyka.</summary>
10
  <description>Dzi&#x119;ki bramce p&#x142;atno&#x15B;ci inviPay.com klient mo&#x17C;e zap&#x142;aci&#x107; za zakupy w e-sklepie tak samo wygodnie i bezpiecznie jak to robi poza nim tj. dopiero po otrzymaniu i sprawdzeniu zam&#xF3;wienia w terminie p&#x142;atno&#x15B;ci wynikaj&#x105;cym z faktury, kt&#xF3;r&#x105; otrzyma&#x142; od e-sklepu. Bezpiecznie, szybko i wygodnie na ka&#x17C;dym etapie procesu.&#xD;
11
  &#xD;
12
- Z drugiej strony, e-sklep ju&#x17C; na etapie z&#x142;o&#x17C;enia zam&#xF3;wienia przez klienta otrzymuje od inviPay.com zabezpieczenie ca&#x142;ej p&#x142;atno&#x15B;ci, kt&#xF3;r&#x105; wyp&#x142;aca z inviPay.com natychmiast po zrealizowaniu zam&#xF3;wienia i wystawieniu faktury (bez czekania na termin p&#x142;atno&#x15B;ci faktury).&#xD;
13
- </description>
14
- <notes>Bug fixes</notes>
 
15
  <authors><author><name>inviPay.com</name><user>MAG003279533</user><email>kpilecki@invipay.com</email></author></authors>
16
- <date>2016-01-30</date>
17
- <time>17:39:01</time>
18
- <contents><target name="magecommunity"><dir name="Invipay"><dir name="Common"><dir name="Apiclient"><file name="LiabilitiesApiClient.class.php" hash="fc4ba09f0d0db408093aa4116793baa6"/><file name="PaygateApiClient.class.php" hash="c7046da56151afbfab074735d5139a13"/><file name="ReportsApiClient.class.php" hash="f3f0fe461ce78703cd1dbb2662a6decb"/><file name="TestApiClient.class.php" hash="178607f8829fbec6b900a8414bc07624"/><file name="TransactionsApiClient.class.php" hash="6d20fa053f1cc5ab960d7fee7cfb325f"/><dir name="dto"><file name="AddressData.class.php" hash="afe385e63a9010a61bc77fd2f452f1a9"/><file name="BankAccount.class.php" hash="2a677ab6fed0d35a8dcb52efb9291ed3"/><file name="BaseApiData.class.php" hash="a6ef76b5029508f53ef8354edbe52a2d"/><file name="BaseDocumentDetails.class.php" hash="12ae197ccd291f88c1d4ede46c5409c7"/><file name="Contractor.class.php" hash="0a1b5e7d7b4ca24a3fbdabaa05d7f43b"/><file name="DocumentAttachmentDownloadInfo.class.php" hash="e67c0e9e7ab77286140e25e4777f9946"/><file name="FileData.class.php" hash="646d93761d160ec22b98ce134f50b4f6"/><file name="FileInfo.class.php" hash="37a991db3016b1966cbe5c16e7fec21c"/><file name="ListFilter.class.php" hash="5619ee73318986dc0a9b19e84810f1df"/><dir name="liabilitiesapiservice"><file name="CommissionInvoiceDetails.class.php" hash="09a9111c21e007c31b7a15b4b16f5386"/><file name="InterestInvoiceDetails.class.php" hash="9c8d0064c5630a175d6b4927ce7ca5fe"/><file name="InterestNoteDetails.class.php" hash="57f2b4d646174ac26545a0a987c31c75"/><file name="LiabilityDocumentDetails.class.php" hash="73510cd207cfae45876e5d4a2c3af9f3"/></dir><dir name="paygateapiservice"><file name="CallbackDataFormat.enum.php" hash="fddecb87075141f17d8f00ef1ede2d3b"/><file name="OrderToInvoiceData.class.php" hash="c5b6fdb14000ff0601dd3e58aabf9a1a"/><file name="PaymentCreationData.class.php" hash="f4176eb4ac306b30ec04ba303a5e662c"/><file name="PaymentData.class.php" hash="7a9e5b19a45c1143b1be7de3ca929137"/><file name="PaymentManagementData.class.php" hash="885b6bd61d714e83dd0d49a7925a9867"/><file name="PaymentRequestStatus.enum.php" hash="16a3f551619ef6b94a0199841ad6677b"/><file name="PaymentStartInfo.class.php" hash="47413c9c8632cab45e427729939ea92e"/></dir><dir name="reportsapiservice"><file name="AccountantReportCommissionInvoiceItem.class.php" hash="875b542d5d3f889f06aa41234244e24d"/><file name="AccountantReportDocument.class.php" hash="7ff8f5c9b40a44e89f59ba2b0e55eba8"/><file name="AccountantReportInterestInvoiceItem.class.php" hash="c03e2a9c366bfb29f91c977c50465f70"/><file name="AccountantReportInterestNoteItem.class.php" hash="97368b9c64781768199b13bb8175e7be"/><file name="AccountantReportPaymentItem.class.php" hash="da2832dc6031dd6304a6a1baee47b962"/><file name="AccountantReportPayoffItem.class.php" hash="b146eec8d6c562964131bc825327a4d2"/><file name="AccountantReportPurchaseItem.class.php" hash="16ba5bbe01e723bf60c3ea9c45544084"/><file name="AccountantReportRSBItem.class.php" hash="a6363f2eb62ebb4571dbd4f2b87cba67"/><file name="AccountantReportRSPSettlementItem.class.php" hash="58e676d7b89a1b2d7e3d1e5067947836"/><file name="AccountantReportRSReversedSettlementItem.class.php" hash="c275a1bc23403fbd52b80e9dfb16c457"/><file name="AccountantReportRSSettlementItem.class.php" hash="014072417ff79bf370a368d6fd23e5e7"/><file name="AccountantReportResaleStatementItem.class.php" hash="62c8083f9d14dffc78dccbdfb147ef67"/><file name="AccountantReportSaleItem.class.php" hash="069ee1e48a6502fbe74048f5e6f36b68"/><file name="AccountantReportSettlementItem.class.php" hash="cb16a361e81c91b9f4fb06f2ba6f027e"/><file name="DocumentItem.class.php" hash="42f129867c013e876d76f401b6334f2a"/><file name="ReportFilter.class.php" hash="6431509fca97cc850215a9b24e88e308"/></dir><dir name="testapiservice"><file name="EchoIn.class.php" hash="5adbbca3cd1167e4c17bbef6c8694767"/><file name="EchoOut.class.php" hash="f8a363a7469fd2c08026013a6bc9a0a3"/></dir><dir name="transactionapiservice"><file name="BaseTransactionData.class.php" hash="de48f024b4f147fd720dc9a903fc70ce"/><file name="InvoiceData.class.php" hash="a551eb26ab489e8b71ac41411b75cbe3"/><file name="OrderData.class.php" hash="cddd51addb9c1a50cc20283fcee95c09"/><file name="TransactionDetails.class.php" hash="b80955b0cc09a976ca2984a7710f2daa"/><file name="TransactionItemDetails.class.php" hash="2510b1e2c0dcc797bbd3aa7fd61d12d5"/><file name="TransactionSide.enum.php" hash="b8a064d2746a4c8f85b9b53940dc324b"/><file name="TransactionType.enum.php" hash="1da4785de0de4cd8dfa92b4fd1b1b0fd"/><file name="TransactionsFilter.class.php" hash="6ab4a65ff7f0aa0d1ffd9b6d8d40c40b"/></dir></dir><dir name="examples"><file name="configuration.json" hash="48ce89b30cd0cff7765cd72890d62806"/><file name="example.common.php" hash="e184932e221094ebb95f0cf5f4dc890b"/><file name="liabilities.example.php" hash="33ec64ddeb0eb4670d6f6fdb76636287"/><file name="paygate.callback.example.php" hash="70ac925fad86abd2fa3250edb3ea15fa"/><file name="paygate.example.php" hash="92879ded048926bc1cd1744fc6b6b1b2"/><file name="reports.example.php" hash="f3cca09b7acc111b8e857427b2abbe81"/><file name="test.example.php" hash="10de51405575fd9b808645d6f4a8cea9"/><file name="transactions.example.php" hash="f9a03f11ee8aa8b28a1097623423b1a8"/></dir><dir name="exceptions"><file name="AccessFromIpDeniedException.class.php" hash="10d27ad15a78481c60b933a29a651833"/><file name="ApiOperationException.class.php" hash="2565937e6c9c52eeb1283630792e4e55"/><file name="AuthenticationException.class.php" hash="16f450fd99458e61a346b8381d50ab61"/><file name="ObjectNotFoundException.class.php" hash="9c97b69974c67cbb9588a9cf448a42bd"/><file name="SignatureException.class.php" hash="6a97d00d5a9f11b27ebd5f015ec3b5da"/><file name="TransactionContractorException.class.php" hash="31d7e92e10b1fcbc5d5b577accf33937"/><file name="ValidationException.class.php" hash="243b86124c941eea5ababf98d146babe"/></dir><dir name="lib"><file name="AbstractRestApiClient.class.php" hash="49a0e3c46da46c5dab0222e0c51c83d0"/></dir></dir></dir><dir name="Ipcpaygate"><dir name="Block"><dir name="Form"><file name="Checkout.php" hash="9a92da6993cb5e45f02bbb2bcc6a478c"/></dir><dir name="Info"><file name="Checkout.php" hash="5d5df97f7811cfc595810f49c8fba07e"/></dir><file name="Redirect.php" hash="8b75e3a69d9d7585d94c56ce21bde547"/><file name="Wait.php" hash="d38448d00281660f88c1770db6df6b8f"/><dir name="Widgets"><file name="Basketinfo.php" hash="7d32d565dbe33fee1941652db9e0e65e"/><file name="Floatingpanel.php" hash="70156ce6b4d9c9bce503806d9336db6d"/><file name="Footericon.php" hash="d77908b60c65489c299863089271f570"/></dir></dir><dir name="Helper"><file name="Data.php" hash="392a0453196a3f5c3ef93854b39cc3da"/></dir><dir name="Model"><file name="Orderstatusobserver.php" hash="eb1aa78074f6cf760111a933f38ce543"/><file name="Paymentmethod.php" hash="b9e1a837463724eec729069be8ac6825"/><dir name="Resource"><file name="Setup.php" hash="5fdeabfaa3d15dd1b187d1c516f62b02"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Checkouttext.php" hash="47c6f310cdfdf919b9ea0a0788b78a30"/><file name="Floatingpanel.php" hash="1c5acad7b7c3ca864f93714ca6c8613c"/><dir name="Widgets"><file name="Floatingpanel.php" hash="389ab30e3849aa65ebfe9ee09f717cb3"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="f9db3c5b7366e100d6b6b811b14dbce8"/></dir><dir name="etc"><file name="config.xml" hash="a1f1eb4d7e53d20760e55746a8065585"/><file name="system.xml" hash="7f265c364b8a70c58787cc96b2b65113"/></dir><dir name="sql"><dir name="ipcpaygate_setup"><file name="mysql4-install-1.0.0.0.php" hash="a15d8e5cfc533bde3f06db9d8417b8dc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Invipay_All.xml" hash="a74b71a076b06024ac9b43e50a3c5b91"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ipcpaygate.xml" hash="97281b9392c9138976b83e6598286364"/></dir><dir name="template"><dir name="ipcpaygate"><dir name="form"><file name="checkout.phtml" hash="92f8878ac5aa188fb1602a278a3f7200"/><file name="checkout_info.phtml" hash="5bd531bf5b8c20326dfa01613f2eb05c"/><file name="checkout_label.phtml" hash="c06e1ef6aed517d99796a7124e7f65a9"/></dir><file name="redirect.phtml" hash="c336f5b41f81d8780cbb2418cd2d7e09"/><file name="wait.phtml" hash="0f7a44eb8fd886282c7686819831ac46"/><dir name="widgets"><file name="basketinfo.phtml" hash="c00eb38ec8e12bca9834f56b297beb99"/><file name="floatingpanel.phtml" hash="9158bae9e9b6a40fa119bc8c77ef4163"/><file name="footericon.phtml" hash="7228d21af05ba8ab460378c1eb1a83a4"/><file name="head.phtml" hash="52877a06de606376f488459b26997877"/></dir></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>8.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Invipay_Ipcpaygate</name>
4
+ <version>1.0.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/OSL-3.0">OSL-3.0</license>
7
  <channel>community</channel>
9
  <summary>Metoda p&#x142;atno&#x15B;ci dzi&#x119;ki kt&#xF3;rej, sprzedajesz na faktur&#x119; z odroczonym terminem p&#x142;atno&#x15B;ci bez &#x17C;adnego ryzyka.</summary>
10
  <description>Dzi&#x119;ki bramce p&#x142;atno&#x15B;ci inviPay.com klient mo&#x17C;e zap&#x142;aci&#x107; za zakupy w e-sklepie tak samo wygodnie i bezpiecznie jak to robi poza nim tj. dopiero po otrzymaniu i sprawdzeniu zam&#xF3;wienia w terminie p&#x142;atno&#x15B;ci wynikaj&#x105;cym z faktury, kt&#xF3;r&#x105; otrzyma&#x142; od e-sklepu. Bezpiecznie, szybko i wygodnie na ka&#x17C;dym etapie procesu.&#xD;
11
  &#xD;
12
+ Z drugiej strony, e-sklep ju&#x17C; na etapie z&#x142;o&#x17C;enia zam&#xF3;wienia przez klienta otrzymuje od inviPay.com zabezpieczenie ca&#x142;ej p&#x142;atno&#x15B;ci, kt&#xF3;r&#x105; wyp&#x142;aca z inviPay.com natychmiast po zrealizowaniu zam&#xF3;wienia i wystawieniu faktury (bez czekania na termin p&#x142;atno&#x15B;ci faktury). </description>
13
+ <notes>* Better compatibility with older PHP versions&#xD;
14
+ * Know-how link in checkout block&#xD;
15
+ * Bug fixes</notes>
16
  <authors><author><name>inviPay.com</name><user>MAG003279533</user><email>kpilecki@invipay.com</email></author></authors>
17
+ <date>2016-02-08</date>
18
+ <time>20:37:31</time>
19
+ <contents><target name="magecommunity"><dir name="Invipay"><dir name="Common"><dir name="Apiclient"><file name="LiabilitiesApiClient.class.php" hash="30ee3fedfa2aea207fd2e189ddaaf42b"/><file name="PaygateApiClient.class.php" hash="7ba9454ddc72ce2958ccd19c7372d9b8"/><file name="README.md" hash="9c1823d1172b23e00d5fae479c1c41f7"/><file name="ReportsApiClient.class.php" hash="6cabded39776c9e6560cd1b3cad97220"/><file name="TestApiClient.class.php" hash="8e9417a5cac480be2fdaffdbad38e5b3"/><file name="TransactionsApiClient.class.php" hash="adbc8b1e259942b924ecd1e110ade4c5"/><dir name="dto"><file name="AddressData.class.php" hash="0089d648b63e07b4e9128516e4d86c45"/><file name="BankAccount.class.php" hash="16dbe961664a5df1c7dab69e1ac3bdd8"/><file name="BaseApiData.class.php" hash="30fb8026c7cf0c0d61cbeb1de8c586b7"/><file name="BaseDocumentDetails.class.php" hash="b1323ec82375274ba06afdac3c69e37d"/><file name="Contractor.class.php" hash="34a08b39992325240a3ae022f282837e"/><file name="DocumentAttachmentDownloadInfo.class.php" hash="08a6ac0529b18c2199dcb44ec3c5256a"/><file name="FileData.class.php" hash="37965e230238274b36f64027e58a8769"/><file name="FileInfo.class.php" hash="a62d745263a2dc5b68296bbff906c5c1"/><file name="ListFilter.class.php" hash="9e404b318c3508238aa6b6504d2a6c28"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/><dir name="liabilitiesapiservice"><file name="CommissionInvoiceDetails.class.php" hash="e1c9386c3c5a60952b6d67287eb94e3e"/><file name="InterestInvoiceDetails.class.php" hash="5503a05712c3b929562c35e6eedc9eeb"/><file name="InterestNoteDetails.class.php" hash="ee6bc7df3c09ca98c32eb2ba89c1bded"/><file name="LiabilityDocumentDetails.class.php" hash="cfaef8d97081febda2fe02c5c5ed0190"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><dir name="paygateapiservice"><file name="CallbackDataFormat.enum.php" hash="62900285bb501e065e2aee7b5c216805"/><file name="OrderToInvoiceData.class.php" hash="c05946b46fc2e931b94dc1144da73fbf"/><file name="PaymentCreationData.class.php" hash="1aeba0f252bba72008a626477fcb5d7a"/><file name="PaymentData.class.php" hash="5ee70924896816a127cc390a2ec69e12"/><file name="PaymentManagementData.class.php" hash="90ce0fe40f510c47b2958d42bb97bc8b"/><file name="PaymentRequestStatus.enum.php" hash="c8576992dc87544f32ba1d26ab1bae72"/><file name="PaymentStartInfo.class.php" hash="a6fc2ca32fb1be119bc314ea6aee925b"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><dir name="reportsapiservice"><file name="AccountantReportCommissionInvoiceItem.class.php" hash="d3fef8437b7b9b983223ad3f164ec38b"/><file name="AccountantReportDocument.class.php" hash="96f2ec9db70e1d74cf200e701d949375"/><file name="AccountantReportInterestInvoiceItem.class.php" hash="3f28034f8aba5a2dcaf42e8b91849c1d"/><file name="AccountantReportInterestNoteItem.class.php" hash="a852f4604b49c286b3d38fcd6b59f463"/><file name="AccountantReportPaymentItem.class.php" hash="9c75c43297eeb1dcbbda8369e50bb89a"/><file name="AccountantReportPayoffItem.class.php" hash="5fdc0329eba0ec53a45a0a629a715cb0"/><file name="AccountantReportPurchaseItem.class.php" hash="5fdbcf8dc21552aec30a7a0b04a9e25f"/><file name="AccountantReportRSBItem.class.php" hash="ab01d93e8e653cb817330fc739296c94"/><file name="AccountantReportRSPSettlementItem.class.php" hash="c25ca6b06eeb811ec4d98e2fe685f144"/><file name="AccountantReportRSReversedSettlementItem.class.php" hash="1db2401bcd8af623ab3f7ecb95f2019e"/><file name="AccountantReportRSSettlementItem.class.php" hash="7336137f5bdcba9704dcda21e5d91802"/><file name="AccountantReportResaleStatementItem.class.php" hash="81f7d930a9198cbbb88edcd67435fdd5"/><file name="AccountantReportSaleItem.class.php" hash="0d198b706fb04406e280cabffca65d95"/><file name="AccountantReportSettlementItem.class.php" hash="8438167e061ca3fb43a77643b1991d70"/><file name="DocumentItem.class.php" hash="7927f205855c16f4b0fc80c47dd21567"/><file name="ReportFilter.class.php" hash="b9d06fde364dc754d4a343688f32bef7"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><dir name="testapiservice"><file name="EchoIn.class.php" hash="08fc374ed8fc15363b9c13478141cfc0"/><file name="EchoOut.class.php" hash="d799c37e53ccc9e802d0197f114fd869"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><dir name="transactionapiservice"><file name="BaseTransactionData.class.php" hash="420318815296ed2229a1ff03caee5946"/><file name="InvoiceData.class.php" hash="fdc9f7c3a66ea1220a446f6231d5fd89"/><file name="OrderData.class.php" hash="30963916e7e062190b0d2ac39b51a265"/><file name="TransactionDetails.class.php" hash="07998edca417ff30ca25c5286435d0c3"/><file name="TransactionItemDetails.class.php" hash="c05e0878818fe83bcdc640780c06ac11"/><file name="TransactionSide.enum.php" hash="244a3498c119d7544a635603c821887b"/><file name="TransactionType.enum.php" hash="d805e03601c161fdf844f29f1ea8d469"/><file name="TransactionsFilter.class.php" hash="defa2b1db4e959f906a4f210177ccc03"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir></dir><dir name="examples"><file name="configuration.json" hash="48ce89b30cd0cff7765cd72890d62806"/><dir name="data"><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><file name="example.common.php" hash="d167301c164e5c05e3efad918007dac6"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/><file name="liabilities.example.php" hash="f2c2773a777af4f6c549a7522d5303bd"/><dir name="output"><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><file name="paygate.callback.example.php" hash="d78b3b5827008af646ba254f34b45d7b"/><file name="paygate.example.php" hash="b88b226d9aba172a72b14bd8e58d617d"/><file name="reports.example.php" hash="b12a62ccdec7fb101ef533534f307fed"/><file name="test.example.php" hash="e18b27d65bb9a2fcb464b49fe3039d2b"/><file name="transactions.example.php" hash="3db8c2dc7db5e9525934177abe259ebc"/></dir><dir name="exceptions"><file name="AccessFromIpDeniedException.class.php" hash="7edd06f23bed1557d3ec34e6b2565f66"/><file name="ApiOperationException.class.php" hash="7f2b9e8117708e12b0676af7cce8c483"/><file name="AuthenticationException.class.php" hash="8ac23c4805054012d35f8fe4160e037e"/><file name="ObjectNotFoundException.class.php" hash="78ebc4480f3a1a0bfe8df971dc82c24d"/><file name="SignatureException.class.php" hash="8b5b6f47fbd2fc9e76805e3aa7eeae55"/><file name="TransactionContractorException.class.php" hash="72bd245b8f877cb2e3b8df5266a60d6a"/><file name="ValidationException.class.php" hash="b6cd01ad6dd0c410e0d00b4aaf4ccadf"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/><dir name="lib"><file name="AbstractRestApiClient.class.php" hash="d90d2a86a5fa1836a4591e4f768f7c34"/><file name="index.php" hash="0807fbc457269d84db2fa2e5de6f1729"/></dir><file name=".git" hash="3f7ba8ba6b419d6435104e59daf532c2"/></dir></dir><dir name="Ipcpaygate"><dir name="Block"><dir name="Form"><file name="Checkout.php" hash="7f293bcd9b21b1bf6df18183e0525732"/></dir><dir name="Info"><file name="Checkout.php" hash="5d5df97f7811cfc595810f49c8fba07e"/></dir><file name="Redirect.php" hash="8b75e3a69d9d7585d94c56ce21bde547"/><file name="Wait.php" hash="d38448d00281660f88c1770db6df6b8f"/><dir name="Widgets"><file name="Basketinfo.php" hash="7d32d565dbe33fee1941652db9e0e65e"/><file name="Floatingpanel.php" hash="70156ce6b4d9c9bce503806d9336db6d"/><file name="Footericon.php" hash="d77908b60c65489c299863089271f570"/></dir></dir><dir name="Helper"><file name="Data.php" hash="1b0b125427588cb75aa97035a768c170"/></dir><dir name="Model"><file name="Orderstatusobserver.php" hash="eb1aa78074f6cf760111a933f38ce543"/><file name="Paymentmethod.php" hash="b9e1a837463724eec729069be8ac6825"/><dir name="Resource"><file name="Setup.php" hash="5fdeabfaa3d15dd1b187d1c516f62b02"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Checkouttext.php" hash="47c6f310cdfdf919b9ea0a0788b78a30"/><file name="Floatingpanel.php" hash="1c5acad7b7c3ca864f93714ca6c8613c"/><dir name="Widgets"><file name="Floatingpanel.php" hash="389ab30e3849aa65ebfe9ee09f717cb3"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="e35795315dbf831356d531ab75474aa9"/></dir><dir name="etc"><file name="config.xml" hash="ea7a777af35b5852a5f5c52b3dffde23"/><file name="system.xml" hash="7f265c364b8a70c58787cc96b2b65113"/></dir><dir name="sql"><dir name="ipcpaygate_setup"><file name="mysql4-install-1.0.0.0.php" hash="a15d8e5cfc533bde3f06db9d8417b8dc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Invipay_All.xml" hash="a74b71a076b06024ac9b43e50a3c5b91"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ipcpaygate"><dir name="form"><file name="checkout.phtml" hash="b7a5f2daf188c7da999ba1004587b6da"/><file name="checkout_info.phtml" hash="5bd531bf5b8c20326dfa01613f2eb05c"/><file name="checkout_label.phtml" hash="3add7d078a166eaa683826737ac01922"/></dir><file name="redirect.phtml" hash="c336f5b41f81d8780cbb2418cd2d7e09"/><file name="wait.phtml" hash="0f7a44eb8fd886282c7686819831ac46"/><dir name="widgets"><file name="basketinfo.phtml" hash="c00eb38ec8e12bca9834f56b297beb99"/><file name="floatingpanel.phtml" hash="9158bae9e9b6a40fa119bc8c77ef4163"/><file name="footericon.phtml" hash="7228d21af05ba8ab460378c1eb1a83a4"/><file name="head.phtml" hash="52877a06de606376f488459b26997877"/></dir></dir></dir><dir name="layout"><file name="ipcpaygate.xml" hash="97281b9392c9138976b83e6598286364"/></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>8.0.0</max></php></required></dependencies>
22
  </package>