BigFish_PaymentGateway_Magento - Version 1.11.0

Version Notes

- New providers: OTP Simple, OTP Simple Wire, Saferpay

- Barion provider turned off

Download this release

Release Info

Developer BIG FISH Kft.
Extension BigFish_PaymentGateway_Magento
Version 1.11.0
Comparing to
See all releases


Code changes from version 1.10.54 to 1.11.0

Files changed (56) hide show
  1. app/code/local/BigFish/PaymentGateway/Block/Form/Escalion.php +6 -4
  2. app/code/local/BigFish/PaymentGateway/Block/Form/Khbszep.php +3 -4
  3. app/code/local/BigFish/PaymentGateway/Block/Form/Mkbszep.php +7 -8
  4. app/code/local/BigFish/PaymentGateway/Block/Form/Otp2.php +0 -2
  5. app/code/local/BigFish/PaymentGateway/Block/Form/Otpsimple.php +29 -0
  6. app/code/local/BigFish/PaymentGateway/Block/Form/Otpszep.php +1 -3
  7. app/code/local/BigFish/PaymentGateway/Block/Form/Redirect.php +1 -3
  8. app/code/local/BigFish/PaymentGateway/Block/Form/Saferpay.php +54 -0
  9. app/code/local/BigFish/PaymentGateway/Block/Form/Wirecard.php +33 -0
  10. app/code/local/BigFish/PaymentGateway/Lib/PaymentGateway.php +0 -1119
  11. app/code/local/BigFish/PaymentGateway/Model/Abstract.php +50 -44
  12. app/code/local/BigFish/PaymentGateway/Model/Config.php +34 -3
  13. app/code/local/BigFish/PaymentGateway/Model/Escalion.php +2 -6
  14. app/code/local/BigFish/PaymentGateway/Model/Event.php +1 -1
  15. app/code/local/BigFish/PaymentGateway/Model/Mkbszep.php +2 -7
  16. app/code/local/BigFish/PaymentGateway/Model/Otpsimple.php +37 -0
  17. app/code/local/BigFish/PaymentGateway/Model/Otpsimplewire.php +17 -0
  18. app/code/local/BigFish/PaymentGateway/Model/Saferpay.php +149 -0
  19. app/code/local/BigFish/PaymentGateway/Model/Wirecard.php +57 -0
  20. app/code/local/BigFish/PaymentGateway/PaymentGateway.php +671 -0
  21. app/code/local/BigFish/PaymentGateway/PaymentGateway/Autoload.php +109 -0
  22. app/code/local/BigFish/PaymentGateway/PaymentGateway/Config.php +147 -0
  23. app/code/local/BigFish/PaymentGateway/PaymentGateway/Exception.php +19 -0
  24. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Close.php +51 -0
  25. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Details.php +41 -0
  26. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Finalize.php +63 -0
  27. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Init.php +676 -0
  28. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/InitRP.php +202 -0
  29. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Invoice.php +50 -0
  30. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Log.php +41 -0
  31. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/OneClickOptions.php +61 -0
  32. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Providers.php +40 -0
  33. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Refund.php +51 -0
  34. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/RequestAbstract.php +76 -0
  35. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Result.php +41 -0
  36. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Start.php +54 -0
  37. app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/StartRP.php +41 -0
  38. app/code/local/BigFish/PaymentGateway/PaymentGateway/Response.php +83 -0
  39. app/code/local/BigFish/PaymentGateway/controllers/ProcessingController.php +28 -25
  40. app/code/local/BigFish/PaymentGateway/etc/config.xml +71 -50
  41. app/code/local/BigFish/PaymentGateway/etc/system.xml +627 -758
  42. app/code/local/BigFish/PaymentGateway/sql/paymentgateway_setup/mysql4-install-0.1.0.php +0 -45
  43. app/code/local/BigFish/PaymentGateway/sql/paymentgateway_setup/mysql4-install-1.11.0.php +68 -0
  44. app/design/frontend/base/default/template/bfpaymentgateway/form/khbszep.phtml +1 -1
  45. app/design/frontend/base/default/template/bfpaymentgateway/form/mkbszep.phtml +3 -17
  46. app/design/frontend/base/default/template/bfpaymentgateway/form/{escalion.phtml → oneclickpayment.phtml} +2 -2
  47. app/design/frontend/base/default/template/bfpaymentgateway/form/otp2.phtml +1 -1
  48. app/design/frontend/base/default/template/bfpaymentgateway/form/otpszep.phtml +1 -1
  49. app/design/frontend/base/default/template/bfpaymentgateway/form/redirect.phtml +2 -1
  50. app/design/frontend/base/default/template/bfpaymentgateway/form/saferpay.phtml +23 -0
  51. app/design/frontend/base/default/template/bfpaymentgateway/form/wirecard.phtml +5 -0
  52. app/design/frontend/base/default/template/bfpaymentgateway/pending/history.phtml +0 -1
  53. app/locale/en_GB/BigFish_PaymentGateway.csv +47 -1
  54. app/locale/en_US/BigFish_PaymentGateway.csv +47 -1
  55. app/locale/hu_HU/BigFish_PaymentGateway.csv +47 -1
  56. package.xml +11 -8
app/code/local/BigFish/PaymentGateway/Block/Form/Escalion.php CHANGED
@@ -15,13 +15,15 @@ class BigFish_PaymentGateway_Block_Form_Escalion extends BigFish_PaymentGateway_
15
  protected function _construct()
16
  {
17
  parent::_construct();
18
- $this->setTemplate('bfpaymentgateway/form/escalion.phtml');
 
 
 
 
19
  }
20
 
21
  public function getRedirectMessage()
22
  {
23
  return Mage::helper("paymentgateway")->__("redirectMessage");
24
  }
25
- }
26
-
27
- ?>
15
  protected function _construct()
16
  {
17
  parent::_construct();
18
+
19
+ $isOneClick = Mage::getStoreConfig('payment/paymentgateway_escalion/one_click_payment');
20
+ if (!empty($isOneClick)) {
21
+ $this->setTemplate('bfpaymentgateway/form/oneclickpayment.phtml');
22
+ }
23
  }
24
 
25
  public function getRedirectMessage()
26
  {
27
  return Mage::helper("paymentgateway")->__("redirectMessage");
28
  }
29
+ }
 
 
app/code/local/BigFish/PaymentGateway/Block/Form/Khbszep.php CHANGED
@@ -28,9 +28,8 @@ class BigFish_PaymentGateway_Block_Form_Khbszep extends BigFish_PaymentGateway_B
28
  {
29
  $cardPocketIds = BigFish_PaymentGateway_Model_Config::getKhbCardPocketId();
30
 
31
- return Mage::helper('paymentgateway')->__('The next pocket will be debited at payment:').' <b>'.$cardPocketIds[Mage::getStoreConfig('paymentgateway/paymentgateway_khbszep/khbcardpocketid')].'</b>';
 
32
  }
33
 
34
- }
35
-
36
- ?>
28
  {
29
  $cardPocketIds = BigFish_PaymentGateway_Model_Config::getKhbCardPocketId();
30
 
31
+ return Mage::helper('paymentgateway')->__('The next pocket will be debited at payment:').' <b>'.
32
+ $cardPocketIds[Mage::getStoreConfig('paymentgateway/paymentgateway_khbszep/khbcardpocketid')].'</b>';
33
  }
34
 
35
+ }
 
 
app/code/local/BigFish/PaymentGateway/Block/Form/Mkbszep.php CHANGED
@@ -6,9 +6,9 @@
6
  * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
  * @category BigFish
8
  * @package BigFish_PaymentGateway
9
- * @author Gabor Huszak / BIG FISH Ltd. -> huszy [at] bigfish [dot] hu
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
- * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
  */
13
  class BigFish_PaymentGateway_Block_Form_Mkbszep extends BigFish_PaymentGateway_Block_Form
14
  {
@@ -22,15 +22,14 @@ class BigFish_PaymentGateway_Block_Form_Mkbszep extends BigFish_PaymentGateway_B
22
  {
23
  return Mage::helper("paymentgateway")->__("redirectMessage");
24
  }
25
-
26
 
27
  public function getCustomMessage()
28
  {
29
  $cardPocketIds = BigFish_PaymentGateway_Model_Config::getMkbSzepCafeteriaId();
30
-
31
- return Mage::helper('paymentgateway')->__('The next pocket will be debited at payment:').' <b>'.$cardPocketIds[Mage::getStoreConfig('paymentgateway/paymentgateway_mkbszep/mkbszepcafeteriaid')].'</b>';
32
- }
33
 
34
- }
 
 
35
 
36
- ?>
6
  * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
  * @category BigFish
8
  * @package BigFish_PaymentGateway
9
+ * @author Tibor Nagy / BIG FISH Ltd. -> tibor [dot] nagy [at] bigfish [dot] hu
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2016, BIG FISH Ltd.
12
  */
13
  class BigFish_PaymentGateway_Block_Form_Mkbszep extends BigFish_PaymentGateway_Block_Form
14
  {
22
  {
23
  return Mage::helper("paymentgateway")->__("redirectMessage");
24
  }
25
+
26
 
27
  public function getCustomMessage()
28
  {
29
  $cardPocketIds = BigFish_PaymentGateway_Model_Config::getMkbSzepCafeteriaId();
 
 
 
30
 
31
+ return Mage::helper('paymentgateway')->__('The next pocket will be debited at payment:').' <b>'.
32
+ $cardPocketIds[Mage::getStoreConfig('paymentgateway/paymentgateway_mkbszep/mkbszepcafeteriaid')].'</b>';
33
+ }
34
 
35
+ }
app/code/local/BigFish/PaymentGateway/Block/Form/Otp2.php CHANGED
@@ -46,5 +46,3 @@ class BigFish_PaymentGateway_Block_Form_Otp2 extends BigFish_PaymentGateway_Bloc
46
  }
47
 
48
  }
49
-
50
- ?>
46
  }
47
 
48
  }
 
 
app/code/local/BigFish/PaymentGateway/Block/Form/Otpsimple.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Ltd.
4
+ * http://www.bigfish.hu
5
+ *
6
+ * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
+ * @category BigFish
8
+ * @package BigFish_PaymentGateway
9
+ * @author Tibor Nagy / BIG FISH Ltd. -> tibor [dot] nagy [at] bigfish [dot] hu
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
+ */
13
+ class BigFish_PaymentGateway_Block_Form_OTPSimple extends BigFish_PaymentGateway_Block_Form
14
+ {
15
+ protected function _construct()
16
+ {
17
+ parent::_construct();
18
+
19
+ $isOneClick = Mage::getStoreConfig('payment/paymentgateway_otpsimple/one_click_payment');
20
+ if (!empty($isOneClick)) {
21
+ $this->setTemplate('bfpaymentgateway/form/oneclickpayment.phtml');
22
+ }
23
+ }
24
+
25
+ public function getRedirectMessage()
26
+ {
27
+ return Mage::helper("paymentgateway")->__("redirectMessage");
28
+ }
29
+ }
app/code/local/BigFish/PaymentGateway/Block/Form/Otpszep.php CHANGED
@@ -31,6 +31,4 @@ class BigFish_PaymentGateway_Block_Form_Otpszep extends BigFish_PaymentGateway_B
31
  return Mage::helper('paymentgateway')->__('The next pocket will be debited at payment:').' <b>'.$cardPocketIds[Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/otpcardpocketid')].'</b>';
32
  }
33
 
34
- }
35
-
36
- ?>
31
  return Mage::helper('paymentgateway')->__('The next pocket will be debited at payment:').' <b>'.$cardPocketIds[Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/otpcardpocketid')].'</b>';
32
  }
33
 
34
+ }
 
 
app/code/local/BigFish/PaymentGateway/Block/Form/Redirect.php CHANGED
@@ -23,6 +23,4 @@ class BigFish_PaymentGateway_Block_Form_Redirect extends BigFish_PaymentGateway_
23
  return Mage::helper("paymentgateway")->__("redirectMessage");
24
  }
25
 
26
- }
27
-
28
- ?>
23
  return Mage::helper("paymentgateway")->__("redirectMessage");
24
  }
25
 
26
+ }
 
 
app/code/local/BigFish/PaymentGateway/Block/Form/Saferpay.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Ltd.
4
+ * http://www.bigfish.hu
5
+ *
6
+ * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
+ * @category BigFish
8
+ * @package BigFish_PaymentGateway
9
+ * @author Tibor Nagy / BIG FISH Ltd. -> tibor [dot] nagy [at] bigfish [dot] hu
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2016, BIG FISH Ltd.
12
+ */
13
+ class BigFish_PaymentGateway_Block_Form_Saferpay extends BigFish_PaymentGateway_Block_Form
14
+ {
15
+ protected function _construct()
16
+ {
17
+ parent::_construct();
18
+ $this->setTemplate('bfpaymentgateway/form/saferpay.phtml');
19
+ }
20
+
21
+ public function getRedirectMessage()
22
+ {
23
+ return Mage::helper("paymentgateway")->__("redirectMessage");
24
+ }
25
+
26
+ /**
27
+ * @return array
28
+ */
29
+ public function getPaymentMethods()
30
+ {
31
+ return explode(',', Mage::getStoreConfig('paymentgateway/paymentgateway_saferpay/paymentmethods'));
32
+ }
33
+
34
+ /**
35
+ * @return array
36
+ */
37
+ public function getWallets()
38
+ {
39
+ return explode(',', Mage::getStoreConfig('paymentgateway/paymentgateway_saferpay/wallets'));
40
+ }
41
+
42
+ /**
43
+ * @return boolean
44
+ */
45
+ public function isOneClick()
46
+ {
47
+ $isOneClick = Mage::getStoreConfig('payment/paymentgateway_saferpay/one_click_payment');
48
+ if (!empty($isOneClick)) {
49
+ return true;
50
+ }
51
+
52
+ return false;
53
+ }
54
+ }
app/code/local/BigFish/PaymentGateway/Block/Form/Wirecard.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Ltd.
4
+ * http://www.bigfish.hu
5
+ *
6
+ * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
+ * @category BigFish
8
+ * @package BigFish_PaymentGateway
9
+ * @author Tibor Nagy / BIG FISH Ltd. -> tibor [dot] nagy [at] bigfish [dot] hu
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2016, BIG FISH Ltd.
12
+ */
13
+ class BigFish_PaymentGateway_Block_Form_Wirecard extends BigFish_PaymentGateway_Block_Form
14
+ {
15
+ protected function _construct()
16
+ {
17
+ parent::_construct();
18
+ $this->setTemplate('bfpaymentgateway/form/wirecard.phtml');
19
+ }
20
+
21
+ public function getRedirectMessage()
22
+ {
23
+ return Mage::helper("paymentgateway")->__("redirectMessage");
24
+ }
25
+
26
+ /**
27
+ * @return array
28
+ */
29
+ public function getPaymentType()
30
+ {
31
+ return Mage::getStoreConfig('paymentgateway/paymentgateway_wirecard/paymenttypes');
32
+ }
33
+ }
app/code/local/BigFish/PaymentGateway/Lib/PaymentGateway.php DELETED
@@ -1,1119 +0,0 @@
1
- <?php
2
- /*
3
- * Version: 1.5.4
4
- */
5
-
6
- class BigFish_PaymentGateway_Lib_PaymentGateway {
7
-
8
- public $gatewayUrlProduction = "https://www.paymentgateway.hu";
9
- public $gatewayUrlTest = "https://test.paymentgateway.hu";
10
- public $storeName;
11
- public $apiKey;
12
- public $useApi;
13
- public $testMode;
14
-
15
- public function BigFish_PaymentGateway_Lib_PaymentGateway($storeName, $apiKey=null, $useApi=null, $testMode=true)
16
- {
17
- Mage::log("PaymentGW Construct");
18
-
19
- $this->storeName = $storeName;
20
- $this->apiKey = $apiKey;
21
- $this->useApi = $useApi;
22
- $this->testMode = $testMode;
23
- }
24
-
25
- public function initRequest() {
26
-
27
- Mage::log("PaymentGW Init Request");
28
-
29
- $request = new BigFish_PaymentGateway_Lib_InitRequest($this->storeName);
30
-
31
- return $request;
32
- }
33
-
34
- /**
35
- * Transaction initialization
36
- *
37
- * @param PaymentGateway_Init_Request $request Init request object
38
- * @return PaymentGateway_Response Payment Gateway response object
39
- */
40
- public function init(BigFish_PaymentGateway_Lib_InitRequest $request) {
41
-
42
- Mage::log("PaymentGW Init: ".print_r($request,true));
43
-
44
- return self::sendRequest("Init", $request);
45
- }
46
-
47
- /**
48
- * Start payment process, redirects the user to Payment Gateway
49
- *
50
- * @param PaymentGateway_Start_Request $request Start request object
51
- */
52
- public function start($request) {
53
-
54
- Mage::log("PaymentGW Start");
55
-
56
- $startRequest = new BigFish_PaymentGateway_Lib_StartRequest($request);
57
-
58
- $url = self::getUrl() . "/Start?" . $startRequest->getParams($this->useApi);
59
- header("Location: " . $url);
60
- exit;
61
- }
62
-
63
- /**
64
- * Query transaction results from Payment Gateway
65
- *
66
- * @param PaymentGateway_Result_Request $request Result request object
67
- * @return PaymentGateway_Response Payment Gateway response object
68
- */
69
- public function result($request) {
70
-
71
- Mage::log("PaymentGW Result");
72
-
73
- $resultRequest = new BigFish_PaymentGateway_Lib_ResultRequest($request);
74
-
75
- return self::sendRequest("Result", $resultRequest);
76
- }
77
-
78
- /**
79
- * Query transaction details from Payment Gateway
80
- *
81
- * @param PaymentGateway_Details_Request $request Details request object
82
- * @return PaymentGateway_Response Payment Gateway response object
83
- * @access public
84
- */
85
- public function details($request)
86
- {
87
- Mage::log("PaymentGW Details");
88
-
89
- $detailsRequest = new BigFish_PaymentGateway_Lib_DetailsRequest($request);
90
-
91
- return self::sendRequest("Details", $detailsRequest);
92
- }
93
-
94
- /**
95
- * Close a previously started transaction
96
- *
97
- * @param PaymentGateway_Close_Request $request Close request object
98
- * @return PaymentGateway_Response Payment Gateway response object
99
- */
100
- public function close(BigFish_PaymentGateway_Lib_CloseRequest $request) {
101
-
102
- Mage::log("PaymentGW Close");
103
-
104
- return self::sendRequest("Close", $request);
105
- }
106
-
107
- /**
108
- * Refund a transaction
109
- *
110
- * @param PaymentGateway_Refund_Request $request Refund request object
111
- * @return PaymentGateway_Response Payment Gateway response object
112
- */
113
- public function refund(BigFish_PaymentGateway_Lib_RefundRequest $request) {
114
-
115
- Mage::log("PaymentGW Refund");
116
-
117
- return self::sendRequest("Refund", $request);
118
- }
119
-
120
- /**
121
- * Recurring payment transaction initialization
122
- *
123
- * @param PaymentGateway_InitRP_Request $request Recurring payment init request object
124
- * @return PaymentGateway_Response Payment Gateway response object
125
- * @access public
126
- * @static
127
- */
128
- public function initRP(BigFish_PaymentGateway_Lib_InitRPRequest $request)
129
- {
130
- Mage::log("PaymentGW InitRP");
131
-
132
- return self::sendRequest('InitRP', $request);
133
- }
134
-
135
- /**
136
- * Start recurring payment
137
- *
138
- * @param PaymentGateway_StartRP_Request $request Recurring payment start request object
139
- * @return PaymentGateway_Response Payment Gateway response object
140
- * @access public
141
- * @static
142
- */
143
- public function startRP(BigFish_PaymentGateway_Lib_StartRPRequest $request)
144
- {
145
- Mage::log("PaymentGW StartRP");
146
-
147
- return self::sendRequest('StartRP', $request);
148
- }
149
-
150
-
151
- /**
152
- * Finalize a transaction
153
- *
154
- * @param PaymentGateway_Finalize_Request $request Finalize request object
155
- */
156
- public function finalize($request) {
157
-
158
- Mage::log("PaymentGW Finalize");
159
-
160
- $startRequest = new BigFish_PaymentGateway_Lib_FinalizeRequest($request);
161
-
162
- $url = self::getUrl() . "/Finalize?" . $startRequest->getParams($this->useApi);
163
- header("Location: " . $url);
164
- exit;
165
- }
166
-
167
- private function sendRequest($method, BigFish_PaymentGateway_Lib_Request $request) {
168
-
169
- if ($this->useApi == "SOAP") {
170
-
171
- Mage::log("PaymentGW RPC SOAP API");
172
-
173
- $wsdl = self::getUrl() . "/api/soap/?wsdl";
174
-
175
- if (!class_exists('SoapClient')) {
176
- throw new BigFish_PaymentGateway_Lib_Exception("Error! The SOAP PHP module is not loaded!");
177
- }
178
-
179
- try {
180
- $client = new SoapClient($wsdl, array(
181
- 'soap_version' => SOAP_1_2,
182
- 'cache_wsdl' => WSDL_CACHE_BOTH,
183
- 'exceptions' => true,
184
- 'trace' => true,
185
- 'login' => $this->storeName,
186
- 'password' => $this->apiKey,
187
- 'user_agent' => 'BIG FISH Payment Gateway SOAP Client v2.0 ( ' . $method . ' - ' . $_SERVER["HTTP_HOST"] . ' )',
188
- ));
189
-
190
- $request->encodeValues($this->useApi);
191
-
192
- if ($method == 'Init') {
193
- $request->setExtra();
194
- }
195
-
196
- unset($request->publicKey);
197
-
198
- $response = $client->__call($method, array(array('request' => $request)));
199
- $response = $response->{$method . 'Result'};
200
-
201
- $response = new BigFish_PaymentGateway_Lib_Response(self::ucfirstProps($response));
202
-
203
- return $response;
204
- } catch (SoapFault $e) {
205
- throw new BigFish_PaymentGateway_Lib_Exception($e->getMessage());
206
- }
207
- } else {
208
-
209
- if ($this->useApi == "REST") {
210
-
211
- Mage::log("PaymentGW REST API");
212
-
213
- $url = self::getUrl() . '/api/rest/';
214
-
215
- $request->encodeValues($this->useApi);
216
-
217
- if ($method == 'Init') {
218
- $request->setExtra();
219
- }
220
-
221
- unset($request->publicKey);
222
- } else {
223
- Mage::log("PaymentGW HTTP GET API");
224
-
225
- $request->ResponseMode = "JSON";
226
- $url = self::getUrl() . "/" . $method . "?" . $request->getParams($this->useApi);
227
- }
228
-
229
- if (!function_exists('curl_init')) {
230
- throw new BigFish_PaymentGateway_Lib_Exception("Error! The CURL PHP module is not loaded!");
231
- }
232
-
233
- $authHeader = 'Authorization: Basic ' . base64_encode($this->storeName . ':' . $this->apiKey);
234
-
235
- $s = curl_init();
236
- curl_setopt($s, CURLOPT_URL, $url);
237
- curl_setopt($s, CURLOPT_HTTPHEADER, array($authHeader));
238
-
239
- if ($method == 'Close' || $method == 'Refund') {
240
- /**
241
- * OTPay close and refund (extra timeout)
242
- *
243
- */
244
- curl_setopt($s, CURLOPT_TIMEOUT, 600);
245
- } else {
246
- curl_setopt($s, CURLOPT_TIMEOUT, 30);
247
- }
248
- curl_setopt($s, CURLOPT_TIMEOUT, 30);
249
- curl_setopt($s, CURLOPT_MAXREDIRS, 4);
250
- curl_setopt($s, CURLOPT_RETURNTRANSFER, true);
251
- curl_setopt($s, CURLOPT_SSL_VERIFYHOST, false);
252
- curl_setopt($s, CURLOPT_SSL_VERIFYPEER, false);
253
- curl_setopt($s, CURLOPT_REFERER, $_SERVER["HTTP_HOST"]);
254
-
255
- $request = self::ucfirstProps($request);
256
-
257
- if ($this->useApi == "REST") {
258
- $postData = array(
259
- 'method' => $method,
260
- //'responseFormat' => 'XML',
261
- 'json' => json_encode(get_object_vars($request)),
262
- );
263
-
264
- curl_setopt($s, CURLOPT_POST, true);
265
- curl_setopt($s, CURLOPT_POSTFIELDS, $postData);
266
- curl_setopt($s, CURLOPT_USERAGENT, 'BIG FISH Payment Gateway Rest Client v2.0 ( ' . $method . ' - ' . $_SERVER["HTTP_HOST"] . ' )');
267
- } else {
268
- curl_setopt($s, CURLOPT_USERAGENT, "BIG FISH Payment Gateway Client v2.0 (" . $_SERVER["HTTP_HOST"] . ")");
269
- }
270
-
271
- $httpResponse = curl_exec($s);
272
-
273
- if ($httpResponse === false) {
274
- $e = new BigFish_PaymentGateway_Lib_Exception(curl_error($s), curl_errno($s));
275
- curl_close($s);
276
- throw $e;
277
- }
278
-
279
- curl_close($s);
280
-
281
- $response = new BigFish_PaymentGateway_Lib_Response($httpResponse);
282
-
283
- return $response;
284
- }
285
- }
286
-
287
- public function getUrl() {
288
-
289
- if ($this->testMode === true) {
290
- return $this->gatewayUrlTest;
291
- } else {
292
- return $this->gatewayUrlProduction;
293
- }
294
- }
295
-
296
- /**
297
- * Uppercase object properties
298
- *
299
- * @param object $object
300
- * @return void
301
- * @access private
302
- */
303
- public function ucfirstProps($object) {
304
-
305
- foreach (get_object_vars($object) as $key => $value) {
306
- unset($object->{$key});
307
- $object->{ucfirst($key)} = $value;
308
- }
309
- return $object;
310
- }
311
-
312
- }
313
-
314
- /**
315
- * Base class for all request classes
316
- */
317
- class BigFish_PaymentGateway_Lib_Request {
318
-
319
- /**
320
- * Construct query string from object properties
321
- *
322
- * @return string Constructed query string
323
- */
324
- public function getParams($useApi = null) {
325
- foreach ($this as $name => $value) {
326
- if (!empty($value) && is_scalar($value)) {
327
- $params[] = ucfirst($name) . "=" . $this->encodeValue($value, $useApi);
328
- }
329
- }
330
- return implode("&", $params);
331
- }
332
-
333
- protected function encodeValue($value, $useApi = null) {
334
- $value = trim($value);
335
-
336
- if (
337
- $useApi != "SOAP" &&
338
- $useApi != "REST"
339
- ) {
340
- if (preg_match("/\s+/", $value)) {
341
- $value = urlencode($value);
342
- }
343
- }
344
- return $value;
345
- }
346
-
347
- public function encodeValues($useApi = null) {
348
- foreach (get_object_vars($this) as $key => $value) {
349
- if (is_scalar($value)) {
350
- $this->{$key} = $this->encodeValue($value, $useApi);
351
- }
352
- }
353
- }
354
-
355
- }
356
-
357
- /**
358
- * Payment Gateway Init request class
359
- */
360
- class BigFish_PaymentGateway_Lib_InitRequest extends BigFish_PaymentGateway_Lib_Request {
361
-
362
- public $storeName;
363
- public $providerName;
364
- public $responseUrl;
365
- public $notificationUrl;
366
- public $amount;
367
- public $orderId;
368
- public $userId;
369
- public $currency;
370
- public $language;
371
- public $mppPhoneNumber;
372
- public $otpCardNumber;
373
- public $otpExpiration;
374
- public $otpCvc;
375
- public $publicKey;
376
- public $otpCardPocketId;
377
- public $otpConsumerRegistrationId;
378
- public $mkbSzepCafeteriaId;
379
- public $mkbSzepCardNumber;
380
- public $mkbSzepCvv;
381
- public $oneClickPayment = false;
382
- public $autoCommit = true;
383
- public $extra;
384
-
385
- protected static $oneClickProviders = array(
386
- 'Escalion',
387
- 'PayU',
388
- );
389
-
390
- /**
391
- * Construct new Init request instance
392
- */
393
- public function BigFish_PaymentGateway_Lib_InitRequest($storeName) {
394
- $this->storeName = $storeName;
395
- }
396
-
397
- /**
398
- * Set the identifier of the selected payment provider
399
- *
400
- * @param string $providerName Identifier of the selected payment provider
401
- * @return PaymentGateway_Init_Request
402
- */
403
- public function setProviderName($providerName) {
404
- $this->providerName = $providerName;
405
- return $this;
406
- }
407
-
408
- /**
409
- * Set the URL where Users will be sent back after payment
410
- *
411
- * @param string $responseUrl Response URL
412
- * (e.g. http://www.yourdomain.com/response.php,
413
- * http://www.yourdomain.com/response.php?someparam=somevalue etc.)
414
- * @return PaymentGateway_Init_Request
415
- */
416
- public function setResponseUrl($responseUrl, $useApi = null) {
417
- $this->responseUrl = $responseUrl;
418
-
419
- if (
420
- $useApi != "SOAP" &&
421
- $useApi != "REST"
422
- ) {
423
- $urldecodedResponseUrl = urldecode($this->responseUrl);
424
- if ($this->responseUrl == $urldecodedResponseUrl) {
425
- $this->responseUrl = urlencode($this->responseUrl);
426
- }
427
- }
428
- return $this;
429
- }
430
-
431
- /**
432
- * Set Notification URL
433
- *
434
- * @param string $notificationUrl
435
- * @return PaymentGateway_Init_Request
436
- * @access public
437
- */
438
- public function setNotificationUrl($notificationUrl)
439
- {
440
- $this->notificationUrl = trim($notificationUrl);
441
- return $this;
442
- }
443
-
444
- /**
445
- * Set payment transaction amount
446
- *
447
- * @param float $amount Transaction amount
448
- * @return PaymentGateway_Init_Request
449
- */
450
- public function setAmount($amount) {
451
- $this->amount = $amount;
452
- return $this;
453
- }
454
-
455
- /**
456
- * Set the identifier of the order in your system
457
- *
458
- * @param mixed $orderId Order identifier
459
- * @return PaymentGateway_Init_Request
460
- */
461
- public function setOrderId($orderId) {
462
- $this->orderId = $orderId;
463
- return $this;
464
- }
465
-
466
- /**
467
- * Set the identifier of the user in your system
468
- *
469
- * @param mixed $userId User identifier
470
- * @return PaymentGateway_Init_Request
471
- */
472
- public function setUserId($userId) {
473
- $this->userId = $userId;
474
- return $this;
475
- }
476
-
477
- /**
478
- * Set payment transaction currency
479
- *
480
- * @param string $currency Three-letter ISO currency code (e.g. HUF, USD etc.)
481
- * @return PaymentGateway_Init_Request
482
- */
483
- public function setCurrency($currency) {
484
- $this->currency = ($currency ? $currency : 'HUF');
485
- return $this;
486
- }
487
-
488
- /**
489
- * Set the language
490
- *
491
- * @param string $language Language (e.g. HU, EN, DE etc.)
492
- * @return PaymentGateway_Init_Request
493
- */
494
- public function setLanguage($language) {
495
- $this->language = ($language ? $language : 'HU');
496
- return $this;
497
- }
498
-
499
- /**
500
- * Set the Mobile Payment or MasterCard Mobile identifier
501
- * Works with MPP and MPP2 providers
502
- *
503
- * @param string $mppPhoneNumber Mobile Payment identifier (e.g. 123456789)
504
- * or phone number of the user (e.g. 36301234567)
505
- * @return PaymentGateway_Init_Request
506
- */
507
- public function setMppPhoneNumber($mppPhoneNumber) {
508
- $this->mppPhoneNumber = $mppPhoneNumber;
509
- return $this;
510
- }
511
-
512
- /**
513
- * Set the card number of the user
514
- * Works with OTP2 provider
515
- *
516
- * @param string $otpCardNumber Card number
517
- * (e.g. 1111222233334444 or 1111 2222 3333 4444)
518
- * @return PaymentGateway_Init_Request
519
- */
520
- public function setOtpCardNumber($otpCardNumber) {
521
- $this->otpCardNumber = $otpCardNumber;
522
- return $this;
523
- }
524
-
525
- /**
526
- * Set the card expiration date
527
- * Works with OTP2 provider
528
- *
529
- * @param string $otpExpiration Expiration date - mm/yy (e.g. 0512 or 05/12)
530
- * @return PaymentGateway_Init_Request
531
- */
532
- public function setOtpExpiration($otpExpiration) {
533
- $this->otpExpiration = $otpExpiration;
534
- return $this;
535
- }
536
-
537
- /**
538
- * Set the card verification code
539
- * Works with OTP2 provider
540
- *
541
- * @param string $otpCvc Verification code (e.g. 123)
542
- * @return PaymentGateway_Init_Request
543
- */
544
- public function setOtpCvc($otpCvc) {
545
- $this->otpCvc = $otpCvc;
546
- return $this;
547
- }
548
-
549
- /**
550
- * Set the public key
551
- * Works with OTP2, MKBSZEP provider
552
- *
553
- * @param string $publicKey Verification code (e.g. 123)
554
- * @return PaymentGateway_Init_Request
555
- */
556
- public function setPublicKey($publicKey) {
557
- $this->publicKey = $publicKey;
558
- return $this;
559
- }
560
-
561
- /**
562
- * Set the Pocket Id of the user
563
- * Works with OTP provider
564
- *
565
- * @param string $otpCardPocketId Pocket Id
566
- * (e.g. 03)
567
- * @return PaymentGateway_Init_Request
568
- */
569
- public function setOtpCardPocketId($otpCardPocketId) {
570
- $this->otpCardPocketId = $otpCardPocketId;
571
- return $this;
572
- }
573
-
574
- /**
575
- * Set Consumer Registration Id
576
- * Works with OTP provider
577
- *
578
- * @param string $otpConsumerRegistrationId Consumer Registration Id
579
- * (e.g. 03)
580
- * @return PaymentGateway_Init_Request
581
- * @access public
582
- */
583
- public function setOtpConsumerRegistrationId($otpConsumerRegistrationId)
584
- {
585
- $this->otpConsumerRegistrationId = $otpConsumerRegistrationId;
586
- return $this;
587
- }
588
-
589
- /**
590
- * Set the Pocket Id of the user
591
- * Works with MKBSZEP provider
592
- *
593
- * @param string $mkbSzepCafeteriaId Pocket Id
594
- * (e.g. 03)
595
- * @return PaymentGateway_Init_Request
596
- */
597
- public function setMkbSzepCafeteriaId($mkbSzepCafeteriaId)
598
- {
599
- $this->mkbSzepCafeteriaId = (int)$mkbSzepCafeteriaId;
600
- return $this;
601
- }
602
-
603
- /**
604
- * Set the card number of the user
605
- * Works with MKBSZEP provider
606
- *
607
- * @param string $mkbSzepCardNumber Card number (e.g. 1111222233334444 or 1111 2222 3333 4444)
608
- * @return PaymentGateway_Init_Request
609
- * @access public
610
- */
611
- public function setMkbSzepCardNumber($mkbSzepCardNumber)
612
- {
613
- $this->mkbSzepCardNumber = $mkbSzepCardNumber;
614
- return $this;
615
- }
616
-
617
- /**
618
- * Set the card verification value
619
- * Works with MKBSZEP provider
620
- *
621
- * @param string $mkbSzepCvv Verification code (e.g. 123)
622
- * @return PaymentGateway_Init_Request
623
- * @access public
624
- */
625
- public function setMkbSzepCvv($mkbSzepCvv)
626
- {
627
- $this->mkbSzepCvv = $mkbSzepCvv;
628
- return $this;
629
- }
630
-
631
- /**
632
- * Enable or disable One Click Payment of the user
633
- * Works with Escalion provider
634
- *
635
- * @param boolean $oneClickPayment true or false
636
- * (e.g. 03)
637
- * @return PaymentGateway_Init_Request
638
- */
639
- public function setOneClickPayment($oneClickPayment = false) {
640
- $this->oneClickPayment = (($oneClickPayment === true || $oneClickPayment == "true") ? true : false);
641
- return $this;
642
- }
643
-
644
- /**
645
- * If true verifies the availability of funds and captures funds in one step.
646
- * If false verifies the availability of funds and reserves them for later capture.
647
- *
648
- * Works with OTP and OTP2 providers
649
- *
650
- * @param boolean $autoCommit true or false
651
- * @return PaymentGateway_Init_Request
652
- */
653
- public function setAutoCommit($autoCommit = true) {
654
- $this->autoCommit = (($autoCommit === true || $autoCommit == "true") ? "true" : "false");
655
- return $this;
656
- }
657
-
658
- /**
659
- * Set extra data
660
- *
661
- * @param array $extra Extra information (Except OTP2 provider)
662
- * @return PaymentGateway_Init_Request
663
- * @access public
664
- * @throws PaymentGateway_Exception
665
- */
666
- public function setExtra(array $extra=array()) {
667
- if (in_array($this->providerName, array("OTP", "OTP2")) && !empty($this->otpConsumerRegistrationId)) {
668
- $this->encryptExtra(array(
669
- 'otpConsumerRegistrationId' => $this->otpConsumerRegistrationId
670
- ));
671
- } elseif ($this->providerName == "OTP2") {
672
- if (
673
- !empty($this->otpCardNumber) &&
674
- !empty($this->otpExpiration) &&
675
- !empty($this->otpCvc)
676
- ) {
677
- $this->encryptExtra(array(
678
- 'otpCardNumber' => $this->otpCardNumber,
679
- 'otpExpiration' => $this->otpExpiration,
680
- 'otpCvc' => $this->otpCvc
681
- ));
682
- }
683
- } elseif ($this->providerName == "MKBSZEP") {
684
- if (
685
- !empty($this->mkbSzepCardNumber) &&
686
- !empty($this->mkbSzepCvv)
687
- ) {
688
- $this->encryptExtra(array(
689
- 'mkbSzepCardNumber' => $this->mkbSzepCardNumber,
690
- 'mkbSzepCvv' => $this->mkbSzepCvv
691
- ));
692
- }
693
- } else if (!empty($extra)) {
694
- $this->extra = $this->urlsafe_b64encode(json_encode($extra));
695
- }
696
-
697
- if (!($this->providerName == "OTP" && !empty($this->otpCardPocketId))) {
698
- unset($this->otpCardPocketId);
699
- }
700
-
701
- if (!(in_array($this->providerName, self::$oneClickProviders) && $this->oneClickPayment)) {
702
- unset($this->oneClickPayment);
703
- }
704
-
705
- unset($this->otpCardNumber);
706
- unset($this->otpExpiration);
707
- unset($this->otpCvc);
708
- unset($this->otpConsumerRegistrationId);
709
- unset($this->mkbSzepCardNumber);
710
- unset($this->mkbSzepCvv);
711
- }
712
-
713
- /**
714
- * Encrypt extra data
715
- *
716
- * @param array $data
717
- * @return void
718
- * @access public
719
- * @throws PaymentGateway_Exception
720
- */
721
- public function encryptExtra(array $data = array())
722
- {
723
- if (!function_exists('openssl_public_encrypt')) {
724
- throw new BigFish_PaymentGateway_Lib_Exception("Error! The OpenSSL PHP module is not loaded!");
725
- }
726
-
727
- $encrypted = null;
728
-
729
- $extra = serialize($data);
730
- openssl_public_encrypt($extra, $encrypted, $this->publicKey);
731
- $this->extra = $this->urlsafe_b64encode($encrypted);
732
- }
733
-
734
- public function getParams($useApi = null) {
735
- $this->setExtra();
736
-
737
- return parent::getParams($useApi);
738
- }
739
-
740
- private function urlsafe_b64encode($string) {
741
- $data = base64_encode($string);
742
- $data = str_replace(array('+', '/', '='), array('-', '_', '.'), $data);
743
- return $data;
744
- }
745
-
746
- }
747
-
748
- /**
749
- * Payment Gateway Start request class
750
- */
751
- class BigFish_PaymentGateway_Lib_StartRequest extends BigFish_PaymentGateway_Lib_Request {
752
-
753
- public $transactionId;
754
-
755
- /**
756
- * Construct new Start request instance
757
- *
758
- * @param string $transactionId Transaction ID received from Payment Gateway
759
- */
760
- public function BigFish_PaymentGateway_Lib_StartRequest($transactionId) {
761
- $this->transactionId = $transactionId;
762
- }
763
-
764
- public function getParams($useApi = null) {
765
- unset($this->responseMode);
766
- return parent::getParams($useApi);
767
- }
768
-
769
- }
770
-
771
- /**
772
- * Payment Gateway Result request class
773
- */
774
- class BigFish_PaymentGateway_Lib_ResultRequest extends BigFish_PaymentGateway_Lib_Request {
775
-
776
- public $transactionId;
777
-
778
- /**
779
- * Construct new Result request instance
780
- *
781
- * @param string $transactionId Transaction ID received from Payment Gateway
782
- */
783
- public function BigFish_PaymentGateway_Lib_ResultRequest($transactionId) {
784
- $this->transactionId = $transactionId;
785
- }
786
-
787
- }
788
-
789
- /**
790
- * Payment Gateway Details request class
791
- *
792
- */
793
- class BigFish_PaymentGateway_Lib_DetailsRequest extends BigFish_PaymentGateway_Lib_Request {
794
- /**
795
- * Transaction ID
796
- *
797
- * @var string
798
- * @access public
799
- */
800
- public $transactionId;
801
-
802
- /**
803
- * Construct new Result request instance
804
- *
805
- * @param string $transactionId Transaction ID received from Payment Gateway
806
- * @return void
807
- * @access public
808
- */
809
- public function BigFish_PaymentGateway_Lib_DetailsRequest($transactionId) {
810
- $this->transactionId = $transactionId;
811
- }
812
- }
813
-
814
- /**
815
- * Payment Gateway Close request class
816
- */
817
- class BigFish_PaymentGateway_Lib_CloseRequest extends BigFish_PaymentGateway_Lib_Request {
818
-
819
- public $transactionId;
820
- public $approved;
821
-
822
- /**
823
- * Construct new Start request instance
824
- *
825
- * @param string $transactionId Transaction ID received from Payment Gateway
826
- * @param boolean $approved Approve or decline transaction (true/false)
827
- */
828
- public function BigFish_PaymentGateway_Lib_CloseRequest($transactionId, $approved = true) {
829
- $this->transactionId = $transactionId;
830
- $this->approved = (($approved === true || $approved == "true") ? "true" : "false");
831
- }
832
-
833
- }
834
-
835
- /**
836
- * Payment Gateway Refund request class
837
- */
838
- class BigFish_PaymentGateway_Lib_RefundRequest extends BigFish_PaymentGateway_Lib_Request {
839
-
840
- public $transactionId;
841
- public $amount;
842
-
843
- /**
844
- * Construct new Refund request instance
845
- *
846
- * @param string $transactionId Transaction ID received from Payment Gateway
847
- * @param float $amount Amount to refund
848
- */
849
- public function BigFish_PaymentGateway_Lib_RefundRequest($transactionId, $amount) {
850
- $this->transactionId = $transactionId;
851
- $this->amount = (float) $amount;
852
- }
853
-
854
- }
855
-
856
-
857
- /**
858
- * Payment Gateway Recurring Payment Init request class
859
- *
860
- */
861
- class BigFish_PaymentGateway_Lib_InitRPRequest extends BigFish_PaymentGateway_Lib_Request
862
- {
863
- /**
864
- * Payment Gateway reference transaction ID
865
- *
866
- * @var string
867
- * @access public
868
- */
869
- public $referenceTransactionId;
870
-
871
- /**
872
- * Response URL
873
- *
874
- * @var string
875
- * @access public
876
- */
877
- public $responseUrl;
878
-
879
- /**
880
- * Amount
881
- *
882
- * @var float
883
- * @access public
884
- */
885
- public $amount;
886
-
887
- /**
888
- * Order ID
889
- *
890
- * @var string
891
- * @access public
892
- */
893
- public $orderId;
894
-
895
- /**
896
- * User ID
897
- *
898
- * @var string
899
- * @access public
900
- */
901
- public $userId;
902
-
903
- /**
904
- * Currency code
905
- *
906
- * @var string
907
- * @access public
908
- */
909
- public $currency;
910
-
911
- /**
912
- * Construct new Init request instance
913
- *
914
- * @return void
915
- * @access public
916
- */
917
- public function BigFish_PaymentGateway_Lib_InitRPRequest($storeName) {
918
- $this->storeName = $storeName;
919
- }
920
-
921
- /**
922
- * Set the reference Payment Gateway transaction ID
923
- *
924
- * @param string $referenceTransactionId Identifier of the reference transaction ID
925
- * @return PaymentGateway_InitRP_Request
926
- * @access public
927
- */
928
- public function setReferenceTransactionId($referenceTransactionId)
929
- {
930
- $this->referenceTransactionId = $referenceTransactionId;
931
- return $this;
932
- }
933
-
934
- /**
935
- * Set the URL where Users will be sent back after payment
936
- *
937
- * @param string $responseUrl Response URL
938
- * (e.g. http://www.yourdomain.com/response.php, http://www.yourdomain.com/response.php?someparam=somevalue etc.)
939
- * @return PaymentGateway_InitRP_Request
940
- * @access public
941
- */
942
- public function setResponseUrl($responseUrl, $useApi = null) {
943
- $this->responseUrl = $responseUrl;
944
-
945
- if (
946
- $useApi != "SOAP" &&
947
- $useApi != "REST"
948
- ) {
949
- $urldecodedResponseUrl = urldecode($this->responseUrl);
950
- if ($this->responseUrl == $urldecodedResponseUrl) {
951
- $this->responseUrl = urlencode($this->responseUrl);
952
- }
953
- }
954
- return $this;
955
- }
956
-
957
- /**
958
- * Set payment transaction amount
959
- *
960
- * @param float $amount Transaction amount
961
- * @return PaymentGateway_InitRP_Request
962
- * @access public
963
- */
964
- public function setAmount($amount)
965
- {
966
- $this->amount = $amount;
967
- return $this;
968
- }
969
-
970
- /**
971
- * Set the identifier of the order in your system
972
- *
973
- * @param mixed $orderId Order identifier
974
- * @return PaymentGateway_InitRP_Request
975
- * @access public
976
- */
977
- public function setOrderId($orderId)
978
- {
979
- $this->orderId = $orderId;
980
- return $this;
981
- }
982
-
983
- /**
984
- * Set the identifier of the user in your system
985
- *
986
- * @param mixed $userId User identifier
987
- * @return PaymentGateway_InitRP_Request
988
- * @access public
989
- */
990
- public function setUserId($userId)
991
- {
992
- $this->userId = $userId;
993
- return $this;
994
- }
995
-
996
- /**
997
- * Set payment transaction currency
998
- *
999
- * @param string $currency Three-letter ISO currency code (e.g. HUF, USD etc.)
1000
- * @return PaymentGateway_InitRP_Request
1001
- * @access public
1002
- */
1003
- public function setCurrency($currency)
1004
- {
1005
- $this->currency = $currency;
1006
- return $this;
1007
- }
1008
- }
1009
-
1010
- /**
1011
- * Payment Gateway Recurring Payment Start request class
1012
- *
1013
- */
1014
- class BigFish_PaymentGateway_Lib_StartRPRequest extends BigFish_PaymentGateway_Lib_Request
1015
- {
1016
- /**
1017
- * Transaction ID
1018
- *
1019
- * @var string
1020
- * @access public
1021
- */
1022
- public $transactionId;
1023
-
1024
- /**
1025
- * Construct new Recurring Payment Start request instance
1026
- *
1027
- * @param string $transactionId Transaction ID received from Payment Gateway
1028
- * @return void
1029
- * @access public
1030
- */
1031
- public function BigFish_PaymentGateway_Lib_StartRPRequest($transactionId)
1032
- {
1033
- $this->transactionId = $transactionId;
1034
- }
1035
-
1036
- }
1037
-
1038
- /**
1039
- * Payment Gateway Finalize request class
1040
- *
1041
- */
1042
- class BigFish_PaymentGateway_Lib_FinalizeRequest extends BigFish_PaymentGateway_Lib_Request
1043
- {
1044
- /**
1045
- * Transaction ID
1046
- *
1047
- * @var string
1048
- * @access public
1049
- */
1050
- public $transactionId;
1051
-
1052
- /**
1053
- * Amount
1054
- *
1055
- * @var float
1056
- * @access public
1057
- */
1058
- public $amount;
1059
-
1060
- /**
1061
- * Construct new Finalize request instance
1062
- *
1063
- * @param string $transactionId Transaction ID received from Payment Gateway
1064
- * @param float $amount Amount to finalize
1065
- */
1066
- public function BigFish_PaymentGateway_Lib_FinalizeRequest($transactionId, $amount) {
1067
- $this->transactionId = $transactionId;
1068
- $this->amount = (float) $amount;
1069
- }
1070
-
1071
- public function getParams($useApi = null) {
1072
- unset($this->responseMode);
1073
- return parent::getParams($useApi);
1074
- }
1075
- }
1076
-
1077
- /**
1078
- * Payment Gateway response class
1079
- */
1080
- class BigFish_PaymentGateway_Lib_Response {
1081
-
1082
- /**
1083
- * Construct new response object from JSON encoded object
1084
- *
1085
- * @param string $json JSON encoded object
1086
- */
1087
- public function BigFish_PaymentGateway_Lib_Response($json) {
1088
- if (is_object($json)) {
1089
- $object = $json;
1090
- } else {
1091
- $object = json_decode($json);
1092
- }
1093
-
1094
- if (is_object($object)) {
1095
- foreach (get_object_vars($object) as $name => $value) {
1096
- if (empty($value)) {
1097
- continue;
1098
- }
1099
-
1100
- if (is_string($value) && is_object(json_decode($value))) {
1101
- $this->$name = new BigFish_PaymentGateway_Lib_Response($value);
1102
- } else {
1103
- if (is_string($value) && Mage::getStoreConfig('design/head/default_charset') != "UTF-8") {
1104
- $value = iconv("UTF-8", Mage::getStoreConfig('design/head/default_charset'), $value);
1105
- }
1106
- $name = ucfirst($name);
1107
- $this->$name = $value;
1108
- }
1109
- }
1110
- }
1111
- }
1112
-
1113
- }
1114
-
1115
- class BigFish_PaymentGateway_Lib_Exception extends Exception {
1116
-
1117
- }
1118
-
1119
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/BigFish/PaymentGateway/Model/Abstract.php CHANGED
@@ -10,8 +10,14 @@
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
  * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
  */
 
 
 
 
13
  class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Abstract
14
  {
 
 
15
  protected $_code = 'paymentgateway_abstract';
16
  protected $_formBlockType = 'paymentgateway/form_redirect';
17
  protected $_infoBlockType = 'paymentgateway/info';
@@ -124,17 +130,14 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
124
  public function getPaymentParams()
125
  {
126
  $order_id = $this->getOrder()->getRealOrderId();
127
- $billing = $this->getOrder()->getBillingAddress();
128
  $extra = array();
129
 
130
  switch ($this->_paymentMethod) {
131
- case 'Barion':
132
  case 'Borgun':
133
  $this->setItemsToExtra($extra);
134
  break;
135
- case 'PayU':
136
- case 'PayUWire':
137
- case 'PayUCash':
138
  $extra = array(
139
  'BILL_EMAIL' => $this->getOrder()->getCustomerEmail(),
140
  );
@@ -215,7 +218,7 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
215
  }
216
  }
217
  }
218
-
219
  /**
220
  * Get initialized flag status
221
  * @return true
@@ -225,11 +228,11 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
225
  return true;
226
  }
227
 
228
- /**
229
- * Instantiate state and set it to state onject
230
- * //@param
231
- * //@param
232
- */
233
  public function initialize($paymentAction, $stateObject)
234
  {
235
  $state = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
@@ -241,7 +244,7 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
241
  $helper = Mage::helper('paymentgateway');
242
  $paymentParams = $this->getPaymentParams();
243
 
244
- if ($paymentParams["provider"] == 'OTPSZEP') {
245
  $storeName = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/storenameotpszep');
246
  $apiKey = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/apikeyotpszep');
247
  } else {
@@ -249,40 +252,47 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
249
  $apiKey = $helper->getApiKey();
250
  }
251
 
252
- $pgw = new BigFish_PaymentGateway_Lib_PaymentGateway($storeName, $apiKey, $helper->getUseApi(), $helper->getIsTestMode());
253
-
254
- $request = $pgw->initRequest();
255
- $request->setProviderName(($paymentParams["provider"] == 'OTPSZEP') ? 'OTP' : $paymentParams["provider"])
256
- ->setResponseUrl($paymentParams["responseUrl"], $helper->getUseApi())
257
- ->setAmount($paymentParams["amount"])
258
- ->setCurrency($paymentParams["currency"])
259
- ->setOrderId($paymentParams["orderId"])
260
- ->setUserId($paymentParams["userId"])
261
- ->setLanguage($paymentParams["language"])
262
- ->setMppPhoneNumber($paymentParams["mppPhoneNumber"])
263
- ->setOtpCardNumber($paymentParams["OtpCardNumber"])
264
- ->setOtpExpiration($paymentParams["OtpExpiration"])
265
- ->setOtpCvc($paymentParams["OtpCvc"])
266
- ->setPublicKey($paymentParams["publicKey"])
267
- ->setOneClickPayment($paymentParams["OneClickPayment"]);
 
 
 
 
 
 
 
268
 
269
- if ($paymentParams["provider"] == 'OTPSZEP') {
270
  $request->setOtpCardPocketId($paymentParams['OtpCardPocketId']);
271
  }
272
 
273
- if ($paymentParams["provider"] == 'OTP2') {
274
  $paymentParams['OtpCardNumber'] = '****************';
275
  $paymentParams['OtpExpiration'] = '****';
276
  $paymentParams['OtpCvc'] = '***';
277
  }
278
 
279
- if ($paymentParams["provider"] == 'MKBSZEP') {
280
  $request->setMkbSzepCafeteriaId($paymentParams['MkbSzepCafeteriaId'])
281
- ->setMkbSzepCardNumber($paymentParams['MkbSzepCardNumber'])
282
- ->setMkbSzepCvv($paymentParams['MkbSzepCardCvv']);
283
-
284
- $paymentParams['MkbSzepCardNumber'] = '****************';
285
- $paymentParams['MkbSzepCardCvv'] = '***';
286
  }
287
 
288
  /**
@@ -293,17 +303,15 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
293
  $request->setExtra($paymentParams['extra']);
294
  }
295
 
296
- $response = $pgw->init($request);
297
 
298
  $debugMsg = "PAYMENT_PARAMS:\n".print_r($paymentParams,true);
299
  $debugMsg.= "\n\nRESPONSE:\n".print_r($response,true);
300
  $pgwModel = Mage::getModel('paymentgateway/paymentGateway');
301
  $pgwLog = Mage::getModel('paymentgateway/log');
302
  $order = $this->getOrder();
303
- $checkout = $this->_getCheckout();
304
 
305
- if ($response->ResultCode == "SUCCESSFUL" && $response->TransactionId)
306
- {
307
  $pgwModel->setOrderId($order->getRealOrderId())
308
  ->setTransactionId($response->TransactionId)
309
  ->setCreatedTime(date("Y-m-d H:i:s"))
@@ -313,7 +321,7 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
313
  $pgwLog->setPaymentgatewayId($pgwModel->getId())
314
  ->setCreatedTime(date("Y-m-d H:i:s"))
315
  ->setStatus(BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED)
316
- ->setDebug(trim($paymentParams["provider"]))
317
  ->save();
318
 
319
  $pgwLog2 = Mage::getModel('paymentgateway/log');
@@ -323,9 +331,7 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
323
  ->setStatus(BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED)
324
  ->setDebug($debugMsg)
325
  ->save();
326
- }
327
- else
328
- {
329
  $paymentgatewayErrorMessage = "PAYMENT_PARAMS:\n".print_r($paymentParams, true)."\n\n";
330
  $paymentgatewayErrorMessage.= $response->ResultCode.": ".$response->ResultMessage;
331
  $paymentgatewayErrorMessage.= "<br/><br/><xmp>".print_r($response, true)."</xmp>";
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
  * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
  */
13
+
14
+ require_once(realpath(dirname(__FILE__)) . '/../PaymentGateway/Autoload.php');
15
+ BigFish\PaymentGateway\Autoload::register();
16
+
17
  class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Abstract
18
  {
19
+ const VERSION = '1.11.0';
20
+
21
  protected $_code = 'paymentgateway_abstract';
22
  protected $_formBlockType = 'paymentgateway/form_redirect';
23
  protected $_infoBlockType = 'paymentgateway/info';
130
  public function getPaymentParams()
131
  {
132
  $order_id = $this->getOrder()->getRealOrderId();
 
133
  $extra = array();
134
 
135
  switch ($this->_paymentMethod) {
 
136
  case 'Borgun':
137
  $this->setItemsToExtra($extra);
138
  break;
139
+ case 'OTPSimple':
140
+ case 'OTPSimpleWire':
 
141
  $extra = array(
142
  'BILL_EMAIL' => $this->getOrder()->getCustomerEmail(),
143
  );
218
  }
219
  }
220
  }
221
+
222
  /**
223
  * Get initialized flag status
224
  * @return true
228
  return true;
229
  }
230
 
231
+ /**
232
+ * Instantiate state and set it to state onject
233
+ * @param $paymentAction
234
+ * @param $stateObject
235
+ */
236
  public function initialize($paymentAction, $stateObject)
237
  {
238
  $state = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
244
  $helper = Mage::helper('paymentgateway');
245
  $paymentParams = $this->getPaymentParams();
246
 
247
+ if ($paymentParams['provider'] == 'OTPSZEP') {
248
  $storeName = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/storenameotpszep');
249
  $apiKey = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/apikeyotpszep');
250
  } else {
252
  $apiKey = $helper->getApiKey();
253
  }
254
 
255
+ $config = new BigFish\PaymentGateway\Config();
256
+ $config->storeName = $storeName;
257
+ $config->apiKey = $apiKey;
258
+ $config->testMode = $helper->getIsTestMode();
259
+ $config->outCharset = 'UTF-8';
260
+
261
+ BigFish\PaymentGateway::setConfig($config);
262
+
263
+ $request = new BigFish\PaymentGateway\Request\Init();
264
+ $request->setProviderName(($paymentParams['provider'] == 'OTPSZEP') ? BigFish\PaymentGateway::PROVIDER_OTP : $paymentParams['provider'])
265
+ ->setResponseUrl($paymentParams['responseUrl'])
266
+ ->setAmount($paymentParams['amount'])
267
+ ->setCurrency($paymentParams['currency'])
268
+ ->setOrderId($paymentParams['orderId'])
269
+ ->setUserId($paymentParams['userId'])
270
+ ->setLanguage($paymentParams['language'])
271
+ ->setMppPhoneNumber($paymentParams['mppPhoneNumber'])
272
+ ->setOtpCardNumber($paymentParams['OtpCardNumber'])
273
+ ->setOtpExpiration($paymentParams['OtpExpiration'])
274
+ ->setOtpCvc($paymentParams['OtpCvc'])
275
+ ->setOneClickPayment($paymentParams['OneClickPayment'])
276
+ ->setModuleName('Magento ('.Mage::getVersion().')')
277
+ ->setModuleVersion(self::VERSION);
278
 
279
+ if ($paymentParams['provider'] == 'OTPSZEP') {
280
  $request->setOtpCardPocketId($paymentParams['OtpCardPocketId']);
281
  }
282
 
283
+ if ($paymentParams['provider'] == BigFish\PaymentGateway::PROVIDER_OTP_TWO_PARTY) {
284
  $paymentParams['OtpCardNumber'] = '****************';
285
  $paymentParams['OtpExpiration'] = '****';
286
  $paymentParams['OtpCvc'] = '***';
287
  }
288
 
289
+ if ($paymentParams['provider'] == BigFish\PaymentGateway::PROVIDER_MKB_SZEP) {
290
  $request->setMkbSzepCafeteriaId($paymentParams['MkbSzepCafeteriaId'])
291
+ ->setGatewayPaymentPage(true);
292
+ }
293
+
294
+ if ($paymentParams['provider'] === BigFish\PaymentGateway::PROVIDER_KHB_SZEP) {
295
+ $extra['KhbCardPocketId'] = $paymentParams[BigFish\PaymentGateway::PROVIDER_KHB_SZEP]['KhbCardPocketId'];
296
  }
297
 
298
  /**
303
  $request->setExtra($paymentParams['extra']);
304
  }
305
 
306
+ $response = BigFish\PaymentGateway::init($request);
307
 
308
  $debugMsg = "PAYMENT_PARAMS:\n".print_r($paymentParams,true);
309
  $debugMsg.= "\n\nRESPONSE:\n".print_r($response,true);
310
  $pgwModel = Mage::getModel('paymentgateway/paymentGateway');
311
  $pgwLog = Mage::getModel('paymentgateway/log');
312
  $order = $this->getOrder();
 
313
 
314
+ if ($response->ResultCode == BigFish\PaymentGateway::RESULT_CODE_SUCCESS && $response->TransactionId) {
 
315
  $pgwModel->setOrderId($order->getRealOrderId())
316
  ->setTransactionId($response->TransactionId)
317
  ->setCreatedTime(date("Y-m-d H:i:s"))
321
  $pgwLog->setPaymentgatewayId($pgwModel->getId())
322
  ->setCreatedTime(date("Y-m-d H:i:s"))
323
  ->setStatus(BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED)
324
+ ->setDebug(trim($paymentParams['provider']))
325
  ->save();
326
 
327
  $pgwLog2 = Mage::getModel('paymentgateway/log');
331
  ->setStatus(BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED)
332
  ->setDebug($debugMsg)
333
  ->save();
334
+ } else {
 
 
335
  $paymentgatewayErrorMessage = "PAYMENT_PARAMS:\n".print_r($paymentParams, true)."\n\n";
336
  $paymentgatewayErrorMessage.= $response->ResultCode.": ".$response->ResultMessage;
337
  $paymentgatewayErrorMessage.= "<br/><br/><xmp>".print_r($response, true)."</xmp>";
app/code/local/BigFish/PaymentGateway/Model/Config.php CHANGED
@@ -10,9 +10,7 @@ class BigFish_PaymentGateway_Model_Config
10
  public function getApiType()
11
  {
12
  return array(
13
- '' => Mage::helper('paymentgateway')->__('HTTP GET (Default)'),
14
- 'REST' => Mage::helper('paymentgateway')->__('HTTP REST API'),
15
- 'SOAP' => Mage::helper('paymentgateway')->__('RPC SOAP API')
16
  );
17
  }
18
 
@@ -60,5 +58,38 @@ class BigFish_PaymentGateway_Model_Config
60
  '08' => Mage::helper('paymentgateway')->__('Leisure')
61
  );
62
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  }
64
 
10
  public function getApiType()
11
  {
12
  return array(
13
+ 'REST' => Mage::helper('paymentgateway')->__('HTTP REST API (Default)'),
 
 
14
  );
15
  }
16
 
58
  '08' => Mage::helper('paymentgateway')->__('Leisure')
59
  );
60
  }
61
+
62
+ /**
63
+ * PaymentGateway Saferpay Payment Methods
64
+ *
65
+ * @return array
66
+ */
67
+ public function getSaferpayPaymentMethods()
68
+ {
69
+ $saferpay = new BigFish_PaymentGateway_Model_Saferpay();
70
+ return $saferpay->getPaymentMethods();
71
+ }
72
+
73
+ /**
74
+ * PaymentGateway Saferpay Wallets
75
+ *
76
+ * @return array
77
+ */
78
+ public function getSaferpayWallets()
79
+ {
80
+ $saferpay = new BigFish_PaymentGateway_Model_Saferpay();
81
+ return $saferpay->getWallets();
82
+ }
83
+
84
+ /**
85
+ * PaymentGateway QPAY Payment Types
86
+ *
87
+ * @return array
88
+ */
89
+ public function getQpayPaymentTypes()
90
+ {
91
+ $qpay = new BigFish_PaymentGateway_Model_Wirecard();
92
+ return $qpay->getPaymentTypes();
93
+ }
94
  }
95
 
app/code/local/BigFish/PaymentGateway/Model/Escalion.php CHANGED
@@ -13,9 +13,7 @@
13
  class BigFish_PaymentGateway_Model_Escalion extends BigFish_PaymentGateway_Model_Abstract
14
  {
15
  protected $_formBlockType = 'paymentgateway/form_escalion';
16
-
17
  protected $_code = 'paymentgateway_escalion';
18
-
19
  protected $_paymentMethod = 'Escalion';
20
 
21
  /**
@@ -28,10 +26,8 @@ class BigFish_PaymentGateway_Model_Escalion extends BigFish_PaymentGateway_Model
28
  try {
29
  $params = parent::getPaymentParams();
30
 
31
- $info = $this->getInfoInstance();
32
-
33
- $payment_data = Mage::app()->getRequest()->getParam('payment');
34
- $params["OneClickPayment"]=$payment_data['one_click_payment'];
35
 
36
  return $params;
37
  } catch (Exception $e) {
13
  class BigFish_PaymentGateway_Model_Escalion extends BigFish_PaymentGateway_Model_Abstract
14
  {
15
  protected $_formBlockType = 'paymentgateway/form_escalion';
 
16
  protected $_code = 'paymentgateway_escalion';
 
17
  protected $_paymentMethod = 'Escalion';
18
 
19
  /**
26
  try {
27
  $params = parent::getPaymentParams();
28
 
29
+ $payment_data = Mage::app()->getRequest()->getParam('payment');
30
+ $params["OneClickPayment"] = $payment_data[$this->_code]['one_click_payment'];
 
 
31
 
32
  return $params;
33
  } catch (Exception $e) {
app/code/local/BigFish/PaymentGateway/Model/Event.php CHANGED
@@ -115,7 +115,7 @@ class BigFish_PaymentGateway_Model_Event
115
  } catch(Exception $e) {
116
  Mage::logException($e);
117
  }
118
- return;
119
  }
120
 
121
  /**
115
  } catch(Exception $e) {
116
  Mage::logException($e);
117
  }
118
+ return $msg;
119
  }
120
 
121
  /**
app/code/local/BigFish/PaymentGateway/Model/Mkbszep.php CHANGED
@@ -13,7 +13,7 @@
13
  class BigFish_PaymentGateway_Model_Mkbszep extends BigFish_PaymentGateway_Model_Abstract
14
  {
15
  protected $_formBlockType = 'paymentgateway/form_mkbszep';
16
-
17
  protected $_code = 'paymentgateway_mkbszep';
18
 
19
  protected $_paymentMethod = 'MKBSZEP';
@@ -23,12 +23,7 @@ class BigFish_PaymentGateway_Model_Mkbszep extends BigFish_PaymentGateway_Model_
23
  try {
24
  $params = parent::getPaymentParams();
25
 
26
- $info = $this->getInfoInstance();
27
-
28
- $params["MkbSzepCardNumber"]=$info->getCcNumber();
29
- $params["MkbSzepCardCvv"]=$info->getCcCid();
30
- $params["publicKey"]=Mage::getStoreConfig("payment/paymentgateway_mkbszep/publickey");
31
- $params['MkbSzepCafeteriaId']=Mage::getStoreConfig('paymentgateway/paymentgateway_mkbszep/mkbszepcafeteriaid');
32
 
33
  if (!strlen($params['MkbSzepCafeteriaId'])) {
34
  throw new Exception();
13
  class BigFish_PaymentGateway_Model_Mkbszep extends BigFish_PaymentGateway_Model_Abstract
14
  {
15
  protected $_formBlockType = 'paymentgateway/form_mkbszep';
16
+
17
  protected $_code = 'paymentgateway_mkbszep';
18
 
19
  protected $_paymentMethod = 'MKBSZEP';
23
  try {
24
  $params = parent::getPaymentParams();
25
 
26
+ $params['MkbSzepCafeteriaId'] = Mage::getStoreConfig('paymentgateway/paymentgateway_mkbszep/mkbszepcafeteriaid');
 
 
 
 
 
27
 
28
  if (!strlen($params['MkbSzepCafeteriaId'])) {
29
  throw new Exception();
app/code/local/BigFish/PaymentGateway/Model/Otpsimple.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Ltd.
4
+ * http://www.bigfish.hu
5
+ *
6
+ * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
+ * @category BigFish
8
+ * @package BigFish_PaymentGateway
9
+ * @author Tibor Nagy / BIG FISH Ltd. -> tibor [dot] nagy [at] bigfish [dot] hu
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2016, BIG FISH Ltd.
12
+ */
13
+ class BigFish_PaymentGateway_Model_Otpsimple extends BigFish_PaymentGateway_Model_Abstract
14
+ {
15
+ protected $_formBlockType = 'paymentgateway/form_otpsimple';
16
+ protected $_code = 'paymentgateway_otpsimple';
17
+ protected $_paymentMethod = 'OTPSimple';
18
+
19
+ /**
20
+ * Prepare params array to send it to gateway page via POST
21
+ *
22
+ * @return array
23
+ */
24
+ public function getPaymentParams()
25
+ {
26
+ try {
27
+ $params = parent::getPaymentParams();
28
+
29
+ $payment_data = Mage::app()->getRequest()->getParam('payment');
30
+ $params["OneClickPayment"] = $payment_data[$this->_code]['one_click_payment'];
31
+
32
+ return $params;
33
+ } catch (Exception $e) {
34
+ Mage::throwException($this->_getHelper()->__('validation_invalidCcData'));
35
+ }
36
+ }
37
+ }
app/code/local/BigFish/PaymentGateway/Model/Otpsimplewire.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Ltd.
4
+ * http://www.bigfish.hu
5
+ *
6
+ * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
+ * @category BigFish
8
+ * @package BigFish_PaymentGateway
9
+ * @author Tibor Nagy / BIG FISH Ltd. -> tibor [dot] nagy [at] bigfish [dot] hu
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2016, BIG FISH Ltd.
12
+ */
13
+ class BigFish_PaymentGateway_Model_Otpsimplewire extends BigFish_PaymentGateway_Model_Abstract
14
+ {
15
+ protected $_code = 'paymentgateway_otpsimplewire';
16
+ protected $_paymentMethod = 'OTPSimpleWire';
17
+ }
app/code/local/BigFish/PaymentGateway/Model/Saferpay.php ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Ltd.
4
+ * http://www.bigfish.hu
5
+ *
6
+ * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
+ * @category BigFish
8
+ * @package BigFish_PaymentGateway
9
+ * @author Tibor Nagy / BIG FISH Ltd. -> tibor [dot] nagy [at] bigfish [dot] hu
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2016, BIG FISH Ltd.
12
+ */
13
+ class BigFish_PaymentGateway_Model_Saferpay extends BigFish_PaymentGateway_Model_Abstract
14
+ {
15
+ protected $_formBlockType = 'paymentgateway/form_saferpay';
16
+
17
+ protected $_code = 'paymentgateway_saferpay';
18
+
19
+ protected $_paymentMethod = 'Saferpay';
20
+
21
+ /**
22
+ * Prepare params array to send it to gateway page via POST
23
+ *
24
+ * @return array
25
+ */
26
+ public function getPaymentParams()
27
+ {
28
+ try {
29
+ $params = parent::getPaymentParams();
30
+
31
+ $payment_data = Mage::app()->getRequest()->getParam('payment');
32
+ $params['OneClickPayment'] = $payment_data[$this->_code]['one_click_payment'];
33
+
34
+ $extra = array(
35
+ 'SaferpayPaymentMethods' => $payment_data[$this->_code]['payment_methods'],
36
+ 'SaferpayWallets' => $payment_data[$this->_code]['wallets']
37
+ );
38
+ $params['extra'] = $extra;
39
+
40
+ return $params;
41
+ } catch (Exception $e) {
42
+ Mage::throwException($this->_getHelper()->__('validation_invalidCcData'));
43
+ }
44
+ }
45
+
46
+ /**
47
+ * Get Saferpay payment methods
48
+ * @return array
49
+ */
50
+ public function getPaymentMethods()
51
+ {
52
+ return array (
53
+ array (
54
+ 'value' => 'AMEX',
55
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_amex')
56
+ ),
57
+ array (
58
+ 'value' => 'DIRECTDEBIT',
59
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_directdebit')
60
+ ),
61
+ array (
62
+ 'value' => 'INVOICE',
63
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_invoice')
64
+ ),
65
+ array (
66
+ 'value' => 'BONUS',
67
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_bonus')
68
+ ),
69
+ array (
70
+ 'value' => 'DINERS',
71
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_diners')
72
+ ),
73
+ array (
74
+ 'value' => 'EPRZELEWY',
75
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_eprzelewy')
76
+ ),
77
+ array (
78
+ 'value' => 'EPS',
79
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_eps')
80
+ ),
81
+ array (
82
+ 'value' => 'GIROPAY',
83
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_giropay')
84
+ ),
85
+ array (
86
+ 'value' => 'IDEAL',
87
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_ideal')
88
+ ),
89
+ array (
90
+ 'value' => 'JCB',
91
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_jcb')),
92
+ array (
93
+ 'value' => 'MAESTRO',
94
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_maestro')
95
+ ),
96
+ array (
97
+ 'value' => 'MASTERCARD',
98
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_mastercard')
99
+ ),
100
+ array (
101
+ 'value' => 'MYONE',
102
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_myone')
103
+ ),
104
+ array (
105
+ 'value' => 'PAYPAL',
106
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_paypal')
107
+ ),
108
+ array (
109
+ 'value' => 'POSTCARD',
110
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_postcard')
111
+ ),
112
+ array (
113
+ 'value' => 'POSTFINANCE',
114
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_postfinance')
115
+ ),
116
+ array (
117
+ 'value' => 'SAFERPAYTEST',
118
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_saferpaytest')
119
+ ),
120
+ array (
121
+ 'value' => 'SOFORT',
122
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_sofort')
123
+ ),
124
+ array (
125
+ 'value' => 'VISA',
126
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_visa')
127
+ ),
128
+ array (
129
+ 'value' => 'VPAY',
130
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_payment_method_vpay')
131
+ ),
132
+ );
133
+ }
134
+
135
+ /**
136
+ * Get Saferpay wallets
137
+ * @return array
138
+ */
139
+ public function getWallets()
140
+ {
141
+ return array (
142
+ array (
143
+ 'value' => 'MASTERPASS',
144
+ 'label' => Mage::helper('paymentgateway')->__('saferpay_wallet_masterpass')
145
+ )
146
+ );
147
+ }
148
+
149
+ }
app/code/local/BigFish/PaymentGateway/Model/Wirecard.php CHANGED
@@ -12,8 +12,65 @@
12
  */
13
  class BigFish_PaymentGateway_Model_Wirecard extends BigFish_PaymentGateway_Model_Abstract
14
  {
 
15
  protected $_code = 'paymentgateway_wirecard';
16
 
17
  protected $_paymentMethod = 'QPAY';
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
12
  */
13
  class BigFish_PaymentGateway_Model_Wirecard extends BigFish_PaymentGateway_Model_Abstract
14
  {
15
+ protected $_formBlockType = 'paymentgateway/form_wirecard';
16
  protected $_code = 'paymentgateway_wirecard';
17
 
18
  protected $_paymentMethod = 'QPAY';
19
 
20
+ /**
21
+ * Prepare params array to send it to gateway page via POST
22
+ *
23
+ * @return array
24
+ */
25
+ public function getPaymentParams()
26
+ {
27
+ try {
28
+ $params = parent::getPaymentParams();
29
+
30
+ $payment_data = Mage::app()->getRequest()->getParam('payment');
31
+
32
+ $extra = array(
33
+ 'QpayPaymentType' => $payment_data[$this->_code]['payment_type']
34
+ );
35
+ $params['extra'] = $extra;
36
+
37
+ return $params;
38
+ } catch (Exception $e) {
39
+ Mage::throwException($this->_getHelper()->__('validation_invalidCcData'));
40
+ }
41
+ }
42
+
43
+ /**
44
+ * @return array
45
+ */
46
+ public function getPaymentTypes() {
47
+ return array(
48
+ 'SELECT' => Mage::helper('paymentgateway')->__('qpay_payment_type_select'),
49
+ 'BANCONTACT_MISTERCASH' => Mage::helper('paymentgateway')->__('qpay_payment_type_bancontact_mistercash'),
50
+ 'CCARD' => Mage::helper('paymentgateway')->__('qpay_payment_type_ccard'),
51
+ 'CCARD-MOTO' => Mage::helper('paymentgateway')->__('qpay_payment_type_ccard_moto'),
52
+ 'EKONTO' => Mage::helper('paymentgateway')->__('qpay_payment_type_ekonto'),
53
+ 'EPAY_BG' => Mage::helper('paymentgateway')->__('qpay_payment_type_epay_bg'),
54
+ 'EPS' => Mage::helper('paymentgateway')->__('qpay_payment_type_eps'),
55
+ 'GIROPAY' => Mage::helper('paymentgateway')->__('qpay_payment_type_giropay'),
56
+ 'IDL' => Mage::helper('paymentgateway')->__('qpay_payment_type_idl'),
57
+ 'MONETA' => Mage::helper('paymentgateway')->__('qpay_payment_type_moneta'),
58
+ 'MPASS' => Mage::helper('paymentgateway')->__('qpay_payment_type_mpass'),
59
+ 'PRZELEWY24' => Mage::helper('paymentgateway')->__('qpay_payment_type_przelewy24'),
60
+ 'PAYPAL' => Mage::helper('paymentgateway')->__('qpay_payment_type_paypal'),
61
+ 'PBX' => Mage::helper('paymentgateway')->__('qpay_payment_type_pbx'),
62
+ 'POLI' => Mage::helper('paymentgateway')->__('qpay_payment_type_poli'),
63
+ 'PSC' => Mage::helper('paymentgateway')->__('qpay_payment_type_psc'),
64
+ 'QUICK' => Mage::helper('paymentgateway')->__('qpay_payment_type_quick'),
65
+ 'SEPA-DD' => Mage::helper('paymentgateway')->__('qpay_payment_type_sepa_dd'),
66
+ 'SKRILLDIRECT' => Mage::helper('paymentgateway')->__('qpay_payment_type_skrilldirect'),
67
+ 'SKRILLWALLET' => Mage::helper('paymentgateway')->__('qpay_payment_type_skrillwallet'),
68
+ 'SOFORTUEBERWEISUNG' => Mage::helper('paymentgateway')->__('qpay_payment_type_sofortueberweisung'),
69
+ 'TATRAPAY' => Mage::helper('paymentgateway')->__('qpay_payment_type_tatrapay'),
70
+ 'TRUSTLY' => Mage::helper('paymentgateway')->__('qpay_payment_type_trustly'),
71
+ 'TRUSTPAY' => Mage::helper('paymentgateway')->__('qpay_payment_type_trustpay'),
72
+ 'VOUCHER' => Mage::helper('paymentgateway')->__('qpay_payment_type_voucher'),
73
+ );
74
+ }
75
+
76
  }
app/code/local/BigFish/PaymentGateway/PaymentGateway.php ADDED
@@ -0,0 +1,671 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish;
10
+
11
+ use BigFish\PaymentGateway\Config;
12
+ use BigFish\PaymentGateway\Exception;
13
+ use BigFish\PaymentGateway\Request\RequestAbstract as Request;
14
+ use BigFish\PaymentGateway\Request\Init as InitRequest;
15
+ use BigFish\PaymentGateway\Request\Start as StartRequest;
16
+ use BigFish\PaymentGateway\Request\Result as ResultRequest;
17
+ use BigFish\PaymentGateway\Request\Close as CloseRequest;
18
+ use BigFish\PaymentGateway\Request\Refund as RefundRequest;
19
+ use BigFish\PaymentGateway\Request\InitRP as InitRPRequest;
20
+ use BigFish\PaymentGateway\Request\StartRP as StartRPRequest;
21
+ use BigFish\PaymentGateway\Request\Finalize as FinalizeRequest;
22
+ use BigFish\PaymentGateway\Request\Details as DetailsRequest;
23
+ use BigFish\PaymentGateway\Request\Log as LogRequest;
24
+ use BigFish\PaymentGateway\Request\OneClickOptions as OneClickOptionsRequest;
25
+ use BigFish\PaymentGateway\Request\Invoice as InvoiceRequest;
26
+ use BigFish\PaymentGateway\Request\Providers as ProvidersRequest;
27
+ use BigFish\PaymentGateway\Response;
28
+
29
+ /**
30
+ * BIG FISH Payment Gateway main class (client)
31
+ *
32
+ * @package PaymentGateway
33
+ */
34
+ class PaymentGateway
35
+ {
36
+ /**
37
+ * SDK Name
38
+ *
39
+ */
40
+ const NAME = 'PHP-SDK';
41
+
42
+ /**
43
+ * SDK Version
44
+ *
45
+ */
46
+ const VERSION = '2.6.1';
47
+
48
+ /**
49
+ * API type constants
50
+ *
51
+ */
52
+ const API_SOAP = 'SOAP';
53
+
54
+ const API_REST = 'REST';
55
+
56
+ /**
57
+ * API request type constants
58
+ *
59
+ */
60
+ const REQUEST_INIT = 'Init';
61
+
62
+ const REQUEST_START = 'Start';
63
+
64
+ const REQUEST_RESULT = 'Result';
65
+
66
+ const REQUEST_CLOSE = 'Close';
67
+
68
+ const REQUEST_DETAILS = 'Details';
69
+
70
+ const REQUEST_LOG = 'Log';
71
+
72
+ const REQUEST_REFUND = 'Refund';
73
+
74
+ const REQUEST_INIT_RP = 'InitRP';
75
+
76
+ const REQUEST_START_RP = 'StartRP';
77
+
78
+ const REQUEST_FINALIZE = 'Finalize';
79
+
80
+ const REQUEST_ONE_CLICK_OPTIONS = 'OneClickOptions';
81
+
82
+ const REQUEST_INVOICE = 'Invoice';
83
+
84
+ const REQUEST_PROVIDERS = 'Providers';
85
+ /**
86
+ * Result code constants
87
+ *
88
+ */
89
+ const RESULT_CODE_SUCCESS = 'SUCCESSFUL';
90
+
91
+ const RESULT_CODE_ERROR = 'ERROR';
92
+
93
+ const RESULT_CODE_PENDING = 'PENDING';
94
+
95
+ const RESULT_CODE_USER_CANCEL = 'CANCELED';
96
+
97
+ const RESULT_CODE_TIMEOUT = 'TIMEOUT';
98
+
99
+ const RESULT_CODE_OPEN = 'OPEN';
100
+
101
+ /**
102
+ * Provider name constants
103
+ *
104
+ */
105
+ const PROVIDER_ABAQOOS = 'ABAQOOS';
106
+
107
+ const PROVIDER_BARION = 'Barion';
108
+
109
+ const PROVIDER_BORGUN = 'Borgun';
110
+
111
+ const PROVIDER_CIB = 'CIB';
112
+
113
+ const PROVIDER_ESCALION = 'Escalion';
114
+
115
+ const PROVIDER_FHB = 'FHB';
116
+
117
+ const PROVIDER_KHB = 'KHB';
118
+
119
+ const PROVIDER_KHB_SZEP = 'KHBSZEP';
120
+
121
+ const PROVIDER_MKB_SZEP = 'MKBSZEP';
122
+
123
+ const PROVIDER_OTP = 'OTP';
124
+
125
+ const PROVIDER_OTP_TWO_PARTY = 'OTP2';
126
+
127
+ const PROVIDER_OTP_MULTIPONT = 'OTPMultipont';
128
+
129
+ const PROVIDER_OTP_SIMPLE = 'OTPSimple';
130
+
131
+ const PROVIDER_OTP_SIMPLE_WIRE = 'OTPSimpleWire';
132
+
133
+ const PROVIDER_OTPAY = 'OTPay';
134
+
135
+ const PROVIDER_OTPAY_MASTERPASS = 'OTPayMP';
136
+
137
+ const PROVIDER_PAYPAL = 'PayPal';
138
+
139
+ const PROVIDER_PAYSAFECARD = 'PSC';
140
+
141
+ const PROVIDER_PAYU2 = 'PayU2';
142
+
143
+ const PROVIDER_SAFERPAY = 'Saferpay';
144
+
145
+ const PROVIDER_SMS = 'SMS';
146
+
147
+ const PROVIDER_SOFORT = 'Sofort';
148
+
149
+ const PROVIDER_UNICREDIT = 'UniCredit';
150
+
151
+ const PROVIDER_WIRECARD_QPAY = 'QPAY';
152
+
153
+ /**
154
+ * Default store name
155
+ *
156
+ */
157
+ const SDK_TEST_STORE_NAME = 'sdk_test';
158
+
159
+ /**
160
+ * Default API key
161
+ *
162
+ */
163
+ const SDK_TEST_API_KEY = '86af3-80e4f-f8228-9498f-910ad';
164
+
165
+ /**
166
+ * Default public key used for encryption
167
+ *
168
+ */
169
+ const SDK_TEST_ENCRYPT_PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----
170
+ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCpRN6hb8pQaDen9Qjt18P2FqSc
171
+ F2uhjKfd0DZ1t0HWtvYMmJGfM6+wgjQGDHHc4LAcLIHF1TQVLCYdbyLzsOTRUhi4
172
+ UFsW18IBznoEAx2wxiTCyzxtONpIkr5HD2E273UbXvVKA2hig2BgpOA2Poil9xtO
173
+ XIm63iVw6gjP2qDnNwIDAQAB
174
+ -----END PUBLIC KEY-----';
175
+
176
+ /**
177
+ * Production service URL
178
+ *
179
+ * @var string
180
+ * @access protected
181
+ * @static
182
+ */
183
+ protected static $gatewayUrlProduction = 'https://www.paymentgateway.hu';
184
+
185
+ /**
186
+ * Test service URL
187
+ *
188
+ * @var string
189
+ * @access protected
190
+ * @static
191
+ */
192
+ protected static $gatewayUrlTest = 'https://test.paymentgateway.hu';
193
+
194
+ /**
195
+ * Configuration
196
+ *
197
+ * @var \BigFish\PaymentGateway\Config
198
+ * @access protected
199
+ * @static
200
+ */
201
+ protected static $config;
202
+
203
+ /**
204
+ * Set configuration
205
+ *
206
+ * @param \BigFish\PaymentGateway\Config $config
207
+ * @return boolean
208
+ * @access public
209
+ * @static
210
+ */
211
+ public static function setConfig(Config $config = null)
212
+ {
213
+ if (is_null($config)) {
214
+ $config = new Config();
215
+ }
216
+
217
+ self::$config = $config;
218
+
219
+ return self::$config instanceof Config;
220
+ }
221
+
222
+ /**
223
+ * Get configuration
224
+ *
225
+ * @return \BigFish\PaymentGateway\Config
226
+ * @access public
227
+ * @static
228
+ * @throws \BigFish\PaymentGateway\Exception
229
+ */
230
+ public static function getConfig()
231
+ {
232
+ if (self::$config instanceof Config || self::setConfig()) {
233
+ return self::$config;
234
+ }
235
+ throw new Exception('Payment Gateway configuration has not been set');
236
+ }
237
+
238
+ /**
239
+ * Transaction initialization
240
+ *
241
+ * @param \BigFish\PaymentGateway\Request\Init $request Init request object
242
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
243
+ * @access public
244
+ * @static
245
+ */
246
+ public static function init(InitRequest $request)
247
+ {
248
+ return self::sendRequest(self::REQUEST_INIT, $request);
249
+ }
250
+
251
+ /**
252
+ * Start payment process, redirects the user to Payment Gateway
253
+ *
254
+ * @param \BigFish\PaymentGateway\Request\Start $request Start request object
255
+ * @return void
256
+ * @access public
257
+ * @static
258
+ */
259
+ public static function start(StartRequest $request)
260
+ {
261
+ header('Location: ' . self::getStartUrl($request));
262
+ exit();
263
+ }
264
+
265
+ /**
266
+ * Get payment start URL
267
+ *
268
+ * @param \BigFish\PaymentGateway\Request\Start $request Start request object
269
+ * @return string
270
+ * @access public
271
+ * @static
272
+ */
273
+ public static function getStartUrl(StartRequest $request)
274
+ {
275
+ return self::getUrl() . '/Start?' . $request->getParams();
276
+ }
277
+
278
+ /**
279
+ * Query transaction results from Payment Gateway
280
+ *
281
+ * @param \BigFish\PaymentGateway\Request\Result $request Result request object
282
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
283
+ * @access public
284
+ * @static
285
+ */
286
+ public static function result(ResultRequest $request)
287
+ {
288
+ return self::sendRequest(self::REQUEST_RESULT, $request);
289
+ }
290
+
291
+ /**
292
+ * Close a previously started transaction
293
+ *
294
+ * @param \BigFish\PaymentGateway\Request\Close $request Close request object
295
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
296
+ * @access public
297
+ * @static
298
+ */
299
+ public static function close(CloseRequest $request)
300
+ {
301
+ return self::sendRequest(self::REQUEST_CLOSE, $request);
302
+ }
303
+
304
+ /**
305
+ * Refund a transaction
306
+ *
307
+ * @param \BigFish\PaymentGateway\Request\Refund $request Refund request object
308
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
309
+ * @access public
310
+ * @static
311
+ */
312
+ public static function refund(RefundRequest $request)
313
+ {
314
+ return self::sendRequest(self::REQUEST_REFUND, $request);
315
+ }
316
+
317
+ /**
318
+ * Recurring payment transaction initialization
319
+ *
320
+ * @param \BigFish\PaymentGateway\Request\InitRP $request Recurring payment init request object
321
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
322
+ * @access public
323
+ * @static
324
+ */
325
+ public static function initRP(InitRPRequest $request)
326
+ {
327
+ return self::sendRequest(self::REQUEST_INIT_RP, $request);
328
+ }
329
+
330
+ /**
331
+ * Start recurring payment transaction
332
+ *
333
+ * @param \BigFish\PaymentGateway\Request\StartRP $request Recurring payment start request object
334
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
335
+ * @access public
336
+ * @static
337
+ */
338
+ public static function startRP(StartRPRequest $request)
339
+ {
340
+ return self::sendRequest(self::REQUEST_START_RP, $request);
341
+ }
342
+
343
+ /**
344
+ * Finalize a transaction
345
+ *
346
+ * @param \BigFish\PaymentGateway\Request\Finalize $request Finalize request object
347
+ * @return void
348
+ * @access public
349
+ * @static
350
+ */
351
+ public static function finalize(FinalizeRequest $request)
352
+ {
353
+ header('Location: ' . self::getFinalizeUrl($request));
354
+ exit();
355
+ }
356
+
357
+ /**
358
+ * Get payment finalize URL
359
+ *
360
+ * @param \BigFish\PaymentGateway\Request\Finalize $request Finalize request object
361
+ * @return string
362
+ * @access public
363
+ * @static
364
+ */
365
+ public static function getFinalizeUrl(FinalizeRequest $request)
366
+ {
367
+ return self::getUrl() . '/Finalize?' . $request->getParams();
368
+ }
369
+
370
+ /**
371
+ * Get one click payment options
372
+ *
373
+ * @param \BigFish\PaymentGateway\Request\OneClickOptions $request
374
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
375
+ * @access public
376
+ * @static
377
+ */
378
+ public static function oneClickOptions(OneClickOptionsRequest $request)
379
+ {
380
+ return self::sendRequest(self::REQUEST_ONE_CLICK_OPTIONS, $request);
381
+ }
382
+
383
+ /**
384
+ * Get invoice
385
+ *
386
+ * @param \BigFish\PaymentGateway\Request\Invoice $request
387
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
388
+ * @access public
389
+ * @static
390
+ */
391
+ public static function invoice(InvoiceRequest $request)
392
+ {
393
+ return self::sendRequest(self::REQUEST_INVOICE, $request);
394
+ }
395
+
396
+ /**
397
+ * Get providers
398
+ *
399
+ * @param \BigFish\PaymentGateway\Request\Providers $request
400
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
401
+ * @access public
402
+ * @static
403
+ */
404
+ public static function providers(ProvidersRequest $request)
405
+ {
406
+ return self::sendRequest(self::REQUEST_PROVIDERS, $request);
407
+ }
408
+
409
+ /**
410
+ * Query transaction details from Payment Gateway
411
+ *
412
+ * @param \BigFish\PaymentGateway\Request\Details $request Details request object
413
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
414
+ * @access public
415
+ * @static
416
+ */
417
+ public static function details(DetailsRequest $request)
418
+ {
419
+ return self::sendRequest(self::REQUEST_DETAILS, $request);
420
+ }
421
+
422
+ /**
423
+ * Query transaction log from Payment Gateway
424
+ *
425
+ * @param \BigFish\PaymentGateway\Request\Log $request Log request object
426
+ * @return \BigFish\PaymentGateway\Response Payment Gateway response object
427
+ * @access public
428
+ * @static
429
+ */
430
+ public static function log(LogRequest $request)
431
+ {
432
+ return self::sendRequest(self::REQUEST_LOG, $request);
433
+ }
434
+
435
+ /**
436
+ * Get service URL
437
+ *
438
+ * @return string
439
+ * @access public
440
+ * @static
441
+ */
442
+ protected static function getUrl()
443
+ {
444
+ if (self::getConfig()->testMode === true) {
445
+ return self::$gatewayUrlTest;
446
+ } else {
447
+ return self::$gatewayUrlProduction;
448
+ }
449
+ }
450
+
451
+ /**
452
+ * Uppercase object properties
453
+ *
454
+ * @param object $object
455
+ * @return void
456
+ * @access protected
457
+ * @static
458
+ */
459
+ public static function ucfirstProps($object)
460
+ {
461
+ foreach (get_object_vars($object) as $key => $value) {
462
+ unset($object->{$key});
463
+
464
+ $object->{ucfirst($key)} = $value;
465
+ }
466
+ }
467
+
468
+ /**
469
+ * Send request
470
+ *
471
+ * @param string $method
472
+ * @param \BigFish\PaymentGateway\Request\RequestAbstract $request
473
+ * @return \BigFish\PaymentGateway\Response
474
+ * @access private
475
+ * @static
476
+ * @throws \BigFish\PaymentGateway\Exception
477
+ */
478
+ private static function sendRequest($method, Request $request)
479
+ {
480
+ switch (self::getConfig()->useApi) {
481
+ case self::API_SOAP:
482
+ return self::sendSoapRequest($method, $request);
483
+ case self::API_REST:
484
+ return self::sendRestRequest($method, $request);
485
+ default:
486
+ throw new Exception(sprintf('Invalid API type (%s)', self::getConfig()->useApi));
487
+ }
488
+ }
489
+
490
+ /**
491
+ * Send SOAP request
492
+ *
493
+ * @param string $method
494
+ * @param \BigFish\PaymentGateway\Request\RequestAbstract $request
495
+ * @return \BigFish\PaymentGateway\Response
496
+ * @access private
497
+ * @static
498
+ * @throws \BigFish\PaymentGateway\Exception
499
+ */
500
+ private static function sendSoapRequest($method, Request $request)
501
+ {
502
+ if (!class_exists('SoapClient')) {
503
+ throw new Exception('SOAP PHP module is not loaded');
504
+ }
505
+
506
+ $wsdl = self::getUrl() . '/api/soap/?wsdl';
507
+
508
+ try {
509
+ $client = new \SoapClient($wsdl, array(
510
+ 'soap_version' => SOAP_1_2,
511
+ 'cache_wsdl' => WSDL_CACHE_BOTH,
512
+ 'exceptions' => true,
513
+ 'trace' => true,
514
+ 'login' => self::getConfig()->storeName,
515
+ 'password' => self::getConfig()->apiKey,
516
+ 'user_agent' => self::getUserAgent($method),
517
+ ));
518
+
519
+ self::prepareRequest($method, $request);
520
+
521
+ $soapResult = $client->__call($method, array(array('request' => $request)));
522
+
523
+ $soapResponse = $soapResult->{$method . 'Result'};
524
+
525
+ self::ucfirstProps($soapResponse);
526
+
527
+ return new Response($soapResponse);
528
+ } catch (\SoapFault $e) {
529
+ throw new Exception($e->getMessage());
530
+ }
531
+ }
532
+
533
+ /**
534
+ * Send REST request
535
+ *
536
+ * @param string $method
537
+ * @param \BigFish\PaymentGateway\Request\RequestAbstract $request
538
+ * @return \BigFish\PaymentGateway\Response
539
+ * @access private
540
+ * @static
541
+ * @throws \BigFish\PaymentGateway\Exception
542
+ */
543
+ private static function sendRestRequest($method, Request $request)
544
+ {
545
+ if (!function_exists('curl_init')) {
546
+ throw new Exception('cURL PHP module is not loaded');
547
+ }
548
+
549
+ $url = self::getUrl() . '/api/rest/';
550
+
551
+ self::prepareRequest($method, $request);
552
+
553
+ $ch = curl_init();
554
+
555
+ if (!$ch) {
556
+ throw new Exception('cURL initialization error');
557
+ }
558
+
559
+ curl_setopt($ch, CURLOPT_URL, $url);
560
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array(self::getAuthorizationHeader()));
561
+
562
+ if ($method == self::REQUEST_CLOSE || $method == self::REQUEST_REFUND) {
563
+ /**
564
+ * OTPay close and refund (extra timeout)
565
+ *
566
+ */
567
+ curl_setopt($ch, CURLOPT_TIMEOUT, 600);
568
+ } else {
569
+ curl_setopt($ch, CURLOPT_TIMEOUT, 30);
570
+ }
571
+
572
+ curl_setopt($ch, CURLOPT_MAXREDIRS, 4);
573
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
574
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
575
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
576
+ curl_setopt($ch, CURLOPT_REFERER, self::getHttpHost());
577
+
578
+ $postData = array(
579
+ 'method' => $method,
580
+ 'json' => json_encode(get_object_vars($request)),
581
+ );
582
+
583
+ curl_setopt($ch, CURLOPT_POST, true);
584
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
585
+ curl_setopt($ch, CURLOPT_USERAGENT, self::getUserAgent($method));
586
+
587
+ $httpResponse = curl_exec($ch);
588
+
589
+ if ($httpResponse === false) {
590
+ $e = new Exception(sprintf('Communication error: %s', curl_error($ch)));
591
+
592
+ curl_close($ch);
593
+
594
+ throw $e;
595
+ }
596
+
597
+ curl_close($ch);
598
+
599
+ return new Response($httpResponse);
600
+ }
601
+
602
+ /**
603
+ * Prepare request
604
+ *
605
+ * @param string $method
606
+ * @param \BigFish\PaymentGateway\Request\RequestAbstract $request
607
+ * @return void
608
+ * @access private
609
+ * @static
610
+ */
611
+ private static function prepareRequest($method, Request $request)
612
+ {
613
+ $request->encodeValues();
614
+
615
+ if ($method == self::REQUEST_INIT) {
616
+ /** @var \BigFish\PaymentGateway\Request\Init $request */
617
+ $request->setExtra();
618
+ }
619
+
620
+ if (self::getConfig()->useApi == self::API_REST) {
621
+ self::ucfirstProps($request);
622
+ }
623
+ }
624
+
625
+ /**
626
+ * Get authorization header
627
+ *
628
+ * @return string
629
+ * @access private
630
+ * @static
631
+ */
632
+ private static function getAuthorizationHeader()
633
+ {
634
+ return 'Authorization: Basic ' . base64_encode(self::getConfig()->storeName . ':' . self::getConfig()->apiKey);
635
+ }
636
+
637
+ /**
638
+ * Get user agent string
639
+ *
640
+ * @param string $method
641
+ * @return string
642
+ * @access private
643
+ * @static
644
+ */
645
+ private static function getUserAgent($method)
646
+ {
647
+ switch (self::getConfig()->useApi) {
648
+ case self::API_SOAP:
649
+ $clientType = 'SOAP';
650
+ break;
651
+ case self::API_REST:
652
+ $clientType = 'Rest';
653
+ break;
654
+ }
655
+
656
+ return sprintf('BIG FISH Payment Gateway %s Client v%s (%s - %s)', $clientType, self::VERSION, $method, self::getHttpHost());
657
+ }
658
+
659
+ /**
660
+ * Get HTTP host
661
+ *
662
+ * @return string
663
+ * @access private
664
+ * @static
665
+ */
666
+ private static function getHttpHost()
667
+ {
668
+ return $_SERVER['HTTP_HOST'];
669
+ }
670
+
671
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Autoload.php ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway;
10
+
11
+ /**
12
+ * BIG FISH Payment Gateway Autoloader
13
+ *
14
+ * @package PaymentGateway
15
+ */
16
+ class Autoload
17
+ {
18
+ /**
19
+ * Autoloader instance
20
+ *
21
+ * @var BigFish\PaymentGateway\Autoload
22
+ * @access private
23
+ * @static
24
+ */
25
+ private static $instance;
26
+
27
+ /**
28
+ * Base path
29
+ *
30
+ * @var string
31
+ * @access private
32
+ * @static
33
+ */
34
+ private static $basePath;
35
+
36
+ /**
37
+ * Register autoloader
38
+ *
39
+ * @return void
40
+ * @access public
41
+ * @static
42
+ */
43
+ public static function register()
44
+ {
45
+ spl_autoload_register(array(self::getInstance(), 'loadClass'));
46
+ }
47
+
48
+ /**
49
+ * Load class
50
+ *
51
+ * @param string $class
52
+ * @return void
53
+ * @access protected
54
+ */
55
+ protected function loadClass($class)
56
+ {
57
+ if (strpos($class, __NAMESPACE__) === 0) {
58
+ $path = explode('\\', $class);
59
+
60
+ array_shift($path);
61
+
62
+ include_once(self::getClassPath($path) . '.php');
63
+ }
64
+ }
65
+
66
+ /**
67
+ * Get autoloader instance
68
+ *
69
+ * @return BigFish\PaymentGateway\Autoload
70
+ * @access private
71
+ * @static
72
+ */
73
+ private static function getInstance()
74
+ {
75
+ if (is_null(self::$instance)) {
76
+ self::$instance = new Autoload();
77
+ }
78
+ return self::$instance;
79
+ }
80
+
81
+ /**
82
+ * Get base path
83
+ *
84
+ * @return string
85
+ * @access private
86
+ * @static
87
+ */
88
+ private static function getBasePath()
89
+ {
90
+ if (is_null(self::$basePath)) {
91
+ self::$basePath = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR);
92
+ }
93
+ return self::$basePath;
94
+ }
95
+
96
+ /**
97
+ * Get class path
98
+ *
99
+ * @param array $path
100
+ * @return string
101
+ * @access private
102
+ * @static
103
+ */
104
+ private static function getClassPath(array $path)
105
+ {
106
+ return self::getBasePath() . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $path);
107
+ }
108
+
109
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Config.php ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway;
10
+
11
+ use BigFish\PaymentGateway;
12
+
13
+ /**
14
+ * BIG FISH Payment Gateway Configuration
15
+ *
16
+ * @property string $storeName Store name
17
+ * @property string $apiKey API key
18
+ * @property boolean $testMode Use testing environment (default: true)
19
+ * @property string $outCharset Output character set
20
+ * @property string $useApi API type (SOAP or REST)
21
+ * @property string $encryptPublicKey Public key used for encryption
22
+ * @property string $moduleName Module name
23
+ * @property string $moduleVersion Module version
24
+ * @package PaymentGateway
25
+ */
26
+ class Config
27
+ {
28
+ /**
29
+ * Merchant's unique identifier used in Payment Gateway.
30
+ *
31
+ * @var string
32
+ * @access protected
33
+ */
34
+ protected $storeName = PaymentGateway::SDK_TEST_STORE_NAME;
35
+
36
+ /**
37
+ * Private API key
38
+ *
39
+ * @var string
40
+ * @access protected
41
+ */
42
+ protected $apiKey = PaymentGateway::SDK_TEST_API_KEY;
43
+
44
+ /**
45
+ * Please change this to false in your production environment.
46
+ *
47
+ * @var boolean
48
+ * @access protected
49
+ */
50
+ protected $testMode = true;
51
+
52
+ /**
53
+ * Payment Gateway sends all messages in UTF-8 character encoding.
54
+ * If your system uses a different character encoding, this parameter should be changed.
55
+ * (e.g. ISO-8859-2)
56
+ *
57
+ * @var string
58
+ * @access protected
59
+ */
60
+ protected $outCharset = 'UTF-8';
61
+
62
+ /**
63
+ * Possible values:
64
+ * - "SOAP": RPC SOAP API
65
+ * - "REST": HTTP REST API
66
+ *
67
+ * @var string
68
+ * @access protected
69
+ * @see PaymentGateway
70
+ */
71
+ protected $useApi = PaymentGateway::API_REST;
72
+
73
+ /**
74
+ * It is used to encrypt sensitive data.
75
+ * Each merchant has unique private and public keys.
76
+ *
77
+ * @var string
78
+ * @access protected
79
+ */
80
+ protected $encryptPublicKey = PaymentGateway::SDK_TEST_ENCRYPT_PUBLIC_KEY;
81
+
82
+ /**
83
+ * Module name
84
+ *
85
+ * @var string
86
+ * @access protected
87
+ */
88
+ protected $moduleName = PaymentGateway::NAME;
89
+
90
+ /**
91
+ * Module version
92
+ *
93
+ * @var string
94
+ * @access protected
95
+ */
96
+ protected $moduleVersion = PaymentGateway::VERSION;
97
+
98
+ /**
99
+ * Contructor
100
+ *
101
+ * @param array $config
102
+ * @access public
103
+ */
104
+ public function __construct(array $config = array())
105
+ {
106
+ if (!empty($config)) {
107
+ foreach ($config as $key => $value) {
108
+ $this->__set($key, $value);
109
+ }
110
+ }
111
+ }
112
+
113
+ /**
114
+ * Set magic method
115
+ *
116
+ * @param string $name
117
+ * @param string $value
118
+ * @return void
119
+ * @access public
120
+ */
121
+ public function __set($name, $value)
122
+ {
123
+ if (property_exists($this, $name)) {
124
+ if ($name == 'testMode') {
125
+ $this->{$name} = (boolean)$value;
126
+ } else {
127
+ $this->{$name} = (string)$value;
128
+ }
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Get magic method
134
+ *
135
+ * @param string $name
136
+ * @return string | null
137
+ * @access public
138
+ */
139
+ public function __get($name)
140
+ {
141
+ if (property_exists($this, $name)) {
142
+ return $this->{$name};
143
+ }
144
+ return null;
145
+ }
146
+
147
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Exception.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway;
10
+
11
+ /**
12
+ * Exception class
13
+ *
14
+ * @package PaymentGateway
15
+ */
16
+ class Exception extends \Exception
17
+ {
18
+
19
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Close.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Close request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Close extends RequestAbstract
20
+ {
21
+ /**
22
+ * Transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Approved
31
+ *
32
+ * @var boolean
33
+ * @access public
34
+ */
35
+ public $approved;
36
+
37
+ /**
38
+ * Construct new Close request instance
39
+ *
40
+ * @param string $transactionId Transaction ID received from Payment Gateway
41
+ * @param boolean $approved Approve or decline transaction (true/false)
42
+ * @return void
43
+ * @access public
44
+ */
45
+ public function __construct($transactionId, $approved = true)
46
+ {
47
+ $this->transactionId = $transactionId;
48
+ $this->approved = (($approved === true || $approved == "true") ? "true" : "false");
49
+ }
50
+
51
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Details.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Details request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Details extends RequestAbstract
20
+ {
21
+ /**
22
+ * Transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Construct new Details request instance
31
+ *
32
+ * @param string $transactionId Transaction ID received from Payment Gateway
33
+ * @return void
34
+ * @access public
35
+ */
36
+ public function __construct($transactionId)
37
+ {
38
+ $this->transactionId = $transactionId;
39
+ }
40
+
41
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Finalize.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Finalize request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Finalize extends RequestAbstract
20
+ {
21
+ /**
22
+ * Payment Gateway transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Finalize amount
31
+ *
32
+ * @var float
33
+ * @access public
34
+ */
35
+ public $amount;
36
+
37
+ /**
38
+ * Construct new Finalize request instance
39
+ *
40
+ * @param string $transactionId Transaction ID received from Payment Gateway
41
+ * @param float $amount Amount to finalize
42
+ * @return void
43
+ * @access public
44
+ */
45
+ public function __construct($transactionId, $amount)
46
+ {
47
+ $this->transactionId = $transactionId;
48
+ $this->amount = (float)$amount;
49
+ }
50
+
51
+ /**
52
+ * Get object parameters
53
+ *
54
+ * @return string
55
+ * @access public
56
+ */
57
+ public function getParams()
58
+ {
59
+ unset($this->responseMode);
60
+ return parent::getParams();
61
+ }
62
+
63
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Init.php ADDED
@@ -0,0 +1,676 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway;
12
+ use BigFish\PaymentGateway\Exception;
13
+
14
+ /**
15
+ * Initialization request class
16
+ *
17
+ * @package PaymentGateway
18
+ * @subpackage Request
19
+ */
20
+ class Init extends RequestAbstract
21
+ {
22
+ /**
23
+ * Store name
24
+ *
25
+ * @var string
26
+ * @access public
27
+ */
28
+ public $storeName;
29
+
30
+ /**
31
+ * Provider name
32
+ *
33
+ * @var string
34
+ * @access public
35
+ */
36
+ public $providerName;
37
+
38
+ /**
39
+ * Response URL
40
+ *
41
+ * @var string
42
+ * @access public
43
+ */
44
+ public $responseUrl;
45
+
46
+ /**
47
+ * Notification URL
48
+ *
49
+ * @var string
50
+ * @access public
51
+ */
52
+ public $notificationUrl;
53
+
54
+ /**
55
+ * Amount
56
+ *
57
+ * @var float
58
+ * @access public
59
+ */
60
+ public $amount;
61
+
62
+ /**
63
+ * Order ID
64
+ *
65
+ * @var string
66
+ * @access public
67
+ */
68
+ public $orderId;
69
+
70
+ /**
71
+ * User ID
72
+ *
73
+ * @var string
74
+ * @access public
75
+ */
76
+ public $userId;
77
+
78
+ /**
79
+ * Currency code
80
+ *
81
+ * @var string
82
+ * @access public
83
+ */
84
+ public $currency;
85
+
86
+ /**
87
+ * Language code
88
+ *
89
+ * @var string
90
+ * @access public
91
+ */
92
+ public $language;
93
+
94
+ /**
95
+ * Phone number (MPP, OTPay)
96
+ *
97
+ * @var string
98
+ * @access public
99
+ */
100
+ public $mppPhoneNumber;
101
+
102
+ /**
103
+ * Credit card number (OTP)
104
+ *
105
+ * @var string
106
+ * @access public
107
+ */
108
+ public $otpCardNumber;
109
+
110
+ /**
111
+ * Credit card expiration date (OTP)
112
+ *
113
+ * @var string
114
+ * @access public
115
+ */
116
+ public $otpExpiration;
117
+
118
+ /**
119
+ * Credit card CVC code (OTP)
120
+ *
121
+ * @var string
122
+ * @access public
123
+ */
124
+ public $otpCvc;
125
+
126
+ /**
127
+ * Pocket ID (OTP)
128
+ *
129
+ * @var string
130
+ * @access public
131
+ */
132
+ public $otpCardPocketId;
133
+
134
+ /**
135
+ * Consumer Registration Id (OTP)
136
+ *
137
+ * @var string
138
+ * @access public
139
+ */
140
+ public $otpConsumerRegistrationId;
141
+
142
+ /**
143
+ * Cafeteria ID (MKBSZEP)
144
+ *
145
+ * @var integer
146
+ * @access public
147
+ */
148
+ public $mkbSzepCafeteriaId;
149
+
150
+ /**
151
+ * Card number (MKBSZEP)
152
+ *
153
+ * @var string
154
+ * @access public
155
+ */
156
+ public $mkbSzepCardNumber;
157
+
158
+ /**
159
+ * Card CVV (MKBSZEP)
160
+ *
161
+ * @var string
162
+ * @access public
163
+ */
164
+ public $mkbSzepCvv;
165
+
166
+ /**
167
+ * One-click payment state (Escalion, OTP Simple, Saferpay, PayPal)
168
+ *
169
+ * @var boolean
170
+ * @access public
171
+ */
172
+ public $oneClickPayment = false;
173
+
174
+ /**
175
+ * One Click Payment Reference Id (Escalion, OTP Simple, Saferpay)
176
+ *
177
+ * @var string
178
+ * @access public
179
+ */
180
+ public $oneClickReferenceId;
181
+
182
+ /**
183
+ * Auto commit state
184
+ *
185
+ * @var boolean
186
+ * @access public
187
+ */
188
+ public $autoCommit = true;
189
+
190
+ /**
191
+ * Extra data
192
+ *
193
+ * @var string
194
+ * @access public
195
+ */
196
+ public $extra;
197
+
198
+ /**
199
+ * Valid OneClickPayment providers
200
+ *
201
+ * @var array
202
+ * @access protected
203
+ * @static
204
+ */
205
+ protected static $oneClickProviders = array(
206
+ 'Escalion',
207
+ 'OTPSimple',
208
+ 'Saferpay',
209
+ 'PayPal',
210
+ );
211
+
212
+ /**
213
+ * BIG FISH Payment Gateway payment page (MKBSZEP)
214
+ *
215
+ * @var boolean
216
+ * @access public
217
+ */
218
+ public $gatewayPaymentPage = false;
219
+
220
+ /**
221
+ * Module name
222
+ *
223
+ * @var string
224
+ * @access public
225
+ */
226
+ public $moduleName;
227
+
228
+ /**
229
+ * Module version
230
+ *
231
+ * @var string
232
+ * @access public
233
+ */
234
+ public $moduleVersion;
235
+
236
+ /**
237
+ * Construct new Init request instance
238
+ *
239
+ * @access public
240
+ */
241
+ public function __construct()
242
+ {
243
+ $this->storeName = PaymentGateway::getConfig()->storeName;
244
+ $this->moduleName = PaymentGateway::getConfig()->moduleName;
245
+ $this->moduleVersion = PaymentGateway::getConfig()->moduleVersion;
246
+ }
247
+
248
+ /**
249
+ * Set module name
250
+ *
251
+ * @param $moduleName
252
+ * @return \BigFish\PaymentGateway\Request\Init
253
+ * @access public
254
+ */
255
+ public function setModuleName($moduleName)
256
+ {
257
+ $this->moduleName = $moduleName;
258
+ return $this;
259
+ }
260
+
261
+ /**
262
+ * Set module version
263
+ *
264
+ * @param $moduleVersion
265
+ * @return \BigFish\PaymentGateway\Request\Init
266
+ * @access public
267
+ */
268
+ public function setModuleVersion($moduleVersion)
269
+ {
270
+ $this->moduleVersion = $moduleVersion;
271
+ return $this;
272
+ }
273
+
274
+ /**
275
+ * Set the identifier of the selected payment provider
276
+ *
277
+ * @param string $providerName Identifier of the selected payment provider
278
+ * @return \BigFish\PaymentGateway\Request\Init
279
+ * @access public
280
+ */
281
+ public function setProviderName($providerName)
282
+ {
283
+ $this->providerName = $providerName;
284
+ return $this;
285
+ }
286
+
287
+ /**
288
+ * Set the URL where Users will be sent back after payment
289
+ *
290
+ * @param string $responseUrl Response URL
291
+ * (e.g. http://www.yourdomain.com/response.php, http://www.yourdomain.com/response.php?someparam=somevalue etc.)
292
+ * @return \BigFish\PaymentGateway\Request\Init
293
+ * @access public
294
+ */
295
+ public function setResponseUrl($responseUrl)
296
+ {
297
+ $this->responseUrl = $responseUrl;
298
+ return $this;
299
+ }
300
+
301
+ /**
302
+ * Set Notification URL
303
+ *
304
+ * @param string $notificationUrl
305
+ * @return \BigFish\PaymentGateway\Request\Init
306
+ * @access public
307
+ */
308
+ public function setNotificationUrl($notificationUrl)
309
+ {
310
+ $this->notificationUrl = trim($notificationUrl);
311
+ return $this;
312
+ }
313
+
314
+ /**
315
+ * Set payment transaction amount
316
+ *
317
+ * @param float $amount Transaction amount
318
+ * @return \BigFish\PaymentGateway\Request\Init
319
+ * @access public
320
+ */
321
+ public function setAmount($amount)
322
+ {
323
+ $this->amount = $amount;
324
+ return $this;
325
+ }
326
+
327
+ /**
328
+ * Set the identifier of the order in your system
329
+ *
330
+ * @param mixed $orderId Order identifier
331
+ * @return \BigFish\PaymentGateway\Request\Init
332
+ * @access public
333
+ */
334
+ public function setOrderId($orderId)
335
+ {
336
+ $this->orderId = $orderId;
337
+ return $this;
338
+ }
339
+
340
+ /**
341
+ * Set the identifier of the user in your system
342
+ *
343
+ * @param mixed $userId User identifier
344
+ * @return \BigFish\PaymentGateway\Request\Init
345
+ * @access public
346
+ */
347
+ public function setUserId($userId)
348
+ {
349
+ $this->userId = $userId;
350
+ return $this;
351
+ }
352
+
353
+ /**
354
+ * Set payment transaction currency
355
+ *
356
+ * @param string $currency Three-letter ISO currency code (e.g. HUF, USD etc.)
357
+ * @return \BigFish\PaymentGateway\Request\Init
358
+ * @access public
359
+ */
360
+ public function setCurrency($currency)
361
+ {
362
+ $this->currency = (($currency) ? $currency : 'HUF');
363
+ return $this;
364
+ }
365
+
366
+ /**
367
+ * Set the language
368
+ *
369
+ * @param string $language Language (e.g. HU, EN, DE etc.)
370
+ * @return \BigFish\PaymentGateway\Request\Init
371
+ * @access public
372
+ */
373
+ public function setLanguage($language)
374
+ {
375
+ $this->language = (($language) ? $language : 'HU');
376
+ return $this;
377
+ }
378
+
379
+ /**
380
+ * Set the Mobile Payment or MasterCard Mobile identifier
381
+ * Works with MPP, MPP2 and OTPay providers
382
+ *
383
+ * @param string $mppPhoneNumber Mobile Payment identifier (e.g. 123456789) or phone number of the user (e.g. 36301234567)
384
+ * @return \BigFish\PaymentGateway\Request\Init
385
+ * @access public
386
+ */
387
+ public function setMppPhoneNumber($mppPhoneNumber)
388
+ {
389
+ $this->mppPhoneNumber = $mppPhoneNumber;
390
+ return $this;
391
+ }
392
+
393
+ /**
394
+ * Set the card number of the user
395
+ * Works with OTP2 provider
396
+ *
397
+ * @param string $otpCardNumber Card number (e.g. 1111222233334444 or 1111 2222 3333 4444)
398
+ * @return \BigFish\PaymentGateway\Request\Init
399
+ * @access public
400
+ */
401
+ public function setOtpCardNumber($otpCardNumber)
402
+ {
403
+ $this->otpCardNumber = $otpCardNumber;
404
+ return $this;
405
+ }
406
+
407
+ /**
408
+ * Set the card expiration date
409
+ * Works with OTP2 provider
410
+ *
411
+ * @param string $otpExpiration Expiration date - mm/yy (e.g. 0512 or 05/12)
412
+ * @return \BigFish\PaymentGateway\Request\Init
413
+ * @access public
414
+ */
415
+ public function setOtpExpiration($otpExpiration)
416
+ {
417
+ $this->otpExpiration = $otpExpiration;
418
+ return $this;
419
+ }
420
+
421
+ /**
422
+ * Set the card verification code
423
+ * Works with OTP2 provider
424
+ *
425
+ * @param string $otpCvc Verification code (e.g. 123)
426
+ * @return \BigFish\PaymentGateway\Request\Init
427
+ * @access public
428
+ */
429
+ public function setOtpCvc($otpCvc)
430
+ {
431
+ $this->otpCvc = $otpCvc;
432
+ return $this;
433
+ }
434
+
435
+ /**
436
+ * Set the Pocket Id of the user
437
+ * Works with OTP provider
438
+ *
439
+ * @param string $otpCardPocketId Pocket Id
440
+ * (e.g. 03)
441
+ * @return \BigFish\PaymentGateway\Request\Init
442
+ * @access public
443
+ */
444
+ public function setOtpCardPocketId($otpCardPocketId)
445
+ {
446
+ $this->otpCardPocketId = $otpCardPocketId;
447
+ return $this;
448
+ }
449
+
450
+ /**
451
+ * Set Consumer Registration Id
452
+ * Works with OTP provider
453
+ *
454
+ * @param string $otpConsumerRegistrationId Consumer Registration Id
455
+ * (e.g. 03)
456
+ * @return \BigFish\PaymentGateway\Request\Init
457
+ * @access public
458
+ */
459
+ public function setOtpConsumerRegistrationId($otpConsumerRegistrationId)
460
+ {
461
+ $this->otpConsumerRegistrationId = $otpConsumerRegistrationId;
462
+ return $this;
463
+ }
464
+
465
+ /**
466
+ * Set cafeteria id
467
+ * Works with MKBSZEP provider
468
+ *
469
+ * @param integer $mkbSzepCafeteriaId
470
+ * @return \BigFish\PaymentGateway\Request\Init
471
+ * @access public
472
+ */
473
+ public function setMkbSzepCafeteriaId($mkbSzepCafeteriaId)
474
+ {
475
+ $this->mkbSzepCafeteriaId = (int)$mkbSzepCafeteriaId;
476
+ return $this;
477
+ }
478
+
479
+ /**
480
+ * Set the card number of the user
481
+ * Works with MKBSZEP provider
482
+ *
483
+ * @param string $mkbSzepCardNumber Card number (e.g. 1111222233334444 or 1111 2222 3333 4444)
484
+ * @return \BigFish\PaymentGateway\Request\Init
485
+ * @access public
486
+ */
487
+ public function setMkbSzepCardNumber($mkbSzepCardNumber)
488
+ {
489
+ $this->mkbSzepCardNumber = $mkbSzepCardNumber;
490
+ return $this;
491
+ }
492
+
493
+ /**
494
+ * Set the card verification value
495
+ * Works with MKBSZEP provider
496
+ *
497
+ * @param string $mkbSzepCvv Verification code (e.g. 123)
498
+ * @return \BigFish\PaymentGateway\Request\Init
499
+ * @access public
500
+ */
501
+ public function setMkbSzepCvv($mkbSzepCvv)
502
+ {
503
+ $this->mkbSzepCvv = $mkbSzepCvv;
504
+ return $this;
505
+ }
506
+
507
+ /**
508
+ * Enable or disable One Click Payment of the user
509
+ * Works with Escalion, OTP Simple, Saferpay, PayPal provider
510
+ *
511
+ * @param boolean $oneClickPayment true or false
512
+ * @return \BigFish\PaymentGateway\Request\Init
513
+ * @access public
514
+ */
515
+ public function setOneClickPayment($oneClickPayment = false)
516
+ {
517
+ $this->oneClickPayment = (($oneClickPayment === true || $oneClickPayment == "true") ? true : false);
518
+ return $this;
519
+ }
520
+
521
+ /**
522
+ * Set One Click Payment Reference Id
523
+ * Works with Escalion, OTP Simple, Saferpay providers
524
+ *
525
+ * @param string $oneClickReferenceId
526
+ * @return \BigFish\PaymentGateway\Request\Init
527
+ * @access public
528
+ */
529
+ public function setOneClickReferenceId($oneClickReferenceId)
530
+ {
531
+ $this->oneClickReferenceId = $oneClickReferenceId;
532
+ return $this;
533
+ }
534
+
535
+ /**
536
+ * If true verifies the availability of funds and captures funds in one step.
537
+ * If false verifies the availability of funds and reserves them for later capture.
538
+ *
539
+ * Works with OTP and OTP2 providers
540
+ *
541
+ * @param boolean $autoCommit true or false
542
+ * @return \BigFish\PaymentGateway\Request\Init
543
+ * @access public
544
+ */
545
+ public function setAutoCommit($autoCommit = true)
546
+ {
547
+ $this->autoCommit = (($autoCommit === true || $autoCommit == "true") ? "true" : "false");
548
+ return $this;
549
+ }
550
+
551
+ /**
552
+ * Card data handling on BIG FISH Payment Gateway payment page or Merchant website
553
+ * Works with MKBSZEP provider
554
+ *
555
+ * @param boolean $gatewayPaymentPage true or false
556
+ * @return \BigFish\PaymentGateway\Request\Init
557
+ * @access public
558
+ */
559
+ public function setGatewayPaymentPage($gatewayPaymentPage = false)
560
+ {
561
+ $this->gatewayPaymentPage = (($gatewayPaymentPage === true || $gatewayPaymentPage == "true") ? true : false);
562
+ return $this;
563
+ }
564
+
565
+ /**
566
+ * Set extra data
567
+ *
568
+ * @param array $extra Extra information (Except OTP2 provider)
569
+ * @return \BigFish\PaymentGateway\Request\Init
570
+ * @access public
571
+ * @throws Exception
572
+ */
573
+ public function setExtra(array $extra = array())
574
+ {
575
+ if (in_array($this->providerName, array(PaymentGateway::PROVIDER_OTP, PaymentGateway::PROVIDER_OTP_TWO_PARTY)) && !empty($this->otpConsumerRegistrationId)) {
576
+ $this->encryptExtra(array(
577
+ 'otpConsumerRegistrationId' => $this->otpConsumerRegistrationId
578
+ ));
579
+ } elseif ($this->providerName == PaymentGateway::PROVIDER_OTP_TWO_PARTY) {
580
+ if (
581
+ !empty($this->otpCardNumber) &&
582
+ !empty($this->otpExpiration) &&
583
+ !empty($this->otpCvc)
584
+ ) {
585
+ $this->encryptExtra(array(
586
+ 'otpCardNumber' => $this->otpCardNumber,
587
+ 'otpExpiration' => $this->otpExpiration,
588
+ 'otpCvc' => $this->otpCvc
589
+ ));
590
+ }
591
+ } else if ($this->providerName == PaymentGateway::PROVIDER_MKB_SZEP) {
592
+ if (
593
+ !empty($this->mkbSzepCardNumber) &&
594
+ !empty($this->mkbSzepCvv)
595
+ ) {
596
+ $this->encryptExtra(array(
597
+ 'mkbSzepCardNumber' => $this->mkbSzepCardNumber,
598
+ 'mkbSzepCvv' => $this->mkbSzepCvv
599
+ ));
600
+ }
601
+ } else if (!empty($extra)) {
602
+ $this->extra = $this->urlSafeEncode(json_encode($extra));
603
+ }
604
+
605
+ if (!($this->providerName == PaymentGateway::PROVIDER_OTP && !empty($this->otpCardPocketId))) {
606
+ unset($this->otpCardPocketId);
607
+ }
608
+
609
+ if (!(in_array($this->providerName, self::$oneClickProviders) && $this->oneClickPayment)) {
610
+ unset($this->oneClickPayment);
611
+ }
612
+
613
+ if (!(in_array($this->providerName, self::$oneClickProviders) && strlen($this->oneClickReferenceId))) {
614
+ unset($this->oneClickReferenceId);
615
+ }
616
+
617
+ unset($this->otpCardNumber);
618
+ unset($this->otpExpiration);
619
+ unset($this->otpCvc);
620
+ unset($this->otpConsumerRegistrationId);
621
+ unset($this->mkbSzepCardNumber);
622
+ unset($this->mkbSzepCvv);
623
+
624
+ return $this;
625
+ }
626
+
627
+ /**
628
+ * Encrypt extra data
629
+ *
630
+ * @param array $data
631
+ * @return void
632
+ * @access public
633
+ * @throws Exception
634
+ */
635
+ public function encryptExtra(array $data = array())
636
+ {
637
+ if (!function_exists('openssl_public_encrypt')) {
638
+ throw new Exception('OpenSSL PHP module is not loaded');
639
+ }
640
+
641
+ $encrypted = null;
642
+
643
+ $extra = serialize($data);
644
+
645
+ openssl_public_encrypt($extra, $encrypted, PaymentGateway::getConfig()->encryptPublicKey);
646
+
647
+ $this->extra = $this->urlSafeEncode($encrypted);
648
+ }
649
+
650
+ /**
651
+ * Get object parameters
652
+ *
653
+ * @return string
654
+ * @access public
655
+ */
656
+ public function getParams()
657
+ {
658
+ $this->setExtra();
659
+
660
+ return parent::getParams();
661
+ }
662
+
663
+ /**
664
+ * URL safe encode (base64)
665
+ *
666
+ * @param string $string
667
+ * @return string
668
+ * @access private
669
+ */
670
+ private function urlSafeEncode($string)
671
+ {
672
+ $data = str_replace(array('+', '/', '='), array('-', '_', '.'), base64_encode($string));
673
+ return $data;
674
+ }
675
+
676
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/InitRP.php ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway;
12
+
13
+ /**
14
+ * Recurring payment initialization request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class InitRP extends RequestAbstract
20
+ {
21
+ /**
22
+ * Payment Gateway reference transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $referenceTransactionId;
28
+
29
+ /**
30
+ * Response URL
31
+ *
32
+ * @var string
33
+ * @access public
34
+ */
35
+ public $responseUrl;
36
+
37
+ /**
38
+ * Amount
39
+ *
40
+ * @var float
41
+ * @access public
42
+ */
43
+ public $amount;
44
+
45
+ /**
46
+ * Order ID
47
+ *
48
+ * @var string
49
+ * @access public
50
+ */
51
+ public $orderId;
52
+
53
+ /**
54
+ * User ID
55
+ *
56
+ * @var string
57
+ * @access public
58
+ */
59
+ public $userId;
60
+
61
+ /**
62
+ * Currency code
63
+ *
64
+ * @var string
65
+ * @access public
66
+ */
67
+ public $currency;
68
+
69
+ /**
70
+ * Module name
71
+ *
72
+ * @var string
73
+ * @access public
74
+ */
75
+ public $moduleName;
76
+
77
+ /**
78
+ * Module version
79
+ *
80
+ * @var string
81
+ * @access public
82
+ */
83
+ public $moduleVersion;
84
+
85
+ /**
86
+ * Construct new recurring payment Init request instance
87
+ *
88
+ * @access public
89
+ */
90
+ public function __construct()
91
+ {
92
+ $this->storeName = PaymentGateway::getConfig()->storeName;
93
+ $this->moduleName = PaymentGateway::getConfig()->moduleName;
94
+ $this->moduleVersion = PaymentGateway::getConfig()->moduleVersion;
95
+ }
96
+
97
+ /**
98
+ * Set module name
99
+ *
100
+ * @param $moduleName
101
+ * @return \BigFish\PaymentGateway\Request\InitRP
102
+ * @access public
103
+ */
104
+ public function setModuleName($moduleName)
105
+ {
106
+ $this->moduleName = $moduleName;
107
+ return $this;
108
+ }
109
+
110
+ /**
111
+ * Set module version
112
+ *
113
+ * @param $moduleVersion
114
+ * @return \BigFish\PaymentGateway\Request\InitRP
115
+ * @access public
116
+ */
117
+ public function setModuleVersion($moduleVersion)
118
+ {
119
+ $this->moduleVersion = $moduleVersion;
120
+ return $this;
121
+ }
122
+
123
+ /**
124
+ * Set the reference Payment Gateway transaction ID
125
+ *
126
+ * @param string $referenceTransactionId Identifier of the reference transaction ID
127
+ * @return \BigFish\PaymentGateway\Request\InitRP
128
+ * @access public
129
+ */
130
+ public function setReferenceTransactionId($referenceTransactionId)
131
+ {
132
+ $this->referenceTransactionId = $referenceTransactionId;
133
+ return $this;
134
+ }
135
+
136
+ /**
137
+ * Set the URL where Users will be sent back after payment
138
+ *
139
+ * @param string $responseUrl Response URL
140
+ * (e.g. http://www.yourdomain.com/response.php, http://www.yourdomain.com/response.php?someparam=somevalue etc.)
141
+ * @return \BigFish\PaymentGateway\Request\InitRP
142
+ * @access public
143
+ */
144
+ public function setResponseUrl($responseUrl)
145
+ {
146
+ $this->responseUrl = $responseUrl;
147
+ return $this;
148
+ }
149
+
150
+ /**
151
+ * Set payment transaction amount
152
+ *
153
+ * @param float $amount Transaction amount
154
+ * @return \BigFish\PaymentGateway\Request\InitRP
155
+ * @access public
156
+ */
157
+ public function setAmount($amount)
158
+ {
159
+ $this->amount = $amount;
160
+ return $this;
161
+ }
162
+
163
+ /**
164
+ * Set the identifier of the order in your system
165
+ *
166
+ * @param mixed $orderId Order identifier
167
+ * @return \BigFish\PaymentGateway\Request\InitRP
168
+ * @access public
169
+ */
170
+ public function setOrderId($orderId)
171
+ {
172
+ $this->orderId = $orderId;
173
+ return $this;
174
+ }
175
+
176
+ /**
177
+ * Set the identifier of the user in your system
178
+ *
179
+ * @param mixed $userId User identifier
180
+ * @return \BigFish\PaymentGateway\Request\InitRP
181
+ * @access public
182
+ */
183
+ public function setUserId($userId)
184
+ {
185
+ $this->userId = $userId;
186
+ return $this;
187
+ }
188
+
189
+ /**
190
+ * Set payment transaction currency
191
+ *
192
+ * @param string $currency Three-letter ISO currency code (e.g. HUF, USD etc.)
193
+ * @return \BigFish\PaymentGateway\Request\InitRP
194
+ * @access public
195
+ */
196
+ public function setCurrency($currency)
197
+ {
198
+ $this->currency = $currency;
199
+ return $this;
200
+ }
201
+
202
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Invoice.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Invoice request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Invoice extends RequestAbstract
20
+ {
21
+ /**
22
+ * Payment Gateway transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Invoice data
31
+ *
32
+ * @var array
33
+ * @access public
34
+ */
35
+ public $invoiceData;
36
+
37
+ /**
38
+ * Construct new Invoice request instance
39
+ *
40
+ * @param string $transactionId Transaction ID received from Payment Gateway
41
+ * @param array $invoiceData Invoice data
42
+ * @return void
43
+ * @access public
44
+ */
45
+ public function __construct($transactionId, array $invoiceData)
46
+ {
47
+ $this->transactionId = $transactionId;
48
+ $this->invoiceData = (array)$invoiceData;
49
+ }
50
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Log.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Log request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Log extends RequestAbstract
20
+ {
21
+ /**
22
+ * Transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Construct new Log request instance
31
+ *
32
+ * @param string $transactionId Transaction ID received from Payment Gateway
33
+ * @return void
34
+ * @access public
35
+ */
36
+ public function __construct($transactionId)
37
+ {
38
+ $this->transactionId = $transactionId;
39
+ }
40
+
41
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/OneClickOptions.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+ use BigFish\PaymentGateway;
13
+
14
+ /**
15
+ * One click payment options request class
16
+ *
17
+ * @package PaymentGateway
18
+ * @subpackage Request
19
+ */
20
+ class OneClickOptions extends RequestAbstract
21
+ {
22
+ /**
23
+ * Store name
24
+ *
25
+ * @var string
26
+ * @access public
27
+ */
28
+ public $storeName;
29
+
30
+ /**
31
+ * Provider name
32
+ *
33
+ * @var string
34
+ * @access public
35
+ */
36
+ public $providerName;
37
+
38
+ /**
39
+ * User identifier
40
+ *
41
+ * @var string
42
+ * @access public
43
+ */
44
+ public $userId;
45
+
46
+ /**
47
+ * Construct new One Click Options request instance
48
+ *
49
+ * @param string $providerName Provider name
50
+ * @param string $userId User identifier
51
+ * @return void
52
+ * @access public
53
+ */
54
+ public function __construct($providerName, $userId)
55
+ {
56
+ $this->storeName = PaymentGateway::getConfig()->storeName;
57
+ $this->providerName = $providerName;
58
+ $this->userId = $userId;
59
+ }
60
+
61
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Providers.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+ use BigFish\PaymentGateway;
13
+
14
+ /**
15
+ * Providers request class
16
+ *
17
+ * @package PaymentGateway
18
+ * @subpackage Request
19
+ */
20
+ class Providers extends RequestAbstract
21
+ {
22
+ /**
23
+ * Store name
24
+ *
25
+ * @var string
26
+ * @access public
27
+ */
28
+ public $storeName;
29
+
30
+ /**
31
+ * Construct new Providers request instance
32
+ *
33
+ * @return void
34
+ * @access public
35
+ */
36
+ public function __construct()
37
+ {
38
+ $this->storeName = PaymentGateway::getConfig()->storeName;
39
+ }
40
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Refund.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Refund request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Refund extends RequestAbstract
20
+ {
21
+ /**
22
+ * Payment Gateway transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Refund amount
31
+ *
32
+ * @var float
33
+ * @access public
34
+ */
35
+ public $amount;
36
+
37
+ /**
38
+ * Construct new Refund request instance
39
+ *
40
+ * @param string $transactionId Transaction ID received from Payment Gateway
41
+ * @param float $amount Amount to refund
42
+ * @return void
43
+ * @access public
44
+ */
45
+ public function __construct($transactionId, $amount)
46
+ {
47
+ $this->transactionId = $transactionId;
48
+ $this->amount = (float)$amount;
49
+ }
50
+
51
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/RequestAbstract.php ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway;
12
+
13
+ /**
14
+ * Base class for all request classes
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ * @abstract
19
+ */
20
+ abstract class RequestAbstract
21
+ {
22
+ /**
23
+ * Construct query string from object properties
24
+ *
25
+ * @return string Constructed query string
26
+ * @access public
27
+ */
28
+ public function getParams()
29
+ {
30
+ foreach ($this as $name => $value) {
31
+ $value = trim($value);
32
+
33
+ if (!empty($value) && is_scalar($value)) {
34
+ $params[] = ucfirst($name) . "=" . $this->encodeValue($value);
35
+ }
36
+ }
37
+ return implode("&", $params);
38
+ }
39
+
40
+ /**
41
+ * Encode value
42
+ *
43
+ * @param string $value
44
+ * @return string
45
+ * @access protected
46
+ */
47
+ protected function encodeValue($value)
48
+ {
49
+ if (
50
+ PaymentGateway::getConfig()->useApi != PaymentGateway::API_SOAP &&
51
+ PaymentGateway::getConfig()->useApi != PaymentGateway::API_REST
52
+ ) {
53
+ if (preg_match("/\s+/", $value)) {
54
+ $value = urlencode($value);
55
+ }
56
+ }
57
+ return $value;
58
+ }
59
+
60
+ /**
61
+ * Encode object parameter values
62
+ *
63
+ * @return void
64
+ * @access public
65
+ */
66
+ public function encodeValues()
67
+ {
68
+ foreach (get_object_vars($this) as $key => $value) {
69
+ if (is_scalar($value)) {
70
+ $value = trim($value);
71
+ $this->{$key} = $this->encodeValue($value);
72
+ }
73
+ }
74
+ }
75
+
76
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Result.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Result request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Result extends RequestAbstract
20
+ {
21
+ /**
22
+ * Transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Construct new Result request instance
31
+ *
32
+ * @param string $transactionId Transaction ID received from Payment Gateway
33
+ * @return void
34
+ * @access public
35
+ */
36
+ public function __construct($transactionId)
37
+ {
38
+ $this->transactionId = $transactionId;
39
+ }
40
+
41
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/Start.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Start request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class Start extends RequestAbstract
20
+ {
21
+ /**
22
+ * Transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Construct new Start request instance
31
+ *
32
+ * @param string $transactionId Transaction ID received from Payment Gateway
33
+ * @return void
34
+ * @access public
35
+ */
36
+ public function __construct($transactionId)
37
+ {
38
+ $this->transactionId = $transactionId;
39
+ }
40
+
41
+ /**
42
+ * Get object parameters
43
+ *
44
+ * @return string
45
+ * @access public
46
+ */
47
+ public function getParams()
48
+ {
49
+ unset($this->responseMode);
50
+
51
+ return parent::getParams();
52
+ }
53
+
54
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Request/StartRP.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway\Request;
10
+
11
+ use BigFish\PaymentGateway\Request\RequestAbstract;
12
+
13
+ /**
14
+ * Recurring payment start request class
15
+ *
16
+ * @package PaymentGateway
17
+ * @subpackage Request
18
+ */
19
+ class StartRP extends RequestAbstract
20
+ {
21
+ /**
22
+ * Transaction ID
23
+ *
24
+ * @var string
25
+ * @access public
26
+ */
27
+ public $transactionId;
28
+
29
+ /**
30
+ * Construct new recurring payment Start request instance
31
+ *
32
+ * @param string $transactionId Transaction ID received from Payment Gateway
33
+ * @return void
34
+ * @access public
35
+ */
36
+ public function __construct($transactionId)
37
+ {
38
+ $this->transactionId = $transactionId;
39
+ }
40
+
41
+ }
app/code/local/BigFish/PaymentGateway/PaymentGateway/Response.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Payment Gateway (https://www.paymentgateway.hu)
4
+ * PHP SDK
5
+ *
6
+ * @link https://github.com/bigfish-hu/payment-gateway-php-sdk.git
7
+ * @copyright (c) 2015, BIG FISH Internet-technology Ltd. (http://bigfish.hu)
8
+ */
9
+ namespace BigFish\PaymentGateway;
10
+
11
+ use BigFish\PaymentGateway;
12
+
13
+ /**
14
+ * API response class
15
+ *
16
+ * @package PaymentGateway
17
+ */
18
+ class Response
19
+ {
20
+ /**
21
+ * Construct new response object from JSON encoded object
22
+ *
23
+ * @param string $json JSON encoded object
24
+ * @return void
25
+ * @access public
26
+ */
27
+ public function __construct($json)
28
+ {
29
+ if (is_object($json)) {
30
+ $object = $json;
31
+ } else {
32
+ $object = json_decode($json);
33
+ }
34
+
35
+ if (is_object($object)) {
36
+ $this->setObject($object);
37
+ }
38
+ }
39
+
40
+ /**
41
+ * Set object
42
+ *
43
+ * @param object $object
44
+ * @return void
45
+ * @access protected
46
+ */
47
+ protected function setObject($object)
48
+ {
49
+ foreach (get_object_vars($object) as $name => $value) {
50
+ if (empty($value)) {
51
+ continue;
52
+ }
53
+
54
+ if (is_string($value) && is_object(json_decode($value))) {
55
+ $this->{$name} = new Response($value);
56
+ } else {
57
+ $this->setValue($name, $value);
58
+ }
59
+ }
60
+ }
61
+
62
+ /**
63
+ * Set value
64
+ *
65
+ * @param string $name
66
+ * @param string $value
67
+ * @return void
68
+ * @access protected
69
+ */
70
+ protected function setValue($name, $value)
71
+ {
72
+ if (is_string($value) && PaymentGateway::getConfig()->outCharset != "UTF-8") {
73
+ $value = iconv("UTF-8", PaymentGateway::getConfig()->outCharset, $value);
74
+ }
75
+
76
+ if (is_string($value) && is_array(json_decode($value))) {
77
+ $value = json_decode($value);
78
+ }
79
+
80
+ $this->{ucfirst($name)} = $value;
81
+ }
82
+
83
+ }
app/code/local/BigFish/PaymentGateway/controllers/ProcessingController.php CHANGED
@@ -10,19 +10,27 @@
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
  * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
  */
 
 
 
 
13
  class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_Front_Action
14
  {
15
  /* @var BigFish_PaymentGateway_Helper_Data */
16
  protected $_helper;
17
 
18
- /* @var BigFish_PaymentGateway_Lib_PaymentGateway */
19
- protected $_paymentGateway;
20
-
21
- protected function _construct() {
22
  parent::_construct();
23
  $this->_helper = Mage::helper('paymentgateway');
24
- $this->_paymentGateway = new BigFish_PaymentGateway_Lib_PaymentGateway($this->_helper->getStoreName(),$this->_helper->getApiKey(),$this->_helper->getUseApi(),$this->_helper->getIsTestMode());
25
- }
 
 
 
 
 
 
26
 
27
  /**
28
  * Get singleton of Checkout Session Model
@@ -61,7 +69,13 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
61
  $storeName = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/storenameotpszep');
62
  $apiKey = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/apikeyotpszep');
63
 
64
- $this->_paymentGateway = new BigFish_PaymentGateway_Lib_PaymentGateway($storeName, $apiKey, $this->_helper->getUseApi(), $this->_helper->getIsTestMode());
 
 
 
 
 
 
65
  }
66
  }
67
 
@@ -70,7 +84,6 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
70
  */
71
  public function paymentAction()
72
  {
73
-
74
  try {
75
  $checkout = $this->_getCheckout();
76
 
@@ -118,8 +131,8 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
118
  $checkout->getQuote()->setIsActive(false)->save();
119
  $checkout->clear();
120
 
121
- $this->_paymentGateway->start($transactionId);
122
-
123
  } catch (Exception $e) {
124
  Mage::logException($e);
125
  $this->_error($e->getMessage());
@@ -139,8 +152,8 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
139
 
140
  $where = " AND bp.transaction_id='".$transactionId."'";
141
  $this->_setPaymentGateway($where);
142
-
143
- $response = $this->_paymentGateway->result($transactionId);
144
 
145
  Mage::log("PaymentGW Response: ".print_r($response,true));
146
 
@@ -159,22 +172,12 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
159
  $session->setLastBigfishPaymentGatewayResult($responseArray);
160
 
161
  // Ha van session akkor irány vagy a cart vagy a success egyébként csak echo
162
- if($session->getPaymentGatewayOrderId()==$responseArray["OrderId"])
163
- {
164
  $forceSuccess = false;
165
 
166
- $details = $this->_paymentGateway->details($transactionId);
167
 
168
- if (is_object($details) && isset($details->ProviderName)) {
169
- switch ($details->ProviderName) {
170
- case 'PayUWire':
171
- $forceSuccess = true;
172
- break;
173
- }
174
- }
175
-
176
- if($forceSuccess || $responseArray["ResultCode"]==BigFish_PaymentGateway_Model_Event::PAYMENTGATEWAY_STATUS_SUCCESS)
177
- {
178
  $quoteId = $event->successEvent();
179
  $session->setLastSuccessQuoteId($quoteId);
180
  $session->addSuccess($message.'<br />'.$this->_helper->__('Paid amount').': '.$details->ProviderSpecificData->Amount.' '.$details->ProviderSpecificData->Currency);
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
  * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
  */
13
+
14
+ require_once(realpath(dirname(__FILE__)) . '/../PaymentGateway/Autoload.php');
15
+ BigFish\PaymentGateway\Autoload::register();
16
+
17
  class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_Front_Action
18
  {
19
  /* @var BigFish_PaymentGateway_Helper_Data */
20
  protected $_helper;
21
 
22
+ protected function _construct()
23
+ {
 
 
24
  parent::_construct();
25
  $this->_helper = Mage::helper('paymentgateway');
26
+ $config = new BigFish\PaymentGateway\Config();
27
+ $config->storeName = $this->_helper->getStoreName();
28
+ $config->apiKey = $this->_helper->getApiKey();
29
+ $config->testMode = $this->_helper->getIsTestMode();
30
+ $config->outCharset = 'UTF-8';
31
+
32
+ BigFish\PaymentGateway::setConfig($config);
33
+ }
34
 
35
  /**
36
  * Get singleton of Checkout Session Model
69
  $storeName = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/storenameotpszep');
70
  $apiKey = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/apikeyotpszep');
71
 
72
+ $config = new BigFish\PaymentGateway\Config();
73
+ $config->storeName = $storeName;
74
+ $config->apiKey = $apiKey;
75
+ $config->testMode = $this->_helper->getIsTestMode();
76
+ $config->outCharset = 'UTF-8';
77
+
78
+ BigFish\PaymentGateway::setConfig($config);
79
  }
80
  }
81
 
84
  */
85
  public function paymentAction()
86
  {
 
87
  try {
88
  $checkout = $this->_getCheckout();
89
 
131
  $checkout->getQuote()->setIsActive(false)->save();
132
  $checkout->clear();
133
 
134
+ $url = \BigFish\PaymentGateway::getStartUrl(new BigFish\PaymentGateway\Request\Start($transactionId));
135
+ $this->_redirectUrl($url);
136
  } catch (Exception $e) {
137
  Mage::logException($e);
138
  $this->_error($e->getMessage());
152
 
153
  $where = " AND bp.transaction_id='".$transactionId."'";
154
  $this->_setPaymentGateway($where);
155
+
156
+ $response = BigFish\PaymentGateway::result(new BigFish\PaymentGateway\Request\Result($transactionId));
157
 
158
  Mage::log("PaymentGW Response: ".print_r($response,true));
159
 
172
  $session->setLastBigfishPaymentGatewayResult($responseArray);
173
 
174
  // Ha van session akkor irány vagy a cart vagy a success egyébként csak echo
175
+ if($session->getPaymentGatewayOrderId()==$responseArray["OrderId"]) {
 
176
  $forceSuccess = false;
177
 
178
+ $details = \BigFish\PaymentGateway::details(new BigFish\PaymentGateway\Request\Details($transactionId));
179
 
180
+ if($forceSuccess || $responseArray["ResultCode"]==BigFish_PaymentGateway_Model_Event::PAYMENTGATEWAY_STATUS_SUCCESS) {
 
 
 
 
 
 
 
 
 
181
  $quoteId = $event->successEvent();
182
  $session->setLastSuccessQuoteId($quoteId);
183
  $session->addSuccess($message.'<br />'.$this->_helper->__('Paid amount').': '.$details->ProviderSpecificData->Amount.' '.$details->ProviderSpecificData->Currency);
app/code/local/BigFish/PaymentGateway/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <BigFish_PaymentGateway>
5
- <version>0.1.1</version>
6
  </BigFish_PaymentGateway>
7
  </modules>
8
 
@@ -168,20 +168,6 @@
168
  <title><![CDATA[Abaqoos]]></title>
169
  <allowspecific>0</allowspecific>
170
  </paymentgateway_abaqoos>
171
- <paymentgateway_mpp>
172
- <group>paymentgw</group>
173
- <active>0</active>
174
- <model>paymentgateway/mpp</model>
175
- <title><![CDATA[Mobile Payment]]></title>
176
- <allowspecific>0</allowspecific>
177
- </paymentgateway_mpp>
178
- <paymentgateway_mcm>
179
- <group>paymentgw</group>
180
- <active>0</active>
181
- <model>paymentgateway/mcm</model>
182
- <title><![CDATA[MasterCard Mobile Payment]]></title>
183
- <allowspecific>0</allowspecific>
184
- </paymentgateway_mcm>
185
  <paymentgateway_paypal>
186
  <group>paymentgw</group>
187
  <active>0</active>
@@ -210,34 +196,6 @@
210
  <title><![CDATA[Escalion]]></title>
211
  <allowspecific>0</allowspecific>
212
  </paymentgateway_escalion>
213
- <paymentgateway_payu>
214
- <group>paymentgw</group>
215
- <active>0</active>
216
- <model>paymentgateway/payu</model>
217
- <title><![CDATA[PayU]]></title>
218
- <allowspecific>0</allowspecific>
219
- </paymentgateway_payu>
220
- <paymentgateway_payuwire>
221
- <group>paymentgw</group>
222
- <active>0</active>
223
- <model>paymentgateway/payuwire</model>
224
- <title><![CDATA[PayUWire]]></title>
225
- <allowspecific>0</allowspecific>
226
- </paymentgateway_payuwire>
227
- <paymentgateway_payucash>
228
- <group>paymentgw</group>
229
- <active>0</active>
230
- <model>paymentgateway/payucash</model>
231
- <title><![CDATA[PayUCash]]></title>
232
- <allowspecific>0</allowspecific>
233
- </paymentgateway_payucash>
234
- <paymentgateway_payumobile>
235
- <group>paymentgw</group>
236
- <active>0</active>
237
- <model>paymentgateway/payumobile</model>
238
- <title><![CDATA[PayUMobile]]></title>
239
- <allowspecific>0</allowspecific>
240
- </paymentgateway_payumobile>
241
  <paymentgateway_wirecard>
242
  <group>paymentgw</group>
243
  <active>0</active>
@@ -259,13 +217,6 @@
259
  <title><![CDATA[UniCredit Bank]]></title>
260
  <allowspecific>0</allowspecific>
261
  </paymentgateway_unicredit>
262
- <paymentgateway_barion>
263
- <group>paymentgw</group>
264
- <active>0</active>
265
- <model>paymentgateway/barion</model>
266
- <title><![CDATA[Barion]]></title>
267
- <allowspecific>0</allowspecific>
268
- </paymentgateway_barion>
269
  <paymentgateway_otpay>
270
  <group>paymentgw</group>
271
  <active>0</active>
@@ -329,6 +280,76 @@
329
  <title><![CDATA[PayU2]]></title>
330
  <allowspecific>0</allowspecific>
331
  </paymentgateway_payu2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  </payment>
333
  <paymentgateway>
334
  <settings>
2
  <config>
3
  <modules>
4
  <BigFish_PaymentGateway>
5
+ <version>1.11.0</version>
6
  </BigFish_PaymentGateway>
7
  </modules>
8
 
168
  <title><![CDATA[Abaqoos]]></title>
169
  <allowspecific>0</allowspecific>
170
  </paymentgateway_abaqoos>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  <paymentgateway_paypal>
172
  <group>paymentgw</group>
173
  <active>0</active>
196
  <title><![CDATA[Escalion]]></title>
197
  <allowspecific>0</allowspecific>
198
  </paymentgateway_escalion>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  <paymentgateway_wirecard>
200
  <group>paymentgw</group>
201
  <active>0</active>
217
  <title><![CDATA[UniCredit Bank]]></title>
218
  <allowspecific>0</allowspecific>
219
  </paymentgateway_unicredit>
 
 
 
 
 
 
 
220
  <paymentgateway_otpay>
221
  <group>paymentgw</group>
222
  <active>0</active>
280
  <title><![CDATA[PayU2]]></title>
281
  <allowspecific>0</allowspecific>
282
  </paymentgateway_payu2>
283
+ <paymentgateway_saferpay>
284
+ <group>paymentgw</group>
285
+ <active>0</active>
286
+ <model>paymentgateway/saferpay</model>
287
+ <title><![CDATA[Saferpay]]></title>
288
+ <allowspecific>0</allowspecific>
289
+ </paymentgateway_saferpay>
290
+ <paymentgateway_otpsimple>
291
+ <group>paymentgw</group>
292
+ <active>0</active>
293
+ <model>paymentgateway/otpsimple</model>
294
+ <title><![CDATA[OTP Simple]]></title>
295
+ <allowspecific>0</allowspecific>
296
+ </paymentgateway_otpsimple>
297
+ <paymentgateway_otpsimplewire>
298
+ <group>paymentgw</group>
299
+ <active>0</active>
300
+ <model>paymentgateway/otpsimplewire</model>
301
+ <title><![CDATA[OTP Simple Wire]]></title>
302
+ <allowspecific>0</allowspecific>
303
+ </paymentgateway_otpsimplewire>
304
+ <paymentgateway_barion>
305
+ <group>paymentgw</group>
306
+ <active>0</active>
307
+ <model>paymentgateway/barion</model>
308
+ <title><![CDATA[Barion]]></title>
309
+ <allowspecific>0</allowspecific>
310
+ </paymentgateway_barion>
311
+ <paymentgateway_mpp>
312
+ <group>paymentgw</group>
313
+ <active>0</active>
314
+ <model>paymentgateway/mpp</model>
315
+ <title><![CDATA[Mobile Payment]]></title>
316
+ <allowspecific>0</allowspecific>
317
+ </paymentgateway_mpp>
318
+ <paymentgateway_mcm>
319
+ <group>paymentgw</group>
320
+ <active>0</active>
321
+ <model>paymentgateway/mcm</model>
322
+ <title><![CDATA[MasterCard Mobile Payment]]></title>
323
+ <allowspecific>0</allowspecific>
324
+ </paymentgateway_mcm>
325
+ <paymentgateway_payu>
326
+ <group>paymentgw</group>
327
+ <active>0</active>
328
+ <model>paymentgateway/payu</model>
329
+ <title><![CDATA[PayU]]></title>
330
+ <allowspecific>0</allowspecific>
331
+ </paymentgateway_payu>
332
+ <paymentgateway_payuwire>
333
+ <group>paymentgw</group>
334
+ <active>0</active>
335
+ <model>paymentgateway/payuwire</model>
336
+ <title><![CDATA[PayUWire]]></title>
337
+ <allowspecific>0</allowspecific>
338
+ </paymentgateway_payuwire>
339
+ <paymentgateway_payucash>
340
+ <group>paymentgw</group>
341
+ <active>0</active>
342
+ <model>paymentgateway/payucash</model>
343
+ <title><![CDATA[PayUCash]]></title>
344
+ <allowspecific>0</allowspecific>
345
+ </paymentgateway_payucash>
346
+ <paymentgateway_payumobile>
347
+ <group>paymentgw</group>
348
+ <active>0</active>
349
+ <model>paymentgateway/payumobile</model>
350
+ <title><![CDATA[PayUMobile]]></title>
351
+ <allowspecific>0</allowspecific>
352
+ </paymentgateway_payumobile>
353
  </payment>
354
  <paymentgateway>
355
  <settings>
app/code/local/BigFish/PaymentGateway/etc/system.xml CHANGED
@@ -56,20 +56,29 @@
56
  </useapi>
57
  </fields>
58
  </settings>
59
- <paymentgateway_cib translate="label">
60
- <label>CIB Bank</label>
61
  <frontend_type>text</frontend_type>
62
- <sort_order>40</sort_order>
63
  <show_in_default>1</show_in_default>
64
  <show_in_website>1</show_in_website>
65
  <show_in_store>1</show_in_store>
66
  <fields>
 
 
 
 
 
 
 
 
 
67
  <active translate="label">
68
  <label>Enabled</label>
69
  <frontend_type>select</frontend_type>
70
- <config_path>payment/paymentgateway_cib/active</config_path>
71
  <source_model>adminhtml/system_config_source_yesno</source_model>
72
- <sort_order>1</sort_order>
73
  <show_in_default>1</show_in_default>
74
  <show_in_website>1</show_in_website>
75
  <show_in_store>0</show_in_store>
@@ -77,26 +86,17 @@
77
  <sort_order translate="label">
78
  <label>Sort Order</label>
79
  <frontend_type>text</frontend_type>
80
- <config_path>payment/paymentgateway_cib/sort_order</config_path>
81
  <sort_order>3</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
84
  <show_in_store>1</show_in_store>
85
  </sort_order>
86
- <title translate="label">
87
- <label>Title</label>
88
- <frontend_type>text</frontend_type>
89
- <config_path>payment/paymentgateway_cib/title</config_path>
90
- <sort_order>5</sort_order>
91
- <show_in_default>1</show_in_default>
92
- <show_in_website>1</show_in_website>
93
- <show_in_store>1</show_in_store>
94
- </title>
95
  <allowspecific translate="label">
96
  <label>Payment from Applicable Countries</label>
97
  <frontend_type>allowspecific</frontend_type>
98
- <config_path>payment/paymentgateway_cib/allowspecific</config_path>
99
- <sort_order>6</sort_order>
100
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
101
  <show_in_default>1</show_in_default>
102
  <show_in_website>1</show_in_website>
@@ -105,8 +105,8 @@
105
  <specificcountry translate="label">
106
  <label>Payment from Specific Countries</label>
107
  <frontend_type>multiselect</frontend_type>
108
- <config_path>payment/paymentgateway_cib/specificcountry</config_path>
109
- <sort_order>7</sort_order>
110
  <source_model>adminhtml/system_config_source_country</source_model>
111
  <show_in_default>1</show_in_default>
112
  <show_in_website>1</show_in_website>
@@ -115,21 +115,30 @@
115
  <depends><allowspecific>1</allowspecific></depends>
116
  </specificcountry>
117
  </fields>
118
- </paymentgateway_cib>
119
- <paymentgateway_khb translate="label">
120
- <label><![CDATA[K&H Bank]]></label>
121
  <frontend_type>text</frontend_type>
122
- <sort_order>70</sort_order>
123
  <show_in_default>1</show_in_default>
124
  <show_in_website>1</show_in_website>
125
  <show_in_store>1</show_in_store>
126
  <fields>
 
 
 
 
 
 
 
 
 
127
  <active translate="label">
128
  <label>Enabled</label>
129
  <frontend_type>select</frontend_type>
130
- <config_path>payment/paymentgateway_khb/active</config_path>
131
  <source_model>adminhtml/system_config_source_yesno</source_model>
132
- <sort_order>1</sort_order>
133
  <show_in_default>1</show_in_default>
134
  <show_in_website>1</show_in_website>
135
  <show_in_store>0</show_in_store>
@@ -137,26 +146,17 @@
137
  <sort_order translate="label">
138
  <label>Sort Order</label>
139
  <frontend_type>text</frontend_type>
140
- <config_path>payment/paymentgateway_khb/sort_order</config_path>
141
  <sort_order>3</sort_order>
142
  <show_in_default>1</show_in_default>
143
  <show_in_website>1</show_in_website>
144
  <show_in_store>1</show_in_store>
145
  </sort_order>
146
- <title translate="label">
147
- <label>Title</label>
148
- <frontend_type>text</frontend_type>
149
- <config_path>payment/paymentgateway_khb/title</config_path>
150
- <sort_order>5</sort_order>
151
- <show_in_default>1</show_in_default>
152
- <show_in_website>1</show_in_website>
153
- <show_in_store>1</show_in_store>
154
- </title>
155
  <allowspecific translate="label">
156
  <label>Payment from Applicable Countries</label>
157
  <frontend_type>allowspecific</frontend_type>
158
- <config_path>payment/paymentgateway_khb/allowspecific</config_path>
159
- <sort_order>6</sort_order>
160
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
161
  <show_in_default>1</show_in_default>
162
  <show_in_website>1</show_in_website>
@@ -165,8 +165,8 @@
165
  <specificcountry translate="label">
166
  <label>Payment from Specific Countries</label>
167
  <frontend_type>multiselect</frontend_type>
168
- <config_path>payment/paymentgateway_khb/specificcountry</config_path>
169
- <sort_order>7</sort_order>
170
  <source_model>adminhtml/system_config_source_country</source_model>
171
  <show_in_default>1</show_in_default>
172
  <show_in_website>1</show_in_website>
@@ -175,21 +175,30 @@
175
  <depends><allowspecific>1</allowspecific></depends>
176
  </specificcountry>
177
  </fields>
178
- </paymentgateway_khb>
179
- <paymentgateway_otp translate="label">
180
- <label><![CDATA[OTP Bank]]></label>
181
  <frontend_type>text</frontend_type>
182
- <sort_order>120</sort_order>
183
  <show_in_default>1</show_in_default>
184
  <show_in_website>1</show_in_website>
185
  <show_in_store>1</show_in_store>
186
  <fields>
 
 
 
 
 
 
 
 
 
187
  <active translate="label">
188
  <label>Enabled</label>
189
  <frontend_type>select</frontend_type>
190
- <config_path>payment/paymentgateway_otp/active</config_path>
191
  <source_model>adminhtml/system_config_source_yesno</source_model>
192
- <sort_order>1</sort_order>
193
  <show_in_default>1</show_in_default>
194
  <show_in_website>1</show_in_website>
195
  <show_in_store>0</show_in_store>
@@ -197,26 +206,17 @@
197
  <sort_order translate="label">
198
  <label>Sort Order</label>
199
  <frontend_type>text</frontend_type>
200
- <config_path>payment/paymentgateway_otp/sort_order</config_path>
201
  <sort_order>3</sort_order>
202
  <show_in_default>1</show_in_default>
203
  <show_in_website>1</show_in_website>
204
  <show_in_store>1</show_in_store>
205
  </sort_order>
206
- <title translate="label">
207
- <label>Title</label>
208
- <frontend_type>text</frontend_type>
209
- <config_path>payment/paymentgateway_otp/title</config_path>
210
- <sort_order>5</sort_order>
211
- <show_in_default>1</show_in_default>
212
- <show_in_website>1</show_in_website>
213
- <show_in_store>1</show_in_store>
214
- </title>
215
  <allowspecific translate="label">
216
  <label>Payment from Applicable Countries</label>
217
  <frontend_type>allowspecific</frontend_type>
218
- <config_path>payment/paymentgateway_otp/allowspecific</config_path>
219
- <sort_order>6</sort_order>
220
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
221
  <show_in_default>1</show_in_default>
222
  <show_in_website>1</show_in_website>
@@ -225,8 +225,8 @@
225
  <specificcountry translate="label">
226
  <label>Payment from Specific Countries</label>
227
  <frontend_type>multiselect</frontend_type>
228
- <config_path>payment/paymentgateway_otp/specificcountry</config_path>
229
- <sort_order>7</sort_order>
230
  <source_model>adminhtml/system_config_source_country</source_model>
231
  <show_in_default>1</show_in_default>
232
  <show_in_website>1</show_in_website>
@@ -235,21 +235,30 @@
235
  <depends><allowspecific>1</allowspecific></depends>
236
  </specificcountry>
237
  </fields>
238
- </paymentgateway_otp>
239
- <paymentgateway_abaqoos translate="label">
240
- <label><![CDATA[Abaqoos]]></label>
241
  <frontend_type>text</frontend_type>
242
- <sort_order>10</sort_order>
243
- <show_in_default>0</show_in_default>
244
- <show_in_website>0</show_in_website>
245
- <show_in_store>0</show_in_store>
246
  <fields>
 
 
 
 
 
 
 
 
 
247
  <active translate="label">
248
  <label>Enabled</label>
249
  <frontend_type>select</frontend_type>
250
- <config_path>payment/paymentgateway_abaqoos/active</config_path>
251
  <source_model>adminhtml/system_config_source_yesno</source_model>
252
- <sort_order>1</sort_order>
253
  <show_in_default>1</show_in_default>
254
  <show_in_website>1</show_in_website>
255
  <show_in_store>0</show_in_store>
@@ -257,26 +266,17 @@
257
  <sort_order translate="label">
258
  <label>Sort Order</label>
259
  <frontend_type>text</frontend_type>
260
- <config_path>payment/paymentgateway_abaqoos/sort_order</config_path>
261
  <sort_order>3</sort_order>
262
  <show_in_default>1</show_in_default>
263
  <show_in_website>1</show_in_website>
264
  <show_in_store>1</show_in_store>
265
  </sort_order>
266
- <title translate="label">
267
- <label>Title</label>
268
- <frontend_type>text</frontend_type>
269
- <config_path>payment/paymentgateway_abaqoos/title</config_path>
270
- <sort_order>5</sort_order>
271
- <show_in_default>1</show_in_default>
272
- <show_in_website>1</show_in_website>
273
- <show_in_store>1</show_in_store>
274
- </title>
275
  <allowspecific translate="label">
276
  <label>Payment from Applicable Countries</label>
277
  <frontend_type>allowspecific</frontend_type>
278
- <config_path>payment/paymentgateway_abaqoos/allowspecific</config_path>
279
- <sort_order>6</sort_order>
280
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
281
  <show_in_default>1</show_in_default>
282
  <show_in_website>1</show_in_website>
@@ -285,8 +285,8 @@
285
  <specificcountry translate="label">
286
  <label>Payment from Specific Countries</label>
287
  <frontend_type>multiselect</frontend_type>
288
- <config_path>payment/paymentgateway_abaqoos/specificcountry</config_path>
289
- <sort_order>7</sort_order>
290
  <source_model>adminhtml/system_config_source_country</source_model>
291
  <show_in_default>1</show_in_default>
292
  <show_in_website>1</show_in_website>
@@ -294,22 +294,41 @@
294
  <can_be_empty>1</can_be_empty>
295
  <depends><allowspecific>1</allowspecific></depends>
296
  </specificcountry>
 
 
 
 
 
 
 
 
 
 
297
  </fields>
298
- </paymentgateway_abaqoos>
299
- <paymentgateway_mpp translate="label">
300
- <label><![CDATA[Mobile Payment]]></label>
301
  <frontend_type>text</frontend_type>
302
- <sort_order>100</sort_order>
303
- <show_in_default>0</show_in_default>
304
- <show_in_website>0</show_in_website>
305
- <show_in_store>0</show_in_store>
306
  <fields>
 
 
 
 
 
 
 
 
 
307
  <active translate="label">
308
  <label>Enabled</label>
309
  <frontend_type>select</frontend_type>
310
- <config_path>payment/paymentgateway_mpp/active</config_path>
311
  <source_model>adminhtml/system_config_source_yesno</source_model>
312
- <sort_order>1</sort_order>
313
  <show_in_default>1</show_in_default>
314
  <show_in_website>1</show_in_website>
315
  <show_in_store>0</show_in_store>
@@ -317,26 +336,17 @@
317
  <sort_order translate="label">
318
  <label>Sort Order</label>
319
  <frontend_type>text</frontend_type>
320
- <config_path>payment/paymentgateway_mpp/sort_order</config_path>
321
  <sort_order>3</sort_order>
322
  <show_in_default>1</show_in_default>
323
  <show_in_website>1</show_in_website>
324
  <show_in_store>1</show_in_store>
325
  </sort_order>
326
- <title translate="label">
327
- <label>Title</label>
328
- <frontend_type>text</frontend_type>
329
- <config_path>payment/paymentgateway_mpp/title</config_path>
330
- <sort_order>5</sort_order>
331
- <show_in_default>1</show_in_default>
332
- <show_in_website>1</show_in_website>
333
- <show_in_store>1</show_in_store>
334
- </title>
335
  <allowspecific translate="label">
336
  <label>Payment from Applicable Countries</label>
337
  <frontend_type>allowspecific</frontend_type>
338
- <config_path>payment/paymentgateway_mpp/allowspecific</config_path>
339
- <sort_order>6</sort_order>
340
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
341
  <show_in_default>1</show_in_default>
342
  <show_in_website>1</show_in_website>
@@ -345,8 +355,8 @@
345
  <specificcountry translate="label">
346
  <label>Payment from Specific Countries</label>
347
  <frontend_type>multiselect</frontend_type>
348
- <config_path>payment/paymentgateway_mpp/specificcountry</config_path>
349
- <sort_order>7</sort_order>
350
  <source_model>adminhtml/system_config_source_country</source_model>
351
  <show_in_default>1</show_in_default>
352
  <show_in_website>1</show_in_website>
@@ -355,21 +365,30 @@
355
  <depends><allowspecific>1</allowspecific></depends>
356
  </specificcountry>
357
  </fields>
358
- </paymentgateway_mpp>
359
- <paymentgateway_mcm translate="label">
360
- <label><![CDATA[MasterCard Mobile Payment]]></label>
361
  <frontend_type>text</frontend_type>
362
- <sort_order>110</sort_order>
363
- <show_in_default>0</show_in_default>
364
- <show_in_website>0</show_in_website>
365
- <show_in_store>0</show_in_store>
366
  <fields>
 
 
 
 
 
 
 
 
 
367
  <active translate="label">
368
  <label>Enabled</label>
369
  <frontend_type>select</frontend_type>
370
- <config_path>payment/paymentgateway_mcm/active</config_path>
371
  <source_model>adminhtml/system_config_source_yesno</source_model>
372
- <sort_order>1</sort_order>
373
  <show_in_default>1</show_in_default>
374
  <show_in_website>1</show_in_website>
375
  <show_in_store>0</show_in_store>
@@ -377,26 +396,17 @@
377
  <sort_order translate="label">
378
  <label>Sort Order</label>
379
  <frontend_type>text</frontend_type>
380
- <config_path>payment/paymentgateway_mcm/sort_order</config_path>
381
  <sort_order>3</sort_order>
382
  <show_in_default>1</show_in_default>
383
  <show_in_website>1</show_in_website>
384
  <show_in_store>1</show_in_store>
385
  </sort_order>
386
- <title translate="label">
387
- <label>Title</label>
388
- <frontend_type>text</frontend_type>
389
- <config_path>payment/paymentgateway_mcm/title</config_path>
390
- <sort_order>5</sort_order>
391
- <show_in_default>1</show_in_default>
392
- <show_in_website>1</show_in_website>
393
- <show_in_store>1</show_in_store>
394
- </title>
395
  <allowspecific translate="label">
396
  <label>Payment from Applicable Countries</label>
397
  <frontend_type>allowspecific</frontend_type>
398
- <config_path>payment/paymentgateway_mcm/allowspecific</config_path>
399
- <sort_order>6</sort_order>
400
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
401
  <show_in_default>1</show_in_default>
402
  <show_in_website>1</show_in_website>
@@ -405,8 +415,8 @@
405
  <specificcountry translate="label">
406
  <label>Payment from Specific Countries</label>
407
  <frontend_type>multiselect</frontend_type>
408
- <config_path>payment/paymentgateway_mcm/specificcountry</config_path>
409
- <sort_order>7</sort_order>
410
  <source_model>adminhtml/system_config_source_country</source_model>
411
  <show_in_default>1</show_in_default>
412
  <show_in_website>1</show_in_website>
@@ -415,48 +425,48 @@
415
  <depends><allowspecific>1</allowspecific></depends>
416
  </specificcountry>
417
  </fields>
418
- </paymentgateway_mcm>
419
- <paymentgateway_paypal translate="label">
420
- <label><![CDATA[PayPal]]></label>
421
  <frontend_type>text</frontend_type>
422
- <sort_order>170</sort_order>
423
  <show_in_default>1</show_in_default>
424
  <show_in_website>1</show_in_website>
425
  <show_in_store>1</show_in_store>
426
  <fields>
427
- <active translate="label">
428
- <label>Enabled</label>
429
- <frontend_type>select</frontend_type>
430
- <config_path>payment/paymentgateway_paypal/active</config_path>
431
- <source_model>adminhtml/system_config_source_yesno</source_model>
432
  <sort_order>1</sort_order>
433
  <show_in_default>1</show_in_default>
434
  <show_in_website>1</show_in_website>
 
 
 
 
 
 
 
 
 
 
435
  <show_in_store>0</show_in_store>
436
  </active>
437
  <sort_order translate="label">
438
  <label>Sort Order</label>
439
  <frontend_type>text</frontend_type>
440
- <config_path>payment/paymentgateway_paypal/sort_order</config_path>
441
  <sort_order>3</sort_order>
442
  <show_in_default>1</show_in_default>
443
  <show_in_website>1</show_in_website>
444
  <show_in_store>1</show_in_store>
445
  </sort_order>
446
- <title translate="label">
447
- <label>Title</label>
448
- <frontend_type>text</frontend_type>
449
- <config_path>payment/paymentgateway_paypal/title</config_path>
450
- <sort_order>5</sort_order>
451
- <show_in_default>1</show_in_default>
452
- <show_in_website>1</show_in_website>
453
- <show_in_store>1</show_in_store>
454
- </title>
455
  <allowspecific translate="label">
456
  <label>Payment from Applicable Countries</label>
457
  <frontend_type>allowspecific</frontend_type>
458
- <config_path>payment/paymentgateway_paypal/allowspecific</config_path>
459
- <sort_order>6</sort_order>
460
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
461
  <show_in_default>1</show_in_default>
462
  <show_in_website>1</show_in_website>
@@ -465,8 +475,8 @@
465
  <specificcountry translate="label">
466
  <label>Payment from Specific Countries</label>
467
  <frontend_type>multiselect</frontend_type>
468
- <config_path>payment/paymentgateway_paypal/specificcountry</config_path>
469
- <sort_order>7</sort_order>
470
  <source_model>adminhtml/system_config_source_country</source_model>
471
  <show_in_default>1</show_in_default>
472
  <show_in_website>1</show_in_website>
@@ -474,22 +484,41 @@
474
  <can_be_empty>1</can_be_empty>
475
  <depends><allowspecific>1</allowspecific></depends>
476
  </specificcountry>
 
 
 
 
 
 
 
 
 
 
477
  </fields>
478
- </paymentgateway_paypal>
479
- <paymentgateway_sms translate="label">
480
- <label><![CDATA[SMS]]></label>
481
  <frontend_type>text</frontend_type>
482
- <sort_order>220</sort_order>
483
  <show_in_default>1</show_in_default>
484
  <show_in_website>1</show_in_website>
485
  <show_in_store>1</show_in_store>
486
  <fields>
 
 
 
 
 
 
 
 
 
487
  <active translate="label">
488
  <label>Enabled</label>
489
  <frontend_type>select</frontend_type>
490
- <config_path>payment/paymentgateway_sms/active</config_path>
491
  <source_model>adminhtml/system_config_source_yesno</source_model>
492
- <sort_order>1</sort_order>
493
  <show_in_default>1</show_in_default>
494
  <show_in_website>1</show_in_website>
495
  <show_in_store>0</show_in_store>
@@ -497,26 +526,17 @@
497
  <sort_order translate="label">
498
  <label>Sort Order</label>
499
  <frontend_type>text</frontend_type>
500
- <config_path>payment/paymentgateway_sms/sort_order</config_path>
501
  <sort_order>3</sort_order>
502
  <show_in_default>1</show_in_default>
503
  <show_in_website>1</show_in_website>
504
  <show_in_store>1</show_in_store>
505
  </sort_order>
506
- <title translate="label">
507
- <label>Title</label>
508
- <frontend_type>text</frontend_type>
509
- <config_path>payment/paymentgateway_sms/title</config_path>
510
- <sort_order>5</sort_order>
511
- <show_in_default>1</show_in_default>
512
- <show_in_website>1</show_in_website>
513
- <show_in_store>1</show_in_store>
514
- </title>
515
  <allowspecific translate="label">
516
  <label>Payment from Applicable Countries</label>
517
  <frontend_type>allowspecific</frontend_type>
518
- <config_path>payment/paymentgateway_sms/allowspecific</config_path>
519
- <sort_order>6</sort_order>
520
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
521
  <show_in_default>1</show_in_default>
522
  <show_in_website>1</show_in_website>
@@ -525,8 +545,8 @@
525
  <specificcountry translate="label">
526
  <label>Payment from Specific Countries</label>
527
  <frontend_type>multiselect</frontend_type>
528
- <config_path>payment/paymentgateway_sms/specificcountry</config_path>
529
- <sort_order>7</sort_order>
530
  <source_model>adminhtml/system_config_source_country</source_model>
531
  <show_in_default>1</show_in_default>
532
  <show_in_website>1</show_in_website>
@@ -534,58 +554,59 @@
534
  <can_be_empty>1</can_be_empty>
535
  <depends><allowspecific>1</allowspecific></depends>
536
  </specificcountry>
 
 
 
 
 
 
 
 
 
 
537
  </fields>
538
- </paymentgateway_sms>
539
- <paymentgateway_otp2 translate="label">
540
- <label>OTP Bank (Two-way)</label>
541
  <frontend_type>text</frontend_type>
542
- <sort_order>130</sort_order>
543
  <show_in_default>1</show_in_default>
544
  <show_in_website>1</show_in_website>
545
  <show_in_store>1</show_in_store>
546
  <fields>
 
 
 
 
 
 
 
 
 
547
  <active translate="label">
548
  <label>Enabled</label>
549
  <frontend_type>select</frontend_type>
550
- <config_path>payment/paymentgateway_otp2/active</config_path>
551
  <source_model>adminhtml/system_config_source_yesno</source_model>
552
- <sort_order>1</sort_order>
553
- <show_in_default>1</show_in_default>
554
- <show_in_website>1</show_in_website>
555
- <show_in_store>0</show_in_store>
556
- </active>
557
- <publickey translate="label">
558
- <label>Public key</label>
559
- <frontend_type>textarea</frontend_type>
560
- <config_path>payment/paymentgateway_otp2/publickey</config_path>
561
  <sort_order>2</sort_order>
562
  <show_in_default>1</show_in_default>
563
  <show_in_website>1</show_in_website>
564
  <show_in_store>0</show_in_store>
565
- </publickey>
566
  <sort_order translate="label">
567
  <label>Sort Order</label>
568
  <frontend_type>text</frontend_type>
569
- <config_path>payment/paymentgateway_otp2/sort_order</config_path>
570
  <sort_order>3</sort_order>
571
  <show_in_default>1</show_in_default>
572
  <show_in_website>1</show_in_website>
573
  <show_in_store>1</show_in_store>
574
  </sort_order>
575
- <title translate="label">
576
- <label>Title</label>
577
- <frontend_type>text</frontend_type>
578
- <config_path>payment/paymentgateway_otp2/title</config_path>
579
- <sort_order>5</sort_order>
580
- <show_in_default>1</show_in_default>
581
- <show_in_website>1</show_in_website>
582
- <show_in_store>1</show_in_store>
583
- </title>
584
  <allowspecific translate="label">
585
  <label>Payment from Applicable Countries</label>
586
  <frontend_type>allowspecific</frontend_type>
587
- <config_path>payment/paymentgateway_otp2/allowspecific</config_path>
588
- <sort_order>6</sort_order>
589
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
590
  <show_in_default>1</show_in_default>
591
  <show_in_website>1</show_in_website>
@@ -594,8 +615,8 @@
594
  <specificcountry translate="label">
595
  <label>Payment from Specific Countries</label>
596
  <frontend_type>multiselect</frontend_type>
597
- <config_path>payment/paymentgateway_otp2/specificcountry</config_path>
598
- <sort_order>7</sort_order>
599
  <source_model>adminhtml/system_config_source_country</source_model>
600
  <show_in_default>1</show_in_default>
601
  <show_in_website>1</show_in_website>
@@ -604,21 +625,30 @@
604
  <depends><allowspecific>1</allowspecific></depends>
605
  </specificcountry>
606
  </fields>
607
- </paymentgateway_otp2>
608
- <paymentgateway_escalion translate="label">
609
- <label><![CDATA[Escalion]]></label>
610
  <frontend_type>text</frontend_type>
611
- <sort_order>50</sort_order>
612
  <show_in_default>1</show_in_default>
613
  <show_in_website>1</show_in_website>
614
  <show_in_store>1</show_in_store>
615
  <fields>
 
 
 
 
 
 
 
 
 
616
  <active translate="label">
617
  <label>Enabled</label>
618
  <frontend_type>select</frontend_type>
619
- <config_path>payment/paymentgateway_escalion/active</config_path>
620
  <source_model>adminhtml/system_config_source_yesno</source_model>
621
- <sort_order>1</sort_order>
622
  <show_in_default>1</show_in_default>
623
  <show_in_website>1</show_in_website>
624
  <show_in_store>0</show_in_store>
@@ -626,26 +656,17 @@
626
  <sort_order translate="label">
627
  <label>Sort Order</label>
628
  <frontend_type>text</frontend_type>
629
- <config_path>payment/paymentgateway_escalion/sort_order</config_path>
630
  <sort_order>3</sort_order>
631
  <show_in_default>1</show_in_default>
632
  <show_in_website>1</show_in_website>
633
  <show_in_store>1</show_in_store>
634
  </sort_order>
635
- <title translate="label">
636
- <label>Title</label>
637
- <frontend_type>text</frontend_type>
638
- <config_path>payment/paymentgateway_escalion/title</config_path>
639
- <sort_order>5</sort_order>
640
- <show_in_default>1</show_in_default>
641
- <show_in_website>1</show_in_website>
642
- <show_in_store>1</show_in_store>
643
- </title>
644
  <allowspecific translate="label">
645
  <label>Payment from Applicable Countries</label>
646
  <frontend_type>allowspecific</frontend_type>
647
- <config_path>payment/paymentgateway_escalion/allowspecific</config_path>
648
- <sort_order>6</sort_order>
649
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
650
  <show_in_default>1</show_in_default>
651
  <show_in_website>1</show_in_website>
@@ -654,8 +675,8 @@
654
  <specificcountry translate="label">
655
  <label>Payment from Specific Countries</label>
656
  <frontend_type>multiselect</frontend_type>
657
- <config_path>payment/paymentgateway_escalion/specificcountry</config_path>
658
- <sort_order>7</sort_order>
659
  <source_model>adminhtml/system_config_source_country</source_model>
660
  <show_in_default>1</show_in_default>
661
  <show_in_website>1</show_in_website>
@@ -663,22 +684,40 @@
663
  <can_be_empty>1</can_be_empty>
664
  <depends><allowspecific>1</allowspecific></depends>
665
  </specificcountry>
 
 
 
 
 
 
 
 
 
666
  </fields>
667
- </paymentgateway_escalion>
668
- <paymentgateway_payu translate="label">
669
- <label><![CDATA[PayU]]></label>
670
  <frontend_type>text</frontend_type>
671
- <sort_order>180</sort_order>
672
- <show_in_default>0</show_in_default>
673
- <show_in_website>0</show_in_website>
674
- <show_in_store>0</show_in_store>
675
  <fields>
 
 
 
 
 
 
 
 
 
676
  <active translate="label">
677
  <label>Enabled</label>
678
  <frontend_type>select</frontend_type>
679
- <config_path>payment/paymentgateway_payu/active</config_path>
680
  <source_model>adminhtml/system_config_source_yesno</source_model>
681
- <sort_order>1</sort_order>
682
  <show_in_default>1</show_in_default>
683
  <show_in_website>1</show_in_website>
684
  <show_in_store>0</show_in_store>
@@ -686,26 +725,17 @@
686
  <sort_order translate="label">
687
  <label>Sort Order</label>
688
  <frontend_type>text</frontend_type>
689
- <config_path>payment/paymentgateway_payu/sort_order</config_path>
690
  <sort_order>3</sort_order>
691
  <show_in_default>1</show_in_default>
692
  <show_in_website>1</show_in_website>
693
  <show_in_store>1</show_in_store>
694
  </sort_order>
695
- <title translate="label">
696
- <label>Title</label>
697
- <frontend_type>text</frontend_type>
698
- <config_path>payment/paymentgateway_payu/title</config_path>
699
- <sort_order>5</sort_order>
700
- <show_in_default>1</show_in_default>
701
- <show_in_website>1</show_in_website>
702
- <show_in_store>1</show_in_store>
703
- </title>
704
  <allowspecific translate="label">
705
  <label>Payment from Applicable Countries</label>
706
  <frontend_type>allowspecific</frontend_type>
707
- <config_path>payment/paymentgateway_payu/allowspecific</config_path>
708
- <sort_order>6</sort_order>
709
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
710
  <show_in_default>1</show_in_default>
711
  <show_in_website>1</show_in_website>
@@ -714,8 +744,8 @@
714
  <specificcountry translate="label">
715
  <label>Payment from Specific Countries</label>
716
  <frontend_type>multiselect</frontend_type>
717
- <config_path>payment/paymentgateway_payu/specificcountry</config_path>
718
- <sort_order>7</sort_order>
719
  <source_model>adminhtml/system_config_source_country</source_model>
720
  <show_in_default>1</show_in_default>
721
  <show_in_website>1</show_in_website>
@@ -724,21 +754,30 @@
724
  <depends><allowspecific>1</allowspecific></depends>
725
  </specificcountry>
726
  </fields>
727
- </paymentgateway_payu>
728
- <paymentgateway_payuwire translate="label">
729
- <label><![CDATA[PayUWire]]></label>
730
  <frontend_type>text</frontend_type>
731
- <sort_order>200</sort_order>
732
- <show_in_default>0</show_in_default>
733
- <show_in_website>0</show_in_website>
734
- <show_in_store>0</show_in_store>
735
  <fields>
 
 
 
 
 
 
 
 
 
736
  <active translate="label">
737
  <label>Enabled</label>
738
  <frontend_type>select</frontend_type>
739
- <config_path>payment/paymentgateway_payuwire/active</config_path>
740
  <source_model>adminhtml/system_config_source_yesno</source_model>
741
- <sort_order>1</sort_order>
742
  <show_in_default>1</show_in_default>
743
  <show_in_website>1</show_in_website>
744
  <show_in_store>0</show_in_store>
@@ -746,26 +785,17 @@
746
  <sort_order translate="label">
747
  <label>Sort Order</label>
748
  <frontend_type>text</frontend_type>
749
- <config_path>payment/paymentgateway_payuwire/sort_order</config_path>
750
  <sort_order>3</sort_order>
751
  <show_in_default>1</show_in_default>
752
  <show_in_website>1</show_in_website>
753
  <show_in_store>1</show_in_store>
754
  </sort_order>
755
- <title translate="label">
756
- <label>Title</label>
757
- <frontend_type>text</frontend_type>
758
- <config_path>payment/paymentgateway_payuwire/title</config_path>
759
- <sort_order>5</sort_order>
760
- <show_in_default>1</show_in_default>
761
- <show_in_website>1</show_in_website>
762
- <show_in_store>1</show_in_store>
763
- </title>
764
  <allowspecific translate="label">
765
  <label>Payment from Applicable Countries</label>
766
  <frontend_type>allowspecific</frontend_type>
767
- <config_path>payment/paymentgateway_payuwire/allowspecific</config_path>
768
- <sort_order>6</sort_order>
769
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
770
  <show_in_default>1</show_in_default>
771
  <show_in_website>1</show_in_website>
@@ -774,8 +804,8 @@
774
  <specificcountry translate="label">
775
  <label>Payment from Specific Countries</label>
776
  <frontend_type>multiselect</frontend_type>
777
- <config_path>payment/paymentgateway_payuwire/specificcountry</config_path>
778
- <sort_order>7</sort_order>
779
  <source_model>adminhtml/system_config_source_country</source_model>
780
  <show_in_default>1</show_in_default>
781
  <show_in_website>1</show_in_website>
@@ -784,21 +814,30 @@
784
  <depends><allowspecific>1</allowspecific></depends>
785
  </specificcountry>
786
  </fields>
787
- </paymentgateway_payuwire>
788
- <paymentgateway_payucash translate="label">
789
- <label><![CDATA[PayUCash]]></label>
790
  <frontend_type>text</frontend_type>
791
- <sort_order>190</sort_order>
792
- <show_in_default>0</show_in_default>
793
- <show_in_website>0</show_in_website>
794
- <show_in_store>0</show_in_store>
795
  <fields>
 
 
 
 
 
 
 
 
 
796
  <active translate="label">
797
  <label>Enabled</label>
798
  <frontend_type>select</frontend_type>
799
- <config_path>payment/paymentgateway_payucash/active</config_path>
800
  <source_model>adminhtml/system_config_source_yesno</source_model>
801
- <sort_order>1</sort_order>
802
  <show_in_default>1</show_in_default>
803
  <show_in_website>1</show_in_website>
804
  <show_in_store>0</show_in_store>
@@ -806,26 +845,17 @@
806
  <sort_order translate="label">
807
  <label>Sort Order</label>
808
  <frontend_type>text</frontend_type>
809
- <config_path>payment/paymentgateway_payucash/sort_order</config_path>
810
  <sort_order>3</sort_order>
811
  <show_in_default>1</show_in_default>
812
  <show_in_website>1</show_in_website>
813
  <show_in_store>1</show_in_store>
814
  </sort_order>
815
- <title translate="label">
816
- <label>Title</label>
817
- <frontend_type>text</frontend_type>
818
- <config_path>payment/paymentgateway_payucash/title</config_path>
819
- <sort_order>5</sort_order>
820
- <show_in_default>1</show_in_default>
821
- <show_in_website>1</show_in_website>
822
- <show_in_store>1</show_in_store>
823
- </title>
824
  <allowspecific translate="label">
825
  <label>Payment from Applicable Countries</label>
826
  <frontend_type>allowspecific</frontend_type>
827
- <config_path>payment/paymentgateway_payucash/allowspecific</config_path>
828
- <sort_order>6</sort_order>
829
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
830
  <show_in_default>1</show_in_default>
831
  <show_in_website>1</show_in_website>
@@ -834,8 +864,8 @@
834
  <specificcountry translate="label">
835
  <label>Payment from Specific Countries</label>
836
  <frontend_type>multiselect</frontend_type>
837
- <config_path>payment/paymentgateway_payucash/specificcountry</config_path>
838
- <sort_order>7</sort_order>
839
  <source_model>adminhtml/system_config_source_country</source_model>
840
  <show_in_default>1</show_in_default>
841
  <show_in_website>1</show_in_website>
@@ -843,22 +873,59 @@
843
  <can_be_empty>1</can_be_empty>
844
  <depends><allowspecific>1</allowspecific></depends>
845
  </specificcountry>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
846
  </fields>
847
- </paymentgateway_payucash>
848
- <paymentgateway_payumobile translate="label">
849
- <label><![CDATA[PayUMobile]]></label>
850
  <frontend_type>text</frontend_type>
851
- <sort_order>111</sort_order>
852
- <show_in_default>0</show_in_default>
853
- <show_in_website>0</show_in_website>
854
- <show_in_store>0</show_in_store>
855
  <fields>
 
 
 
 
 
 
 
 
 
856
  <active translate="label">
857
  <label>Enabled</label>
858
  <frontend_type>select</frontend_type>
859
- <config_path>payment/paymentgateway_payumobile/active</config_path>
860
  <source_model>adminhtml/system_config_source_yesno</source_model>
861
- <sort_order>1</sort_order>
862
  <show_in_default>1</show_in_default>
863
  <show_in_website>1</show_in_website>
864
  <show_in_store>0</show_in_store>
@@ -866,26 +933,17 @@
866
  <sort_order translate="label">
867
  <label>Sort Order</label>
868
  <frontend_type>text</frontend_type>
869
- <config_path>payment/paymentgateway_payumobile/sort_order</config_path>
870
  <sort_order>3</sort_order>
871
  <show_in_default>1</show_in_default>
872
  <show_in_website>1</show_in_website>
873
  <show_in_store>1</show_in_store>
874
  </sort_order>
875
- <title translate="label">
876
- <label>Title</label>
877
- <frontend_type>text</frontend_type>
878
- <config_path>payment/paymentgateway_payumobile/title</config_path>
879
- <sort_order>5</sort_order>
880
- <show_in_default>1</show_in_default>
881
- <show_in_website>1</show_in_website>
882
- <show_in_store>1</show_in_store>
883
- </title>
884
  <allowspecific translate="label">
885
  <label>Payment from Applicable Countries</label>
886
  <frontend_type>allowspecific</frontend_type>
887
- <config_path>payment/paymentgateway_payumobile/allowspecific</config_path>
888
- <sort_order>6</sort_order>
889
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
890
  <show_in_default>1</show_in_default>
891
  <show_in_website>1</show_in_website>
@@ -894,8 +952,8 @@
894
  <specificcountry translate="label">
895
  <label>Payment from Specific Countries</label>
896
  <frontend_type>multiselect</frontend_type>
897
- <config_path>payment/paymentgateway_payumobile/specificcountry</config_path>
898
- <sort_order>7</sort_order>
899
  <source_model>adminhtml/system_config_source_country</source_model>
900
  <show_in_default>1</show_in_default>
901
  <show_in_website>1</show_in_website>
@@ -904,21 +962,30 @@
904
  <depends><allowspecific>1</allowspecific></depends>
905
  </specificcountry>
906
  </fields>
907
- </paymentgateway_payumobile>
908
- <paymentgateway_wirecard translate="label">
909
- <label><![CDATA[QPAY Wirecard]]></label>
910
  <frontend_type>text</frontend_type>
911
- <sort_order>210</sort_order>
912
  <show_in_default>1</show_in_default>
913
  <show_in_website>1</show_in_website>
914
  <show_in_store>1</show_in_store>
915
  <fields>
 
 
 
 
 
 
 
 
 
916
  <active translate="label">
917
  <label>Enabled</label>
918
  <frontend_type>select</frontend_type>
919
- <config_path>payment/paymentgateway_wirecard/active</config_path>
920
  <source_model>adminhtml/system_config_source_yesno</source_model>
921
- <sort_order>1</sort_order>
922
  <show_in_default>1</show_in_default>
923
  <show_in_website>1</show_in_website>
924
  <show_in_store>0</show_in_store>
@@ -926,26 +993,17 @@
926
  <sort_order translate="label">
927
  <label>Sort Order</label>
928
  <frontend_type>text</frontend_type>
929
- <config_path>payment/paymentgateway_wirecard/sort_order</config_path>
930
  <sort_order>3</sort_order>
931
  <show_in_default>1</show_in_default>
932
  <show_in_website>1</show_in_website>
933
  <show_in_store>1</show_in_store>
934
  </sort_order>
935
- <title translate="label">
936
- <label>Title</label>
937
- <frontend_type>text</frontend_type>
938
- <config_path>payment/paymentgateway_wirecard/title</config_path>
939
- <sort_order>5</sort_order>
940
- <show_in_default>1</show_in_default>
941
- <show_in_website>1</show_in_website>
942
- <show_in_store>1</show_in_store>
943
- </title>
944
  <allowspecific translate="label">
945
  <label>Payment from Applicable Countries</label>
946
  <frontend_type>allowspecific</frontend_type>
947
- <config_path>payment/paymentgateway_wirecard/allowspecific</config_path>
948
- <sort_order>6</sort_order>
949
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
950
  <show_in_default>1</show_in_default>
951
  <show_in_website>1</show_in_website>
@@ -954,8 +1012,8 @@
954
  <specificcountry translate="label">
955
  <label>Payment from Specific Countries</label>
956
  <frontend_type>multiselect</frontend_type>
957
- <config_path>payment/paymentgateway_wirecard/specificcountry</config_path>
958
- <sort_order>7</sort_order>
959
  <source_model>adminhtml/system_config_source_country</source_model>
960
  <show_in_default>1</show_in_default>
961
  <show_in_website>1</show_in_website>
@@ -963,22 +1021,41 @@
963
  <can_be_empty>1</can_be_empty>
964
  <depends><allowspecific>1</allowspecific></depends>
965
  </specificcountry>
 
 
 
 
 
 
 
 
 
 
966
  </fields>
967
- </paymentgateway_wirecard>
968
- <paymentgateway_fhb translate="label">
969
- <label>FHB Bank</label>
970
  <frontend_type>text</frontend_type>
971
- <sort_order>60</sort_order>
972
  <show_in_default>1</show_in_default>
973
  <show_in_website>1</show_in_website>
974
  <show_in_store>1</show_in_store>
975
  <fields>
 
 
 
 
 
 
 
 
 
976
  <active translate="label">
977
  <label>Enabled</label>
978
  <frontend_type>select</frontend_type>
979
- <config_path>payment/paymentgateway_fhb/active</config_path>
980
  <source_model>adminhtml/system_config_source_yesno</source_model>
981
- <sort_order>1</sort_order>
982
  <show_in_default>1</show_in_default>
983
  <show_in_website>1</show_in_website>
984
  <show_in_store>0</show_in_store>
@@ -986,26 +1063,17 @@
986
  <sort_order translate="label">
987
  <label>Sort Order</label>
988
  <frontend_type>text</frontend_type>
989
- <config_path>payment/paymentgateway_fhb/sort_order</config_path>
990
  <sort_order>3</sort_order>
991
  <show_in_default>1</show_in_default>
992
  <show_in_website>1</show_in_website>
993
  <show_in_store>1</show_in_store>
994
  </sort_order>
995
- <title translate="label">
996
- <label>Title</label>
997
- <frontend_type>text</frontend_type>
998
- <config_path>payment/paymentgateway_fhb/title</config_path>
999
- <sort_order>5</sort_order>
1000
- <show_in_default>1</show_in_default>
1001
- <show_in_website>1</show_in_website>
1002
- <show_in_store>1</show_in_store>
1003
- </title>
1004
  <allowspecific translate="label">
1005
  <label>Payment from Applicable Countries</label>
1006
  <frontend_type>allowspecific</frontend_type>
1007
- <config_path>payment/paymentgateway_fhb/allowspecific</config_path>
1008
- <sort_order>6</sort_order>
1009
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1010
  <show_in_default>1</show_in_default>
1011
  <show_in_website>1</show_in_website>
@@ -1014,8 +1082,8 @@
1014
  <specificcountry translate="label">
1015
  <label>Payment from Specific Countries</label>
1016
  <frontend_type>multiselect</frontend_type>
1017
- <config_path>payment/paymentgateway_fhb/specificcountry</config_path>
1018
- <sort_order>7</sort_order>
1019
  <source_model>adminhtml/system_config_source_country</source_model>
1020
  <show_in_default>1</show_in_default>
1021
  <show_in_website>1</show_in_website>
@@ -1024,21 +1092,30 @@
1024
  <depends><allowspecific>1</allowspecific></depends>
1025
  </specificcountry>
1026
  </fields>
1027
- </paymentgateway_fhb>
1028
- <paymentgateway_unicredit translate="label">
1029
- <label>UniCredit Bank</label>
1030
  <frontend_type>text</frontend_type>
1031
- <sort_order>240</sort_order>
1032
  <show_in_default>1</show_in_default>
1033
  <show_in_website>1</show_in_website>
1034
  <show_in_store>1</show_in_store>
1035
  <fields>
 
 
 
 
 
 
 
 
 
1036
  <active translate="label">
1037
  <label>Enabled</label>
1038
  <frontend_type>select</frontend_type>
1039
- <config_path>payment/paymentgateway_unicredit/active</config_path>
1040
  <source_model>adminhtml/system_config_source_yesno</source_model>
1041
- <sort_order>1</sort_order>
1042
  <show_in_default>1</show_in_default>
1043
  <show_in_website>1</show_in_website>
1044
  <show_in_store>0</show_in_store>
@@ -1046,26 +1123,17 @@
1046
  <sort_order translate="label">
1047
  <label>Sort Order</label>
1048
  <frontend_type>text</frontend_type>
1049
- <config_path>payment/paymentgateway_unicredit/sort_order</config_path>
1050
  <sort_order>3</sort_order>
1051
  <show_in_default>1</show_in_default>
1052
  <show_in_website>1</show_in_website>
1053
  <show_in_store>1</show_in_store>
1054
  </sort_order>
1055
- <title translate="label">
1056
- <label>Title</label>
1057
- <frontend_type>text</frontend_type>
1058
- <config_path>payment/paymentgateway_unicredit/title</config_path>
1059
- <sort_order>5</sort_order>
1060
- <show_in_default>1</show_in_default>
1061
- <show_in_website>1</show_in_website>
1062
- <show_in_store>1</show_in_store>
1063
- </title>
1064
  <allowspecific translate="label">
1065
  <label>Payment from Applicable Countries</label>
1066
  <frontend_type>allowspecific</frontend_type>
1067
- <config_path>payment/paymentgateway_unicredit/allowspecific</config_path>
1068
- <sort_order>6</sort_order>
1069
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1070
  <show_in_default>1</show_in_default>
1071
  <show_in_website>1</show_in_website>
@@ -1074,8 +1142,8 @@
1074
  <specificcountry translate="label">
1075
  <label>Payment from Specific Countries</label>
1076
  <frontend_type>multiselect</frontend_type>
1077
- <config_path>payment/paymentgateway_unicredit/specificcountry</config_path>
1078
- <sort_order>7</sort_order>
1079
  <source_model>adminhtml/system_config_source_country</source_model>
1080
  <show_in_default>1</show_in_default>
1081
  <show_in_website>1</show_in_website>
@@ -1084,21 +1152,30 @@
1084
  <depends><allowspecific>1</allowspecific></depends>
1085
  </specificcountry>
1086
  </fields>
1087
- </paymentgateway_unicredit>
1088
- <paymentgateway_barion translate="label">
1089
- <label>Barion</label>
1090
  <frontend_type>text</frontend_type>
1091
- <sort_order>20</sort_order>
1092
  <show_in_default>1</show_in_default>
1093
  <show_in_website>1</show_in_website>
1094
  <show_in_store>1</show_in_store>
1095
  <fields>
 
 
 
 
 
 
 
 
 
1096
  <active translate="label">
1097
  <label>Enabled</label>
1098
  <frontend_type>select</frontend_type>
1099
- <config_path>payment/paymentgateway_barion/active</config_path>
1100
  <source_model>adminhtml/system_config_source_yesno</source_model>
1101
- <sort_order>1</sort_order>
1102
  <show_in_default>1</show_in_default>
1103
  <show_in_website>1</show_in_website>
1104
  <show_in_store>0</show_in_store>
@@ -1106,26 +1183,17 @@
1106
  <sort_order translate="label">
1107
  <label>Sort Order</label>
1108
  <frontend_type>text</frontend_type>
1109
- <config_path>payment/paymentgateway_barion/sort_order</config_path>
1110
  <sort_order>3</sort_order>
1111
  <show_in_default>1</show_in_default>
1112
  <show_in_website>1</show_in_website>
1113
  <show_in_store>1</show_in_store>
1114
  </sort_order>
1115
- <title translate="label">
1116
- <label>Title</label>
1117
- <frontend_type>text</frontend_type>
1118
- <config_path>payment/paymentgateway_barion/title</config_path>
1119
- <sort_order>5</sort_order>
1120
- <show_in_default>1</show_in_default>
1121
- <show_in_website>1</show_in_website>
1122
- <show_in_store>1</show_in_store>
1123
- </title>
1124
  <allowspecific translate="label">
1125
  <label>Payment from Applicable Countries</label>
1126
  <frontend_type>allowspecific</frontend_type>
1127
- <config_path>payment/paymentgateway_barion/allowspecific</config_path>
1128
- <sort_order>6</sort_order>
1129
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1130
  <show_in_default>1</show_in_default>
1131
  <show_in_website>1</show_in_website>
@@ -1134,8 +1202,8 @@
1134
  <specificcountry translate="label">
1135
  <label>Payment from Specific Countries</label>
1136
  <frontend_type>multiselect</frontend_type>
1137
- <config_path>payment/paymentgateway_barion/specificcountry</config_path>
1138
- <sort_order>7</sort_order>
1139
  <source_model>adminhtml/system_config_source_country</source_model>
1140
  <show_in_default>1</show_in_default>
1141
  <show_in_website>1</show_in_website>
@@ -1144,81 +1212,30 @@
1144
  <depends><allowspecific>1</allowspecific></depends>
1145
  </specificcountry>
1146
  </fields>
1147
- </paymentgateway_barion>
1148
- <paymentgateway_otpay translate="label">
1149
- <label>OTPay</label>
1150
  <frontend_type>text</frontend_type>
1151
- <sort_order>140</sort_order>
1152
  <show_in_default>1</show_in_default>
1153
  <show_in_website>1</show_in_website>
1154
  <show_in_store>1</show_in_store>
1155
  <fields>
1156
- <active translate="label">
1157
- <label>Enabled</label>
1158
- <frontend_type>select</frontend_type>
1159
- <config_path>payment/paymentgateway_otpay/active</config_path>
1160
- <source_model>adminhtml/system_config_source_yesno</source_model>
1161
- <sort_order>1</sort_order>
1162
- <show_in_default>1</show_in_default>
1163
- <show_in_website>1</show_in_website>
1164
- <show_in_store>0</show_in_store>
1165
- </active>
1166
- <sort_order translate="label">
1167
- <label>Sort Order</label>
1168
- <frontend_type>text</frontend_type>
1169
- <config_path>payment/paymentgateway_otpay/sort_order</config_path>
1170
- <sort_order>3</sort_order>
1171
- <show_in_default>1</show_in_default>
1172
- <show_in_website>1</show_in_website>
1173
- <show_in_store>1</show_in_store>
1174
- </sort_order>
1175
  <title translate="label">
1176
  <label>Title</label>
1177
  <frontend_type>text</frontend_type>
1178
- <config_path>payment/paymentgateway_otpay/title</config_path>
1179
- <sort_order>5</sort_order>
1180
  <show_in_default>1</show_in_default>
1181
  <show_in_website>1</show_in_website>
1182
  <show_in_store>1</show_in_store>
1183
  </title>
1184
- <allowspecific translate="label">
1185
- <label>Payment from Applicable Countries</label>
1186
- <frontend_type>allowspecific</frontend_type>
1187
- <config_path>payment/paymentgateway_otpay/allowspecific</config_path>
1188
- <sort_order>6</sort_order>
1189
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1190
- <show_in_default>1</show_in_default>
1191
- <show_in_website>1</show_in_website>
1192
- <show_in_store>0</show_in_store>
1193
- </allowspecific>
1194
- <specificcountry translate="label">
1195
- <label>Payment from Specific Countries</label>
1196
- <frontend_type>multiselect</frontend_type>
1197
- <config_path>payment/paymentgateway_otpay/specificcountry</config_path>
1198
- <sort_order>7</sort_order>
1199
- <source_model>adminhtml/system_config_source_country</source_model>
1200
- <show_in_default>1</show_in_default>
1201
- <show_in_website>1</show_in_website>
1202
- <show_in_store>0</show_in_store>
1203
- <can_be_empty>1</can_be_empty>
1204
- <depends><allowspecific>1</allowspecific></depends>
1205
- </specificcountry>
1206
- </fields>
1207
- </paymentgateway_otpay>
1208
- <paymentgateway_sofort translate="label">
1209
- <label>Sofort</label>
1210
- <frontend_type>text</frontend_type>
1211
- <sort_order>230</sort_order>
1212
- <show_in_default>1</show_in_default>
1213
- <show_in_website>1</show_in_website>
1214
- <show_in_store>1</show_in_store>
1215
- <fields>
1216
  <active translate="label">
1217
  <label>Enabled</label>
1218
  <frontend_type>select</frontend_type>
1219
- <config_path>payment/paymentgateway_sofort/active</config_path>
1220
  <source_model>adminhtml/system_config_source_yesno</source_model>
1221
- <sort_order>1</sort_order>
1222
  <show_in_default>1</show_in_default>
1223
  <show_in_website>1</show_in_website>
1224
  <show_in_store>0</show_in_store>
@@ -1226,26 +1243,17 @@
1226
  <sort_order translate="label">
1227
  <label>Sort Order</label>
1228
  <frontend_type>text</frontend_type>
1229
- <config_path>payment/paymentgateway_sofort/sort_order</config_path>
1230
  <sort_order>3</sort_order>
1231
  <show_in_default>1</show_in_default>
1232
  <show_in_website>1</show_in_website>
1233
  <show_in_store>1</show_in_store>
1234
  </sort_order>
1235
- <title translate="label">
1236
- <label>Title</label>
1237
- <frontend_type>text</frontend_type>
1238
- <config_path>payment/paymentgateway_sofort/title</config_path>
1239
- <sort_order>5</sort_order>
1240
- <show_in_default>1</show_in_default>
1241
- <show_in_website>1</show_in_website>
1242
- <show_in_store>1</show_in_store>
1243
- </title>
1244
  <allowspecific translate="label">
1245
  <label>Payment from Applicable Countries</label>
1246
  <frontend_type>allowspecific</frontend_type>
1247
- <config_path>payment/paymentgateway_sofort/allowspecific</config_path>
1248
- <sort_order>6</sort_order>
1249
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1250
  <show_in_default>1</show_in_default>
1251
  <show_in_website>1</show_in_website>
@@ -1254,8 +1262,8 @@
1254
  <specificcountry translate="label">
1255
  <label>Payment from Specific Countries</label>
1256
  <frontend_type>multiselect</frontend_type>
1257
- <config_path>payment/paymentgateway_sofort/specificcountry</config_path>
1258
- <sort_order>7</sort_order>
1259
  <source_model>adminhtml/system_config_source_country</source_model>
1260
  <show_in_default>1</show_in_default>
1261
  <show_in_website>1</show_in_website>
@@ -1263,142 +1271,63 @@
1263
  <can_be_empty>1</can_be_empty>
1264
  <depends><allowspecific>1</allowspecific></depends>
1265
  </specificcountry>
1266
- </fields>
1267
- </paymentgateway_sofort>
1268
- <paymentgateway_borgun translate="label">
1269
- <label><![CDATA[Borgun]]></label>
1270
- <frontend_type>text</frontend_type>
1271
- <sort_order>30</sort_order>
1272
- <show_in_default>1</show_in_default>
1273
- <show_in_website>1</show_in_website>
1274
- <show_in_store>1</show_in_store>
1275
- <fields>
1276
- <active translate="label">
1277
- <label>Enabled</label>
1278
- <frontend_type>select</frontend_type>
1279
- <config_path>payment/paymentgateway_borgun/active</config_path>
1280
- <source_model>adminhtml/system_config_source_yesno</source_model>
1281
- <sort_order>1</sort_order>
1282
- <show_in_default>1</show_in_default>
1283
- <show_in_website>1</show_in_website>
1284
- <show_in_store>0</show_in_store>
1285
- </active>
1286
- <sort_order translate="label">
1287
- <label>Sort Order</label>
1288
- <frontend_type>text</frontend_type>
1289
- <config_path>payment/paymentgateway_borgun/sort_order</config_path>
1290
- <sort_order>3</sort_order>
1291
- <show_in_default>1</show_in_default>
1292
- <show_in_website>1</show_in_website>
1293
- <show_in_store>1</show_in_store>
1294
- </sort_order>
1295
- <title translate="label">
1296
- <label>Title</label>
1297
- <frontend_type>text</frontend_type>
1298
- <config_path>payment/paymentgateway_borgun/title</config_path>
1299
- <sort_order>5</sort_order>
1300
- <show_in_default>1</show_in_default>
1301
- <show_in_website>1</show_in_website>
1302
- <show_in_store>1</show_in_store>
1303
- </title>
1304
- <allowspecific translate="label">
1305
- <label>Payment from Applicable Countries</label>
1306
- <frontend_type>allowspecific</frontend_type>
1307
- <config_path>payment/paymentgateway_borgun/allowspecific</config_path>
1308
  <sort_order>6</sort_order>
1309
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1310
  <show_in_default>1</show_in_default>
1311
  <show_in_website>1</show_in_website>
1312
  <show_in_store>0</show_in_store>
1313
- </allowspecific>
1314
- <specificcountry translate="label">
1315
- <label>Payment from Specific Countries</label>
 
 
1316
  <frontend_type>multiselect</frontend_type>
1317
- <config_path>payment/paymentgateway_borgun/specificcountry</config_path>
1318
  <sort_order>7</sort_order>
1319
- <source_model>adminhtml/system_config_source_country</source_model>
1320
  <show_in_default>1</show_in_default>
1321
  <show_in_website>1</show_in_website>
1322
  <show_in_store>0</show_in_store>
1323
  <can_be_empty>1</can_be_empty>
1324
- <depends><allowspecific>1</allowspecific></depends>
1325
- </specificcountry>
 
 
 
 
 
 
 
 
 
1326
  </fields>
1327
- </paymentgateway_borgun>
1328
- <paymentgateway_otpaymp translate="label">
1329
- <label>MasterPass</label>
1330
  <frontend_type>text</frontend_type>
1331
- <sort_order>115</sort_order>
1332
  <show_in_default>1</show_in_default>
1333
  <show_in_website>1</show_in_website>
1334
  <show_in_store>1</show_in_store>
1335
  <fields>
1336
- <active translate="label">
1337
- <label>Enabled</label>
1338
- <frontend_type>select</frontend_type>
1339
- <config_path>payment/paymentgateway_otpaymp/active</config_path>
1340
- <source_model>adminhtml/system_config_source_yesno</source_model>
1341
- <sort_order>1</sort_order>
1342
- <show_in_default>1</show_in_default>
1343
- <show_in_website>1</show_in_website>
1344
- <show_in_store>0</show_in_store>
1345
- </active>
1346
- <sort_order translate="label">
1347
- <label>Sort Order</label>
1348
- <frontend_type>text</frontend_type>
1349
- <config_path>payment/paymentgateway_otpaymp/sort_order</config_path>
1350
- <sort_order>3</sort_order>
1351
- <show_in_default>1</show_in_default>
1352
- <show_in_website>1</show_in_website>
1353
- <show_in_store>1</show_in_store>
1354
- </sort_order>
1355
  <title translate="label">
1356
  <label>Title</label>
1357
  <frontend_type>text</frontend_type>
1358
- <config_path>payment/paymentgateway_otpaymp/title</config_path>
1359
- <sort_order>5</sort_order>
1360
  <show_in_default>1</show_in_default>
1361
  <show_in_website>1</show_in_website>
1362
  <show_in_store>1</show_in_store>
1363
  </title>
1364
- <allowspecific translate="label">
1365
- <label>Payment from Applicable Countries</label>
1366
- <frontend_type>allowspecific</frontend_type>
1367
- <config_path>payment/paymentgateway_otpaymp/allowspecific</config_path>
1368
- <sort_order>6</sort_order>
1369
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1370
- <show_in_default>1</show_in_default>
1371
- <show_in_website>1</show_in_website>
1372
- <show_in_store>0</show_in_store>
1373
- </allowspecific>
1374
- <specificcountry translate="label">
1375
- <label>Payment from Specific Countries</label>
1376
- <frontend_type>multiselect</frontend_type>
1377
- <config_path>payment/paymentgateway_otpaymp/specificcountry</config_path>
1378
- <sort_order>7</sort_order>
1379
- <source_model>adminhtml/system_config_source_country</source_model>
1380
- <show_in_default>1</show_in_default>
1381
- <show_in_website>1</show_in_website>
1382
- <show_in_store>0</show_in_store>
1383
- <can_be_empty>1</can_be_empty>
1384
- <depends><allowspecific>1</allowspecific></depends>
1385
- </specificcountry>
1386
- </fields>
1387
- </paymentgateway_otpaymp>
1388
- <paymentgateway_khbszep translate="label">
1389
- <label><![CDATA[K&H SZÉP Card]]></label>
1390
- <frontend_type>text</frontend_type>
1391
- <sort_order>80</sort_order>
1392
- <show_in_default>1</show_in_default>
1393
- <show_in_website>1</show_in_website>
1394
- <show_in_store>1</show_in_store>
1395
- <fields>
1396
  <active translate="label">
1397
  <label>Enabled</label>
1398
  <frontend_type>select</frontend_type>
1399
- <config_path>payment/paymentgateway_khbszep/active</config_path>
1400
  <source_model>adminhtml/system_config_source_yesno</source_model>
1401
- <sort_order>1</sort_order>
1402
  <show_in_default>1</show_in_default>
1403
  <show_in_website>1</show_in_website>
1404
  <show_in_store>0</show_in_store>
@@ -1406,36 +1335,17 @@
1406
  <sort_order translate="label">
1407
  <label>Sort Order</label>
1408
  <frontend_type>text</frontend_type>
1409
- <config_path>payment/paymentgateway_khbszep/sort_order</config_path>
1410
  <sort_order>3</sort_order>
1411
  <show_in_default>1</show_in_default>
1412
  <show_in_website>1</show_in_website>
1413
  <show_in_store>1</show_in_store>
1414
  </sort_order>
1415
- <title translate="label">
1416
- <label>Title</label>
1417
- <frontend_type>text</frontend_type>
1418
- <config_path>payment/paymentgateway_khbszep/title</config_path>
1419
- <sort_order>5</sort_order>
1420
- <show_in_default>1</show_in_default>
1421
- <show_in_website>1</show_in_website>
1422
- <show_in_store>1</show_in_store>
1423
- </title>
1424
- <khbcardpocketid translate="label">
1425
- <label>Available pocket</label>
1426
- <config_path>paymentgateway/paymentgateway_khbszep/khbcardpocketid</config_path>
1427
- <frontend_type>select</frontend_type>
1428
- <source_model>paymentgateway/config::getKhbCardPocketId</source_model>
1429
- <sort_order>6</sort_order>
1430
- <show_in_default>1</show_in_default>
1431
- <show_in_website>1</show_in_website>
1432
- <show_in_store>0</show_in_store>
1433
- </khbcardpocketid>
1434
  <allowspecific translate="label">
1435
  <label>Payment from Applicable Countries</label>
1436
  <frontend_type>allowspecific</frontend_type>
1437
- <config_path>payment/paymentgateway_khbszep/allowspecific</config_path>
1438
- <sort_order>7</sort_order>
1439
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1440
  <show_in_default>1</show_in_default>
1441
  <show_in_website>1</show_in_website>
@@ -1444,8 +1354,8 @@
1444
  <specificcountry translate="label">
1445
  <label>Payment from Specific Countries</label>
1446
  <frontend_type>multiselect</frontend_type>
1447
- <config_path>payment/paymentgateway_khbszep/specificcountry</config_path>
1448
- <sort_order>8</sort_order>
1449
  <source_model>adminhtml/system_config_source_country</source_model>
1450
  <show_in_default>1</show_in_default>
1451
  <show_in_website>1</show_in_website>
@@ -1454,81 +1364,30 @@
1454
  <depends><allowspecific>1</allowspecific></depends>
1455
  </specificcountry>
1456
  </fields>
1457
- </paymentgateway_khbszep>
1458
- <paymentgateway_otpmultipont translate="label">
1459
- <label>OTP Multipont</label>
1460
  <frontend_type>text</frontend_type>
1461
- <sort_order>160</sort_order>
1462
  <show_in_default>1</show_in_default>
1463
  <show_in_website>1</show_in_website>
1464
  <show_in_store>1</show_in_store>
1465
  <fields>
1466
- <active translate="label">
1467
- <label>Enabled</label>
1468
- <frontend_type>select</frontend_type>
1469
- <config_path>payment/paymentgateway_otpmultipont/active</config_path>
1470
- <source_model>adminhtml/system_config_source_yesno</source_model>
1471
- <sort_order>1</sort_order>
1472
- <show_in_default>1</show_in_default>
1473
- <show_in_website>1</show_in_website>
1474
- <show_in_store>0</show_in_store>
1475
- </active>
1476
- <sort_order translate="label">
1477
- <label>Sort Order</label>
1478
- <frontend_type>text</frontend_type>
1479
- <config_path>payment/paymentgateway_otpmultipont/sort_order</config_path>
1480
- <sort_order>3</sort_order>
1481
- <show_in_default>1</show_in_default>
1482
- <show_in_website>1</show_in_website>
1483
- <show_in_store>1</show_in_store>
1484
- </sort_order>
1485
  <title translate="label">
1486
  <label>Title</label>
1487
  <frontend_type>text</frontend_type>
1488
- <config_path>payment/paymentgateway_otpmultipont/title</config_path>
1489
- <sort_order>5</sort_order>
1490
  <show_in_default>1</show_in_default>
1491
  <show_in_website>1</show_in_website>
1492
  <show_in_store>1</show_in_store>
1493
  </title>
1494
- <allowspecific translate="label">
1495
- <label>Payment from Applicable Countries</label>
1496
- <frontend_type>allowspecific</frontend_type>
1497
- <config_path>payment/paymentgateway_otpmultipont/allowspecific</config_path>
1498
- <sort_order>6</sort_order>
1499
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1500
- <show_in_default>1</show_in_default>
1501
- <show_in_website>1</show_in_website>
1502
- <show_in_store>0</show_in_store>
1503
- </allowspecific>
1504
- <specificcountry translate="label">
1505
- <label>Payment from Specific Countries</label>
1506
- <frontend_type>multiselect</frontend_type>
1507
- <config_path>payment/paymentgateway_otpmultipont/specificcountry</config_path>
1508
- <sort_order>7</sort_order>
1509
- <source_model>adminhtml/system_config_source_country</source_model>
1510
- <show_in_default>1</show_in_default>
1511
- <show_in_website>1</show_in_website>
1512
- <show_in_store>0</show_in_store>
1513
- <can_be_empty>1</can_be_empty>
1514
- <depends><allowspecific>1</allowspecific></depends>
1515
- </specificcountry>
1516
- </fields>
1517
- </paymentgateway_otpmultipont>
1518
- <paymentgateway_mkbszep translate="label">
1519
- <label><![CDATA[MKB SZÉP Card]]></label>
1520
- <frontend_type>text</frontend_type>
1521
- <sort_order>90</sort_order>
1522
- <show_in_default>1</show_in_default>
1523
- <show_in_website>1</show_in_website>
1524
- <show_in_store>1</show_in_store>
1525
- <fields>
1526
  <active translate="label">
1527
  <label>Enabled</label>
1528
  <frontend_type>select</frontend_type>
1529
- <config_path>payment/paymentgateway_mkbszep/active</config_path>
1530
  <source_model>adminhtml/system_config_source_yesno</source_model>
1531
- <sort_order>1</sort_order>
1532
  <show_in_default>1</show_in_default>
1533
  <show_in_website>1</show_in_website>
1534
  <show_in_store>0</show_in_store>
@@ -1536,45 +1395,17 @@
1536
  <sort_order translate="label">
1537
  <label>Sort Order</label>
1538
  <frontend_type>text</frontend_type>
1539
- <config_path>payment/paymentgateway_mkbszep/sort_order</config_path>
1540
  <sort_order>3</sort_order>
1541
  <show_in_default>1</show_in_default>
1542
  <show_in_website>1</show_in_website>
1543
  <show_in_store>1</show_in_store>
1544
  </sort_order>
1545
- <title translate="label">
1546
- <label>Title</label>
1547
- <frontend_type>text</frontend_type>
1548
- <config_path>payment/paymentgateway_mkbszep/title</config_path>
1549
- <sort_order>5</sort_order>
1550
- <show_in_default>1</show_in_default>
1551
- <show_in_website>1</show_in_website>
1552
- <show_in_store>1</show_in_store>
1553
- </title>
1554
- <mkbszepcafeteriaid translate="label">
1555
- <label>Available pocket</label>
1556
- <config_path>paymentgateway/paymentgateway_mkbszep/mkbszepcafeteriaid</config_path>
1557
- <frontend_type>select</frontend_type>
1558
- <source_model>paymentgateway/config::getMkbSzepCafeteriaId</source_model>
1559
- <sort_order>6</sort_order>
1560
- <show_in_default>1</show_in_default>
1561
- <show_in_website>1</show_in_website>
1562
- <show_in_store>0</show_in_store>
1563
- </mkbszepcafeteriaid>
1564
- <publickey translate="label">
1565
- <label>Public key</label>
1566
- <frontend_type>textarea</frontend_type>
1567
- <config_path>payment/paymentgateway_mkbszep/publickey</config_path>
1568
- <sort_order>7</sort_order>
1569
- <show_in_default>1</show_in_default>
1570
- <show_in_website>1</show_in_website>
1571
- <show_in_store>0</show_in_store>
1572
- </publickey>
1573
  <allowspecific translate="label">
1574
  <label>Payment from Applicable Countries</label>
1575
  <frontend_type>allowspecific</frontend_type>
1576
- <config_path>payment/paymentgateway_mkbszep/allowspecific</config_path>
1577
- <sort_order>8</sort_order>
1578
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1579
  <show_in_default>1</show_in_default>
1580
  <show_in_website>1</show_in_website>
@@ -1583,8 +1414,8 @@
1583
  <specificcountry translate="label">
1584
  <label>Payment from Specific Countries</label>
1585
  <frontend_type>multiselect</frontend_type>
1586
- <config_path>payment/paymentgateway_mkbszep/specificcountry</config_path>
1587
- <sort_order>9</sort_order>
1588
  <source_model>adminhtml/system_config_source_country</source_model>
1589
  <show_in_default>1</show_in_default>
1590
  <show_in_website>1</show_in_website>
@@ -1593,21 +1424,30 @@
1593
  <depends><allowspecific>1</allowspecific></depends>
1594
  </specificcountry>
1595
  </fields>
1596
- </paymentgateway_mkbszep>
1597
- <paymentgateway_otpszep translate="label">
1598
- <label><![CDATA[OTP SZÉP Card]]></label>
1599
  <frontend_type>text</frontend_type>
1600
- <sort_order>165</sort_order>
1601
  <show_in_default>1</show_in_default>
1602
  <show_in_website>1</show_in_website>
1603
  <show_in_store>1</show_in_store>
1604
  <fields>
 
 
 
 
 
 
 
 
 
1605
  <active translate="label">
1606
  <label>Enabled</label>
1607
  <frontend_type>select</frontend_type>
1608
- <config_path>payment/paymentgateway_otpszep/active</config_path>
1609
  <source_model>adminhtml/system_config_source_yesno</source_model>
1610
- <sort_order>1</sort_order>
1611
  <show_in_default>1</show_in_default>
1612
  <show_in_website>1</show_in_website>
1613
  <show_in_store>0</show_in_store>
@@ -1615,54 +1455,17 @@
1615
  <sort_order translate="label">
1616
  <label>Sort Order</label>
1617
  <frontend_type>text</frontend_type>
1618
- <config_path>payment/paymentgateway_otpszep/sort_order</config_path>
1619
  <sort_order>3</sort_order>
1620
  <show_in_default>1</show_in_default>
1621
  <show_in_website>1</show_in_website>
1622
  <show_in_store>1</show_in_store>
1623
  </sort_order>
1624
- <title translate="label">
1625
- <label>Title</label>
1626
- <frontend_type>text</frontend_type>
1627
- <config_path>payment/paymentgateway_otpszep/title</config_path>
1628
- <sort_order>5</sort_order>
1629
- <show_in_default>1</show_in_default>
1630
- <show_in_website>1</show_in_website>
1631
- <show_in_store>1</show_in_store>
1632
- </title>
1633
- <otpcardpocketid translate="label">
1634
- <label>Available pocket</label>
1635
- <config_path>paymentgateway/paymentgateway_otpszep/otpcardpocketid</config_path>
1636
- <frontend_type>select</frontend_type>
1637
- <source_model>paymentgateway/config::getOtpCardPocketId</source_model>
1638
- <sort_order>6</sort_order>
1639
- <show_in_default>1</show_in_default>
1640
- <show_in_website>1</show_in_website>
1641
- <show_in_store>0</show_in_store>
1642
- </otpcardpocketid>
1643
- <storenameotpszep translate="label">
1644
- <label>SZÉP Store name</label>
1645
- <frontend_type>text</frontend_type>
1646
- <config_path>paymentgateway/paymentgateway_otpszep/storenameotpszep</config_path>
1647
- <sort_order>7</sort_order>
1648
- <show_in_default>1</show_in_default>
1649
- <show_in_website>1</show_in_website>
1650
- <show_in_store>0</show_in_store>
1651
- </storenameotpszep>
1652
- <apikeyotpszep translate="label">
1653
- <label>SZÉP API key</label>
1654
- <frontend_type>text</frontend_type>
1655
- <config_path>paymentgateway/paymentgateway_otpszep/apikeyotpszep</config_path>
1656
- <sort_order>8</sort_order>
1657
- <show_in_default>1</show_in_default>
1658
- <show_in_website>1</show_in_website>
1659
- <show_in_store>0</show_in_store>
1660
- </apikeyotpszep>
1661
  <allowspecific translate="label">
1662
  <label>Payment from Applicable Countries</label>
1663
  <frontend_type>allowspecific</frontend_type>
1664
- <config_path>payment/paymentgateway_otpszep/allowspecific</config_path>
1665
- <sort_order>9</sort_order>
1666
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1667
  <show_in_default>1</show_in_default>
1668
  <show_in_website>1</show_in_website>
@@ -1671,8 +1474,8 @@
1671
  <specificcountry translate="label">
1672
  <label>Payment from Specific Countries</label>
1673
  <frontend_type>multiselect</frontend_type>
1674
- <config_path>payment/paymentgateway_otpszep/specificcountry</config_path>
1675
- <sort_order>10</sort_order>
1676
  <source_model>adminhtml/system_config_source_country</source_model>
1677
  <show_in_default>1</show_in_default>
1678
  <show_in_website>1</show_in_website>
@@ -1681,21 +1484,30 @@
1681
  <depends><allowspecific>1</allowspecific></depends>
1682
  </specificcountry>
1683
  </fields>
1684
- </paymentgateway_otpszep>
1685
- <paymentgateway_payu2 translate="label">
1686
- <label><![CDATA[PayU2]]></label>
1687
  <frontend_type>text</frontend_type>
1688
  <sort_order>250</sort_order>
1689
  <show_in_default>1</show_in_default>
1690
  <show_in_website>1</show_in_website>
1691
  <show_in_store>1</show_in_store>
1692
  <fields>
 
 
 
 
 
 
 
 
 
1693
  <active translate="label">
1694
  <label>Enabled</label>
1695
  <frontend_type>select</frontend_type>
1696
- <config_path>payment/paymentgateway_payu2/active</config_path>
1697
  <source_model>adminhtml/system_config_source_yesno</source_model>
1698
- <sort_order>1</sort_order>
1699
  <show_in_default>1</show_in_default>
1700
  <show_in_website>1</show_in_website>
1701
  <show_in_store>0</show_in_store>
@@ -1703,26 +1515,17 @@
1703
  <sort_order translate="label">
1704
  <label>Sort Order</label>
1705
  <frontend_type>text</frontend_type>
1706
- <config_path>payment/paymentgateway_payu2/sort_order</config_path>
1707
  <sort_order>3</sort_order>
1708
  <show_in_default>1</show_in_default>
1709
  <show_in_website>1</show_in_website>
1710
  <show_in_store>1</show_in_store>
1711
  </sort_order>
1712
- <title translate="label">
1713
- <label>Title</label>
1714
- <frontend_type>text</frontend_type>
1715
- <config_path>payment/paymentgateway_payu2/title</config_path>
1716
- <sort_order>5</sort_order>
1717
- <show_in_default>1</show_in_default>
1718
- <show_in_website>1</show_in_website>
1719
- <show_in_store>1</show_in_store>
1720
- </title>
1721
  <allowspecific translate="label">
1722
  <label>Payment from Applicable Countries</label>
1723
  <frontend_type>allowspecific</frontend_type>
1724
- <config_path>payment/paymentgateway_payu2/allowspecific</config_path>
1725
- <sort_order>6</sort_order>
1726
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1727
  <show_in_default>1</show_in_default>
1728
  <show_in_website>1</show_in_website>
@@ -1731,8 +1534,8 @@
1731
  <specificcountry translate="label">
1732
  <label>Payment from Specific Countries</label>
1733
  <frontend_type>multiselect</frontend_type>
1734
- <config_path>payment/paymentgateway_payu2/specificcountry</config_path>
1735
- <sort_order>7</sort_order>
1736
  <source_model>adminhtml/system_config_source_country</source_model>
1737
  <show_in_default>1</show_in_default>
1738
  <show_in_website>1</show_in_website>
@@ -1740,8 +1543,74 @@
1740
  <can_be_empty>1</can_be_empty>
1741
  <depends><allowspecific>1</allowspecific></depends>
1742
  </specificcountry>
 
 
 
 
 
 
 
 
 
 
1743
  </fields>
1744
- </paymentgateway_payu2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1745
  </groups>
1746
  </paymentgateway>
1747
  </sections>
56
  </useapi>
57
  </fields>
58
  </settings>
59
+ <paymentgateway_abaqoos translate="label">
60
+ <label><![CDATA[Abaqoos]]></label>
61
  <frontend_type>text</frontend_type>
62
+ <sort_order>20</sort_order>
63
  <show_in_default>1</show_in_default>
64
  <show_in_website>1</show_in_website>
65
  <show_in_store>1</show_in_store>
66
  <fields>
67
+ <title translate="label">
68
+ <label>Title</label>
69
+ <frontend_type>text</frontend_type>
70
+ <config_path>payment/paymentgateway_abaqoos/title</config_path>
71
+ <sort_order>1</sort_order>
72
+ <show_in_default>1</show_in_default>
73
+ <show_in_website>1</show_in_website>
74
+ <show_in_store>1</show_in_store>
75
+ </title>
76
  <active translate="label">
77
  <label>Enabled</label>
78
  <frontend_type>select</frontend_type>
79
+ <config_path>payment/paymentgateway_abaqoos/active</config_path>
80
  <source_model>adminhtml/system_config_source_yesno</source_model>
81
+ <sort_order>2</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
84
  <show_in_store>0</show_in_store>
86
  <sort_order translate="label">
87
  <label>Sort Order</label>
88
  <frontend_type>text</frontend_type>
89
+ <config_path>payment/paymentgateway_abaqoos/sort_order</config_path>
90
  <sort_order>3</sort_order>
91
  <show_in_default>1</show_in_default>
92
  <show_in_website>1</show_in_website>
93
  <show_in_store>1</show_in_store>
94
  </sort_order>
 
 
 
 
 
 
 
 
 
95
  <allowspecific translate="label">
96
  <label>Payment from Applicable Countries</label>
97
  <frontend_type>allowspecific</frontend_type>
98
+ <config_path>payment/paymentgateway_abaqoos/allowspecific</config_path>
99
+ <sort_order>4</sort_order>
100
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
101
  <show_in_default>1</show_in_default>
102
  <show_in_website>1</show_in_website>
105
  <specificcountry translate="label">
106
  <label>Payment from Specific Countries</label>
107
  <frontend_type>multiselect</frontend_type>
108
+ <config_path>payment/paymentgateway_abaqoos/specificcountry</config_path>
109
+ <sort_order>5</sort_order>
110
  <source_model>adminhtml/system_config_source_country</source_model>
111
  <show_in_default>1</show_in_default>
112
  <show_in_website>1</show_in_website>
115
  <depends><allowspecific>1</allowspecific></depends>
116
  </specificcountry>
117
  </fields>
118
+ </paymentgateway_abaqoos>
119
+ <paymentgateway_borgun translate="label">
120
+ <label><![CDATA[Borgun]]></label>
121
  <frontend_type>text</frontend_type>
122
+ <sort_order>30</sort_order>
123
  <show_in_default>1</show_in_default>
124
  <show_in_website>1</show_in_website>
125
  <show_in_store>1</show_in_store>
126
  <fields>
127
+ <title translate="label">
128
+ <label>Title</label>
129
+ <frontend_type>text</frontend_type>
130
+ <config_path>payment/paymentgateway_borgun/title</config_path>
131
+ <sort_order>1</sort_order>
132
+ <show_in_default>1</show_in_default>
133
+ <show_in_website>1</show_in_website>
134
+ <show_in_store>1</show_in_store>
135
+ </title>
136
  <active translate="label">
137
  <label>Enabled</label>
138
  <frontend_type>select</frontend_type>
139
+ <config_path>payment/paymentgateway_borgun/active</config_path>
140
  <source_model>adminhtml/system_config_source_yesno</source_model>
141
+ <sort_order>2</sort_order>
142
  <show_in_default>1</show_in_default>
143
  <show_in_website>1</show_in_website>
144
  <show_in_store>0</show_in_store>
146
  <sort_order translate="label">
147
  <label>Sort Order</label>
148
  <frontend_type>text</frontend_type>
149
+ <config_path>payment/paymentgateway_borgun/sort_order</config_path>
150
  <sort_order>3</sort_order>
151
  <show_in_default>1</show_in_default>
152
  <show_in_website>1</show_in_website>
153
  <show_in_store>1</show_in_store>
154
  </sort_order>
 
 
 
 
 
 
 
 
 
155
  <allowspecific translate="label">
156
  <label>Payment from Applicable Countries</label>
157
  <frontend_type>allowspecific</frontend_type>
158
+ <config_path>payment/paymentgateway_borgun/allowspecific</config_path>
159
+ <sort_order>4</sort_order>
160
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
161
  <show_in_default>1</show_in_default>
162
  <show_in_website>1</show_in_website>
165
  <specificcountry translate="label">
166
  <label>Payment from Specific Countries</label>
167
  <frontend_type>multiselect</frontend_type>
168
+ <config_path>payment/paymentgateway_borgun/specificcountry</config_path>
169
+ <sort_order>5</sort_order>
170
  <source_model>adminhtml/system_config_source_country</source_model>
171
  <show_in_default>1</show_in_default>
172
  <show_in_website>1</show_in_website>
175
  <depends><allowspecific>1</allowspecific></depends>
176
  </specificcountry>
177
  </fields>
178
+ </paymentgateway_borgun>
179
+ <paymentgateway_cib translate="label">
180
+ <label>CIB Bank</label>
181
  <frontend_type>text</frontend_type>
182
+ <sort_order>40</sort_order>
183
  <show_in_default>1</show_in_default>
184
  <show_in_website>1</show_in_website>
185
  <show_in_store>1</show_in_store>
186
  <fields>
187
+ <title translate="label">
188
+ <label>Title</label>
189
+ <frontend_type>text</frontend_type>
190
+ <config_path>payment/paymentgateway_cib/title</config_path>
191
+ <sort_order>1</sort_order>
192
+ <show_in_default>1</show_in_default>
193
+ <show_in_website>1</show_in_website>
194
+ <show_in_store>1</show_in_store>
195
+ </title>
196
  <active translate="label">
197
  <label>Enabled</label>
198
  <frontend_type>select</frontend_type>
199
+ <config_path>payment/paymentgateway_cib/active</config_path>
200
  <source_model>adminhtml/system_config_source_yesno</source_model>
201
+ <sort_order>2</sort_order>
202
  <show_in_default>1</show_in_default>
203
  <show_in_website>1</show_in_website>
204
  <show_in_store>0</show_in_store>
206
  <sort_order translate="label">
207
  <label>Sort Order</label>
208
  <frontend_type>text</frontend_type>
209
+ <config_path>payment/paymentgateway_cib/sort_order</config_path>
210
  <sort_order>3</sort_order>
211
  <show_in_default>1</show_in_default>
212
  <show_in_website>1</show_in_website>
213
  <show_in_store>1</show_in_store>
214
  </sort_order>
 
 
 
 
 
 
 
 
 
215
  <allowspecific translate="label">
216
  <label>Payment from Applicable Countries</label>
217
  <frontend_type>allowspecific</frontend_type>
218
+ <config_path>payment/paymentgateway_cib/allowspecific</config_path>
219
+ <sort_order>4</sort_order>
220
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
221
  <show_in_default>1</show_in_default>
222
  <show_in_website>1</show_in_website>
225
  <specificcountry translate="label">
226
  <label>Payment from Specific Countries</label>
227
  <frontend_type>multiselect</frontend_type>
228
+ <config_path>payment/paymentgateway_cib/specificcountry</config_path>
229
+ <sort_order>5</sort_order>
230
  <source_model>adminhtml/system_config_source_country</source_model>
231
  <show_in_default>1</show_in_default>
232
  <show_in_website>1</show_in_website>
235
  <depends><allowspecific>1</allowspecific></depends>
236
  </specificcountry>
237
  </fields>
238
+ </paymentgateway_cib>
239
+ <paymentgateway_escalion translate="label">
240
+ <label><![CDATA[Escalion]]></label>
241
  <frontend_type>text</frontend_type>
242
+ <sort_order>50</sort_order>
243
+ <show_in_default>1</show_in_default>
244
+ <show_in_website>1</show_in_website>
245
+ <show_in_store>1</show_in_store>
246
  <fields>
247
+ <title translate="label">
248
+ <label>Title</label>
249
+ <frontend_type>text</frontend_type>
250
+ <config_path>payment/paymentgateway_escalion/title</config_path>
251
+ <sort_order>1</sort_order>
252
+ <show_in_default>1</show_in_default>
253
+ <show_in_website>1</show_in_website>
254
+ <show_in_store>1</show_in_store>
255
+ </title>
256
  <active translate="label">
257
  <label>Enabled</label>
258
  <frontend_type>select</frontend_type>
259
+ <config_path>payment/paymentgateway_escalion/active</config_path>
260
  <source_model>adminhtml/system_config_source_yesno</source_model>
261
+ <sort_order>2</sort_order>
262
  <show_in_default>1</show_in_default>
263
  <show_in_website>1</show_in_website>
264
  <show_in_store>0</show_in_store>
266
  <sort_order translate="label">
267
  <label>Sort Order</label>
268
  <frontend_type>text</frontend_type>
269
+ <config_path>payment/paymentgateway_escalion/sort_order</config_path>
270
  <sort_order>3</sort_order>
271
  <show_in_default>1</show_in_default>
272
  <show_in_website>1</show_in_website>
273
  <show_in_store>1</show_in_store>
274
  </sort_order>
 
 
 
 
 
 
 
 
 
275
  <allowspecific translate="label">
276
  <label>Payment from Applicable Countries</label>
277
  <frontend_type>allowspecific</frontend_type>
278
+ <config_path>payment/paymentgateway_escalion/allowspecific</config_path>
279
+ <sort_order>4</sort_order>
280
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
281
  <show_in_default>1</show_in_default>
282
  <show_in_website>1</show_in_website>
285
  <specificcountry translate="label">
286
  <label>Payment from Specific Countries</label>
287
  <frontend_type>multiselect</frontend_type>
288
+ <config_path>payment/paymentgateway_escalion/specificcountry</config_path>
289
+ <sort_order>5</sort_order>
290
  <source_model>adminhtml/system_config_source_country</source_model>
291
  <show_in_default>1</show_in_default>
292
  <show_in_website>1</show_in_website>
294
  <can_be_empty>1</can_be_empty>
295
  <depends><allowspecific>1</allowspecific></depends>
296
  </specificcountry>
297
+ <oneclickpayment translate="label">
298
+ <label>One Click Payment</label>
299
+ <frontend_type>select</frontend_type>
300
+ <config_path>payment/paymentgateway_escalion/one_click_payment</config_path>
301
+ <sort_order>8</sort_order>
302
+ <source_model>adminhtml/system_config_source_yesno</source_model>
303
+ <show_in_default>1</show_in_default>
304
+ <show_in_website>1</show_in_website>
305
+ <show_in_store>0</show_in_store>
306
+ </oneclickpayment>
307
  </fields>
308
+ </paymentgateway_escalion>
309
+ <paymentgateway_fhb translate="label">
310
+ <label>FHB Bank</label>
311
  <frontend_type>text</frontend_type>
312
+ <sort_order>60</sort_order>
313
+ <show_in_default>1</show_in_default>
314
+ <show_in_website>1</show_in_website>
315
+ <show_in_store>1</show_in_store>
316
  <fields>
317
+ <title translate="label">
318
+ <label>Title</label>
319
+ <frontend_type>text</frontend_type>
320
+ <config_path>payment/paymentgateway_fhb/title</config_path>
321
+ <sort_order>1</sort_order>
322
+ <show_in_default>1</show_in_default>
323
+ <show_in_website>1</show_in_website>
324
+ <show_in_store>1</show_in_store>
325
+ </title>
326
  <active translate="label">
327
  <label>Enabled</label>
328
  <frontend_type>select</frontend_type>
329
+ <config_path>payment/paymentgateway_fhb/active</config_path>
330
  <source_model>adminhtml/system_config_source_yesno</source_model>
331
+ <sort_order>2</sort_order>
332
  <show_in_default>1</show_in_default>
333
  <show_in_website>1</show_in_website>
334
  <show_in_store>0</show_in_store>
336
  <sort_order translate="label">
337
  <label>Sort Order</label>
338
  <frontend_type>text</frontend_type>
339
+ <config_path>payment/paymentgateway_fhb/sort_order</config_path>
340
  <sort_order>3</sort_order>
341
  <show_in_default>1</show_in_default>
342
  <show_in_website>1</show_in_website>
343
  <show_in_store>1</show_in_store>
344
  </sort_order>
 
 
 
 
 
 
 
 
 
345
  <allowspecific translate="label">
346
  <label>Payment from Applicable Countries</label>
347
  <frontend_type>allowspecific</frontend_type>
348
+ <config_path>payment/paymentgateway_fhb/allowspecific</config_path>
349
+ <sort_order>4</sort_order>
350
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
351
  <show_in_default>1</show_in_default>
352
  <show_in_website>1</show_in_website>
355
  <specificcountry translate="label">
356
  <label>Payment from Specific Countries</label>
357
  <frontend_type>multiselect</frontend_type>
358
+ <config_path>payment/paymentgateway_fhb/specificcountry</config_path>
359
+ <sort_order>5</sort_order>
360
  <source_model>adminhtml/system_config_source_country</source_model>
361
  <show_in_default>1</show_in_default>
362
  <show_in_website>1</show_in_website>
365
  <depends><allowspecific>1</allowspecific></depends>
366
  </specificcountry>
367
  </fields>
368
+ </paymentgateway_fhb>
369
+ <paymentgateway_khb translate="label">
370
+ <label><![CDATA[K&H Bank]]></label>
371
  <frontend_type>text</frontend_type>
372
+ <sort_order>70</sort_order>
373
+ <show_in_default>1</show_in_default>
374
+ <show_in_website>1</show_in_website>
375
+ <show_in_store>1</show_in_store>
376
  <fields>
377
+ <title translate="label">
378
+ <label>Title</label>
379
+ <frontend_type>text</frontend_type>
380
+ <config_path>payment/paymentgateway_khb/title</config_path>
381
+ <sort_order>1</sort_order>
382
+ <show_in_default>1</show_in_default>
383
+ <show_in_website>1</show_in_website>
384
+ <show_in_store>1</show_in_store>
385
+ </title>
386
  <active translate="label">
387
  <label>Enabled</label>
388
  <frontend_type>select</frontend_type>
389
+ <config_path>payment/paymentgateway_khb/active</config_path>
390
  <source_model>adminhtml/system_config_source_yesno</source_model>
391
+ <sort_order>2</sort_order>
392
  <show_in_default>1</show_in_default>
393
  <show_in_website>1</show_in_website>
394
  <show_in_store>0</show_in_store>
396
  <sort_order translate="label">
397
  <label>Sort Order</label>
398
  <frontend_type>text</frontend_type>
399
+ <config_path>payment/paymentgateway_khb/sort_order</config_path>
400
  <sort_order>3</sort_order>
401
  <show_in_default>1</show_in_default>
402
  <show_in_website>1</show_in_website>
403
  <show_in_store>1</show_in_store>
404
  </sort_order>
 
 
 
 
 
 
 
 
 
405
  <allowspecific translate="label">
406
  <label>Payment from Applicable Countries</label>
407
  <frontend_type>allowspecific</frontend_type>
408
+ <config_path>payment/paymentgateway_khb/allowspecific</config_path>
409
+ <sort_order>4</sort_order>
410
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
411
  <show_in_default>1</show_in_default>
412
  <show_in_website>1</show_in_website>
415
  <specificcountry translate="label">
416
  <label>Payment from Specific Countries</label>
417
  <frontend_type>multiselect</frontend_type>
418
+ <config_path>payment/paymentgateway_khb/specificcountry</config_path>
419
+ <sort_order>5</sort_order>
420
  <source_model>adminhtml/system_config_source_country</source_model>
421
  <show_in_default>1</show_in_default>
422
  <show_in_website>1</show_in_website>
425
  <depends><allowspecific>1</allowspecific></depends>
426
  </specificcountry>
427
  </fields>
428
+ </paymentgateway_khb>
429
+ <paymentgateway_khbszep translate="label">
430
+ <label><![CDATA[K&H SZÉP Card]]></label>
431
  <frontend_type>text</frontend_type>
432
+ <sort_order>80</sort_order>
433
  <show_in_default>1</show_in_default>
434
  <show_in_website>1</show_in_website>
435
  <show_in_store>1</show_in_store>
436
  <fields>
437
+ <title translate="label">
438
+ <label>Title</label>
439
+ <frontend_type>text</frontend_type>
440
+ <config_path>payment/paymentgateway_khbszep/title</config_path>
 
441
  <sort_order>1</sort_order>
442
  <show_in_default>1</show_in_default>
443
  <show_in_website>1</show_in_website>
444
+ <show_in_store>1</show_in_store>
445
+ </title>
446
+ <active translate="label">
447
+ <label>Enabled</label>
448
+ <frontend_type>select</frontend_type>
449
+ <config_path>payment/paymentgateway_khbszep/active</config_path>
450
+ <source_model>adminhtml/system_config_source_yesno</source_model>
451
+ <sort_order>2</sort_order>
452
+ <show_in_default>1</show_in_default>
453
+ <show_in_website>1</show_in_website>
454
  <show_in_store>0</show_in_store>
455
  </active>
456
  <sort_order translate="label">
457
  <label>Sort Order</label>
458
  <frontend_type>text</frontend_type>
459
+ <config_path>payment/paymentgateway_khbszep/sort_order</config_path>
460
  <sort_order>3</sort_order>
461
  <show_in_default>1</show_in_default>
462
  <show_in_website>1</show_in_website>
463
  <show_in_store>1</show_in_store>
464
  </sort_order>
 
 
 
 
 
 
 
 
 
465
  <allowspecific translate="label">
466
  <label>Payment from Applicable Countries</label>
467
  <frontend_type>allowspecific</frontend_type>
468
+ <config_path>payment/paymentgateway_khbszep/allowspecific</config_path>
469
+ <sort_order>4</sort_order>
470
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
471
  <show_in_default>1</show_in_default>
472
  <show_in_website>1</show_in_website>
475
  <specificcountry translate="label">
476
  <label>Payment from Specific Countries</label>
477
  <frontend_type>multiselect</frontend_type>
478
+ <config_path>payment/paymentgateway_khbszep/specificcountry</config_path>
479
+ <sort_order>5</sort_order>
480
  <source_model>adminhtml/system_config_source_country</source_model>
481
  <show_in_default>1</show_in_default>
482
  <show_in_website>1</show_in_website>
484
  <can_be_empty>1</can_be_empty>
485
  <depends><allowspecific>1</allowspecific></depends>
486
  </specificcountry>
487
+ <khbcardpocketid translate="label">
488
+ <label>Available pocket</label>
489
+ <config_path>paymentgateway/paymentgateway_khbszep/khbcardpocketid</config_path>
490
+ <frontend_type>select</frontend_type>
491
+ <source_model>paymentgateway/config::getKhbCardPocketId</source_model>
492
+ <sort_order>6</sort_order>
493
+ <show_in_default>1</show_in_default>
494
+ <show_in_website>1</show_in_website>
495
+ <show_in_store>0</show_in_store>
496
+ </khbcardpocketid>
497
  </fields>
498
+ </paymentgateway_khbszep>
499
+ <paymentgateway_mkbszep translate="label">
500
+ <label><![CDATA[MKB SZÉP Card]]></label>
501
  <frontend_type>text</frontend_type>
502
+ <sort_order>100</sort_order>
503
  <show_in_default>1</show_in_default>
504
  <show_in_website>1</show_in_website>
505
  <show_in_store>1</show_in_store>
506
  <fields>
507
+ <title translate="label">
508
+ <label>Title</label>
509
+ <frontend_type>text</frontend_type>
510
+ <config_path>payment/paymentgateway_mkbszep/title</config_path>
511
+ <sort_order>1</sort_order>
512
+ <show_in_default>1</show_in_default>
513
+ <show_in_website>1</show_in_website>
514
+ <show_in_store>1</show_in_store>
515
+ </title>
516
  <active translate="label">
517
  <label>Enabled</label>
518
  <frontend_type>select</frontend_type>
519
+ <config_path>payment/paymentgateway_mkbszep/active</config_path>
520
  <source_model>adminhtml/system_config_source_yesno</source_model>
521
+ <sort_order>2</sort_order>
522
  <show_in_default>1</show_in_default>
523
  <show_in_website>1</show_in_website>
524
  <show_in_store>0</show_in_store>
526
  <sort_order translate="label">
527
  <label>Sort Order</label>
528
  <frontend_type>text</frontend_type>
529
+ <config_path>payment/paymentgateway_mkbszep/sort_order</config_path>
530
  <sort_order>3</sort_order>
531
  <show_in_default>1</show_in_default>
532
  <show_in_website>1</show_in_website>
533
  <show_in_store>1</show_in_store>
534
  </sort_order>
 
 
 
 
 
 
 
 
 
535
  <allowspecific translate="label">
536
  <label>Payment from Applicable Countries</label>
537
  <frontend_type>allowspecific</frontend_type>
538
+ <config_path>payment/paymentgateway_mkbszep/allowspecific</config_path>
539
+ <sort_order>4</sort_order>
540
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
541
  <show_in_default>1</show_in_default>
542
  <show_in_website>1</show_in_website>
545
  <specificcountry translate="label">
546
  <label>Payment from Specific Countries</label>
547
  <frontend_type>multiselect</frontend_type>
548
+ <config_path>payment/paymentgateway_mkbszep/specificcountry</config_path>
549
+ <sort_order>5</sort_order>
550
  <source_model>adminhtml/system_config_source_country</source_model>
551
  <show_in_default>1</show_in_default>
552
  <show_in_website>1</show_in_website>
554
  <can_be_empty>1</can_be_empty>
555
  <depends><allowspecific>1</allowspecific></depends>
556
  </specificcountry>
557
+ <mkbszepcafeteriaid translate="label">
558
+ <label>Available pocket</label>
559
+ <config_path>paymentgateway/paymentgateway_mkbszep/mkbszepcafeteriaid</config_path>
560
+ <frontend_type>select</frontend_type>
561
+ <source_model>paymentgateway/config::getMkbSzepCafeteriaId</source_model>
562
+ <sort_order>6</sort_order>
563
+ <show_in_default>1</show_in_default>
564
+ <show_in_website>1</show_in_website>
565
+ <show_in_store>0</show_in_store>
566
+ </mkbszepcafeteriaid>
567
  </fields>
568
+ </paymentgateway_mkbszep>
569
+ <paymentgateway_otp translate="label">
570
+ <label><![CDATA[OTP Bank]]></label>
571
  <frontend_type>text</frontend_type>
572
+ <sort_order>110</sort_order>
573
  <show_in_default>1</show_in_default>
574
  <show_in_website>1</show_in_website>
575
  <show_in_store>1</show_in_store>
576
  <fields>
577
+ <title translate="label">
578
+ <label>Title</label>
579
+ <frontend_type>text</frontend_type>
580
+ <config_path>payment/paymentgateway_otp/title</config_path>
581
+ <sort_order>1</sort_order>
582
+ <show_in_default>1</show_in_default>
583
+ <show_in_website>1</show_in_website>
584
+ <show_in_store>1</show_in_store>
585
+ </title>
586
  <active translate="label">
587
  <label>Enabled</label>
588
  <frontend_type>select</frontend_type>
589
+ <config_path>payment/paymentgateway_otp/active</config_path>
590
  <source_model>adminhtml/system_config_source_yesno</source_model>
 
 
 
 
 
 
 
 
 
591
  <sort_order>2</sort_order>
592
  <show_in_default>1</show_in_default>
593
  <show_in_website>1</show_in_website>
594
  <show_in_store>0</show_in_store>
595
+ </active>
596
  <sort_order translate="label">
597
  <label>Sort Order</label>
598
  <frontend_type>text</frontend_type>
599
+ <config_path>payment/paymentgateway_otp/sort_order</config_path>
600
  <sort_order>3</sort_order>
601
  <show_in_default>1</show_in_default>
602
  <show_in_website>1</show_in_website>
603
  <show_in_store>1</show_in_store>
604
  </sort_order>
 
 
 
 
 
 
 
 
 
605
  <allowspecific translate="label">
606
  <label>Payment from Applicable Countries</label>
607
  <frontend_type>allowspecific</frontend_type>
608
+ <config_path>payment/paymentgateway_otp/allowspecific</config_path>
609
+ <sort_order>4</sort_order>
610
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
611
  <show_in_default>1</show_in_default>
612
  <show_in_website>1</show_in_website>
615
  <specificcountry translate="label">
616
  <label>Payment from Specific Countries</label>
617
  <frontend_type>multiselect</frontend_type>
618
+ <config_path>payment/paymentgateway_otp/specificcountry</config_path>
619
+ <sort_order>5</sort_order>
620
  <source_model>adminhtml/system_config_source_country</source_model>
621
  <show_in_default>1</show_in_default>
622
  <show_in_website>1</show_in_website>
625
  <depends><allowspecific>1</allowspecific></depends>
626
  </specificcountry>
627
  </fields>
628
+ </paymentgateway_otp>
629
+ <paymentgateway_otp2 translate="label">
630
+ <label>OTP Bank (Two-way)</label>
631
  <frontend_type>text</frontend_type>
632
+ <sort_order>120</sort_order>
633
  <show_in_default>1</show_in_default>
634
  <show_in_website>1</show_in_website>
635
  <show_in_store>1</show_in_store>
636
  <fields>
637
+ <title translate="label">
638
+ <label>Title</label>
639
+ <frontend_type>text</frontend_type>
640
+ <config_path>payment/paymentgateway_otp2/title</config_path>
641
+ <sort_order>1</sort_order>
642
+ <show_in_default>1</show_in_default>
643
+ <show_in_website>1</show_in_website>
644
+ <show_in_store>1</show_in_store>
645
+ </title>
646
  <active translate="label">
647
  <label>Enabled</label>
648
  <frontend_type>select</frontend_type>
649
+ <config_path>payment/paymentgateway_otp2/active</config_path>
650
  <source_model>adminhtml/system_config_source_yesno</source_model>
651
+ <sort_order>2</sort_order>
652
  <show_in_default>1</show_in_default>
653
  <show_in_website>1</show_in_website>
654
  <show_in_store>0</show_in_store>
656
  <sort_order translate="label">
657
  <label>Sort Order</label>
658
  <frontend_type>text</frontend_type>
659
+ <config_path>payment/paymentgateway_otp2/sort_order</config_path>
660
  <sort_order>3</sort_order>
661
  <show_in_default>1</show_in_default>
662
  <show_in_website>1</show_in_website>
663
  <show_in_store>1</show_in_store>
664
  </sort_order>
 
 
 
 
 
 
 
 
 
665
  <allowspecific translate="label">
666
  <label>Payment from Applicable Countries</label>
667
  <frontend_type>allowspecific</frontend_type>
668
+ <config_path>payment/paymentgateway_otp2/allowspecific</config_path>
669
+ <sort_order>4</sort_order>
670
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
671
  <show_in_default>1</show_in_default>
672
  <show_in_website>1</show_in_website>
675
  <specificcountry translate="label">
676
  <label>Payment from Specific Countries</label>
677
  <frontend_type>multiselect</frontend_type>
678
+ <config_path>payment/paymentgateway_otp2/specificcountry</config_path>
679
+ <sort_order>5</sort_order>
680
  <source_model>adminhtml/system_config_source_country</source_model>
681
  <show_in_default>1</show_in_default>
682
  <show_in_website>1</show_in_website>
684
  <can_be_empty>1</can_be_empty>
685
  <depends><allowspecific>1</allowspecific></depends>
686
  </specificcountry>
687
+ <publickey translate="label">
688
+ <label>Public key</label>
689
+ <frontend_type>textarea</frontend_type>
690
+ <config_path>payment/paymentgateway_otp2/publickey</config_path>
691
+ <sort_order>6</sort_order>
692
+ <show_in_default>1</show_in_default>
693
+ <show_in_website>1</show_in_website>
694
+ <show_in_store>0</show_in_store>
695
+ </publickey>
696
  </fields>
697
+ </paymentgateway_otp2>
698
+ <paymentgateway_otpay translate="label">
699
+ <label>OTPay</label>
700
  <frontend_type>text</frontend_type>
701
+ <sort_order>130</sort_order>
702
+ <show_in_default>1</show_in_default>
703
+ <show_in_website>1</show_in_website>
704
+ <show_in_store>1</show_in_store>
705
  <fields>
706
+ <title translate="label">
707
+ <label>Title</label>
708
+ <frontend_type>text</frontend_type>
709
+ <config_path>payment/paymentgateway_otpay/title</config_path>
710
+ <sort_order>1</sort_order>
711
+ <show_in_default>1</show_in_default>
712
+ <show_in_website>1</show_in_website>
713
+ <show_in_store>1</show_in_store>
714
+ </title>
715
  <active translate="label">
716
  <label>Enabled</label>
717
  <frontend_type>select</frontend_type>
718
+ <config_path>payment/paymentgateway_otpay/active</config_path>
719
  <source_model>adminhtml/system_config_source_yesno</source_model>
720
+ <sort_order>2</sort_order>
721
  <show_in_default>1</show_in_default>
722
  <show_in_website>1</show_in_website>
723
  <show_in_store>0</show_in_store>
725
  <sort_order translate="label">
726
  <label>Sort Order</label>
727
  <frontend_type>text</frontend_type>
728
+ <config_path>payment/paymentgateway_otpay/sort_order</config_path>
729
  <sort_order>3</sort_order>
730
  <show_in_default>1</show_in_default>
731
  <show_in_website>1</show_in_website>
732
  <show_in_store>1</show_in_store>
733
  </sort_order>
 
 
 
 
 
 
 
 
 
734
  <allowspecific translate="label">
735
  <label>Payment from Applicable Countries</label>
736
  <frontend_type>allowspecific</frontend_type>
737
+ <config_path>payment/paymentgateway_otpay/allowspecific</config_path>
738
+ <sort_order>4</sort_order>
739
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
740
  <show_in_default>1</show_in_default>
741
  <show_in_website>1</show_in_website>
744
  <specificcountry translate="label">
745
  <label>Payment from Specific Countries</label>
746
  <frontend_type>multiselect</frontend_type>
747
+ <config_path>payment/paymentgateway_otpay/specificcountry</config_path>
748
+ <sort_order>5</sort_order>
749
  <source_model>adminhtml/system_config_source_country</source_model>
750
  <show_in_default>1</show_in_default>
751
  <show_in_website>1</show_in_website>
754
  <depends><allowspecific>1</allowspecific></depends>
755
  </specificcountry>
756
  </fields>
757
+ </paymentgateway_otpay>
758
+ <paymentgateway_otpaymp translate="label">
759
+ <label>MasterPass</label>
760
  <frontend_type>text</frontend_type>
761
+ <sort_order>140</sort_order>
762
+ <show_in_default>1</show_in_default>
763
+ <show_in_website>1</show_in_website>
764
+ <show_in_store>1</show_in_store>
765
  <fields>
766
+ <title translate="label">
767
+ <label>Title</label>
768
+ <frontend_type>text</frontend_type>
769
+ <config_path>payment/paymentgateway_otpaymp/title</config_path>
770
+ <sort_order>1</sort_order>
771
+ <show_in_default>1</show_in_default>
772
+ <show_in_website>1</show_in_website>
773
+ <show_in_store>1</show_in_store>
774
+ </title>
775
  <active translate="label">
776
  <label>Enabled</label>
777
  <frontend_type>select</frontend_type>
778
+ <config_path>payment/paymentgateway_otpaymp/active</config_path>
779
  <source_model>adminhtml/system_config_source_yesno</source_model>
780
+ <sort_order>2</sort_order>
781
  <show_in_default>1</show_in_default>
782
  <show_in_website>1</show_in_website>
783
  <show_in_store>0</show_in_store>
785
  <sort_order translate="label">
786
  <label>Sort Order</label>
787
  <frontend_type>text</frontend_type>
788
+ <config_path>payment/paymentgateway_otpaymp/sort_order</config_path>
789
  <sort_order>3</sort_order>
790
  <show_in_default>1</show_in_default>
791
  <show_in_website>1</show_in_website>
792
  <show_in_store>1</show_in_store>
793
  </sort_order>
 
 
 
 
 
 
 
 
 
794
  <allowspecific translate="label">
795
  <label>Payment from Applicable Countries</label>
796
  <frontend_type>allowspecific</frontend_type>
797
+ <config_path>payment/paymentgateway_otpaymp/allowspecific</config_path>
798
+ <sort_order>4</sort_order>
799
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
800
  <show_in_default>1</show_in_default>
801
  <show_in_website>1</show_in_website>
804
  <specificcountry translate="label">
805
  <label>Payment from Specific Countries</label>
806
  <frontend_type>multiselect</frontend_type>
807
+ <config_path>payment/paymentgateway_otpaymp/specificcountry</config_path>
808
+ <sort_order>5</sort_order>
809
  <source_model>adminhtml/system_config_source_country</source_model>
810
  <show_in_default>1</show_in_default>
811
  <show_in_website>1</show_in_website>
814
  <depends><allowspecific>1</allowspecific></depends>
815
  </specificcountry>
816
  </fields>
817
+ </paymentgateway_otpaymp>
818
+ <paymentgateway_otpszep translate="label">
819
+ <label><![CDATA[OTP SZÉP Card]]></label>
820
  <frontend_type>text</frontend_type>
821
+ <sort_order>150</sort_order>
822
+ <show_in_default>1</show_in_default>
823
+ <show_in_website>1</show_in_website>
824
+ <show_in_store>1</show_in_store>
825
  <fields>
826
+ <title translate="label">
827
+ <label>Title</label>
828
+ <frontend_type>text</frontend_type>
829
+ <config_path>payment/paymentgateway_otpszep/title</config_path>
830
+ <sort_order>1</sort_order>
831
+ <show_in_default>1</show_in_default>
832
+ <show_in_website>1</show_in_website>
833
+ <show_in_store>1</show_in_store>
834
+ </title>
835
  <active translate="label">
836
  <label>Enabled</label>
837
  <frontend_type>select</frontend_type>
838
+ <config_path>payment/paymentgateway_otpszep/active</config_path>
839
  <source_model>adminhtml/system_config_source_yesno</source_model>
840
+ <sort_order>2</sort_order>
841
  <show_in_default>1</show_in_default>
842
  <show_in_website>1</show_in_website>
843
  <show_in_store>0</show_in_store>
845
  <sort_order translate="label">
846
  <label>Sort Order</label>
847
  <frontend_type>text</frontend_type>
848
+ <config_path>payment/paymentgateway_otpszep/sort_order</config_path>
849
  <sort_order>3</sort_order>
850
  <show_in_default>1</show_in_default>
851
  <show_in_website>1</show_in_website>
852
  <show_in_store>1</show_in_store>
853
  </sort_order>
 
 
 
 
 
 
 
 
 
854
  <allowspecific translate="label">
855
  <label>Payment from Applicable Countries</label>
856
  <frontend_type>allowspecific</frontend_type>
857
+ <config_path>payment/paymentgateway_otpszep/allowspecific</config_path>
858
+ <sort_order>4</sort_order>
859
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
860
  <show_in_default>1</show_in_default>
861
  <show_in_website>1</show_in_website>
864
  <specificcountry translate="label">
865
  <label>Payment from Specific Countries</label>
866
  <frontend_type>multiselect</frontend_type>
867
+ <config_path>payment/paymentgateway_otpszep/specificcountry</config_path>
868
+ <sort_order>5</sort_order>
869
  <source_model>adminhtml/system_config_source_country</source_model>
870
  <show_in_default>1</show_in_default>
871
  <show_in_website>1</show_in_website>
873
  <can_be_empty>1</can_be_empty>
874
  <depends><allowspecific>1</allowspecific></depends>
875
  </specificcountry>
876
+ <otpcardpocketid translate="label">
877
+ <label>Available pocket</label>
878
+ <config_path>paymentgateway/paymentgateway_otpszep/otpcardpocketid</config_path>
879
+ <frontend_type>select</frontend_type>
880
+ <source_model>paymentgateway/config::getOtpCardPocketId</source_model>
881
+ <sort_order>6</sort_order>
882
+ <show_in_default>1</show_in_default>
883
+ <show_in_website>1</show_in_website>
884
+ <show_in_store>0</show_in_store>
885
+ </otpcardpocketid>
886
+ <storenameotpszep translate="label">
887
+ <label>SZÉP Store name</label>
888
+ <frontend_type>text</frontend_type>
889
+ <config_path>paymentgateway/paymentgateway_otpszep/storenameotpszep</config_path>
890
+ <sort_order>7</sort_order>
891
+ <show_in_default>1</show_in_default>
892
+ <show_in_website>1</show_in_website>
893
+ <show_in_store>0</show_in_store>
894
+ </storenameotpszep>
895
+ <apikeyotpszep translate="label">
896
+ <label>SZÉP API key</label>
897
+ <frontend_type>text</frontend_type>
898
+ <config_path>paymentgateway/paymentgateway_otpszep/apikeyotpszep</config_path>
899
+ <sort_order>8</sort_order>
900
+ <show_in_default>1</show_in_default>
901
+ <show_in_website>1</show_in_website>
902
+ <show_in_store>0</show_in_store>
903
+ </apikeyotpszep>
904
  </fields>
905
+ </paymentgateway_otpszep>
906
+ <paymentgateway_otpmultipont translate="label">
907
+ <label>OTP Multipont</label>
908
  <frontend_type>text</frontend_type>
909
+ <sort_order>160</sort_order>
910
+ <show_in_default>1</show_in_default>
911
+ <show_in_website>1</show_in_website>
912
+ <show_in_store>1</show_in_store>
913
  <fields>
914
+ <title translate="label">
915
+ <label>Title</label>
916
+ <frontend_type>text</frontend_type>
917
+ <config_path>payment/paymentgateway_otpmultipont/title</config_path>
918
+ <sort_order>1</sort_order>
919
+ <show_in_default>1</show_in_default>
920
+ <show_in_website>1</show_in_website>
921
+ <show_in_store>1</show_in_store>
922
+ </title>
923
  <active translate="label">
924
  <label>Enabled</label>
925
  <frontend_type>select</frontend_type>
926
+ <config_path>payment/paymentgateway_otpmultipont/active</config_path>
927
  <source_model>adminhtml/system_config_source_yesno</source_model>
928
+ <sort_order>2</sort_order>
929
  <show_in_default>1</show_in_default>
930
  <show_in_website>1</show_in_website>
931
  <show_in_store>0</show_in_store>
933
  <sort_order translate="label">
934
  <label>Sort Order</label>
935
  <frontend_type>text</frontend_type>
936
+ <config_path>payment/paymentgateway_otpmultipont/sort_order</config_path>
937
  <sort_order>3</sort_order>
938
  <show_in_default>1</show_in_default>
939
  <show_in_website>1</show_in_website>
940
  <show_in_store>1</show_in_store>
941
  </sort_order>
 
 
 
 
 
 
 
 
 
942
  <allowspecific translate="label">
943
  <label>Payment from Applicable Countries</label>
944
  <frontend_type>allowspecific</frontend_type>
945
+ <config_path>payment/paymentgateway_otpmultipont/allowspecific</config_path>
946
+ <sort_order>4</sort_order>
947
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
948
  <show_in_default>1</show_in_default>
949
  <show_in_website>1</show_in_website>
952
  <specificcountry translate="label">
953
  <label>Payment from Specific Countries</label>
954
  <frontend_type>multiselect</frontend_type>
955
+ <config_path>payment/paymentgateway_otpmultipont/specificcountry</config_path>
956
+ <sort_order>5</sort_order>
957
  <source_model>adminhtml/system_config_source_country</source_model>
958
  <show_in_default>1</show_in_default>
959
  <show_in_website>1</show_in_website>
962
  <depends><allowspecific>1</allowspecific></depends>
963
  </specificcountry>
964
  </fields>
965
+ </paymentgateway_otpmultipont>
966
+ <paymentgateway_otpsimple translate="label">
967
+ <label><![CDATA[OTP Simple]]></label>
968
  <frontend_type>text</frontend_type>
969
+ <sort_order>170</sort_order>
970
  <show_in_default>1</show_in_default>
971
  <show_in_website>1</show_in_website>
972
  <show_in_store>1</show_in_store>
973
  <fields>
974
+ <title translate="label">
975
+ <label>Title</label>
976
+ <frontend_type>text</frontend_type>
977
+ <config_path>payment/paymentgateway_otpsimple/title</config_path>
978
+ <sort_order>1</sort_order>
979
+ <show_in_default>1</show_in_default>
980
+ <show_in_website>1</show_in_website>
981
+ <show_in_store>1</show_in_store>
982
+ </title>
983
  <active translate="label">
984
  <label>Enabled</label>
985
  <frontend_type>select</frontend_type>
986
+ <config_path>payment/paymentgateway_otpsimple/active</config_path>
987
  <source_model>adminhtml/system_config_source_yesno</source_model>
988
+ <sort_order>2</sort_order>
989
  <show_in_default>1</show_in_default>
990
  <show_in_website>1</show_in_website>
991
  <show_in_store>0</show_in_store>
993
  <sort_order translate="label">
994
  <label>Sort Order</label>
995
  <frontend_type>text</frontend_type>
996
+ <config_path>payment/paymentgateway_otpsimple/sort_order</config_path>
997
  <sort_order>3</sort_order>
998
  <show_in_default>1</show_in_default>
999
  <show_in_website>1</show_in_website>
1000
  <show_in_store>1</show_in_store>
1001
  </sort_order>
 
 
 
 
 
 
 
 
 
1002
  <allowspecific translate="label">
1003
  <label>Payment from Applicable Countries</label>
1004
  <frontend_type>allowspecific</frontend_type>
1005
+ <config_path>payment/paymentgateway_otpsimple/allowspecific</config_path>
1006
+ <sort_order>4</sort_order>
1007
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1008
  <show_in_default>1</show_in_default>
1009
  <show_in_website>1</show_in_website>
1012
  <specificcountry translate="label">
1013
  <label>Payment from Specific Countries</label>
1014
  <frontend_type>multiselect</frontend_type>
1015
+ <config_path>payment/paymentgateway_otpsimple/specificcountry</config_path>
1016
+ <sort_order>5</sort_order>
1017
  <source_model>adminhtml/system_config_source_country</source_model>
1018
  <show_in_default>1</show_in_default>
1019
  <show_in_website>1</show_in_website>
1021
  <can_be_empty>1</can_be_empty>
1022
  <depends><allowspecific>1</allowspecific></depends>
1023
  </specificcountry>
1024
+ <oneclickpayment translate="label">
1025
+ <label>One Click Payment</label>
1026
+ <frontend_type>select</frontend_type>
1027
+ <config_path>payment/paymentgateway_otpsimple/one_click_payment</config_path>
1028
+ <sort_order>6</sort_order>
1029
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1030
+ <show_in_default>1</show_in_default>
1031
+ <show_in_website>1</show_in_website>
1032
+ <show_in_store>0</show_in_store>
1033
+ </oneclickpayment>
1034
  </fields>
1035
+ </paymentgateway_otpsimple>
1036
+ <paymentgateway_otpsimplewire translate="label">
1037
+ <label><![CDATA[OTP Simple Wire]]></label>
1038
  <frontend_type>text</frontend_type>
1039
+ <sort_order>180</sort_order>
1040
  <show_in_default>1</show_in_default>
1041
  <show_in_website>1</show_in_website>
1042
  <show_in_store>1</show_in_store>
1043
  <fields>
1044
+ <title translate="label">
1045
+ <label>Title</label>
1046
+ <frontend_type>text</frontend_type>
1047
+ <config_path>payment/paymentgateway_otpsimplewire/title</config_path>
1048
+ <sort_order>1</sort_order>
1049
+ <show_in_default>1</show_in_default>
1050
+ <show_in_website>1</show_in_website>
1051
+ <show_in_store>1</show_in_store>
1052
+ </title>
1053
  <active translate="label">
1054
  <label>Enabled</label>
1055
  <frontend_type>select</frontend_type>
1056
+ <config_path>payment/paymentgateway_otpsimplewire/active</config_path>
1057
  <source_model>adminhtml/system_config_source_yesno</source_model>
1058
+ <sort_order>2</sort_order>
1059
  <show_in_default>1</show_in_default>
1060
  <show_in_website>1</show_in_website>
1061
  <show_in_store>0</show_in_store>
1063
  <sort_order translate="label">
1064
  <label>Sort Order</label>
1065
  <frontend_type>text</frontend_type>
1066
+ <config_path>payment/paymentgateway_otpsimplewire/sort_order</config_path>
1067
  <sort_order>3</sort_order>
1068
  <show_in_default>1</show_in_default>
1069
  <show_in_website>1</show_in_website>
1070
  <show_in_store>1</show_in_store>
1071
  </sort_order>
 
 
 
 
 
 
 
 
 
1072
  <allowspecific translate="label">
1073
  <label>Payment from Applicable Countries</label>
1074
  <frontend_type>allowspecific</frontend_type>
1075
+ <config_path>payment/paymentgateway_otpsimplewire/allowspecific</config_path>
1076
+ <sort_order>4</sort_order>
1077
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1078
  <show_in_default>1</show_in_default>
1079
  <show_in_website>1</show_in_website>
1082
  <specificcountry translate="label">
1083
  <label>Payment from Specific Countries</label>
1084
  <frontend_type>multiselect</frontend_type>
1085
+ <config_path>payment/paymentgateway_otpsimplewire/specificcountry</config_path>
1086
+ <sort_order>5</sort_order>
1087
  <source_model>adminhtml/system_config_source_country</source_model>
1088
  <show_in_default>1</show_in_default>
1089
  <show_in_website>1</show_in_website>
1092
  <depends><allowspecific>1</allowspecific></depends>
1093
  </specificcountry>
1094
  </fields>
1095
+ </paymentgateway_otpsimplewire>
1096
+ <paymentgateway_paypal translate="label">
1097
+ <label><![CDATA[PayPal]]></label>
1098
  <frontend_type>text</frontend_type>
1099
+ <sort_order>190</sort_order>
1100
  <show_in_default>1</show_in_default>
1101
  <show_in_website>1</show_in_website>
1102
  <show_in_store>1</show_in_store>
1103
  <fields>
1104
+ <title translate="label">
1105
+ <label>Title</label>
1106
+ <frontend_type>text</frontend_type>
1107
+ <config_path>payment/paymentgateway_paypal/title</config_path>
1108
+ <sort_order>1</sort_order>
1109
+ <show_in_default>1</show_in_default>
1110
+ <show_in_website>1</show_in_website>
1111
+ <show_in_store>1</show_in_store>
1112
+ </title>
1113
  <active translate="label">
1114
  <label>Enabled</label>
1115
  <frontend_type>select</frontend_type>
1116
+ <config_path>payment/paymentgateway_paypal/active</config_path>
1117
  <source_model>adminhtml/system_config_source_yesno</source_model>
1118
+ <sort_order>2</sort_order>
1119
  <show_in_default>1</show_in_default>
1120
  <show_in_website>1</show_in_website>
1121
  <show_in_store>0</show_in_store>
1123
  <sort_order translate="label">
1124
  <label>Sort Order</label>
1125
  <frontend_type>text</frontend_type>
1126
+ <config_path>payment/paymentgateway_paypal/sort_order</config_path>
1127
  <sort_order>3</sort_order>
1128
  <show_in_default>1</show_in_default>
1129
  <show_in_website>1</show_in_website>
1130
  <show_in_store>1</show_in_store>
1131
  </sort_order>
 
 
 
 
 
 
 
 
 
1132
  <allowspecific translate="label">
1133
  <label>Payment from Applicable Countries</label>
1134
  <frontend_type>allowspecific</frontend_type>
1135
+ <config_path>payment/paymentgateway_paypal/allowspecific</config_path>
1136
+ <sort_order>4</sort_order>
1137
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1138
  <show_in_default>1</show_in_default>
1139
  <show_in_website>1</show_in_website>
1142
  <specificcountry translate="label">
1143
  <label>Payment from Specific Countries</label>
1144
  <frontend_type>multiselect</frontend_type>
1145
+ <config_path>payment/paymentgateway_paypal/specificcountry</config_path>
1146
+ <sort_order>5</sort_order>
1147
  <source_model>adminhtml/system_config_source_country</source_model>
1148
  <show_in_default>1</show_in_default>
1149
  <show_in_website>1</show_in_website>
1152
  <depends><allowspecific>1</allowspecific></depends>
1153
  </specificcountry>
1154
  </fields>
1155
+ </paymentgateway_paypal>
1156
+ <paymentgateway_payu2 translate="label">
1157
+ <label><![CDATA[PayU2]]></label>
1158
  <frontend_type>text</frontend_type>
1159
+ <sort_order>200</sort_order>
1160
  <show_in_default>1</show_in_default>
1161
  <show_in_website>1</show_in_website>
1162
  <show_in_store>1</show_in_store>
1163
  <fields>
1164
+ <title translate="label">
1165
+ <label>Title</label>
1166
+ <frontend_type>text</frontend_type>
1167
+ <config_path>payment/paymentgateway_payu2/title</config_path>
1168
+ <sort_order>1</sort_order>
1169
+ <show_in_default>1</show_in_default>
1170
+ <show_in_website>1</show_in_website>
1171
+ <show_in_store>1</show_in_store>
1172
+ </title>
1173
  <active translate="label">
1174
  <label>Enabled</label>
1175
  <frontend_type>select</frontend_type>
1176
+ <config_path>payment/paymentgateway_payu2/active</config_path>
1177
  <source_model>adminhtml/system_config_source_yesno</source_model>
1178
+ <sort_order>2</sort_order>
1179
  <show_in_default>1</show_in_default>
1180
  <show_in_website>1</show_in_website>
1181
  <show_in_store>0</show_in_store>
1183
  <sort_order translate="label">
1184
  <label>Sort Order</label>
1185
  <frontend_type>text</frontend_type>
1186
+ <config_path>payment/paymentgateway_payu2/sort_order</config_path>
1187
  <sort_order>3</sort_order>
1188
  <show_in_default>1</show_in_default>
1189
  <show_in_website>1</show_in_website>
1190
  <show_in_store>1</show_in_store>
1191
  </sort_order>
 
 
 
 
 
 
 
 
 
1192
  <allowspecific translate="label">
1193
  <label>Payment from Applicable Countries</label>
1194
  <frontend_type>allowspecific</frontend_type>
1195
+ <config_path>payment/paymentgateway_payu2/allowspecific</config_path>
1196
+ <sort_order>4</sort_order>
1197
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1198
  <show_in_default>1</show_in_default>
1199
  <show_in_website>1</show_in_website>
1202
  <specificcountry translate="label">
1203
  <label>Payment from Specific Countries</label>
1204
  <frontend_type>multiselect</frontend_type>
1205
+ <config_path>payment/paymentgateway_payu2/specificcountry</config_path>
1206
+ <sort_order>5</sort_order>
1207
  <source_model>adminhtml/system_config_source_country</source_model>
1208
  <show_in_default>1</show_in_default>
1209
  <show_in_website>1</show_in_website>
1212
  <depends><allowspecific>1</allowspecific></depends>
1213
  </specificcountry>
1214
  </fields>
1215
+ </paymentgateway_payu2>
1216
+ <paymentgateway_saferpay translate="label">
1217
+ <label><![CDATA[Saferpay]]></label>
1218
  <frontend_type>text</frontend_type>
1219
+ <sort_order>210</sort_order>
1220
  <show_in_default>1</show_in_default>
1221
  <show_in_website>1</show_in_website>
1222
  <show_in_store>1</show_in_store>
1223
  <fields>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1224
  <title translate="label">
1225
  <label>Title</label>
1226
  <frontend_type>text</frontend_type>
1227
+ <config_path>payment/paymentgateway_saferpay/title</config_path>
1228
+ <sort_order>1</sort_order>
1229
  <show_in_default>1</show_in_default>
1230
  <show_in_website>1</show_in_website>
1231
  <show_in_store>1</show_in_store>
1232
  </title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1233
  <active translate="label">
1234
  <label>Enabled</label>
1235
  <frontend_type>select</frontend_type>
1236
+ <config_path>payment/paymentgateway_saferpay/active</config_path>
1237
  <source_model>adminhtml/system_config_source_yesno</source_model>
1238
+ <sort_order>2</sort_order>
1239
  <show_in_default>1</show_in_default>
1240
  <show_in_website>1</show_in_website>
1241
  <show_in_store>0</show_in_store>
1243
  <sort_order translate="label">
1244
  <label>Sort Order</label>
1245
  <frontend_type>text</frontend_type>
1246
+ <config_path>payment/paymentgateway_saferpay/sort_order</config_path>
1247
  <sort_order>3</sort_order>
1248
  <show_in_default>1</show_in_default>
1249
  <show_in_website>1</show_in_website>
1250
  <show_in_store>1</show_in_store>
1251
  </sort_order>
 
 
 
 
 
 
 
 
 
1252
  <allowspecific translate="label">
1253
  <label>Payment from Applicable Countries</label>
1254
  <frontend_type>allowspecific</frontend_type>
1255
+ <config_path>payment/paymentgateway_saferpay/allowspecific</config_path>
1256
+ <sort_order>4</sort_order>
1257
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1258
  <show_in_default>1</show_in_default>
1259
  <show_in_website>1</show_in_website>
1262
  <specificcountry translate="label">
1263
  <label>Payment from Specific Countries</label>
1264
  <frontend_type>multiselect</frontend_type>
1265
+ <config_path>payment/paymentgateway_saferpay/specificcountry</config_path>
1266
+ <sort_order>5</sort_order>
1267
  <source_model>adminhtml/system_config_source_country</source_model>
1268
  <show_in_default>1</show_in_default>
1269
  <show_in_website>1</show_in_website>
1271
  <can_be_empty>1</can_be_empty>
1272
  <depends><allowspecific>1</allowspecific></depends>
1273
  </specificcountry>
1274
+ <saferpaypaymentmethods translate="label">
1275
+ <label>Payment methods</label>
1276
+ <config_path>paymentgateway/paymentgateway_saferpay/paymentmethods</config_path>
1277
+ <frontend_type>multiselect</frontend_type>
1278
+ <source_model>paymentgateway/config::getSaferpayPaymentMethods</source_model>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1279
  <sort_order>6</sort_order>
 
1280
  <show_in_default>1</show_in_default>
1281
  <show_in_website>1</show_in_website>
1282
  <show_in_store>0</show_in_store>
1283
+ <can_be_empty>1</can_be_empty>
1284
+ </saferpaypaymentmethods>
1285
+ <saferpaywallets translate="label">
1286
+ <label>Wallets</label>
1287
+ <config_path>paymentgateway/paymentgateway_saferpay/wallets</config_path>
1288
  <frontend_type>multiselect</frontend_type>
1289
+ <source_model>paymentgateway/config::getSaferpayWallets</source_model>
1290
  <sort_order>7</sort_order>
 
1291
  <show_in_default>1</show_in_default>
1292
  <show_in_website>1</show_in_website>
1293
  <show_in_store>0</show_in_store>
1294
  <can_be_empty>1</can_be_empty>
1295
+ </saferpaywallets>
1296
+ <oneclickpayment translate="label">
1297
+ <label>One Click Payment</label>
1298
+ <frontend_type>select</frontend_type>
1299
+ <config_path>payment/paymentgateway_saferpay/one_click_payment</config_path>
1300
+ <sort_order>8</sort_order>
1301
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1302
+ <show_in_default>1</show_in_default>
1303
+ <show_in_website>1</show_in_website>
1304
+ <show_in_store>0</show_in_store>
1305
+ </oneclickpayment>
1306
  </fields>
1307
+ </paymentgateway_saferpay>
1308
+ <paymentgateway_sms translate="label">
1309
+ <label><![CDATA[SMS]]></label>
1310
  <frontend_type>text</frontend_type>
1311
+ <sort_order>220</sort_order>
1312
  <show_in_default>1</show_in_default>
1313
  <show_in_website>1</show_in_website>
1314
  <show_in_store>1</show_in_store>
1315
  <fields>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1316
  <title translate="label">
1317
  <label>Title</label>
1318
  <frontend_type>text</frontend_type>
1319
+ <config_path>payment/paymentgateway_sms/title</config_path>
1320
+ <sort_order>1</sort_order>
1321
  <show_in_default>1</show_in_default>
1322
  <show_in_website>1</show_in_website>
1323
  <show_in_store>1</show_in_store>
1324
  </title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1325
  <active translate="label">
1326
  <label>Enabled</label>
1327
  <frontend_type>select</frontend_type>
1328
+ <config_path>payment/paymentgateway_sms/active</config_path>
1329
  <source_model>adminhtml/system_config_source_yesno</source_model>
1330
+ <sort_order>2</sort_order>
1331
  <show_in_default>1</show_in_default>
1332
  <show_in_website>1</show_in_website>
1333
  <show_in_store>0</show_in_store>
1335
  <sort_order translate="label">
1336
  <label>Sort Order</label>
1337
  <frontend_type>text</frontend_type>
1338
+ <config_path>payment/paymentgateway_sms/sort_order</config_path>
1339
  <sort_order>3</sort_order>
1340
  <show_in_default>1</show_in_default>
1341
  <show_in_website>1</show_in_website>
1342
  <show_in_store>1</show_in_store>
1343
  </sort_order>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1344
  <allowspecific translate="label">
1345
  <label>Payment from Applicable Countries</label>
1346
  <frontend_type>allowspecific</frontend_type>
1347
+ <config_path>payment/paymentgateway_sms/allowspecific</config_path>
1348
+ <sort_order>4</sort_order>
1349
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1350
  <show_in_default>1</show_in_default>
1351
  <show_in_website>1</show_in_website>
1354
  <specificcountry translate="label">
1355
  <label>Payment from Specific Countries</label>
1356
  <frontend_type>multiselect</frontend_type>
1357
+ <config_path>payment/paymentgateway_sms/specificcountry</config_path>
1358
+ <sort_order>5</sort_order>
1359
  <source_model>adminhtml/system_config_source_country</source_model>
1360
  <show_in_default>1</show_in_default>
1361
  <show_in_website>1</show_in_website>
1364
  <depends><allowspecific>1</allowspecific></depends>
1365
  </specificcountry>
1366
  </fields>
1367
+ </paymentgateway_sms>
1368
+ <paymentgateway_sofort translate="label">
1369
+ <label>Sofort</label>
1370
  <frontend_type>text</frontend_type>
1371
+ <sort_order>230</sort_order>
1372
  <show_in_default>1</show_in_default>
1373
  <show_in_website>1</show_in_website>
1374
  <show_in_store>1</show_in_store>
1375
  <fields>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1376
  <title translate="label">
1377
  <label>Title</label>
1378
  <frontend_type>text</frontend_type>
1379
+ <config_path>payment/paymentgateway_sofort/title</config_path>
1380
+ <sort_order>1</sort_order>
1381
  <show_in_default>1</show_in_default>
1382
  <show_in_website>1</show_in_website>
1383
  <show_in_store>1</show_in_store>
1384
  </title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1385
  <active translate="label">
1386
  <label>Enabled</label>
1387
  <frontend_type>select</frontend_type>
1388
+ <config_path>payment/paymentgateway_sofort/active</config_path>
1389
  <source_model>adminhtml/system_config_source_yesno</source_model>
1390
+ <sort_order>2</sort_order>
1391
  <show_in_default>1</show_in_default>
1392
  <show_in_website>1</show_in_website>
1393
  <show_in_store>0</show_in_store>
1395
  <sort_order translate="label">
1396
  <label>Sort Order</label>
1397
  <frontend_type>text</frontend_type>
1398
+ <config_path>payment/paymentgateway_sofort/sort_order</config_path>
1399
  <sort_order>3</sort_order>
1400
  <show_in_default>1</show_in_default>
1401
  <show_in_website>1</show_in_website>
1402
  <show_in_store>1</show_in_store>
1403
  </sort_order>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1404
  <allowspecific translate="label">
1405
  <label>Payment from Applicable Countries</label>
1406
  <frontend_type>allowspecific</frontend_type>
1407
+ <config_path>payment/paymentgateway_sofort/allowspecific</config_path>
1408
+ <sort_order>4</sort_order>
1409
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1410
  <show_in_default>1</show_in_default>
1411
  <show_in_website>1</show_in_website>
1414
  <specificcountry translate="label">
1415
  <label>Payment from Specific Countries</label>
1416
  <frontend_type>multiselect</frontend_type>
1417
+ <config_path>payment/paymentgateway_sofort/specificcountry</config_path>
1418
+ <sort_order>5</sort_order>
1419
  <source_model>adminhtml/system_config_source_country</source_model>
1420
  <show_in_default>1</show_in_default>
1421
  <show_in_website>1</show_in_website>
1424
  <depends><allowspecific>1</allowspecific></depends>
1425
  </specificcountry>
1426
  </fields>
1427
+ </paymentgateway_sofort>
1428
+ <paymentgateway_unicredit translate="label">
1429
+ <label>UniCredit Bank</label>
1430
  <frontend_type>text</frontend_type>
1431
+ <sort_order>240</sort_order>
1432
  <show_in_default>1</show_in_default>
1433
  <show_in_website>1</show_in_website>
1434
  <show_in_store>1</show_in_store>
1435
  <fields>
1436
+ <title translate="label">
1437
+ <label>Title</label>
1438
+ <frontend_type>text</frontend_type>
1439
+ <config_path>payment/paymentgateway_unicredit/title</config_path>
1440
+ <sort_order>1</sort_order>
1441
+ <show_in_default>1</show_in_default>
1442
+ <show_in_website>1</show_in_website>
1443
+ <show_in_store>1</show_in_store>
1444
+ </title>
1445
  <active translate="label">
1446
  <label>Enabled</label>
1447
  <frontend_type>select</frontend_type>
1448
+ <config_path>payment/paymentgateway_unicredit/active</config_path>
1449
  <source_model>adminhtml/system_config_source_yesno</source_model>
1450
+ <sort_order>2</sort_order>
1451
  <show_in_default>1</show_in_default>
1452
  <show_in_website>1</show_in_website>
1453
  <show_in_store>0</show_in_store>
1455
  <sort_order translate="label">
1456
  <label>Sort Order</label>
1457
  <frontend_type>text</frontend_type>
1458
+ <config_path>payment/paymentgateway_unicredit/sort_order</config_path>
1459
  <sort_order>3</sort_order>
1460
  <show_in_default>1</show_in_default>
1461
  <show_in_website>1</show_in_website>
1462
  <show_in_store>1</show_in_store>
1463
  </sort_order>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1464
  <allowspecific translate="label">
1465
  <label>Payment from Applicable Countries</label>
1466
  <frontend_type>allowspecific</frontend_type>
1467
+ <config_path>payment/paymentgateway_unicredit/allowspecific</config_path>
1468
+ <sort_order>4</sort_order>
1469
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1470
  <show_in_default>1</show_in_default>
1471
  <show_in_website>1</show_in_website>
1474
  <specificcountry translate="label">
1475
  <label>Payment from Specific Countries</label>
1476
  <frontend_type>multiselect</frontend_type>
1477
+ <config_path>payment/paymentgateway_unicredit/specificcountry</config_path>
1478
+ <sort_order>5</sort_order>
1479
  <source_model>adminhtml/system_config_source_country</source_model>
1480
  <show_in_default>1</show_in_default>
1481
  <show_in_website>1</show_in_website>
1484
  <depends><allowspecific>1</allowspecific></depends>
1485
  </specificcountry>
1486
  </fields>
1487
+ </paymentgateway_unicredit>
1488
+ <paymentgateway_wirecard translate="label">
1489
+ <label><![CDATA[QPAY Wirecard]]></label>
1490
  <frontend_type>text</frontend_type>
1491
  <sort_order>250</sort_order>
1492
  <show_in_default>1</show_in_default>
1493
  <show_in_website>1</show_in_website>
1494
  <show_in_store>1</show_in_store>
1495
  <fields>
1496
+ <title translate="label">
1497
+ <label>Title</label>
1498
+ <frontend_type>text</frontend_type>
1499
+ <config_path>payment/paymentgateway_wirecard/title</config_path>
1500
+ <sort_order>1</sort_order>
1501
+ <show_in_default>1</show_in_default>
1502
+ <show_in_website>1</show_in_website>
1503
+ <show_in_store>1</show_in_store>
1504
+ </title>
1505
  <active translate="label">
1506
  <label>Enabled</label>
1507
  <frontend_type>select</frontend_type>
1508
+ <config_path>payment/paymentgateway_wirecard/active</config_path>
1509
  <source_model>adminhtml/system_config_source_yesno</source_model>
1510
+ <sort_order>2</sort_order>
1511
  <show_in_default>1</show_in_default>
1512
  <show_in_website>1</show_in_website>
1513
  <show_in_store>0</show_in_store>
1515
  <sort_order translate="label">
1516
  <label>Sort Order</label>
1517
  <frontend_type>text</frontend_type>
1518
+ <config_path>payment/paymentgateway_wirecard/sort_order</config_path>
1519
  <sort_order>3</sort_order>
1520
  <show_in_default>1</show_in_default>
1521
  <show_in_website>1</show_in_website>
1522
  <show_in_store>1</show_in_store>
1523
  </sort_order>
 
 
 
 
 
 
 
 
 
1524
  <allowspecific translate="label">
1525
  <label>Payment from Applicable Countries</label>
1526
  <frontend_type>allowspecific</frontend_type>
1527
+ <config_path>payment/paymentgateway_wirecard/allowspecific</config_path>
1528
+ <sort_order>4</sort_order>
1529
  <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1530
  <show_in_default>1</show_in_default>
1531
  <show_in_website>1</show_in_website>
1534
  <specificcountry translate="label">
1535
  <label>Payment from Specific Countries</label>
1536
  <frontend_type>multiselect</frontend_type>
1537
+ <config_path>payment/paymentgateway_wirecard/specificcountry</config_path>
1538
+ <sort_order>5</sort_order>
1539
  <source_model>adminhtml/system_config_source_country</source_model>
1540
  <show_in_default>1</show_in_default>
1541
  <show_in_website>1</show_in_website>
1543
  <can_be_empty>1</can_be_empty>
1544
  <depends><allowspecific>1</allowspecific></depends>
1545
  </specificcountry>
1546
+ <qpaypaymenttypes translate="label">
1547
+ <label>Payment types</label>
1548
+ <config_path>paymentgateway/paymentgateway_wirecard/paymenttypes</config_path>
1549
+ <frontend_type>select</frontend_type>
1550
+ <source_model>paymentgateway/config::getQpayPaymentTypes</source_model>
1551
+ <sort_order>6</sort_order>
1552
+ <show_in_default>1</show_in_default>
1553
+ <show_in_website>1</show_in_website>
1554
+ <show_in_store>0</show_in_store>
1555
+ </qpaypaymenttypes>
1556
  </fields>
1557
+ </paymentgateway_wirecard>
1558
+ <paymentgateway_barion translate="label">
1559
+ <label><![CDATA[Barion]]></label>
1560
+ <frontend_type>text</frontend_type>
1561
+ <sort_order>20</sort_order>
1562
+ <show_in_default>0</show_in_default>
1563
+ <show_in_website>0</show_in_website>
1564
+ <show_in_store>0</show_in_store>
1565
+ </paymentgateway_barion>
1566
+ <paymentgateway_mcm translate="label">
1567
+ <label><![CDATA[MCM]]></label>
1568
+ <frontend_type>text</frontend_type>
1569
+ <sort_order>20</sort_order>
1570
+ <show_in_default>0</show_in_default>
1571
+ <show_in_website>0</show_in_website>
1572
+ <show_in_store>0</show_in_store>
1573
+ </paymentgateway_mcm>
1574
+ <paymentgateway_mpp translate="label">
1575
+ <label><![CDATA[MPP]]></label>
1576
+ <frontend_type>text</frontend_type>
1577
+ <sort_order>20</sort_order>
1578
+ <show_in_default>0</show_in_default>
1579
+ <show_in_website>0</show_in_website>
1580
+ <show_in_store>0</show_in_store>
1581
+ </paymentgateway_mpp>
1582
+ <paymentgateway_payu translate="label">
1583
+ <label><![CDATA[PAYU]]></label>
1584
+ <frontend_type>text</frontend_type>
1585
+ <sort_order>20</sort_order>
1586
+ <show_in_default>0</show_in_default>
1587
+ <show_in_website>0</show_in_website>
1588
+ <show_in_store>0</show_in_store>
1589
+ </paymentgateway_payu>
1590
+ <paymentgateway_payuwire translate="label">
1591
+ <label><![CDATA[PAYU Wire]]></label>
1592
+ <frontend_type>text</frontend_type>
1593
+ <sort_order>20</sort_order>
1594
+ <show_in_default>0</show_in_default>
1595
+ <show_in_website>0</show_in_website>
1596
+ <show_in_store>0</show_in_store>
1597
+ </paymentgateway_payuwire>
1598
+ <paymentgateway_payucash translate="label">
1599
+ <label><![CDATA[PayU Cash]]></label>
1600
+ <frontend_type>text</frontend_type>
1601
+ <sort_order>20</sort_order>
1602
+ <show_in_default>0</show_in_default>
1603
+ <show_in_website>0</show_in_website>
1604
+ <show_in_store>0</show_in_store>
1605
+ </paymentgateway_payucash>
1606
+ <paymentgateway_payumobile translate="label">
1607
+ <label><![CDATA[PayU Mobile]]></label>
1608
+ <frontend_type>text</frontend_type>
1609
+ <sort_order>20</sort_order>
1610
+ <show_in_default>0</show_in_default>
1611
+ <show_in_website>0</show_in_website>
1612
+ <show_in_store>0</show_in_store>
1613
+ </paymentgateway_payumobile>
1614
  </groups>
1615
  </paymentgateway>
1616
  </sections>
app/code/local/BigFish/PaymentGateway/sql/paymentgateway_setup/mysql4-install-0.1.0.php DELETED
@@ -1,45 +0,0 @@
1
- <?php
2
- /**
3
- * BIG FISH Ltd.
4
- * http://www.bigfish.hu
5
- *
6
- * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
- * @category BigFish
8
- * @package BigFish_PaymentGateway
9
- * @author Gabor Huszak / BIG FISH Ltd. -> huszy [at] bigfish [dot] hu
10
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
- * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
- */
13
-
14
- $this->startSetup();
15
-
16
- $this->run("
17
-
18
- -- DROP TABLE IF EXISTS bigfish_paymentgateway;
19
- CREATE TABLE bigfish_paymentgateway (
20
- `paymentgateway_id` int(11) unsigned NOT NULL auto_increment,
21
- `order_id` varchar(255) NOT NULL default '',
22
- `transaction_id` varchar(255) NOT NULL default '',
23
- `created_time` datetime NULL,
24
- `status` smallint(6) NOT NULL default '0',
25
- PRIMARY KEY (`paymentgateway_id`)
26
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
27
-
28
- ");
29
-
30
- $this->run("
31
-
32
- -- DROP TABLE IF EXISTS bigfish_paymentgateway_log;
33
- CREATE TABLE bigfish_paymentgateway_log (
34
- `log_id` int(11) unsigned NOT NULL auto_increment,
35
- `paymentgateway_id` int(11) unsigned NOT NULL,
36
- `created_time` datetime NULL,
37
- `status` smallint(6) NOT NULL default '0',
38
- `debug` text NOT NULL default '',
39
- PRIMARY KEY (`log_id`)
40
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
41
-
42
- ");
43
- $this->endSetup();
44
-
45
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/BigFish/PaymentGateway/sql/paymentgateway_setup/mysql4-install-1.11.0.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BIG FISH Ltd.
4
+ * http://www.bigfish.hu
5
+ *
6
+ * @title Magento -> Custom Payment Module for BIG FISH Payment Gateway
7
+ * @category BigFish
8
+ * @package BigFish_PaymentGateway
9
+ * @author Gabor Huszak / BIG FISH Ltd. -> huszy [at] bigfish [dot] hu
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ * @copyright Copyright (c) 2011, BIG FISH Ltd.
12
+ */
13
+
14
+ $this->startSetup();
15
+
16
+ $this->run("
17
+
18
+ -- DROP TABLE IF EXISTS bigfish_paymentgateway;
19
+ CREATE TABLE IF NOT EXISTS bigfish_paymentgateway (
20
+ `paymentgateway_id` int(11) unsigned NOT NULL auto_increment,
21
+ `order_id` varchar(255) NOT NULL default '',
22
+ `transaction_id` varchar(255) NOT NULL default '',
23
+ `created_time` datetime NULL,
24
+ `status` smallint(6) NOT NULL default '0',
25
+ PRIMARY KEY (`paymentgateway_id`)
26
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
27
+
28
+ ");
29
+
30
+ $this->run("
31
+
32
+ -- DROP TABLE IF EXISTS bigfish_paymentgateway_log;
33
+ CREATE TABLE IF NOT EXISTS bigfish_paymentgateway_log (
34
+ `log_id` int(11) unsigned NOT NULL auto_increment,
35
+ `paymentgateway_id` int(11) unsigned NOT NULL,
36
+ `created_time` datetime NULL,
37
+ `status` smallint(6) NOT NULL default '0',
38
+ `debug` text NOT NULL default '',
39
+ PRIMARY KEY (`log_id`)
40
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
41
+
42
+ ");
43
+
44
+
45
+
46
+ // Deprecated payment method handling
47
+ $deprecatedPaymentMethods = array(
48
+ 'mpp',
49
+ 'mcm',
50
+ 'payu',
51
+ 'payuwire',
52
+ 'payucash',
53
+ 'payumobile',
54
+ 'barion',
55
+ );
56
+
57
+ if (!empty($deprecatedPaymentMethods)) {
58
+ $setup = new Mage_Core_Model_Config();
59
+ foreach ($deprecatedPaymentMethods as $paymentMethod) {
60
+ $configPath = 'payment/paymentgateway_' . strtolower($paymentMethod) . '/active';
61
+ if (Mage::getStoreConfig($configPath, Mage::app()->getStore()) !== null) {
62
+ $setup->saveConfig($configPath, 0, 'default', 0);
63
+ }
64
+ }
65
+ }
66
+
67
+ $this->endSetup();
68
+ ?>
app/design/frontend/base/default/template/bfpaymentgateway/form/khbszep.phtml CHANGED
@@ -1,5 +1,5 @@
1
  <?php $_code = $this->getMethodCode(); ?>
2
- <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
3
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
  <li class="form-alt"><?php echo $this->getCustomMessage() ?></li>
5
  </ul>
1
  <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
  <li class="form-alt"><?php echo $this->getCustomMessage() ?></li>
5
  </ul>
app/design/frontend/base/default/template/bfpaymentgateway/form/mkbszep.phtml CHANGED
@@ -1,19 +1,5 @@
1
  <?php $_code = $this->getMethodCode(); ?>
2
- <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
3
- <li class="form-alt"></li>
4
- <li class="form-alt"><?php echo $this->getCustomMessage() ?></li>
5
- <li>
6
- <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Card Number') ?></label>
7
- <div class="input-box">
8
- <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
9
- </div>
10
- </li>
11
- <li id="<?php echo $_code ?>_cc_type_cvv_div">
12
- <label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number (CVV)') ?></label>
13
- <div class="input-box">
14
- <div class="v-fix">
15
- <input type="text" title="<?php echo $this->__('Card Verification Number (CVV)') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
16
- </div>
17
- </div>
18
- </li>
19
  </ul>
1
  <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
+ <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
+ <li class="form-alt"><?php echo $this->getCustomMessage() ?></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  </ul>
app/design/frontend/base/default/template/bfpaymentgateway/form/{escalion.phtml → oneclickpayment.phtml} RENAMED
@@ -1,8 +1,8 @@
1
  <?php $_code = $this->getMethodCode(); ?>
2
- <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
3
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
  <li>
5
- <input type="checkbox" id="<?php echo $_code ?>_one_click_payment" name="payment[one_click_payment]" title="<?php echo $this->__('One Click Payment') ?>" value="true" style="margin-top: -4px;" />
6
  <label for="<?php echo $_code ?>_one_click_payment" class="required" style="float: none;"><?php echo $this->__('One Click Payment') ?></label>
7
  </li>
8
  </ul>
1
  <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
  <li>
5
+ <input type="checkbox" id="<?php echo $_code ?>_one_click_payment" name="payment[<?php echo $_code; ?>][one_click_payment]" title="<?php echo $this->__('One Click Payment') ?>" value="true" style="margin-top: -4px;" />
6
  <label for="<?php echo $_code ?>_one_click_payment" class="required" style="float: none;"><?php echo $this->__('One Click Payment') ?></label>
7
  </li>
8
  </ul>
app/design/frontend/base/default/template/bfpaymentgateway/form/otp2.phtml CHANGED
@@ -1,5 +1,5 @@
1
  <?php $_code = $this->getMethodCode(); ?>
2
- <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
3
  <li class="form-alt"></li>
4
  <li>
5
  <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
1
  <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
  <li class="form-alt"></li>
4
  <li>
5
  <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
app/design/frontend/base/default/template/bfpaymentgateway/form/otpszep.phtml CHANGED
@@ -1,5 +1,5 @@
1
  <?php $_code = $this->getMethodCode(); ?>
2
- <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
3
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
  <li class="form-alt"><?php echo $this->getCustomMessage() ?></li>
5
  </ul>
1
  <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
  <li class="form-alt"><?php echo $this->getCustomMessage() ?></li>
5
  </ul>
app/design/frontend/base/default/template/bfpaymentgateway/form/redirect.phtml CHANGED
@@ -1,3 +1,4 @@
1
- <ul class="form-list checkmo-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
 
2
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
3
  </ul>
1
+ <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list checkmo-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
  <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
  </ul>
app/design/frontend/base/default/template/bfpaymentgateway/form/saferpay.phtml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
+ <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
+ <?php if ($this->isOneClick()) { ?>
5
+ <li>
6
+ <input type="checkbox" id="<?php echo $_code ?>_one_click_payment" name="payment[<?php echo $_code; ?>][one_click_payment]" title="<?php echo $this->__('One Click Payment') ?>" value="true" style="margin-top: -4px;" />
7
+ <label for="<?php echo $_code ?>_one_click_payment" class="required" style="float: none;"><?php echo $this->__('One Click Payment') ?></label>
8
+ </li>
9
+ <?php } ?>
10
+ <?php
11
+ $i = 0;
12
+ foreach ($this->getPaymentMethods() as $paymentMethod) {
13
+ $i++;
14
+ echo '<input type="hidden" id="'.$_code.'_saferpay_payment_method_'.$i.'" name="payment['.$_code.'][payment_methods][]" value="'.$paymentMethod.'" />';
15
+ }
16
+
17
+ $i = 0;
18
+ foreach ($this->getWallets() as $wallet) {
19
+ echo '<input type="hidden" id="'.$_code.'_saferpay_wallet_'.$i.'" name="payment['.$_code.'][wallets][]" value="'.$wallet.'" />';
20
+ $i++;
21
+ }
22
+ ?>
23
+ </ul>
app/design/frontend/base/default/template/bfpaymentgateway/form/wirecard.phtml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
+ <li class="form-alt"><?php echo $this->getRedirectMessage() ?></li>
4
+ <input type="hidden" id="<?php echo $_code; ?>_wirecard_payment_type" name="payment[<?php echo $_code; ?>][payment_type]" value="<?php echo $this->getPaymentType(); ?>" />
5
+ </ul>
app/design/frontend/base/default/template/bfpaymentgateway/pending/history.phtml CHANGED
@@ -59,7 +59,6 @@
59
  <td><em><?php echo $_order->getStatusLabel() ?></em></td>
60
  <td class="a-center">
61
  <span class="nobr"><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $this->__('View Order') ?></a>
62
- <?php /*<span class="separator">|</span><a href="<?php echo $this->getTrackUrl($_order) ?>"><?php echo $this->__('Track Order') ?></a>&nbsp;*/ ?>
63
  <?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
64
  <span class="separator">|</span> <a href="<?php echo $this->getReorderUrl($_order) ?>" class="link-reorder"><?php echo $this->__('Reorder') ?></a>
65
  <?php endif ?>
59
  <td><em><?php echo $_order->getStatusLabel() ?></em></td>
60
  <td class="a-center">
61
  <span class="nobr"><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $this->__('View Order') ?></a>
 
62
  <?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
63
  <span class="separator">|</span> <a href="<?php echo $this->getReorderUrl($_order) ?>" class="link-reorder"><?php echo $this->__('Reorder') ?></a>
64
  <?php endif ?>
app/locale/en_GB/BigFish_PaymentGateway.csv CHANGED
@@ -22,4 +22,50 @@
22
  "The next pocket will be debited at payment:","The following pocket will be debited during the payment:"
23
  "Provider Transaction ID","Payment provider transaction ID."
24
  "Anum","Anum"
25
- "Paid amount","Amount paid"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "The next pocket will be debited at payment:","The following pocket will be debited during the payment:"
23
  "Provider Transaction ID","Payment provider transaction ID."
24
  "Anum","Anum"
25
+ "Paid amount","Amount paid"
26
+ "saferpay_payment_method_amex","American Express"
27
+ "saferpay_payment_method_directdebit","Direct Debit"
28
+ "saferpay_payment_method_invoice","Invoice"
29
+ "saferpay_payment_method_bonus","Bonus"
30
+ "saferpay_payment_method_diners","Diners"
31
+ "saferpay_payment_method_eprzelewy","ePrzelewy"
32
+ "saferpay_payment_method_eps","eps Online-wire"
33
+ "saferpay_payment_method_giropay","giropay"
34
+ "saferpay_payment_method_ideal","iDEAL"
35
+ "saferpay_payment_method_jcb","JCB"
36
+ "saferpay_payment_method_maestro","Maestro"
37
+ "saferpay_payment_method_mastercard","MasterCard"
38
+ "saferpay_payment_method_myone","My One"
39
+ "saferpay_payment_method_paypal","PayPal"
40
+ "saferpay_payment_method_postcard","PostFinance Card"
41
+ "saferpay_payment_method_postfinance","PostFinance"
42
+ "saferpay_payment_method_saferpaytest","Saferpay test"
43
+ "saferpay_payment_method_sofort","SOFORT Banking"
44
+ "saferpay_payment_method_visa","Visa"
45
+ "saferpay_payment_method_vpay","V PAY"
46
+ "saferpay_wallet_masterpass","MASTERPASS"
47
+ "qpay_payment_type_select","Select it on Wirecard side"
48
+ "qpay_payment_type_bancontact_mistercash","Bancontact/Mister Cash"
49
+ "qpay_payment_type_ccard","Credit Card Maestro SecureCode"
50
+ "qpay_payment_type_ccard_moto","Credit Card - Mail Order and Telephone Order"
51
+ "qpay_payment_type_ekonto","eKonto"
52
+ "qpay_payment_type_epay_bg","ePay.bg"
53
+ "qpay_payment_type_eps","eps Online-wire"
54
+ "qpay_payment_type_giropay","giropay"
55
+ "qpay_payment_type_idl","iDEAL"
56
+ "qpay_payment_type_moneta","moneta.ru"
57
+ "qpay_payment_type_mpass","mpass"
58
+ "qpay_payment_type_przelewy24","Przelewy24"
59
+ "qpay_payment_type_paypal","PayPal"
60
+ "qpay_payment_type_pbx","paybox"
61
+ "qpay_payment_type_poli","POLi"
62
+ "qpay_payment_type_psc","paysafecard"
63
+ "qpay_payment_type_quick","@Quick"
64
+ "qpay_payment_type_sepa_dd","SEPA Direct Debit"
65
+ "qpay_payment_type_skrilldirect","Skrill Direct"
66
+ "qpay_payment_type_skrillwallet","Skrill Digital Wallet"
67
+ "qpay_payment_type_sofortueberweisung","SOFORT Banking"
68
+ "qpay_payment_type_tatrapay","TatraPay"
69
+ "qpay_payment_type_trustly","Trustly"
70
+ "qpay_payment_type_trustpay","TrustPay"
71
+ "qpay_payment_type_voucher","My Voucher"
app/locale/en_US/BigFish_PaymentGateway.csv CHANGED
@@ -22,4 +22,50 @@
22
  "The next pocket will be debited at payment:","The following pocket will be debited during the payment:"
23
  "Provider Transaction ID","Payment provider transaction ID."
24
  "Anum","Anum"
25
- "Paid amount","Amount paid"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "The next pocket will be debited at payment:","The following pocket will be debited during the payment:"
23
  "Provider Transaction ID","Payment provider transaction ID."
24
  "Anum","Anum"
25
+ "Paid amount","Amount paid"
26
+ "saferpay_payment_method_amex","American Express"
27
+ "saferpay_payment_method_directdebit","Direct Debit"
28
+ "saferpay_payment_method_invoice","Invoice"
29
+ "saferpay_payment_method_bonus","Bonus"
30
+ "saferpay_payment_method_diners","Diners"
31
+ "saferpay_payment_method_eprzelewy","ePrzelewy"
32
+ "saferpay_payment_method_eps","eps Online-wire"
33
+ "saferpay_payment_method_giropay","giropay"
34
+ "saferpay_payment_method_ideal","iDEAL"
35
+ "saferpay_payment_method_jcb","JCB"
36
+ "saferpay_payment_method_maestro","Maestro"
37
+ "saferpay_payment_method_mastercard","MasterCard"
38
+ "saferpay_payment_method_myone","My One"
39
+ "saferpay_payment_method_paypal","PayPal"
40
+ "saferpay_payment_method_postcard","PostFinance Card"
41
+ "saferpay_payment_method_postfinance","PostFinance"
42
+ "saferpay_payment_method_saferpaytest","Saferpay test"
43
+ "saferpay_payment_method_sofort","SOFORT Banking"
44
+ "saferpay_payment_method_visa","Visa"
45
+ "saferpay_payment_method_vpay","V PAY"
46
+ "saferpay_wallet_masterpass","MASTERPASS"
47
+ "qpay_payment_type_select","Select it on Wirecard side"
48
+ "qpay_payment_type_bancontact_mistercash","Bancontact/Mister Cash"
49
+ "qpay_payment_type_ccard","Credit Card Maestro SecureCode"
50
+ "qpay_payment_type_ccard_moto","Credit Card - Mail Order and Telephone Order"
51
+ "qpay_payment_type_ekonto","eKonto"
52
+ "qpay_payment_type_epay_bg","ePay.bg"
53
+ "qpay_payment_type_eps","eps Online-wire"
54
+ "qpay_payment_type_giropay","giropay"
55
+ "qpay_payment_type_idl","iDEAL"
56
+ "qpay_payment_type_moneta","moneta.ru"
57
+ "qpay_payment_type_mpass","mpass"
58
+ "qpay_payment_type_przelewy24","Przelewy24"
59
+ "qpay_payment_type_paypal","PayPal"
60
+ "qpay_payment_type_pbx","paybox"
61
+ "qpay_payment_type_poli","POLi"
62
+ "qpay_payment_type_psc","paysafecard"
63
+ "qpay_payment_type_quick","@Quick"
64
+ "qpay_payment_type_sepa_dd","SEPA Direct Debit"
65
+ "qpay_payment_type_skrilldirect","Skrill Direct"
66
+ "qpay_payment_type_skrillwallet","Skrill Digital Wallet"
67
+ "qpay_payment_type_sofortueberweisung","SOFORT Banking"
68
+ "qpay_payment_type_tatrapay","TatraPay"
69
+ "qpay_payment_type_trustly","Trustly"
70
+ "qpay_payment_type_trustpay","TrustPay"
71
+ "qpay_payment_type_voucher","My Voucher"
app/locale/hu_HU/BigFish_PaymentGateway.csv CHANGED
@@ -22,4 +22,50 @@
22
  "The next pocket will be debited at payment:","A következő zseb lesz megterhelve a fizetés során:"
23
  "Provider Transaction ID","Fizetési szolgáltató tranzakció azonosító"
24
  "Anum","Engedélyszám"
25
- "Paid amount","Fizetett összeg"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "The next pocket will be debited at payment:","A következő zseb lesz megterhelve a fizetés során:"
23
  "Provider Transaction ID","Fizetési szolgáltató tranzakció azonosító"
24
  "Anum","Engedélyszám"
25
+ "Paid amount","Fizetett összeg"
26
+ "saferpay_payment_method_amex","American Express"
27
+ "saferpay_payment_method_directdebit","Direct Debit"
28
+ "saferpay_payment_method_invoice","Invoice"
29
+ "saferpay_payment_method_bonus","Bonus"
30
+ "saferpay_payment_method_diners","Diners"
31
+ "saferpay_payment_method_eprzelewy","ePrzelewy"
32
+ "saferpay_payment_method_eps","eps Online-wire"
33
+ "saferpay_payment_method_giropay","giropay"
34
+ "saferpay_payment_method_ideal","iDEAL"
35
+ "saferpay_payment_method_jcb","JCB"
36
+ "saferpay_payment_method_maestro","Maestro"
37
+ "saferpay_payment_method_mastercard","MasterCard"
38
+ "saferpay_payment_method_myone","My One"
39
+ "saferpay_payment_method_paypal","PayPal"
40
+ "saferpay_payment_method_postcard","PostFinance Card"
41
+ "saferpay_payment_method_postfinance","PostFinance"
42
+ "saferpay_payment_method_saferpaytest","Saferpay test"
43
+ "saferpay_payment_method_sofort","SOFORT Banking"
44
+ "saferpay_payment_method_visa","Visa"
45
+ "saferpay_payment_method_vpay","V PAY"
46
+ "saferpay_wallet_masterpass","MASTERPASS"
47
+ "qpay_payment_type_select","Select it on Wirecard side"
48
+ "qpay_payment_type_bancontact_mistercash","Bancontact/Mister Cash"
49
+ "qpay_payment_type_ccard","Credit Card Maestro SecureCode"
50
+ "qpay_payment_type_ccard_moto","Credit Card - Mail Order and Telephone Order"
51
+ "qpay_payment_type_ekonto","eKonto"
52
+ "qpay_payment_type_epay_bg","ePay.bg"
53
+ "qpay_payment_type_eps","eps Online-wire"
54
+ "qpay_payment_type_giropay","giropay"
55
+ "qpay_payment_type_idl","iDEAL"
56
+ "qpay_payment_type_moneta","moneta.ru"
57
+ "qpay_payment_type_mpass","mpass"
58
+ "qpay_payment_type_przelewy24","Przelewy24"
59
+ "qpay_payment_type_paypal","PayPal"
60
+ "qpay_payment_type_pbx","paybox"
61
+ "qpay_payment_type_poli","POLi"
62
+ "qpay_payment_type_psc","paysafecard"
63
+ "qpay_payment_type_quick","@Quick"
64
+ "qpay_payment_type_sepa_dd","SEPA Direct Debit"
65
+ "qpay_payment_type_skrilldirect","Skrill Direct"
66
+ "qpay_payment_type_skrillwallet","Skrill Digital Wallet"
67
+ "qpay_payment_type_sofortueberweisung","SOFORT Banking"
68
+ "qpay_payment_type_tatrapay","TatraPay"
69
+ "qpay_payment_type_trustly","Trustly"
70
+ "qpay_payment_type_trustpay","TrustPay"
71
+ "qpay_payment_type_voucher","My Voucher"
package.xml CHANGED
@@ -1,19 +1,22 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BigFish_PaymentGateway_Magento</name>
4
- <version>1.10.54</version>
5
  <stability>stable</stability>
6
- <license/>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>A BIG FISH Payment Gateway egy olyan szolg&#xE1;ltat&#xE1;s, amely seg&#xED;ts&#xE9;g&#xE9;vel b&#xE1;rmely Internetes keresked&#x151; t&#xF6;bbf&#xE9;le elektronikus fizet&#xE9;si megold&#xE1;st k&#xED;n&#xE1;lhat web&#xE1;ruh&#xE1;z&#xE1;ban.</summary>
10
  <description>A web&#xE1;ruh&#xE1;zak &#xE9;s a fizet&#xE9;si szolg&#xE1;ltat&#xF3;k k&#xF6;zti kommunik&#xE1;ci&#xF3;t a Payment Gateway biztos&#xED;tja, ez &#xE1;ltal komolyabb fejleszt&#xE9;s n&#xE9;lk&#xFC;l, egy l&#xE9;p&#xE9;sben t&#xF6;bb elektronikus fizet&#xE9;si szolg&#xE1;ltat&#xE1;s bek&#xF6;thet&#x151;, mivel a Payment Gateway &#xE9;s a keresked&#x151;k k&#xF6;z&#xF6;tt sztenderdiz&#xE1;lt kommunik&#xE1;ci&#xF3; zajlik, f&#xFC;ggetlen&#xFC;l a fizet&#xE9;si szolg&#xE1;ltat&#xF3;kt&#xF3;l, a tranzakci&#xF3;s &#xFC;zeneteket a Payment Gateway "ford&#xED;tja le a fizet&#xE9;si szolg&#xE1;ltat&#xF3;k nyelv&#xE9;re".&#xD;
11
  A l&#xE1;togat&#xF3;k a megv&#xE1;s&#xE1;rolt term&#xE9;keket &#xE9;s szolg&#xE1;ltat&#xE1;sokat azonnal kifizethetik, &#xED;gy a web&#xE1;ruh&#xE1;z p&#xE9;nz&#xFC;gyei tervezhet&#x151;bb&#xE9; v&#xE1;lnak. A Payment Gateway be&#xE9;p&#xED;t&#xE9;se nem ig&#xE9;nyel m&#xE1;st, mint egy egyszeri, n&#xE9;h&#xE1;ny &#xF3;r&#xE1;s tov&#xE1;bbfejleszt&#xE9;st, amihez mi teljesk&#xF6;r&#x171; tan&#xE1;csad&#xE1;st &#xE9;s technikai t&#xE1;mogat&#xE1;st ny&#xFA;jtunk.</description>
12
- <notes>- New translations: en_US, en_GB</notes>
13
- <authors><author><name>BIG FISH Kft.</name><user>auto-converted</user><email>dev@bigfish.hu</email></author></authors>
14
- <date>2016-01-27</date>
15
- <time>10:14:53</time>
16
- <contents><target name="magelocal"><dir name="BigFish"><dir name="PaymentGateway"><dir name="Block"><dir name="Form"><file name="Escalion.php" hash="ce277a2ff408d44b252043d49d819269"/><file name="Khbszep.php" hash="ef337c5b94e90a4d191fb04240bdb5e9"/><file name="Mkbszep.php" hash="14f38badd7157db0c9ce1e10d5f9a24f"/><file name="Otp2.php" hash="cae3f2cf804e8f225104dadc02b283a3"/><file name="Otpszep.php" hash="bbc4fc9dee172ee69034ee4268ff160f"/><file name="Redirect.php" hash="63a0da532a48e0bc7b03b93256d5a61c"/></dir><dir name="Pending"><file name="History.php" hash="745dd59b8de60076d8a6b5ccf496fabd"/><file name="View.php" hash="b3404a72a31bf60861f8862a15bb3568"/></dir><file name="Form.php" hash="c936919ddc23e849e4428f28589ee070"/><file name="Info.php" hash="5bc4551306f21ff8bf488fc72ed0c4fd"/><file name="Jsinit.php" hash="178788393e09dd98d0009f0db422e545"/></dir><dir name="Helper"><file name="Data.php" hash="3c368881e9a0f021ebb7b88976e6b1e4"/></dir><dir name="Lib"><file name="PaymentGateway.php" hash="00e3cfff471358799fc1b6279accf84a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="3e99f7b52cee958e71f9a412c9ea4edd"/></dir><dir name="Paymentgateway"><file name="Collection.php" hash="abc8ba82d181a15cfa48d09cdc2a35d6"/></dir><file name="Log.php" hash="d4138f11251a717b79b68fadb883ee23"/><file name="Paymentgateway.php" hash="870020b535b30552f4f5a47bb4bd0935"/></dir><file name="Abaqoos.php" hash="655322910e7b15a5f999a535b2eda4c6"/><file name="Abstract.php" hash="ddd072bdbfc2233defa7d02752782c76"/><file name="Barion.php" hash="651cc96eeb82c8a0321bdabd60e6509a"/><file name="Borgun.php" hash="d4b7a0993bd32dabdbfc7a8736224a97"/><file name="Cib.php" hash="ea48d14762362222837b1d1522512254"/><file name="Config.php" hash="dd1745557d09ccfd359e9bbb2a82d52a"/><file name="Escalion.php" hash="23366a2ebdbbcfd68ef4069d48ce9fbe"/><file name="Event.php" hash="a8f42e44752d6e40c2899627a27ca203"/><file name="Fhb.php" hash="47234f39d0c4140aaf2e1d7660d0ba85"/><file name="Khb.php" hash="1fe9debe58da3fc9e34006d31cb8f019"/><file name="Khbszep.php" hash="7b0744c5f7911ef7086de5caf28df5fc"/><file name="Log.php" hash="a887de7bb3b215d81d3c70b4b8588bce"/><file name="Mcm.php" hash="727dc6636cf1174c2db1ed7b26930946"/><file name="Mkbszep.php" hash="a639657ce632a71324538fe90bfc2812"/><file name="Mpp.php" hash="144a389c61da0556bc46fc10b0d92e23"/><file name="Otp.php" hash="c0a4a946222f2c09dd0ec198d749ac45"/><file name="Otp2.php" hash="a392215103974748fd93e4235b6e68d0"/><file name="Otpay.php" hash="c7f2829710e07894e59f6ca15562424c"/><file name="Otpaymp.php" hash="b3da87a4a0b06445c0d1753844cc0ea0"/><file name="Otpmultipont.php" hash="6d3d476a2792d90cd13e435364cf5217"/><file name="Otpszep.php" hash="44c04637fa019b9421620a2d6178e290"/><file name="PaymentGateway.php" hash="c91b0648df0514d2cfb9c40129baa018"/><file name="Paypal.php" hash="4c165d3dd02115173ba21e22a1496adc"/><file name="Payu.php" hash="e31bfd9ce6322df6fdf1dd38bc33f581"/><file name="Payu2.php" hash="560bf3928ca3894f21a3ff6391fe455b"/><file name="Payucash.php" hash="ea040fc4306fbbe1a273ccf1dc375a7a"/><file name="Payumobile.php" hash="31792f27fdd5a6305f548df2ed57bd69"/><file name="Payuwire.php" hash="24b510a92769fefdb201887a4c0e9642"/><file name="Sms.php" hash="dfa6c5d919dfa48cae185f2747d0f171"/><file name="Sofort.php" hash="c1a3cf4dd9ac043d2b9847cd96ddab6e"/><file name="Unicredit.php" hash="deabee29cbe39feccb7da1dd2180ea8e"/><file name="Wirecard.php" hash="b450f048577287c85c65d83692f89877"/></dir><dir name="controllers"><file name="PaymentgatewayController.php" hash="af5dcdd2a03a46c4a6bcf80bdb61dbe0"/><file name="PendingController.php" hash="722f4941550bb9f889bcba035cac3b97"/><file name="ProcessingController.php" hash="18973881c2f6fe7995fb335cbf5ebef9"/></dir><dir name="etc"><file name="config.xml" hash="25b5fc5fce55c27962ca13c0adb0cbf0"/><file name="system.xml" hash="9ba4d9b12f2f400548f45b85eec88a12"/></dir><dir name="sql"><dir name="paymentgateway_setup"><file name="mysql4-install-0.1.0.php" hash="51b1e7dc9386c9b9589f366b70c9d343"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="bfpaymentgateway.xml" hash="ef59bce8615f7a6f32c7e49e86136174"/></dir><dir name="template"><dir name="bfpaymentgateway"><dir name="form"><file name="escalion.phtml" hash="64b0688d3b8cb8a3a9e2af9df55753f0"/><file name="khbszep.phtml" hash="4ca022cced52b4f4ebf68f943e58784a"/><file name="mkbszep.phtml" hash="773bd2b24dd157e9ce93e16451575c1b"/><file name="otp2.phtml" hash="9f00dfdba938162f43feb980f4416969"/><file name="otpszep.phtml" hash="4ca022cced52b4f4ebf68f943e58784a"/><file name="redirect.phtml" hash="97ec1f105e0085f2f2cd233881a5666e"/></dir><dir name="pending"><file name="history.phtml" hash="73ab4e2b784203ace98881b01bfb3e7b"/></dir><file name="blank.phtml" hash="b29130ec79f42bb958a644cdab06af5e"/><file name="info.phtml" hash="51ab770a43d4e2a608d20f0fb6561a96"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BigFish_PaymentGateway.xml" hash="bb16234eadf8490e8c5c09084fba33c5"/></dir></target><target name="magelocale"><dir name="hu_HU"><file name="BigFish_PaymentGateway.csv" hash="fe2423e17ece499788ab6a0e24ceaf48"/></dir><dir name="en_US"><file name="BigFish_PaymentGateway.csv" hash="8293e9311dde2feb43733b786708f7a1"/></dir><dir name="en_GB"><file name="BigFish_PaymentGateway.csv" hash="8293e9311dde2feb43733b786708f7a1"/></dir></target></contents>
 
 
 
17
  <compatible/>
18
- <dependencies/>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BigFish_PaymentGateway_Magento</name>
4
+ <version>1.11.0</version>
5
  <stability>stable</stability>
6
+ <license>Custom license</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>A BIG FISH Payment Gateway egy olyan szolg&#xE1;ltat&#xE1;s, amely seg&#xED;ts&#xE9;g&#xE9;vel b&#xE1;rmely Internetes keresked&#x151; t&#xF6;bbf&#xE9;le elektronikus fizet&#xE9;si megold&#xE1;st k&#xED;n&#xE1;lhat web&#xE1;ruh&#xE1;z&#xE1;ban.</summary>
10
  <description>A web&#xE1;ruh&#xE1;zak &#xE9;s a fizet&#xE9;si szolg&#xE1;ltat&#xF3;k k&#xF6;zti kommunik&#xE1;ci&#xF3;t a Payment Gateway biztos&#xED;tja, ez &#xE1;ltal komolyabb fejleszt&#xE9;s n&#xE9;lk&#xFC;l, egy l&#xE9;p&#xE9;sben t&#xF6;bb elektronikus fizet&#xE9;si szolg&#xE1;ltat&#xE1;s bek&#xF6;thet&#x151;, mivel a Payment Gateway &#xE9;s a keresked&#x151;k k&#xF6;z&#xF6;tt sztenderdiz&#xE1;lt kommunik&#xE1;ci&#xF3; zajlik, f&#xFC;ggetlen&#xFC;l a fizet&#xE9;si szolg&#xE1;ltat&#xF3;kt&#xF3;l, a tranzakci&#xF3;s &#xFC;zeneteket a Payment Gateway "ford&#xED;tja le a fizet&#xE9;si szolg&#xE1;ltat&#xF3;k nyelv&#xE9;re".&#xD;
11
  A l&#xE1;togat&#xF3;k a megv&#xE1;s&#xE1;rolt term&#xE9;keket &#xE9;s szolg&#xE1;ltat&#xE1;sokat azonnal kifizethetik, &#xED;gy a web&#xE1;ruh&#xE1;z p&#xE9;nz&#xFC;gyei tervezhet&#x151;bb&#xE9; v&#xE1;lnak. A Payment Gateway be&#xE9;p&#xED;t&#xE9;se nem ig&#xE9;nyel m&#xE1;st, mint egy egyszeri, n&#xE9;h&#xE1;ny &#xF3;r&#xE1;s tov&#xE1;bbfejleszt&#xE9;st, amihez mi teljesk&#xF6;r&#x171; tan&#xE1;csad&#xE1;st &#xE9;s technikai t&#xE1;mogat&#xE1;st ny&#xFA;jtunk.</description>
12
+ <notes>- New providers: OTP Simple, OTP Simple Wire, Saferpay&#xD;
13
+ &#xD;
14
+ - Barion provider turned off&#xD;
15
+ </notes>
16
+ <authors><author><name>BIG FISH Kft.</name><user>bfadmin</user><email>dev@bigfish.hu</email></author></authors>
17
+ <date>2016-06-10</date>
18
+ <time>09:00:19</time>
19
+ <contents><target name="magelocal"><dir name="BigFish"><dir name="PaymentGateway"><dir name="Block"><dir name="Form"><file name="Escalion.php" hash="8db1c2c75d8ecc431d2c4cb1c6257418"/><file name="Khbszep.php" hash="3ad66aee2f4bc61e080371c61415bb9f"/><file name="Mkbszep.php" hash="bccf733e6ae19e7e0bf1769987ccf770"/><file name="Otp2.php" hash="cd78396b6f24759c5be3e753a17b65fa"/><file name="Otpsimple.php" hash="68c80e0767d72f5bdbd92d0ba6e12556"/><file name="Otpszep.php" hash="59585457addbc84b3bfba54909af8f99"/><file name="Redirect.php" hash="11f5fcbd8a868032a8362651acbe4886"/><file name="Saferpay.php" hash="3329576d4f5a2c4ccc0dfb67c68f4fb8"/><file name="Wirecard.php" hash="457c968b23ba0efa0518a60bf10f090a"/></dir><file name="Form.php" hash="c936919ddc23e849e4428f28589ee070"/><file name="Info.php" hash="5bc4551306f21ff8bf488fc72ed0c4fd"/><file name="Jsinit.php" hash="178788393e09dd98d0009f0db422e545"/><dir name="Pending"><file name="History.php" hash="745dd59b8de60076d8a6b5ccf496fabd"/><file name="View.php" hash="b3404a72a31bf60861f8862a15bb3568"/></dir></dir><dir name="Helper"><file name="Data.php" hash="3c368881e9a0f021ebb7b88976e6b1e4"/></dir><dir name="Model"><file name="Abaqoos.php" hash="655322910e7b15a5f999a535b2eda4c6"/><file name="Abstract.php" hash="6c75efb4a84a6a81a77dc47dd9dc5e1e"/><file name="Barion.php" hash="651cc96eeb82c8a0321bdabd60e6509a"/><file name="Borgun.php" hash="d4b7a0993bd32dabdbfc7a8736224a97"/><file name="Cib.php" hash="ea48d14762362222837b1d1522512254"/><file name="Config.php" hash="fe3cb6509c534eb273c367a8d351c69a"/><file name="Escalion.php" hash="7115dba2f982a6843ffa8cd90fa3131b"/><file name="Event.php" hash="62b867a8e17da8913cfbc14b44673f62"/><file name="Fhb.php" hash="47234f39d0c4140aaf2e1d7660d0ba85"/><file name="Khb.php" hash="1fe9debe58da3fc9e34006d31cb8f019"/><file name="Khbszep.php" hash="7b0744c5f7911ef7086de5caf28df5fc"/><file name="Log.php" hash="a887de7bb3b215d81d3c70b4b8588bce"/><file name="Mcm.php" hash="727dc6636cf1174c2db1ed7b26930946"/><file name="Mkbszep.php" hash="e2f79221c31a6b3c785aa5d4bceb685c"/><file name="Mpp.php" hash="144a389c61da0556bc46fc10b0d92e23"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="3e99f7b52cee958e71f9a412c9ea4edd"/></dir><file name="Log.php" hash="d4138f11251a717b79b68fadb883ee23"/><dir name="Paymentgateway"><file name="Collection.php" hash="abc8ba82d181a15cfa48d09cdc2a35d6"/></dir><file name="Paymentgateway.php" hash="870020b535b30552f4f5a47bb4bd0935"/></dir><file name="Otp.php" hash="c0a4a946222f2c09dd0ec198d749ac45"/><file name="Otp2.php" hash="a392215103974748fd93e4235b6e68d0"/><file name="Otpay.php" hash="c7f2829710e07894e59f6ca15562424c"/><file name="Otpaymp.php" hash="b3da87a4a0b06445c0d1753844cc0ea0"/><file name="Otpmultipont.php" hash="6d3d476a2792d90cd13e435364cf5217"/><file name="Otpsimple.php" hash="4f50a5f8a1ab9de7c018a518df527dab"/><file name="Otpsimplewire.php" hash="b1c4ed48787b307fe42892e1d04708e9"/><file name="Otpszep.php" hash="44c04637fa019b9421620a2d6178e290"/><file name="PaymentGateway.php" hash="c91b0648df0514d2cfb9c40129baa018"/><file name="Paypal.php" hash="4c165d3dd02115173ba21e22a1496adc"/><file name="Payu.php" hash="e31bfd9ce6322df6fdf1dd38bc33f581"/><file name="Payu2.php" hash="560bf3928ca3894f21a3ff6391fe455b"/><file name="Payucash.php" hash="ea040fc4306fbbe1a273ccf1dc375a7a"/><file name="Payumobile.php" hash="31792f27fdd5a6305f548df2ed57bd69"/><file name="Payuwire.php" hash="24b510a92769fefdb201887a4c0e9642"/><file name="Saferpay.php" hash="9a95a8769846a055d14b00696e45c16f"/><file name="Sms.php" hash="dfa6c5d919dfa48cae185f2747d0f171"/><file name="Sofort.php" hash="c1a3cf4dd9ac043d2b9847cd96ddab6e"/><file name="Unicredit.php" hash="deabee29cbe39feccb7da1dd2180ea8e"/><file name="Wirecard.php" hash="e768ee9b11a7aa01356e484017ffbb36"/></dir><dir name="PaymentGateway"><file name="Autoload.php" hash="6997b4bce120bf62e226cbe42d4397c8"/><file name="Config.php" hash="bd5e2623b5e39f00fc9e0ff2b0736bed"/><file name="Exception.php" hash="57767e34b71c335779e31fe1e75bd146"/><dir name="Request"><file name="Close.php" hash="ddae1150d120b2284dd08a890f617f3f"/><file name="Details.php" hash="ff625f5fd9abd2e385fa32a181c0a6d8"/><file name="Finalize.php" hash="237383e917c2bed297c9cc0d49b32e12"/><file name="Init.php" hash="f75692377848aa776f6b5d8dd2653282"/><file name="InitRP.php" hash="3d8e91f1137b3156c0119fc058915d12"/><file name="Invoice.php" hash="b85a890e79d5166bc3991e5224bf5a6b"/><file name="Log.php" hash="157cd533f90f1a06f9b7e77a05eb9d79"/><file name="OneClickOptions.php" hash="f26652bd13a9ef8575940c2752f745a5"/><file name="Providers.php" hash="64d8b40ddb475538692e64decb3afa8f"/><file name="Refund.php" hash="15ca1e22d262139d36da3f6098bcb0db"/><file name="RequestAbstract.php" hash="2cd35a7e48003e45d739f1855391b684"/><file name="Result.php" hash="4e1bcab0adb4f91f2676b5536a5bf04b"/><file name="Start.php" hash="d6d2cb4ab25eed91f150eb443e92b9bb"/><file name="StartRP.php" hash="5af211e7949ab989a402cba18d8612c7"/></dir><file name="Response.php" hash="384cdf36a325babf1930c8d60ad2513b"/></dir><file name="PaymentGateway.php" hash="1751c50dfed1e72227fe6cd7ddf46072"/><dir name="controllers"><file name="PaymentgatewayController.php" hash="af5dcdd2a03a46c4a6bcf80bdb61dbe0"/><file name="PendingController.php" hash="722f4941550bb9f889bcba035cac3b97"/><file name="ProcessingController.php" hash="13ca3f5fe6f4385ece6c0d1dbca7e25a"/></dir><dir name="etc"><file name="config.xml" hash="187eaba01b974c6b4505428b337e0ff7"/><file name="system.xml" hash="41d3a76830ba50c058b28772b3d10e75"/></dir><dir name="sql"><dir name="paymentgateway_setup"><file name="mysql4-install-1.11.0.php" hash="2a295725d1810f33eeb05489f9f5fa6e"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="bfpaymentgateway.xml" hash="ef59bce8615f7a6f32c7e49e86136174"/></dir><dir name="template"><dir name="bfpaymentgateway"><file name="blank.phtml" hash="b29130ec79f42bb958a644cdab06af5e"/><dir name="form"><file name="khbszep.phtml" hash="33314bdb454d023bc866a09584f43836"/><file name="mkbszep.phtml" hash="33314bdb454d023bc866a09584f43836"/><file name="oneclickpayment.phtml" hash="ed31122716f61fe3e77748455b3ea1b9"/><file name="otp2.phtml" hash="7f521125ce12ce6072b316e6312efc1b"/><file name="otpszep.phtml" hash="33314bdb454d023bc866a09584f43836"/><file name="redirect.phtml" hash="c39543a72adb26206e7330dd921c16f5"/><file name="saferpay.phtml" hash="43cb55c62cae8e4d216f4842a71f2dbb"/><file name="wirecard.phtml" hash="a26d838f88fa889a032b6c252bc8d81a"/></dir><file name="info.phtml" hash="51ab770a43d4e2a608d20f0fb6561a96"/><dir name="pending"><file name="history.phtml" hash="945cff02077a38132c9025c689a7f038"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BigFish_PaymentGateway.xml" hash="bb16234eadf8490e8c5c09084fba33c5"/></dir></target><target name="magelocale"><dir name="hu_HU"><file name="BigFish_PaymentGateway.csv" hash="935cea8d17a0b351dd3f8cd76263d470"/></dir><dir name="en_US"><file name="BigFish_PaymentGateway.csv" hash="94a8a150b8213a70edd6aae765a13e20"/></dir><dir name="en_GB"><file name="BigFish_PaymentGateway.csv" hash="94a8a150b8213a70edd6aae765a13e20"/></dir></target></contents>
20
  <compatible/>
21
+ <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>