BigFish_PaymentGateway_Magento - Version 1.10.52

Version Notes

.

Download this release

Release Info

Developer Magento Core Team
Extension BigFish_PaymentGateway_Magento
Version 1.10.52
Comparing to
See all releases


Code changes from version 1.10.51 to 1.10.52

app/code/local/BigFish/PaymentGateway/Block/Form/Khbszep.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class BigFish_PaymentGateway_Block_Form_Khbszep extends BigFish_PaymentGateway_Block_Form
14
+ {
15
+ protected function _construct()
16
+ {
17
+ parent::_construct();
18
+ $this->setTemplate('bfpaymentgateway/form/khbszep.phtml');
19
+ }
20
+
21
+ public function getRedirectMessage()
22
+ {
23
+ return Mage::helper("paymentgateway")->__("redirectMessage");
24
+ }
25
+
26
+
27
+ public function getCustomMessage()
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
+ ?>
app/code/local/BigFish/PaymentGateway/Block/Form/Mkbszep.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class BigFish_PaymentGateway_Block_Form_Mkbszep extends BigFish_PaymentGateway_Block_Form
14
+ {
15
+ protected function _construct()
16
+ {
17
+ parent::_construct();
18
+ $this->setTemplate('bfpaymentgateway/form/mkbszep.phtml');
19
+ }
20
+
21
+ public function getRedirectMessage()
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
+ ?>
app/code/local/BigFish/PaymentGateway/Block/Form/Otpszep.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class BigFish_PaymentGateway_Block_Form_Otpszep extends BigFish_PaymentGateway_Block_Form
14
+ {
15
+ protected function _construct()
16
+ {
17
+ parent::_construct();
18
+ $this->setTemplate('bfpaymentgateway/form/otpszep.phtml');
19
+ }
20
+
21
+ public function getRedirectMessage()
22
+ {
23
+ return Mage::helper("paymentgateway")->__("redirectMessage");
24
+ }
25
+
26
+
27
+ public function getCustomMessage()
28
+ {
29
+ $cardPocketIds = BigFish_PaymentGateway_Model_Config::getOtpCardPocketId();
30
+
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
+ ?>
app/code/local/BigFish/PaymentGateway/Lib/PaymentGateway.php CHANGED
@@ -145,6 +145,23 @@ class BigFish_PaymentGateway_Lib_PaymentGateway {
145
  Mage::log("PaymentGW StartRP");
146
 
147
  return self::sendRequest('StartRP', $request);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  }
149
 
150
  private function sendRequest($method, BigFish_PaymentGateway_Lib_Request $request) {
@@ -176,7 +193,7 @@ class BigFish_PaymentGateway_Lib_PaymentGateway {
176
  $request->setExtra();
177
  }
178
 
179
- unset($request->otpPublicKey);
180
 
181
  $response = $client->__call($method, array(array('request' => $request)));
182
  $response = $response->{$method . 'Result'};
@@ -201,7 +218,7 @@ class BigFish_PaymentGateway_Lib_PaymentGateway {
201
  $request->setExtra();
202
  }
203
 
204
- unset($request->otpPublicKey);
205
  } else {
206
  Mage::log("PaymentGW HTTP GET API");
207
 
@@ -355,9 +372,12 @@ class BigFish_PaymentGateway_Lib_InitRequest extends BigFish_PaymentGateway_Lib_
355
  public $otpCardNumber;
356
  public $otpExpiration;
357
  public $otpCvc;
358
- public $otpPublicKey;
359
  public $otpCardPocketId;
360
  public $otpConsumerRegistrationId;
 
 
 
361
  public $oneClickPayment = false;
362
  public $autoCommit = true;
363
  public $extra;
@@ -528,13 +548,13 @@ class BigFish_PaymentGateway_Lib_InitRequest extends BigFish_PaymentGateway_Lib_
528
 
529
  /**
530
  * Set the public key
531
- * Works with OTP2 provider
532
  *
533
- * @param string $otpCvc Verification code (e.g. 123)
534
  * @return PaymentGateway_Init_Request
535
  */
536
- public function setOtpPublicKey($otpPublicKey) {
537
- $this->otpPublicKey = $otpPublicKey;
538
  return $this;
539
  }
540
 
@@ -566,6 +586,48 @@ class BigFish_PaymentGateway_Lib_InitRequest extends BigFish_PaymentGateway_Lib_
566
  return $this;
567
  }
568
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
569
  /**
570
  * Enable or disable One Click Payment of the user
571
  * Works with Escalion provider
@@ -618,7 +680,17 @@ class BigFish_PaymentGateway_Lib_InitRequest extends BigFish_PaymentGateway_Lib_
618
  'otpCvc' => $this->otpCvc
619
  ));
620
  }
621
- } else if (!empty($extra)) {
 
 
 
 
 
 
 
 
 
 
622
  $this->extra = $this->urlsafe_b64encode(json_encode($extra));
623
  }
624
 
@@ -634,6 +706,8 @@ class BigFish_PaymentGateway_Lib_InitRequest extends BigFish_PaymentGateway_Lib_
634
  unset($this->otpExpiration);
635
  unset($this->otpCvc);
636
  unset($this->otpConsumerRegistrationId);
 
 
637
  }
638
 
639
  /**
@@ -653,7 +727,7 @@ class BigFish_PaymentGateway_Lib_InitRequest extends BigFish_PaymentGateway_Lib_
653
  $encrypted = null;
654
 
655
  $extra = serialize($data);
656
- openssl_public_encrypt($extra, $encrypted, $this->otpPublicKey);
657
  $this->extra = $this->urlsafe_b64encode($encrypted);
658
  }
659
 
@@ -961,6 +1035,45 @@ class BigFish_PaymentGateway_Lib_StartRPRequest extends BigFish_PaymentGateway_L
961
 
962
  }
963
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
964
  /**
965
  * Payment Gateway response class
966
  */
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) {
193
  $request->setExtra();
194
  }
195
 
196
+ unset($request->publicKey);
197
 
198
  $response = $client->__call($method, array(array('request' => $request)));
199
  $response = $response->{$method . 'Result'};
218
  $request->setExtra();
219
  }
220
 
221
+ unset($request->publicKey);
222
  } else {
223
  Mage::log("PaymentGW HTTP GET API");
224
 
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;
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
 
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
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
 
706
  unset($this->otpExpiration);
707
  unset($this->otpCvc);
708
  unset($this->otpConsumerRegistrationId);
709
+ unset($this->mkbSzepCardNumber);
710
+ unset($this->mkbSzepCvv);
711
  }
712
 
713
  /**
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
 
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
  */
app/code/local/BigFish/PaymentGateway/Model/Abstract.php CHANGED
@@ -154,7 +154,11 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
154
  'OtpCardNumber' => '',
155
  'OtpExpiration' => '',
156
  'OtpCvc' => '',
157
- 'OtpPublicKey' => '',
 
 
 
 
158
  'OneClickPayment' => '',
159
  'AutoCommit' => true,
160
  'extra' => $extra,
@@ -225,10 +229,18 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
225
  $helper = Mage::helper('paymentgateway');
226
  $paymentParams = $this->getPaymentParams();
227
 
228
- $pgw = new BigFish_PaymentGateway_Lib_PaymentGateway($helper->getStoreName(), $helper->getApiKey(), $helper->getUseApi(), $helper->getIsTestMode());
 
 
 
 
 
 
 
 
229
 
230
- $request = $pgw->initRequest();
231
- $request->setProviderName($paymentParams["provider"])
232
  ->setResponseUrl($paymentParams["responseUrl"], $helper->getUseApi())
233
  ->setAmount($paymentParams["amount"])
234
  ->setCurrency($paymentParams["currency"])
@@ -239,9 +251,28 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
239
  ->setOtpCardNumber($paymentParams["OtpCardNumber"])
240
  ->setOtpExpiration($paymentParams["OtpExpiration"])
241
  ->setOtpCvc($paymentParams["OtpCvc"])
242
- ->setOtpPublicKey($paymentParams["OtpPublicKey"])
243
  ->setOneClickPayment($paymentParams["OneClickPayment"]);
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  /**
246
  * Set Extra
247
  *
@@ -268,6 +299,14 @@ class BigFish_PaymentGateway_Model_Abstract extends Mage_Payment_Model_Method_Ab
268
  ->save();
269
 
270
  $pgwLog->setPaymentgatewayId($pgwModel->getId())
 
 
 
 
 
 
 
 
271
  ->setCreatedTime(date("Y-m-d H:i:s"))
272
  ->setStatus(BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED)
273
  ->setDebug($debugMsg)
154
  'OtpCardNumber' => '',
155
  'OtpExpiration' => '',
156
  'OtpCvc' => '',
157
+ 'publicKey' => '',
158
+ 'MkbSzepCafeteriaId' => '',
159
+ 'MkbSzepCardNumber' => '',
160
+ 'MkbSzepCardCvv' => '',
161
+ 'OtpCardPocketId' => '',
162
  'OneClickPayment' => '',
163
  'AutoCommit' => true,
164
  'extra' => $extra,
229
  $helper = Mage::helper('paymentgateway');
230
  $paymentParams = $this->getPaymentParams();
231
 
232
+ if ($paymentParams["provider"] == 'OTPSZEP') {
233
+ $storeName = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/storenameotpszep');
234
+ $apiKey = Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/apikeyotpszep');
235
+ } else {
236
+ $storeName = $helper->getStoreName();
237
+ $apiKey = $helper->getApiKey();
238
+ }
239
+
240
+ $pgw = new BigFish_PaymentGateway_Lib_PaymentGateway($storeName, $apiKey, $helper->getUseApi(), $helper->getIsTestMode());
241
 
242
+ $request = $pgw->initRequest();
243
+ $request->setProviderName(($paymentParams["provider"] == 'OTPSZEP') ? 'OTP' : $paymentParams["provider"])
244
  ->setResponseUrl($paymentParams["responseUrl"], $helper->getUseApi())
245
  ->setAmount($paymentParams["amount"])
246
  ->setCurrency($paymentParams["currency"])
251
  ->setOtpCardNumber($paymentParams["OtpCardNumber"])
252
  ->setOtpExpiration($paymentParams["OtpExpiration"])
253
  ->setOtpCvc($paymentParams["OtpCvc"])
254
+ ->setPublicKey($paymentParams["publicKey"])
255
  ->setOneClickPayment($paymentParams["OneClickPayment"]);
256
 
257
+ if ($paymentParams["provider"] == 'OTPSZEP') {
258
+ $request->setOtpCardPocketId($paymentParams['OtpCardPocketId']);
259
+ }
260
+
261
+ if ($paymentParams["provider"] == 'OTP2') {
262
+ $paymentParams['OtpCardNumber'] = '****************';
263
+ $paymentParams['OtpExpiration'] = '****';
264
+ $paymentParams['OtpCvc'] = '***';
265
+ }
266
+
267
+ if ($paymentParams["provider"] == 'MKBSZEP') {
268
+ $request->setMkbSzepCafeteriaId($paymentParams['MkbSzepCafeteriaId'])
269
+ ->setMkbSzepCardNumber($paymentParams['MkbSzepCardNumber'])
270
+ ->setMkbSzepCvv($paymentParams['MkbSzepCardCvv']);
271
+
272
+ $paymentParams['MkbSzepCardNumber'] = '****************';
273
+ $paymentParams['MkbSzepCardCvv'] = '***';
274
+ }
275
+
276
  /**
277
  * Set Extra
278
  *
299
  ->save();
300
 
301
  $pgwLog->setPaymentgatewayId($pgwModel->getId())
302
+ ->setCreatedTime(date("Y-m-d H:i:s"))
303
+ ->setStatus(BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED)
304
+ ->setDebug(trim($paymentParams["provider"]))
305
+ ->save();
306
+
307
+ $pgwLog2 = Mage::getModel('paymentgateway/log');
308
+
309
+ $pgwLog2->setPaymentgatewayId($pgwModel->getId())
310
  ->setCreatedTime(date("Y-m-d H:i:s"))
311
  ->setStatus(BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED)
312
  ->setDebug($debugMsg)
app/code/local/BigFish/PaymentGateway/Model/Config.php CHANGED
@@ -16,5 +16,49 @@ class BigFish_PaymentGateway_Model_Config
16
  );
17
  }
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
 
16
  );
17
  }
18
 
19
+ /**
20
+ * PaymentGateway KHB Pocket Ids
21
+ *
22
+ * @return array
23
+ */
24
+ public function getKhbCardPocketId()
25
+ {
26
+ return array(
27
+ '' => Mage::helper('paymentgateway')->__('Please, select a pocket.'),
28
+ '1' => Mage::helper('paymentgateway')->__('Accommodation'),
29
+ '2' => Mage::helper('paymentgateway')->__('Hospitality'),
30
+ '3' => Mage::helper('paymentgateway')->__('Leisure')
31
+ );
32
+ }
33
+
34
+ /**
35
+ * PaymentGateway MKB Pocket Ids
36
+ *
37
+ * @return array
38
+ */
39
+ public function getMkbSzepCafeteriaId()
40
+ {
41
+ return array(
42
+ '' => Mage::helper('paymentgateway')->__('Please, select a pocket.'),
43
+ '1111' => Mage::helper('paymentgateway')->__('Accommodation'),
44
+ '2222' => Mage::helper('paymentgateway')->__('Hospitality'),
45
+ '3333' => Mage::helper('paymentgateway')->__('Leisure')
46
+ );
47
+ }
48
+
49
+ /**
50
+ * PaymentGateway OTP Pocket Ids
51
+ *
52
+ * @return array
53
+ */
54
+ public function getOtpCardPocketId()
55
+ {
56
+ return array(
57
+ '' => Mage::helper('paymentgateway')->__('Please, select a pocket.'),
58
+ '09' => Mage::helper('paymentgateway')->__('Accommodation'),
59
+ '07' => Mage::helper('paymentgateway')->__('Hospitality'),
60
+ '08' => Mage::helper('paymentgateway')->__('Leisure')
61
+ );
62
+ }
63
  }
64
 
app/code/local/BigFish/PaymentGateway/Model/Khbszep.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 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_Model_Khbszep extends BigFish_PaymentGateway_Model_Abstract
14
+ {
15
+ protected $_formBlockType = 'paymentgateway/form_khbszep';
16
+
17
+ protected $_code = 'paymentgateway_khbszep';
18
+
19
+ protected $_paymentMethod = 'KHBSZEP';
20
+
21
+ public function getPaymentParams()
22
+ {
23
+ try {
24
+ $params = parent::getPaymentParams();
25
+
26
+ $params['extra']['KhbCardPocketId']=Mage::getStoreConfig('paymentgateway/paymentgateway_khbszep/khbcardpocketid');
27
+
28
+ if (!strlen($params['extra']['KhbCardPocketId'])) {
29
+ throw new Exception();
30
+ }
31
+
32
+ return $params;
33
+ } catch (Exception $e) {
34
+ Mage::throwException($this->_getHelper()->__('validation_invalidPocketId'));
35
+ }
36
+ }
37
+ }
app/code/local/BigFish/PaymentGateway/Model/Mkbszep.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 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';
20
+
21
+ public function getPaymentParams()
22
+ {
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();
35
+ }
36
+
37
+ return $params;
38
+ } catch (Exception $e) {
39
+ Mage::throwException($this->_getHelper()->__('validation_invalidPocketId'));
40
+ }
41
+ }
42
+ }
app/code/local/BigFish/PaymentGateway/Model/Otp2.php CHANGED
@@ -58,7 +58,7 @@ class BigFish_PaymentGateway_Model_Otp2 extends BigFish_PaymentGateway_Model_Abs
58
  $params["OtpCardNumber"]=$info->getCcNumber();
59
  $params["OtpExpiration"]=str_pad($info->getCcExpMonth(), 2, STR_PAD_LEFT, '0').substr($info->getCcExpYear(),2,2);
60
  $params["OtpCvc"]=$info->getCcCid();
61
- $params["OtpPublicKey"]=Mage::getStoreConfig("payment/paymentgateway_otp2/publickey");
62
 
63
  return $params;
64
  } catch (Exception $e) {
58
  $params["OtpCardNumber"]=$info->getCcNumber();
59
  $params["OtpExpiration"]=str_pad($info->getCcExpMonth(), 2, STR_PAD_LEFT, '0').substr($info->getCcExpYear(),2,2);
60
  $params["OtpCvc"]=$info->getCcCid();
61
+ $params["publicKey"]=Mage::getStoreConfig("payment/paymentgateway_otp2/publickey");
62
 
63
  return $params;
64
  } catch (Exception $e) {
app/code/local/BigFish/PaymentGateway/Model/Otpaymp.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class BigFish_PaymentGateway_Model_Otpaymp extends BigFish_PaymentGateway_Model_Abstract
14
+ {
15
+ protected $_code = 'paymentgateway_otpaymp';
16
+
17
+ protected $_paymentMethod = 'OTPayMP';
18
+
19
+ }
app/code/local/BigFish/PaymentGateway/Model/Otpmultipont.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class BigFish_PaymentGateway_Model_Otpmultipont extends BigFish_PaymentGateway_Model_Abstract
14
+ {
15
+ protected $_code = 'paymentgateway_otpmultipont';
16
+
17
+ protected $_paymentMethod = 'OTPMultipont';
18
+
19
+ }
app/code/local/BigFish/PaymentGateway/Model/Otpszep.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 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_Model_Otpszep extends BigFish_PaymentGateway_Model_Abstract
14
+ {
15
+ protected $_formBlockType = 'paymentgateway/form_otpszep';
16
+
17
+ protected $_code = 'paymentgateway_otpszep';
18
+
19
+ protected $_paymentMethod = 'OTPSZEP';
20
+
21
+ public function getPaymentParams()
22
+ {
23
+ try {
24
+ $params = parent::getPaymentParams();
25
+
26
+ $params['OtpCardPocketId']=Mage::getStoreConfig('paymentgateway/paymentgateway_otpszep/otpcardpocketid');
27
+
28
+ if (!strlen($params['OtpCardPocketId'])) {
29
+ throw new Exception();
30
+ }
31
+
32
+ return $params;
33
+ } catch (Exception $e) {
34
+ Mage::throwException($this->_getHelper()->__('validation_invalidPocketId'));
35
+ }
36
+ }
37
+ }
app/code/local/BigFish/PaymentGateway/controllers/ProcessingController.php CHANGED
@@ -22,8 +22,8 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
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
29
  *
@@ -33,6 +33,37 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
33
  {
34
  return Mage::getSingleton('checkout/session');
35
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
  /**
38
  * Show orderPlaceRedirect page which contains the Moneybookers iframe.
@@ -49,6 +80,9 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
49
  Mage::throwException($this->_helper->__('process_noOrderFound'));
50
  }
51
 
 
 
 
52
  $collection=Mage::getModel("paymentgateway/paymentGateway")
53
  ->getCollection()
54
  ->addFieldToSelect('*')
@@ -102,6 +136,10 @@ class BigFish_PaymentGateway_ProcessingController extends Mage_Core_Controller_F
102
  Mage::throwException($this->_helper->__('process_noTransactionIdInResponse'));
103
  }
104
  $transactionId = $urlParams["TransactionId"];
 
 
 
 
105
  $response = $this->_paymentGateway->result($transactionId);
106
 
107
  Mage::log("PaymentGW Response: ".print_r($response,true));
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
29
  *
33
  {
34
  return Mage::getSingleton('checkout/session');
35
  }
36
+
37
+ /**
38
+ * set _paymentGateway
39
+ *
40
+ * @param string $where
41
+ */
42
+ protected function _setPaymentGateway($where)
43
+ {
44
+ $connection = Mage::getSingleton('core/resource')->getConnection('core_read');
45
+ $sql = "SELECT
46
+ bpl.debug FROM bigfish_paymentgateway bp
47
+ LEFT JOIN bigfish_paymentgateway_log bpl ON bp.paymentgateway_id=bpl.paymentgateway_id
48
+ WHERE
49
+ bpl.status=".BigFish_PaymentGateway_Helper_Data::TRANSACTION_STATUS_INITED.
50
+ $where."
51
+ ORDER BY
52
+ bpl.log_id asc
53
+ LIMIT 1";
54
+ $row = $connection->fetchRow($sql);
55
+
56
+ if (!(is_array($row) && !empty($row))) {
57
+ Mage::throwException($this->_helper->__('process_noOrderFound'));
58
+ }
59
+
60
+ if ($row['debug'] == 'OTPSZEP') {
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
 
68
  /**
69
  * Show orderPlaceRedirect page which contains the Moneybookers iframe.
80
  Mage::throwException($this->_helper->__('process_noOrderFound'));
81
  }
82
 
83
+ $where = " AND bp.order_id='".$checkout->getLastRealOrderId()."'";
84
+ $this->_setPaymentGateway($where);
85
+
86
  $collection=Mage::getModel("paymentgateway/paymentGateway")
87
  ->getCollection()
88
  ->addFieldToSelect('*')
136
  Mage::throwException($this->_helper->__('process_noTransactionIdInResponse'));
137
  }
138
  $transactionId = $urlParams["TransactionId"];
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));
app/code/local/BigFish/PaymentGateway/etc/config.xml CHANGED
@@ -242,7 +242,7 @@
242
  <group>paymentgw</group>
243
  <active>0</active>
244
  <model>paymentgateway/wirecard</model>
245
- <title><![CDATA[Wirecard]]></title>
246
  <allowspecific>0</allowspecific>
247
  </paymentgateway_wirecard>
248
  <paymentgateway_fhb>
@@ -287,6 +287,41 @@
287
  <title><![CDATA[Borgun]]></title>
288
  <allowspecific>0</allowspecific>
289
  </paymentgateway_borgun>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
290
  </payment>
291
  <paymentgateway>
292
  <settings>
242
  <group>paymentgw</group>
243
  <active>0</active>
244
  <model>paymentgateway/wirecard</model>
245
+ <title><![CDATA[QPAY Wirecard]]></title>
246
  <allowspecific>0</allowspecific>
247
  </paymentgateway_wirecard>
248
  <paymentgateway_fhb>
287
  <title><![CDATA[Borgun]]></title>
288
  <allowspecific>0</allowspecific>
289
  </paymentgateway_borgun>
290
+ <paymentgateway_otpaymp>
291
+ <group>paymentgw</group>
292
+ <active>0</active>
293
+ <model>paymentgateway/otpaymp</model>
294
+ <title><![CDATA[MasterPass]]></title>
295
+ <allowspecific>0</allowspecific>
296
+ </paymentgateway_otpaymp>
297
+ <paymentgateway_khbszep>
298
+ <group>paymentgw</group>
299
+ <active>0</active>
300
+ <model>paymentgateway/khbszep</model>
301
+ <title><![CDATA[K&H SZÉP Card]]></title>
302
+ <allowspecific>0</allowspecific>
303
+ </paymentgateway_khbszep>
304
+ <paymentgateway_otpmultipont>
305
+ <group>paymentgw</group>
306
+ <active>0</active>
307
+ <model>paymentgateway/otpmultipont</model>
308
+ <title><![CDATA[OTP Multipont]]></title>
309
+ <allowspecific>0</allowspecific>
310
+ </paymentgateway_otpmultipont>
311
+ <paymentgateway_mkbszep>
312
+ <group>paymentgw</group>
313
+ <active>0</active>
314
+ <model>paymentgateway/mkbszep</model>
315
+ <title><![CDATA[MKB SZÉP Card]]></title>
316
+ <allowspecific>0</allowspecific>
317
+ </paymentgateway_mkbszep>
318
+ <paymentgateway_otpszep>
319
+ <group>paymentgw</group>
320
+ <active>0</active>
321
+ <model>paymentgateway/otpszep</model>
322
+ <title><![CDATA[OTP SZÉP Card]]></title>
323
+ <allowspecific>0</allowspecific>
324
+ </paymentgateway_otpszep>
325
  </payment>
326
  <paymentgateway>
327
  <settings>
app/code/local/BigFish/PaymentGateway/etc/system.xml CHANGED
@@ -52,14 +52,14 @@
52
  <sort_order>4</sort_order>
53
  <show_in_default>1</show_in_default>
54
  <show_in_website>1</show_in_website>
55
- <show_in_store>0</show_in_store>
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>101</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>
@@ -119,7 +119,7 @@
119
  <paymentgateway_khb translate="label">
120
  <label><![CDATA[K&H Bank]]></label>
121
  <frontend_type>text</frontend_type>
122
- <sort_order>111</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>
@@ -179,7 +179,7 @@
179
  <paymentgateway_otp translate="label">
180
  <label><![CDATA[OTP Bank]]></label>
181
  <frontend_type>text</frontend_type>
182
- <sort_order>111</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>
@@ -239,7 +239,7 @@
239
  <paymentgateway_abaqoos translate="label">
240
  <label><![CDATA[Abaqoos]]></label>
241
  <frontend_type>text</frontend_type>
242
- <sort_order>111</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>
@@ -299,10 +299,10 @@
299
  <paymentgateway_mpp translate="label">
300
  <label><![CDATA[Mobile Payment]]></label>
301
  <frontend_type>text</frontend_type>
302
- <sort_order>111</sort_order>
303
- <show_in_default>1</show_in_default>
304
- <show_in_website>1</show_in_website>
305
- <show_in_store>1</show_in_store>
306
  <fields>
307
  <active translate="label">
308
  <label>Enabled</label>
@@ -359,7 +359,7 @@
359
  <paymentgateway_mcm translate="label">
360
  <label><![CDATA[MasterCard Mobile Payment]]></label>
361
  <frontend_type>text</frontend_type>
362
- <sort_order>111</sort_order>
363
  <show_in_default>1</show_in_default>
364
  <show_in_website>1</show_in_website>
365
  <show_in_store>1</show_in_store>
@@ -419,7 +419,7 @@
419
  <paymentgateway_paypal translate="label">
420
  <label><![CDATA[PayPal]]></label>
421
  <frontend_type>text</frontend_type>
422
- <sort_order>111</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>
@@ -479,7 +479,7 @@
479
  <paymentgateway_sms translate="label">
480
  <label><![CDATA[SMS]]></label>
481
  <frontend_type>text</frontend_type>
482
- <sort_order>111</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>
@@ -539,7 +539,7 @@
539
  <paymentgateway_otp2 translate="label">
540
  <label>OTP Bank (Two-way)</label>
541
  <frontend_type>text</frontend_type>
542
- <sort_order>121</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>
@@ -608,7 +608,7 @@
608
  <paymentgateway_escalion translate="label">
609
  <label><![CDATA[Escalion]]></label>
610
  <frontend_type>text</frontend_type>
611
- <sort_order>111</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>
@@ -668,7 +668,7 @@
668
  <paymentgateway_payu translate="label">
669
  <label><![CDATA[PayU]]></label>
670
  <frontend_type>text</frontend_type>
671
- <sort_order>111</sort_order>
672
  <show_in_default>1</show_in_default>
673
  <show_in_website>1</show_in_website>
674
  <show_in_store>1</show_in_store>
@@ -728,7 +728,7 @@
728
  <paymentgateway_payuwire translate="label">
729
  <label><![CDATA[PayUWire]]></label>
730
  <frontend_type>text</frontend_type>
731
- <sort_order>111</sort_order>
732
  <show_in_default>1</show_in_default>
733
  <show_in_website>1</show_in_website>
734
  <show_in_store>1</show_in_store>
@@ -788,7 +788,7 @@
788
  <paymentgateway_payucash translate="label">
789
  <label><![CDATA[PayUCash]]></label>
790
  <frontend_type>text</frontend_type>
791
- <sort_order>111</sort_order>
792
  <show_in_default>1</show_in_default>
793
  <show_in_website>1</show_in_website>
794
  <show_in_store>1</show_in_store>
@@ -849,9 +849,9 @@
849
  <label><![CDATA[PayUMobile]]></label>
850
  <frontend_type>text</frontend_type>
851
  <sort_order>111</sort_order>
852
- <show_in_default>1</show_in_default>
853
- <show_in_website>1</show_in_website>
854
- <show_in_store>1</show_in_store>
855
  <fields>
856
  <active translate="label">
857
  <label>Enabled</label>
@@ -906,9 +906,9 @@
906
  </fields>
907
  </paymentgateway_payumobile>
908
  <paymentgateway_wirecard translate="label">
909
- <label><![CDATA[Wirecard]]></label>
910
  <frontend_type>text</frontend_type>
911
- <sort_order>111</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>
@@ -968,7 +968,7 @@
968
  <paymentgateway_fhb translate="label">
969
  <label>FHB Bank</label>
970
  <frontend_type>text</frontend_type>
971
- <sort_order>111</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>
@@ -1028,7 +1028,7 @@
1028
  <paymentgateway_unicredit translate="label">
1029
  <label>UniCredit Bank</label>
1030
  <frontend_type>text</frontend_type>
1031
- <sort_order>111</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>
@@ -1088,7 +1088,7 @@
1088
  <paymentgateway_barion translate="label">
1089
  <label>Barion</label>
1090
  <frontend_type>text</frontend_type>
1091
- <sort_order>111</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>
@@ -1148,7 +1148,7 @@
1148
  <paymentgateway_otpay translate="label">
1149
  <label>OTPay</label>
1150
  <frontend_type>text</frontend_type>
1151
- <sort_order>111</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>
@@ -1208,7 +1208,7 @@
1208
  <paymentgateway_sofort translate="label">
1209
  <label>Sofort</label>
1210
  <frontend_type>text</frontend_type>
1211
- <sort_order>111</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>
@@ -1268,7 +1268,7 @@
1268
  <paymentgateway_borgun translate="label">
1269
  <label><![CDATA[Borgun]]></label>
1270
  <frontend_type>text</frontend_type>
1271
- <sort_order>111</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>
@@ -1325,6 +1325,363 @@
1325
  </specificcountry>
1326
  </fields>
1327
  </paymentgateway_borgun>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1328
  </groups>
1329
  </paymentgateway>
1330
  </sections>
52
  <sort_order>4</sort_order>
53
  <show_in_default>1</show_in_default>
54
  <show_in_website>1</show_in_website>
55
+ <show_in_store>0</show_in_store>
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>
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>
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>
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>
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>
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>1</show_in_default>
364
  <show_in_website>1</show_in_website>
365
  <show_in_store>1</show_in_store>
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>
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>
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>
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>
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>1</show_in_default>
673
  <show_in_website>1</show_in_website>
674
  <show_in_store>1</show_in_store>
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>1</show_in_default>
733
  <show_in_website>1</show_in_website>
734
  <show_in_store>1</show_in_store>
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>1</show_in_default>
793
  <show_in_website>1</show_in_website>
794
  <show_in_store>1</show_in_store>
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>
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>
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>
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>
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>
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>
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>
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>
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>
1405
+ </active>
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>
1442
+ <show_in_store>0</show_in_store>
1443
+ </allowspecific>
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>
1452
+ <show_in_store>0</show_in_store>
1453
+ <can_be_empty>1</can_be_empty>
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>
1535
+ </active>
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>
1581
+ <show_in_store>0</show_in_store>
1582
+ </allowspecific>
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>
1591
+ <show_in_store>0</show_in_store>
1592
+ <can_be_empty>1</can_be_empty>
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>
1614
+ </active>
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>payment/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>payment/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>
1669
+ <show_in_store>0</show_in_store>
1670
+ </allowspecific>
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>
1679
+ <show_in_store>0</show_in_store>
1680
+ <can_be_empty>1</can_be_empty>
1681
+ <depends><allowspecific>1</allowspecific></depends>
1682
+ </specificcountry>
1683
+ </fields>
1684
+ </paymentgateway_otpszep>
1685
  </groups>
1686
  </paymentgateway>
1687
  </sections>
app/design/frontend/base/default/template/bfpaymentgateway/form/khbszep.phtml ADDED
@@ -0,0 +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>
app/design/frontend/base/default/template/bfpaymentgateway/form/mkbszep.phtml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
app/design/frontend/base/default/template/bfpaymentgateway/form/otp2.phtml CHANGED
@@ -1,6 +1,6 @@
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
  <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
6
  <div class="input-box">
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>
6
  <div class="input-box">
app/design/frontend/base/default/template/bfpaymentgateway/form/otpszep.phtml ADDED
@@ -0,0 +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>
app/locale/hu_HU/BigFish_PaymentGateway.csv CHANGED
@@ -13,4 +13,10 @@
13
  "process_noTransactionIdInResponse","Nincs tranzakció azonosító."
14
  "validation_invalidCcNumber","Érvénytelen Bankkártya szám."
15
  "validation_invalidExpDate","Érvénytelen bankkártya lejárati dátum."
16
- "validation_invalidCcData","Érvénytelen bankkártya adatok."
 
 
 
 
 
 
13
  "process_noTransactionIdInResponse","Nincs tranzakció azonosító."
14
  "validation_invalidCcNumber","Érvénytelen Bankkártya szám."
15
  "validation_invalidExpDate","Érvénytelen bankkártya lejárati dátum."
16
+ "validation_invalidCcData","Érvénytelen bankkártya adatok."
17
+ "validation_invalidPocketId","Érvénytelen zseb azonosító."
18
+ "Please, select a pocket.","Kérem, válasszon egy zsebet."
19
+ "Accommodation","Szálláshely"
20
+ "Hospitality","Vendéglátás"
21
+ "Leisure","Szabadidő"
22
+ "The next pocket will be debited at payment:","A következő zseb lesz megterhelve a fizetés során:"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BigFish_PaymentGateway_Magento</name>
4
- <version>1.10.51</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
@@ -11,9 +11,9 @@
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>.</notes>
13
  <authors><author><name>BIG FISH Kft.</name><user>auto-converted</user><email>dev@bigfish.hu</email></author></authors>
14
- <date>2015-02-17</date>
15
- <time>09:50:22</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="Otp2.php" hash="cae3f2cf804e8f225104dadc02b283a3"/><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="5d96a80a4594e8dea6dceda5a5a45031"/></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="2c6d60f197e2908c9aa258bdf012d367"/><file name="Barion.php" hash="651cc96eeb82c8a0321bdabd60e6509a"/><file name="Borgun.php" hash="d4b7a0993bd32dabdbfc7a8736224a97"/><file name="Cib.php" hash="ea48d14762362222837b1d1522512254"/><file name="Config.php" hash="4a158edc6574521b4526f2c3baaa410d"/><file name="Escalion.php" hash="23366a2ebdbbcfd68ef4069d48ce9fbe"/><file name="Event.php" hash="15acccb702ebde6d8f73ff79830a6824"/><file name="Fhb.php" hash="47234f39d0c4140aaf2e1d7660d0ba85"/><file name="Khb.php" hash="1fe9debe58da3fc9e34006d31cb8f019"/><file name="Log.php" hash="a887de7bb3b215d81d3c70b4b8588bce"/><file name="Mcm.php" hash="727dc6636cf1174c2db1ed7b26930946"/><file name="Mpp.php" hash="144a389c61da0556bc46fc10b0d92e23"/><file name="Otp.php" hash="c0a4a946222f2c09dd0ec198d749ac45"/><file name="Otp2.php" hash="f2bc840dd39af910c19c2b3f5834ea8c"/><file name="Otpay.php" hash="c7f2829710e07894e59f6ca15562424c"/><file name="PaymentGateway.php" hash="c91b0648df0514d2cfb9c40129baa018"/><file name="Paypal.php" hash="4c165d3dd02115173ba21e22a1496adc"/><file name="Payu.php" hash="e31bfd9ce6322df6fdf1dd38bc33f581"/><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="c626f03c58cb808b94020ba200bbf19a"/></dir><dir name="etc"><file name="config.xml" hash="eb9d9ae75523125fb32e93fecb6d77d9"/><file name="system.xml" hash="c7a454ed13bc7c2bcbb7743b9a158c17"/></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="otp2.phtml" hash="cb2344e34a935e54f8be0b7d25a5ea8e"/><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="faf3a22c49102141a4ed47c4752326df"/></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.10.52</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
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>.</notes>
13
  <authors><author><name>BIG FISH Kft.</name><user>auto-converted</user><email>dev@bigfish.hu</email></author></authors>
14
+ <date>2015-06-03</date>
15
+ <time>12:04:56</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="c6092bf2360292bc39fdc60f3cb127fb"/><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="15acccb702ebde6d8f73ff79830a6824"/><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="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="adc103a22b5f12c19deed5274270e707"/></dir><dir name="etc"><file name="config.xml" hash="4e97a808b76391d724ce0cb081336a6e"/><file name="system.xml" hash="29dbf36edf0c12c8a3e2f557b179078f"/></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="15d2fc3f86ed2139e8a787fb07020a77"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>