Skrill_Hosted_Payment_Solution - Version 1.0.32

Version Notes

no additional notes included

Download this release

Release Info

Developer Payreto Dev Team
Extension Skrill_Hosted_Payment_Solution
Version 1.0.32
Comparing to
See all releases


Code changes from version 1.0.31 to 1.0.32

Files changed (119) hide show
  1. app/code/community/Skrill/Block/Payment/Form/Abstract.php +61 -61
  2. app/code/community/Skrill/Block/Payment/Form/Acc.php +32 -32
  3. app/code/community/Skrill/Block/Payment/Form/Ali.php +32 -32
  4. app/code/community/Skrill/Block/Payment/Form/Amx.php +32 -32
  5. app/code/community/Skrill/Block/Payment/Form/Creditcard.php +65 -65
  6. app/code/community/Skrill/Block/Payment/Form/Csi.php +32 -32
  7. app/code/community/Skrill/Block/Payment/Form/Did.php +32 -32
  8. app/code/community/Skrill/Block/Payment/Form/Din.php +32 -32
  9. app/code/community/Skrill/Block/Payment/Form/Directdebit.php +32 -32
  10. app/code/community/Skrill/Block/Payment/Form/Dnk.php +32 -32
  11. app/code/community/Skrill/Block/Payment/Form/Ebt.php +32 -32
  12. app/code/community/Skrill/Block/Payment/Form/Eps.php +32 -32
  13. app/code/community/Skrill/Block/Payment/Form/Epy.php +32 -32
  14. app/code/community/Skrill/Block/Payment/Form/Flexible.php +33 -33
  15. app/code/community/Skrill/Block/Payment/Form/Gcb.php +32 -32
  16. app/code/community/Skrill/Block/Payment/Form/Gir.php +32 -32
  17. app/code/community/Skrill/Block/Payment/Form/Giropay.php +32 -32
  18. app/code/community/Skrill/Block/Payment/Form/Glu.php +32 -32
  19. app/code/community/Skrill/Block/Payment/Form/Ideal.php +32 -32
  20. app/code/community/Skrill/Block/Payment/Form/Idl.php +32 -32
  21. app/code/community/Skrill/Block/Payment/Form/Jcb.php +32 -32
  22. app/code/community/Skrill/Block/Payment/Form/Mae.php +32 -32
  23. app/code/community/Skrill/Block/Payment/Form/Msc.php +32 -32
  24. app/code/community/Skrill/Block/Payment/Form/Npy.php +32 -32
  25. app/code/community/Skrill/Block/Payment/Form/Ntl.php +32 -32
  26. app/code/community/Skrill/Block/Payment/Form/Obt.php +32 -32
  27. app/code/community/Skrill/Block/Payment/Form/Payolutionins.php +32 -32
  28. app/code/community/Skrill/Block/Payment/Form/Payolutioninv.php +32 -32
  29. app/code/community/Skrill/Block/Payment/Form/Paypal.php +32 -32
  30. app/code/community/Skrill/Block/Payment/Form/Paysafecard.php +32 -32
  31. app/code/community/Skrill/Block/Payment/Form/Paytrail.php +32 -32
  32. app/code/community/Skrill/Block/Payment/Form/Pli.php +32 -32
  33. app/code/community/Skrill/Block/Payment/Form/Psc.php +32 -32
  34. app/code/community/Skrill/Block/Payment/Form/Psp.php +32 -32
  35. app/code/community/Skrill/Block/Payment/Form/Pwy.php +32 -32
  36. app/code/community/Skrill/Block/Payment/Form/Sft.php +32 -32
  37. app/code/community/Skrill/Block/Payment/Form/Sofortuberweisung.php +37 -37
  38. app/code/community/Skrill/Block/Payment/Form/Vsa.php +32 -32
  39. app/code/community/Skrill/Block/Payment/Form/Vse.php +32 -32
  40. app/code/community/Skrill/Block/Payment/Form/Wlt.php +32 -32
  41. app/code/community/Skrill/Block/Payment/Form/Yandex.php +32 -32
  42. app/code/community/Skrill/Block/Payment/Formcc.php +32 -32
  43. app/code/community/Skrill/Block/Payment/Formcp.php +32 -32
  44. app/code/community/Skrill/Block/Payment/Formdd.php +32 -32
  45. app/code/community/Skrill/Block/Payment/Payoninfo.php +31 -31
  46. app/code/community/Skrill/Block/Payment/Qcheckout.php +32 -32
  47. app/code/community/Skrill/Block/Payment/Skrillinfo.php +31 -31
  48. app/code/community/Skrill/Helper/Data.php +1414 -1414
  49. app/code/community/Skrill/Model/Method/Abstract.php +470 -470
  50. app/code/community/Skrill/Model/Method/Acc.php +51 -51
  51. app/code/community/Skrill/Model/Method/Ali.php +51 -51
  52. app/code/community/Skrill/Model/Method/Amx.php +51 -51
  53. app/code/community/Skrill/Model/Method/Creditcard.php +55 -55
  54. app/code/community/Skrill/Model/Method/Csi.php +51 -51
  55. app/code/community/Skrill/Model/Method/Did.php +55 -55
  56. app/code/community/Skrill/Model/Method/Din.php +49 -49
  57. app/code/community/Skrill/Model/Method/Directdebit.php +46 -46
  58. app/code/community/Skrill/Model/Method/Dnk.php +51 -51
  59. app/code/community/Skrill/Model/Method/Ebt.php +51 -51
  60. app/code/community/Skrill/Model/Method/Eps.php +58 -58
  61. app/code/community/Skrill/Model/Method/Epy.php +51 -51
  62. app/code/community/Skrill/Model/Method/Flexible.php +51 -51
  63. app/code/community/Skrill/Model/Method/Gcb.php +51 -51
  64. app/code/community/Skrill/Model/Method/Gir.php +54 -54
  65. app/code/community/Skrill/Model/Method/Giropay.php +58 -58
  66. app/code/community/Skrill/Model/Method/Glu.php +51 -51
  67. app/code/community/Skrill/Model/Method/Ideal.php +58 -58
  68. app/code/community/Skrill/Model/Method/Idl.php +55 -55
  69. app/code/community/Skrill/Model/Method/Jcb.php +49 -49
  70. app/code/community/Skrill/Model/Method/Mae.php +51 -51
  71. app/code/community/Skrill/Model/Method/Msc.php +51 -51
  72. app/code/community/Skrill/Model/Method/Npy.php +55 -55
  73. app/code/community/Skrill/Model/Method/Ntl.php +51 -51
  74. app/code/community/Skrill/Model/Method/Obt.php +51 -51
  75. app/code/community/Skrill/Model/Method/Payolutionins.php +58 -58
  76. app/code/community/Skrill/Model/Method/Payolutioninv.php +58 -58
  77. app/code/community/Skrill/Model/Method/Paypal.php +64 -64
  78. app/code/community/Skrill/Model/Method/Paysafecard.php +58 -58
  79. app/code/community/Skrill/Model/Method/Paytrail.php +58 -58
  80. app/code/community/Skrill/Model/Method/Pli.php +51 -51
  81. app/code/community/Skrill/Model/Method/Psc.php +51 -51
  82. app/code/community/Skrill/Model/Method/Psp.php +51 -51
  83. app/code/community/Skrill/Model/Method/Pwy.php +51 -51
  84. app/code/community/Skrill/Model/Method/Sft.php +55 -55
  85. app/code/community/Skrill/Model/Method/Skrill.php +484 -484
  86. app/code/community/Skrill/Model/Method/Sofortuberweisung.php +71 -71
  87. app/code/community/Skrill/Model/Method/Vsa.php +51 -51
  88. app/code/community/Skrill/Model/Method/Vse.php +51 -51
  89. app/code/community/Skrill/Model/Method/Wlt.php +51 -51
  90. app/code/community/Skrill/Model/Method/Yandex.php +58 -58
  91. app/code/community/Skrill/Model/Source/Card.php +53 -53
  92. app/code/community/Skrill/Model/Source/Display.php +46 -46
  93. app/code/community/Skrill/Model/Source/Gateway.php +46 -46
  94. app/code/community/Skrill/Model/Source/Mode.php +46 -46
  95. app/code/community/Skrill/Model/Source/Transaction.php +45 -45
  96. app/code/community/Skrill/Model/Success/Observer.php +42 -42
  97. app/code/community/Skrill/controllers/PaymentController.php +315 -315
  98. app/code/community/Skrill/controllers/ResponseController.php +249 -249
  99. app/code/community/Skrill/controllers/UpdateorderController.php +71 -71
  100. app/code/community/Skrill/etc/adminhtml.xml +48 -48
  101. app/code/community/Skrill/etc/config.xml +711 -711
  102. app/code/community/Skrill/etc/system.xml +2884 -2884
  103. app/code/community/Skrill/sql/skrill_setup/mysql4-install-1.0.0.php +44 -44
  104. app/code/community/Skrill/sql/skrill_setup/mysql4-upgrade-1.0.16-1.0.17.php +6 -6
  105. app/design/adminhtml/default/default/template/skrill/payoninfo.phtml +37 -37
  106. app/design/adminhtml/default/default/template/skrill/skrillinfo.phtml +54 -54
  107. app/design/frontend/base/default/template/checkout/onepage/payment/skrill/methods.phtml +73 -73
  108. app/design/frontend/base/default/template/skrill/payment/formcc.phtml +66 -66
  109. app/design/frontend/base/default/template/skrill/payment/formcp.phtml +64 -64
  110. app/design/frontend/base/default/template/skrill/payment/formdd.phtml +57 -57
  111. app/design/frontend/base/default/template/skrill/payment/qcheckout.phtml +23 -23
  112. app/design/frontend/base/default/template/skrill/payoninfo.phtml +21 -21
  113. app/design/frontend/base/default/template/skrill/skrillinfo.phtml +21 -21
  114. app/design/frontend/rwd/default/layout/skrill_checkout.xml +57 -57
  115. app/design/frontend/rwd/default/template/checkout/cart/minicart/skrill/default.phtml +189 -189
  116. app/etc/modules/Skrill.xml +31 -31
  117. app/locale/af_ZA/Skrill.csv +277 -277
  118. app/locale/ar_DZ/Skrill.csv +276 -276
  119. app/locale/ar_EG/Skrill.csv +220 -276
app/code/community/Skrill/Block/Payment/Form/Abstract.php CHANGED
@@ -1,61 +1,61 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- abstract class Skrill_Block_Payment_Form_Abstract extends Mage_Payment_Block_Form
22
- {
23
- protected $logo_height = "35";
24
-
25
- protected function _construct()
26
- {
27
- $this->setMethodTitle('')
28
- ->setMethodLabelAfterHtml($this->_getLogoHtml());
29
- }
30
-
31
- protected function _getLogoHtml()
32
- {
33
- return sprintf(
34
- '<img src="%s" alt="%s"/ height="'.$this->logo_height.'px">',
35
- $this->_getLogoUrl(),
36
- $this->_getLogoAlt()
37
- );
38
- }
39
-
40
- /**
41
- * Retrieves the alt attribute for the logo
42
- *
43
- * @return string
44
- */
45
- protected function _getLogoAlt()
46
- {
47
- return $this->_logoAlt;
48
- }
49
-
50
- /**
51
- * Retrieves the url to the logo
52
- *
53
- * @return string
54
- */
55
- protected function _getLogoUrl()
56
- {
57
- return $this->_logoUrl;
58
- }
59
-
60
-
61
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ abstract class Skrill_Block_Payment_Form_Abstract extends Mage_Payment_Block_Form
22
+ {
23
+ protected $logo_height = "35";
24
+
25
+ protected function _construct()
26
+ {
27
+ $this->setMethodTitle('')
28
+ ->setMethodLabelAfterHtml($this->_getLogoHtml());
29
+ }
30
+
31
+ protected function _getLogoHtml()
32
+ {
33
+ return sprintf(
34
+ '<img src="%s" alt="%s"/ height="'.$this->logo_height.'px">',
35
+ $this->_getLogoUrl(),
36
+ $this->_getLogoAlt()
37
+ );
38
+ }
39
+
40
+ /**
41
+ * Retrieves the alt attribute for the logo
42
+ *
43
+ * @return string
44
+ */
45
+ protected function _getLogoAlt()
46
+ {
47
+ return $this->_logoAlt;
48
+ }
49
+
50
+ /**
51
+ * Retrieves the url to the logo
52
+ *
53
+ * @return string
54
+ */
55
+ protected function _getLogoUrl()
56
+ {
57
+ return $this->_logoUrl;
58
+ }
59
+
60
+
61
+ }
app/code/community/Skrill/Block/Payment/Form/Acc.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Acc extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_ACC');
29
- $this->_logoUrl = $this->getSkinUrl("images/skrill/acc.png");
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Acc extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_ACC');
29
+ $this->_logoUrl = $this->getSkinUrl("images/skrill/acc.png");
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Ali.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Ali extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_ALI');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/alipay.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Ali extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_ALI');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/alipay.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Amx.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Amx extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_AMX');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/amex.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Amx extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_AMX');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/amex.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Creditcard.php CHANGED
@@ -1,66 +1,66 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Creditcard extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_CC');
29
- parent::_construct();
30
- }
31
-
32
- protected function _getLogoHtml()
33
- {
34
- if ( !Mage::getStoreConfig('payment/skrill_acc/card_selection') )
35
- {
36
- $cards = "AMEX,VISA,MASTER,MAESTRO";
37
- }
38
- else
39
- {
40
- $cards = explode(',', Mage::getStoreConfig('payment/skrill_acc/card_selection'));
41
- }
42
-
43
- $html = '';
44
- foreach ($cards as $key => $value) {
45
- if ($value == "AMEX" )
46
- $logo_name = "amex.jpg";
47
- if ($value == "VISA" )
48
- $logo_name = "visa.png";
49
- if ($value == "MASTER" )
50
- $logo_name = "mastercard.jpg";
51
- if ($value == "MAESTRO" )
52
- $logo_name = "maestro.png";
53
-
54
- $html .= "<img src='".$this->getSkinUrl('images/skrill/'.$logo_name.'')."' alt='".$this->_getLogoAlt()."' height='35px' style='margin-right:5px' />";
55
-
56
- if ($value == "VISA" )
57
- {
58
- $logo_name = "visa-pay.png";
59
- $html .= "<img src='".$this->getSkinUrl('images/skrill/'.$logo_name.'')."' alt='".$this->_getLogoAlt()."' height='35px' style='margin-right:5px' />";
60
- }
61
-
62
- }
63
-
64
- return $html;
65
- }
66
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Creditcard extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_CC');
29
+ parent::_construct();
30
+ }
31
+
32
+ protected function _getLogoHtml()
33
+ {
34
+ if ( !Mage::getStoreConfig('payment/skrill_acc/card_selection') )
35
+ {
36
+ $cards = "AMEX,VISA,MASTER,MAESTRO";
37
+ }
38
+ else
39
+ {
40
+ $cards = explode(',', Mage::getStoreConfig('payment/skrill_acc/card_selection'));
41
+ }
42
+
43
+ $html = '';
44
+ foreach ($cards as $key => $value) {
45
+ if ($value == "AMEX" )
46
+ $logo_name = "amex.jpg";
47
+ if ($value == "VISA" )
48
+ $logo_name = "visa.png";
49
+ if ($value == "MASTER" )
50
+ $logo_name = "mastercard.jpg";
51
+ if ($value == "MAESTRO" )
52
+ $logo_name = "maestro.png";
53
+
54
+ $html .= "<img src='".$this->getSkinUrl('images/skrill/'.$logo_name.'')."' alt='".$this->_getLogoAlt()."' height='35px' style='margin-right:5px' />";
55
+
56
+ if ($value == "VISA" )
57
+ {
58
+ $logo_name = "visa-pay.png";
59
+ $html .= "<img src='".$this->getSkinUrl('images/skrill/'.$logo_name.'')."' alt='".$this->_getLogoAlt()."' height='35px' style='margin-right:5px' />";
60
+ }
61
+
62
+ }
63
+
64
+ return $html;
65
+ }
66
  }
app/code/community/Skrill/Block/Payment/Form/Csi.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Csi extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_CSI');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/cartasi.gif');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Csi extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_CSI');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/cartasi.gif');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Did.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Did extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_DID');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/ec.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Did extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_DID');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/ec.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Din.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Din extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_DIN');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/dinersclub.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Din extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_DIN');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/dinersclub.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Directdebit.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Directdebit extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_DD');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/direct-debit.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Directdebit extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_DD');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/direct-debit.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Dnk.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Dnk extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_DNK');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/dankort.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Dnk extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_DNK');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/dankort.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Ebt.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Ebt extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_EBT');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/nordea.gif');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Ebt extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_EBT');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/nordea.gif');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Eps.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Eps extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_EPS');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/eps.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Eps extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_EPS');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/eps.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Epy.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Epy extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_EPY');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/epay.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Epy extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_EPY');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/epay.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Flexible.php CHANGED
@@ -1,34 +1,34 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Flexible extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- protected $logo_height = "70";
24
-
25
- /**
26
- * Construct
27
- */
28
- protected function _construct()
29
- {
30
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_FLEXIBLE');
31
- $this->_logoUrl = $this->getSkinUrl('images/skrill/flexible.png');
32
- parent::_construct();
33
- }
34
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Flexible extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ protected $logo_height = "70";
24
+
25
+ /**
26
+ * Construct
27
+ */
28
+ protected function _construct()
29
+ {
30
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_FLEXIBLE');
31
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/flexible.png');
32
+ parent::_construct();
33
+ }
34
  }
app/code/community/Skrill/Block/Payment/Form/Gcb.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Gcb extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_GCB');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/cartebleue.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Gcb extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_GCB');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/cartebleue.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Gir.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Gir extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_GIR');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/giropay2.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Gir extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_GIR');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/giropay2.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Giropay.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Giropay extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_GIROPAY');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/giropay.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Giropay extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_GIROPAY');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/giropay.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Glu.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Glu extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_GLU');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/Trustly-120.png";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Glu extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_GLU');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/Trustly-120.png";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Ideal.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Ideal extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_IDEAL');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/ideal.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Ideal extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_IDEAL');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/ideal.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Idl.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Idl extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_IDL');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/ideal.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Idl extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_IDL');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/ideal.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Jcb.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Jcb extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_JCB');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/jcb.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Jcb extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_JCB');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/jcb.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Mae.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Mae extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_MAE');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/maestro2.jpg');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Mae extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_MAE');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/maestro2.jpg');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Msc.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Msc extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_MSC');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/mc.png";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Msc extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_MSC');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/mc.png";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Npy.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Npy extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_NPY');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/eps-netpay-120_02.png";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Npy extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_NPY');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/eps-netpay-120_02.png";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Ntl.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Ntl extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_NTL');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/ntl.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Ntl extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_NTL');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/ntl.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Obt.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Obt extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_OBT');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/obt.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Obt extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_OBT');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/obt.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Payolutionins.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Payolutionins extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYOLUTIONINS');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/payolutionins.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Payolutionins extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYOLUTIONINS');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/payolutionins.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Payolutioninv.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Payolutioninv extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYOLUTIONINV');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/payolutioninv.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Payolutioninv extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYOLUTIONINV');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/payolutioninv.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Paypal.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Paypal extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYPAL');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/paypal.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Paypal extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYPAL');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/paypal.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Paysafecard.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Paysafecard extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYSAFECARD');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/paysafecard_Logos/logo_paysafecard_blue_claim_RGB.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Paysafecard extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYSAFECARD');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/paysafecard_Logos/logo_paysafecard_blue_claim_RGB.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Paytrail.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Paytrail extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYTRAIL');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/paytrail-120.png";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Paytrail extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_PAYTRAIL');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/paytrail-120.png";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Pli.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Pli extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PLI');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/poli-logo-120.png";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Pli extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PLI');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/poli-logo-120.png";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Psc.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Psc extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PSC');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/paysafecard_Logos/logo_paysafecard_blue_claim_RGB.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Psc extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PSC');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/paysafecard_Logos/logo_paysafecard_blue_claim_RGB.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Psp.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Psp extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PSP');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/postepay.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Psp extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PSP');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/postepay.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Pwy.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Pwy extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PWY');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/przelewy24.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Pwy extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_PWY');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/przelewy24.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Sft.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Sft extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_SFT');
29
- $this->_logoUrl = $this->getSkinUrl('images/skrill/sofortuberweisung.png');
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Sft extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_SFT');
29
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/sofortuberweisung.png');
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Sofortuberweisung.php CHANGED
@@ -1,38 +1,38 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Sofortuberweisung extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $code = array('DE', 'CH', 'AT');
29
- if (in_array(strtoupper(Mage::getSingleton('checkout/session')->getQuote()->getBillingAddress()->getCountryId()), $code)) {
30
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_SOFORT');
31
- $this->_logoUrl = $this->getSkinUrl('images/skrill/sofortlogo.png');
32
- } else {
33
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_SOFORTBANK');
34
- $this->_logoUrl = $this->getSkinUrl('images/skrill/sofort.png');
35
- }
36
- parent::_construct();
37
- }
38
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Sofortuberweisung extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $code = array('DE', 'CH', 'AT');
29
+ if (in_array(strtoupper(Mage::getSingleton('checkout/session')->getQuote()->getBillingAddress()->getCountryId()), $code)) {
30
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_SOFORT');
31
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/sofortlogo.png');
32
+ } else {
33
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_SOFORTBANK');
34
+ $this->_logoUrl = $this->getSkinUrl('images/skrill/sofort.png');
35
+ }
36
+ parent::_construct();
37
+ }
38
  }
app/code/community/Skrill/Block/Payment/Form/Vsa.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Vsa extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_VSA');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/visa.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Vsa extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_VSA');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/visa.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Vse.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Vse extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_VSE');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/visaelectron.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Vse extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_VSE');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/visaelectron.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Wlt.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Wlt extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_WLT');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Skrill_Logos/skrill-200x87_en.gif";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Wlt extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_WLT');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Skrill_Logos/skrill-200x87_en.gif";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Form/Yandex.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Form_Yandex extends Skrill_Block_Payment_Form_Abstract
22
- {
23
- /**
24
- * Construct
25
- */
26
- protected function _construct()
27
- {
28
- $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_YANDEX');
29
- $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/YandexMoneyLogo-120.png";
30
- parent::_construct();
31
- }
32
-
33
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Form_Yandex extends Skrill_Block_Payment_Form_Abstract
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ protected function _construct()
27
+ {
28
+ $this->_logoAlt = Mage::helper('skrill')->__('FRONTEND_PM_YANDEX');
29
+ $this->_logoUrl = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/YandexMoneyLogo-120.png";
30
+ parent::_construct();
31
+ }
32
+
33
  }
app/code/community/Skrill/Block/Payment/Formcc.php CHANGED
@@ -1,32 +1,32 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- class Skrill_Block_Payment_Formcc extends Mage_Core_Block_Template
23
- {
24
- /**
25
- * Construct
26
- */
27
- public function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('skrill/payment/formcc.phtml');
31
- }
32
- }
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ class Skrill_Block_Payment_Formcc extends Mage_Core_Block_Template
23
+ {
24
+ /**
25
+ * Construct
26
+ */
27
+ public function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('skrill/payment/formcc.phtml');
31
+ }
32
+ }
app/code/community/Skrill/Block/Payment/Formcp.php CHANGED
@@ -1,32 +1,32 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- class Skrill_Block_Payment_Formcp extends Mage_Core_Block_Template
23
- {
24
- /**
25
- * Construct
26
- */
27
- public function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('skrill/payment/formcp.phtml');
31
- }
32
- }
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ class Skrill_Block_Payment_Formcp extends Mage_Core_Block_Template
23
+ {
24
+ /**
25
+ * Construct
26
+ */
27
+ public function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('skrill/payment/formcp.phtml');
31
+ }
32
+ }
app/code/community/Skrill/Block/Payment/Formdd.php CHANGED
@@ -1,32 +1,32 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- class Skrill_Block_Payment_Formdd extends Mage_Core_Block_Template
23
- {
24
- /**
25
- * Construct
26
- */
27
- public function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('skrill/payment/formdd.phtml');
31
- }
32
- }
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ class Skrill_Block_Payment_Formdd extends Mage_Core_Block_Template
23
+ {
24
+ /**
25
+ * Construct
26
+ */
27
+ public function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('skrill/payment/formdd.phtml');
31
+ }
32
+ }
app/code/community/Skrill/Block/Payment/Payoninfo.php CHANGED
@@ -1,31 +1,31 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Payoninfo extends Mage_Payment_Block_Info
22
- {
23
- /**
24
- * Constructor. Set template.
25
- */
26
- protected function _construct()
27
- {
28
- parent::_construct();
29
- $this->setTemplate('skrill/payoninfo.phtml');
30
- }
31
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Payoninfo extends Mage_Payment_Block_Info
22
+ {
23
+ /**
24
+ * Constructor. Set template.
25
+ */
26
+ protected function _construct()
27
+ {
28
+ parent::_construct();
29
+ $this->setTemplate('skrill/payoninfo.phtml');
30
+ }
31
+ }
app/code/community/Skrill/Block/Payment/Qcheckout.php CHANGED
@@ -1,32 +1,32 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- class Skrill_Block_Payment_Qcheckout extends Mage_Core_Block_Template
23
- {
24
- /**
25
- * Construct
26
- */
27
- public function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('skrill/payment/qcheckout.phtml');
31
- }
32
- }
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ class Skrill_Block_Payment_Qcheckout extends Mage_Core_Block_Template
23
+ {
24
+ /**
25
+ * Construct
26
+ */
27
+ public function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('skrill/payment/qcheckout.phtml');
31
+ }
32
+ }
app/code/community/Skrill/Block/Payment/Skrillinfo.php CHANGED
@@ -1,31 +1,31 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Block_Payment_Skrillinfo extends Mage_Payment_Block_Info
22
- {
23
- /**
24
- * Constructor. Set template.
25
- */
26
- protected function _construct()
27
- {
28
- parent::_construct();
29
- $this->setTemplate('skrill/skrillinfo.phtml');
30
- }
31
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Block_Payment_Skrillinfo extends Mage_Payment_Block_Info
22
+ {
23
+ /**
24
+ * Constructor. Set template.
25
+ */
26
+ protected function _construct()
27
+ {
28
+ parent::_construct();
29
+ $this->setTemplate('skrill/skrillinfo.phtml');
30
+ }
31
+ }
app/code/community/Skrill/Helper/Data.php CHANGED
@@ -1,1414 +1,1414 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Skrill helper
23
- *
24
- */
25
- class Skrill_Helper_Data extends Mage_Core_Helper_Abstract
26
- {
27
- // Enterprise =================================
28
-
29
- protected $tokenUrlLive = 'https://ctpe.net/frontend/GenerateToken';
30
- protected $tokenUrlTest = 'https://test.ctpe.net/frontend/GenerateToken';
31
-
32
- protected $executeUrlLive = 'https://ctpe.net/frontend/ExecutePayment';
33
- protected $executeUrlTest = 'https://test.ctpe.net/frontend/ExecutePayment';
34
-
35
- protected $statusUrlLive = 'https://ctpe.net/frontend/GetStatus;jsessionid=';
36
- protected $statusUrlTest = 'https://test.ctpe.net/frontend/GetStatus;jsessionid=';
37
-
38
- protected $jsUrlLive = 'https://ctpe.net/frontend/widget/v3/widget.js?style=card&version=beautified&language=';
39
- protected $jsUrlTest = 'https://test.ctpe.net/frontend/widget/v3/widget.js?style=card&version=beautified&language=';
40
-
41
- protected $skrillPaymentUrl = 'https://pay.skrill.com';
42
- protected $skrillQueryUrl = 'https://www.moneybookers.com/app/query.pl';
43
- protected $skrillRefundUrl = 'https://www.moneybookers.com/app/refund.pl';
44
-
45
- public function getErrorIdentifier($code)
46
- {
47
- $error_messages = array(
48
- "40.10" => "ERROR_CC_DECLINED_CARD",
49
- "40.15" => "",
50
- "40.20" => "",
51
- "59.94" => "",
52
- "60.95" => "ERROR_CC_DECLINED_CARD",
53
- "60.70" => "ERROR_GENERAL_CANCEL",
54
- "60.71" => "",
55
- "60.40" => "ERROR_GENERAL_GENERAL",
56
- "60.80" => "",
57
- "60.90" => "ERROR_GENERAL_CANCEL",
58
- "64.78" => "",
59
- "65.78" => "ERROR_CC_DECLINED_CARD",
60
- "65.60" => "",
61
- "65.61" => "ERROR_CC_3DERROR",
62
- "65.75" => "",
63
- "65.77" => "",
64
- "65.79" => "",
65
- "65.80" => "ERROR_GENERAL_DECLINED_RISK",
66
- "65.85" => "ERROR_CC_3DERROR",
67
- "65.50" => "ERROR_GENERAL_BLACKLIST",
68
- "65.30" => "",
69
- "65.31" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
70
- "65.38" => "",
71
- "65.32" => "",
72
- "65.33" => "",
73
- "65.36" => "ERROR_CC_ACCOUNT",
74
- "65.35" => "ERROR_GENERAL_LIMIT_AMOUNT",
75
- "65.37" => "ERROR_CC_ADDRESS",
76
- "70.10" => "",
77
- "70.64" => "ERROR_SEPA_MANDATE",
78
- "70.70" => "",
79
- "70.30" => "",
80
- "70.20" => "ERROR_CC_3DAUTH",
81
- "70.60" => "",
82
- "70.61" => "",
83
- "70.40" => "ERROR_CC_INVALIDDATA",
84
- "70.35" => "",
85
- "70.80" => "",
86
- "70.21" => "ERROR_GENERAL_BLACKLIST",
87
-
88
- "800.150.100" => "ERROR_CC_ACCOUNT",
89
-
90
- "800.100.402" => "ERROR_CC_INVALIDDATA",
91
- "100.100.101" => "ERROR_CC_INVALIDDATA",
92
- "800.100.151" => "ERROR_CC_INVALIDDATA",
93
- "000.400.108" => "ERROR_CC_INVALIDDATA",
94
- "100.100.100" => "ERROR_CC_INVALIDDATA",
95
- "100.100.200" => "ERROR_CC_INVALIDDATA",
96
- "100.100.201" => "ERROR_CC_INVALIDDATA",
97
- "100.100.300" => "ERROR_CC_INVALIDDATA",
98
- "100.100.301" => "ERROR_CC_INVALIDDATA",
99
- "100.100.304" => "ERROR_CC_INVALIDDATA",
100
- "100.100.400" => "ERROR_CC_INVALIDDATA",
101
- "100.100.401" => "ERROR_CC_INVALIDDATA",
102
- "100.100.402" => "ERROR_CC_INVALIDDATA",
103
- "100.100.651" => "ERROR_CC_INVALIDDATA",
104
- "100.100.700" => "ERROR_CC_INVALIDDATA",
105
- "100.200.100" => "ERROR_CC_INVALIDDATA",
106
- "100.200.103" => "ERROR_CC_INVALIDDATA",
107
- "100.200.104" => "ERROR_CC_INVALIDDATA",
108
- "100.400.000" => "ERROR_CC_INVALIDDATA",
109
- "100.400.001" => "ERROR_CC_INVALIDDATA",
110
- "100.400.086" => "ERROR_CC_INVALIDDATA",
111
- "100.400.087" => "ERROR_CC_INVALIDDATA",
112
- "100.400.002" => "ERROR_CC_INVALIDDATA",
113
- "100.400.316" => "ERROR_CC_INVALIDDATA",
114
- "100.400.317" => "ERROR_CC_INVALIDDATA",
115
- "800.100.402" => "ERROR_CC_INVALIDDATA",
116
-
117
- "800.300.401" => "ERROR_CC_BLACKLIST",
118
-
119
- "800.100.171" => "ERROR_CC_DECLINED_CARD",
120
- "800.100.165" => "ERROR_CC_DECLINED_CARD",
121
- "800.100.159" => "ERROR_CC_DECLINED_CARD",
122
- "800.100.195" => "ERROR_CC_DECLINED_CARD",
123
- "000.400.101" => "ERROR_CC_DECLINED_CARD",
124
- "100.100.501" => "ERROR_CC_DECLINED_CARD",
125
- "100.100.701" => "ERROR_CC_DECLINED_CARD",
126
- "100.400.005" => "ERROR_CC_DECLINED_CARD",
127
- "100.400.020" => "ERROR_CC_DECLINED_CARD",
128
- "100.400.021" => "ERROR_CC_DECLINED_CARD",
129
- "100.400.030" => "ERROR_CC_DECLINED_CARD",
130
- "100.400.039" => "ERROR_CC_DECLINED_CARD",
131
- "100.400.081" => "ERROR_CC_DECLINED_CARD",
132
- "100.400.100" => "ERROR_CC_DECLINED_CARD",
133
- "100.400.123" => "ERROR_CC_DECLINED_CARD",
134
- "100.400.319" => "ERROR_CC_DECLINED_CARD",
135
- "800.100.154" => "ERROR_CC_DECLINED_CARD",
136
- "800.100.156" => "ERROR_CC_DECLINED_CARD",
137
- "800.100.158" => "ERROR_CC_DECLINED_CARD",
138
- "800.100.160" => "ERROR_CC_DECLINED_CARD",
139
- "800.100.161" => "ERROR_CC_DECLINED_CARD",
140
- "800.100.163" => "ERROR_CC_DECLINED_CARD",
141
- "800.100.164" => "ERROR_CC_DECLINED_CARD",
142
- "800.100.166" => "ERROR_CC_DECLINED_CARD",
143
- "800.100.167" => "ERROR_CC_DECLINED_CARD",
144
- "800.100.169" => "ERROR_CC_DECLINED_CARD",
145
- "800.100.170" => "ERROR_CC_DECLINED_CARD",
146
- "800.100.173" => "ERROR_CC_DECLINED_CARD",
147
- "800.100.174" => "ERROR_CC_DECLINED_CARD",
148
- "800.100.175" => "ERROR_CC_DECLINED_CARD",
149
- "800.100.176" => "ERROR_CC_DECLINED_CARD",
150
- "800.100.177" => "ERROR_CC_DECLINED_CARD",
151
- "800.100.190" => "ERROR_CC_DECLINED_CARD",
152
- "800.100.191" => "ERROR_CC_DECLINED_CARD",
153
- "800.100.196" => "ERROR_CC_DECLINED_CARD",
154
- "800.100.197" => "ERROR_CC_DECLINED_CARD",
155
- "800.100.168" => "ERROR_CC_DECLINED_CARD",
156
-
157
- "100.100.303" => "ERROR_CC_EXPIRED",
158
-
159
- "800.100.153" => "ERROR_CC_INVALIDCVV",
160
- "100.100.601" => "ERROR_CC_INVALIDCVV",
161
- "100.100.600" => "ERROR_CC_INVALIDCVV",
162
- "800.100.192" => "ERROR_CC_INVALIDCVV",
163
-
164
- "800.100.157" => "ERROR_CC_EXPIRY",
165
-
166
- "800.100.162" => "ERROR_CC_LIMIT_EXCEED",
167
-
168
- "100.400.040" => "ERROR_CC_3DAUTH",
169
- "100.400.060" => "ERROR_CC_3DAUTH",
170
- "100.400.080" => "ERROR_CC_3DAUTH",
171
- "100.400.120" => "ERROR_CC_3DAUTH",
172
- "100.400.260" => "ERROR_CC_3DAUTH",
173
- "800.900.300" => "ERROR_CC_3DAUTH",
174
- "800.900.301" => "ERROR_CC_3DAUTH",
175
- "800.900.302" => "ERROR_CC_3DAUTH",
176
- "100.380.401" => "ERROR_CC_3DAUTH",
177
-
178
- "100.390.105" => "ERROR_CC_3DERROR",
179
- "000.400.103" => "ERROR_CC_3DERROR",
180
- "000.400.104" => "ERROR_CC_3DERROR",
181
- "100.390.106" => "ERROR_CC_3DERROR",
182
- "100.390.107" => "ERROR_CC_3DERROR",
183
- "100.390.108" => "ERROR_CC_3DERROR",
184
- "100.390.109" => "ERROR_CC_3DERROR",
185
- "100.390.111" => "ERROR_CC_3DERROR",
186
- "800.400.200" => "ERROR_CC_3DERROR",
187
- "100.390.112" => "ERROR_CC_3DERROR",
188
-
189
- "100.100.500" => "ERROR_CC_NOBRAND",
190
-
191
- "800.100.155" => "ERROR_GENERAL_LIMIT_AMOUNT",
192
- "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
193
- "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
194
- "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
195
-
196
- "800.120.101" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
197
- "800.120.100" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
198
- "800.120.102" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
199
- "800.120.103" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
200
- "800.120.200" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
201
- "800.120.201" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
202
- "800.120.202" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
203
- "800.120.203" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
204
-
205
- "800.100.152" => "ERROR_CC_DECLINED_AUTH",
206
-
207
- "100.380.501" => "ERROR_GENERAL_DECLINED_RISK",
208
-
209
- "800.400.151" => "ERROR_CC_ADDRESS",
210
- "800.400.150" => "ERROR_CC_ADDRESS",
211
-
212
- "100.400.300" => "ERROR_GENERAL_CANCEL",
213
- "100.396.101" => "ERROR_GENERAL_CANCEL",
214
- "900.300.600" => "ERROR_GENERAL_CANCEL",
215
-
216
- "800.100.501" => "ERROR_CC_RECURRING",
217
- "800.100.500" => "ERROR_CC_RECURRING",
218
-
219
- "800.100.178" => "ERROR_CC_REPEATED",
220
- "800.300.500" => "ERROR_CC_REPEATED",
221
- "800.300.501" => "ERROR_CC_REPEATED",
222
-
223
- "800.700.101" => "ERROR_GENERAL_ADDRESS",
224
- "800.700.201" => "ERROR_GENERAL_ADDRESS",
225
- "800.700.500" => "ERROR_GENERAL_ADDRESS",
226
- "800.800.102" => "ERROR_GENERAL_ADDRESS",
227
- "800.800.202" => "ERROR_GENERAL_ADDRESS",
228
- "800.800.302" => "ERROR_GENERAL_ADDRESS",
229
- "800.900.101" => "ERROR_GENERAL_ADDRESS",
230
- "800.900.200" => "ERROR_GENERAL_ADDRESS",
231
- "800.100.198" => "ERROR_GENERAL_ADDRESS",
232
- "800.700.101" => "ERROR_GENERAL_ADDRESS",
233
-
234
- "100.400.121" => "ERROR_GENERAL_BLACKLIST",
235
- "800.100.172" => "ERROR_GENERAL_BLACKLIST",
236
- "800.200.159" => "ERROR_GENERAL_BLACKLIST",
237
- "800.200.160" => "ERROR_GENERAL_BLACKLIST",
238
- "800.200.165" => "ERROR_GENERAL_BLACKLIST",
239
- "800.200.202" => "ERROR_GENERAL_BLACKLIST",
240
- "800.200.208" => "ERROR_GENERAL_BLACKLIST",
241
- "800.200.220" => "ERROR_GENERAL_BLACKLIST",
242
- "800.300.101" => "ERROR_GENERAL_BLACKLIST",
243
- "800.300.102" => "ERROR_GENERAL_BLACKLIST",
244
- "800.300.200" => "ERROR_GENERAL_BLACKLIST",
245
- "800.300.301" => "ERROR_GENERAL_BLACKLIST",
246
- "800.300.302" => "ERROR_GENERAL_BLACKLIST",
247
-
248
- "800.500.100" => "ERROR_GENERAL_GENERAL",
249
- "800.700.100" => "ERROR_GENERAL_GENERAL",
250
-
251
- "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
252
- "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
253
- "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
254
-
255
- "000.400.107" => "ERROR_GENERAL_TIMEOUT",
256
- "100.395.502" => "ERROR_GENERAL_TIMEOUT",
257
-
258
- "100.395.101" => "ERROR_GIRO_NOSUPPORT",
259
- "100.395.102" => "ERROR_GIRO_NOSUPPORT",
260
-
261
- "100.200.200" => "ERROR_SEPA_MANDATE",
262
- "000.100.204" => "ERROR_SEPA_MANDATE",
263
- "000.100.205" => "ERROR_SEPA_MANDATE"
264
- );
265
- if ($code)
266
- return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'ERROR_UNKNOWN';
267
- else
268
- return 'ERROR_UNKNOWN';
269
- }
270
-
271
- public function getJsUrl($server, $lang){
272
- if ($server=="LIVE")
273
- return $this->jsUrlLive . $lang;
274
- else
275
- return $this->jsUrlTest . $lang;
276
- }
277
-
278
- public function getTokenUrl($server)
279
- {
280
- if ($server=="LIVE")
281
- return $this->tokenUrlLive;
282
- else
283
- return $this->tokenUrlTest;
284
- }
285
-
286
- public function getPostParameter($dataCust,$dataTransaction)
287
- {
288
- $data = "SECURITY.SENDER=" . $dataTransaction['sender'] .
289
- "&TRANSACTION.CHANNEL=" . $dataTransaction['channel_id'] .
290
- "&USER.LOGIN=" . $dataTransaction['login'] .
291
- "&USER.PWD=" . $dataTransaction['password'] .
292
- "&TRANSACTION.MODE=" . $dataTransaction['tx_mode'] .
293
- "&IDENTIFICATION.TRANSACTIONID=" . $dataTransaction['transId'].
294
- "&PAYMENT.TYPE=" . $dataTransaction['payment_type'] .
295
- "&PRESENTATION.AMOUNT=" . $dataCust['amount'] .
296
- "&PRESENTATION.CURRENCY=" . $dataCust['currency'] .
297
- "&ADDRESS.STREET=" . $dataCust['street'] .
298
- "&ADDRESS.ZIP=" . $dataCust['zip'] .
299
- "&ADDRESS.CITY=" . $dataCust['city'] .
300
- "&ADDRESS.COUNTRY=" . $dataCust['country_code'] .
301
- "&CONTACT.EMAIL=" . $dataCust['email'] .
302
- "&NAME.GIVEN=" . $dataCust['first_name'] .
303
- "&NAME.FAMILY=" . $dataCust['last_name'];
304
-
305
- return $data;
306
- }
307
-
308
- public function getToken($postData, $url)
309
- {
310
- $response = Mage::helper('skrill/curl')->sendRequest($url, $postData);
311
-
312
- $obj = json_decode($response);
313
-
314
- return $obj->{'transaction'}->{'token'};
315
- }
316
-
317
- public function getExecuteUrl($server)
318
- {
319
- if ($server=="LIVE")
320
- return $this->executeUrlLive;
321
- else
322
- return $this->executeUrlTest;
323
- }
324
-
325
- public function getPostExecutePayment($dataTransaction)
326
- {
327
- $data = "IDENTIFICATION.REFERENCEID=". $dataTransaction['refId'] ."&" .
328
- "PAYMENT.METHOD=". $dataTransaction['payment_method'] ."&" .
329
- "PAYMENT.TYPE=". $dataTransaction['payment_type'] ."&" .
330
- "PRESENTATION.AMOUNT=". $dataTransaction['amount'] ."&" .
331
- "PRESENTATION.CURRENCY=". $dataTransaction['currency'] ."&" .
332
- "SECURITY.SENDER=". $dataTransaction['sender'] ."&" .
333
- "TRANSACTION.CHANNEL=". $dataTransaction['channel_id'] ."&" .
334
- "TRANSACTION.MODE=" . $dataTransaction['tx_mode'] ."&" .
335
- "USER.LOGIN=". $dataTransaction['login'] ."&" .
336
- "USER.PWD=". $dataTransaction['password'];
337
-
338
- return $data;
339
- }
340
-
341
- public function executePayment($postData, $url)
342
- {
343
- $response = Mage::helper('skrill/curl')->sendRequest($url, $postData);
344
-
345
- return $response;
346
- }
347
-
348
- public function buildResponseArray($response)
349
- {
350
- $result = array();
351
- $entries = explode("&", $response);
352
- foreach ($entries as $entry) {
353
- $pair = explode("=", $entry);
354
- $result[$pair[0]] = urldecode($pair[1]);
355
- }
356
- return $result;
357
- }
358
-
359
- public function getStatusUrl($server, $token){
360
- if ($server=="LIVE")
361
- return $this->statusUrlLive . $token;
362
- else
363
- return $this->statusUrlTest . $token;
364
- }
365
-
366
- public function getPaymentStatus($url)
367
- {
368
- $response = Mage::helper('skrill/curl')->getResponse($url, true);
369
-
370
- return $response;
371
- }
372
-
373
- public function getPayonTrnStatus($code, $paymentType, $separatorType)
374
- {
375
- if ($paymentType == 'PA') {
376
- if ($code == 'ACK') {
377
- $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH');
378
- } else {
379
- $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH_FAILED');
380
- }
381
- } elseif ($paymentType == 'CP') {
382
- if ($code == 'ACK') {
383
- $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED');
384
- } else {
385
- if ($separatorType != 'info') {
386
- $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED_FAILED');
387
- }
388
- }
389
- } elseif ($paymentType == 'RF') {
390
- if ($code == 'ACK') {
391
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
392
- } else {
393
- if ($separatorType != 'info') {
394
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
395
- }
396
- }
397
- } else {
398
- if ($code == 'ACK') {
399
- $status = Mage::helper('skrill')->__('BACKEND_TT_ACC');
400
- } else {
401
- $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
402
- }
403
- }
404
- return $status;
405
- }
406
-
407
- protected function getpaymentMethodIdentifier($paymentBrand) {
408
- if ($paymentBrand) {
409
- if ($paymentBrand == 'VISA') {
410
- return "SKRILL_FRONTEND_PM_VSA";
411
- } elseif ($paymentBrand == 'MASTER') {
412
- return "SKRILL_FRONTEND_PM_MSC";
413
- } elseif ($paymentBrand == 'MAESTRO') {
414
- return "SKRILL_FRONTEND_PM_MAE";
415
- } elseif ($paymentBrand == 'AMEX') {
416
- return "SKRILL_FRONTEND_PM_AMX";
417
- } elseif ($paymentBrand == 'DIRECTDEBIT_SEPA_MIX_DE') {
418
- return "FRONTEND_PM_DD";
419
- } elseif ($paymentBrand == 'SOFORTUEBERWEISUNG') {
420
- return "FRONTEND_PM_SOFORT";
421
- } else {
422
- return "FRONTEND_PM_".$paymentBrand;
423
- }
424
- }
425
- return '';
426
- }
427
-
428
- public function getPayonComment($status, $paymentType, $paymentBrand, $bin, $separatorType, $type, $refundId, $refundStatus)
429
- {
430
- if ( $separatorType == "info" ) {
431
- $separator = "<br />";
432
- } else {
433
- $separator = ". ";
434
- }
435
-
436
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->getPayonTrnStatus($status, $paymentType, $separatorType).$separator;
437
-
438
- $paymentMethodIdentifier = $this->getpaymentMethodIdentifier($paymentBrand);
439
-
440
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__($paymentMethodIdentifier).$separator;
441
-
442
- if ($bin) {
443
- $countryIso2 = Mage::helper('skrill')->getCountryIssuer($bin);
444
- if ($countryIso2) {
445
- $cardIssuer = Mage::app()->getLocale()->getCountryTranslation($countryIso2);
446
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$cardIssuer.$separator;
447
- }
448
- }
449
- if ($type == "fraud") {
450
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
451
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$refundId.$separator;
452
- if ($status == 'ACK') {
453
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->__('BACKEND_TT_'.$refundStatus).$separator;
454
- }
455
- }
456
- return $comment;
457
- }
458
-
459
- // Enterprise =================================
460
-
461
- // Skrill =====================================
462
-
463
- /**
464
- * get skrill payment url
465
- *
466
- * @return string
467
- */
468
- public function getSkrillPaymentUrl()
469
- {
470
- return $this->skrillPaymentUrl;
471
- }
472
-
473
- /**
474
- * get sid
475
- *
476
- * @param array $parameters
477
- * @return string
478
- */
479
- public function getSid($parameters)
480
- {
481
- $url = $this->skrillPaymentUrl;
482
-
483
- $request = http_build_query($parameters, '', '&');
484
-
485
- $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
486
-
487
- Mage::log('get sid request', null, 'skrill_log_file.log');
488
- Mage::log($parameters, null, 'skrill_log_file.log');
489
- Mage::log('get sid response : '.$response, null, 'skrill_log_file.log');
490
-
491
- return $response;
492
- }
493
-
494
- public function doQuery($action, $params)
495
- {
496
- $url = $this->skrillQueryUrl;
497
-
498
- $fields = $params;
499
- $fields['action'] = $action;
500
-
501
- $request = http_build_query($fields, '', '&');
502
-
503
- $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
504
-
505
- return $response;
506
- }
507
-
508
- public function getStatusTrn($parameters)
509
- {
510
- // check status_trn 3 times if no response.
511
- for ($i=0; $i < 3; $i++) {
512
- $response = true;
513
- try {
514
- $result = $this->doQuery('status_trn', $parameters);
515
- } catch (Exception $e) {
516
- $response = false;
517
- }
518
- if ($response && $result)
519
- {
520
- return $this->getResponseArray($result);
521
- }
522
- }
523
- return false;
524
- }
525
-
526
- public function getResponseArray($strings)
527
- {
528
- $responseArray = array();
529
- $string = explode("\n",$strings);
530
- $responseArray['response_header'] = $string[0];
531
- if(!empty($string[1])) {
532
- $stringArr = explode("&",$string[1]);
533
- foreach ($stringArr as $key => $value) {
534
- $valueArr = explode("=",$value);
535
- $responseArray[urldecode($valueArr[0])] = urldecode($valueArr[1]);
536
- }
537
- return $responseArray;
538
- }
539
- else {
540
- return false;
541
- }
542
- }
543
-
544
- public function getTrnStatus($code)
545
- {
546
- switch ($code) {
547
- case '2':
548
- $status = Mage::helper('skrill')->__('BACKEND_TT_PROCESSED');
549
- break;
550
- case '0':
551
- $status = Mage::helper('skrill')->__('BACKEND_TT_PENDING');
552
- break;
553
- case '-1':
554
- $status = Mage::helper('skrill')->__('BACKEND_TT_CANCELLED');
555
- break;
556
- case '-2':
557
- $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
558
- break;
559
- case '-3':
560
- $status = Mage::helper('skrill')->__('BACKEND_TT_CHARGEBACK');
561
- break;
562
- case '-4':
563
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
564
- break;
565
- case '-5':
566
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
567
- break;
568
- case '-6':
569
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_PENDING');
570
- break;
571
- default:
572
- $status = Mage::helper('skrill')->__('ERROR_GENERAL_ABANDONED_BYUSER');
573
- break;
574
- }
575
- return $status;
576
- }
577
-
578
- public function getComment($response, $separatorType = false, $type = false)
579
- {
580
- if ( $separatorType == "info" )
581
- $separator = "<br />";
582
- else
583
- $separator = ". ";
584
-
585
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".$this->getTrnStatus($response['status']).$separator;
586
- if (isset($response['payment_type']))
587
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_'.$response['payment_type']).$separator;
588
- if (isset($response['payment_instrument_country']))
589
- {
590
- $countryIso2 = Mage::helper('skrill')->getCountryIso2($response['payment_instrument_country']);
591
- if ($countryIso2)
592
- {
593
- $cardIssuer = Mage::app()->getLocale()->getCountryTranslation($countryIso2);
594
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$cardIssuer.$separator;
595
- }
596
- }
597
- if ($type == "fraud")
598
- {
599
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
600
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$response['mb_transaction_id'].$separator;
601
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".$this->getTrnStatus($response['status']).$separator;
602
- }
603
- if ($type == "refundStatus") {
604
- $comment .= Mage::helper('skrill')->__('BACKEND_TT_AMOUNT')." : ".$response['amount'].$separator;
605
- }
606
- return $comment;
607
- }
608
-
609
- public function doRefund($action, $params)
610
- {
611
- $url = $this->skrillRefundUrl;
612
-
613
- if ($action == "prepare") {
614
- $fields = $params;
615
- $fields['action'] = $action;
616
- } elseif ($action == "refund") {
617
- $fields['action'] = $action;
618
- $fields['sid'] = $params;
619
- }
620
-
621
- $request = http_build_query($fields, '', '&');
622
- $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
623
-
624
- return simplexml_load_string($response);
625
- }
626
-
627
- public function getCountryIso3($iso2)
628
- {
629
- $iso3 = array(
630
- "AF" => "AFG",
631
- "AL" => "ALB",
632
- "DZ" => "DZA",
633
- "AS" => "ASM",
634
- "AD" => "AND",
635
- "AO" => "AGO",
636
- "AI" => "AIA",
637
- "AQ" => "ATA",
638
- "AG" => "ATG",
639
- "AR" => "ARG",
640
- "AM" => "ARM",
641
- "AW" => "ABW",
642
- "AU" => "AUS",
643
- "AT" => "AUT",
644
- "AZ" => "AZE",
645
- "BS" => "BHS",
646
- "BH" => "BHR",
647
- "BD" => "BGD",
648
- "BB" => "BRB",
649
- "BY" => "BLR",
650
- "BE" => "BEL",
651
- "BZ" => "BLZ",
652
- "BJ" => "BEN",
653
- "BM" => "BMU",
654
- "BT" => "BTN",
655
- "BO" => "BOL",
656
- "BA" => "BIH",
657
- "BW" => "BWA",
658
- "BV" => "BVT",
659
- "BR" => "BRA",
660
- "IO" => "IOT",
661
- "VG" => "VGB",
662
- "BN" => "BRN",
663
- "BG" => "BGR",
664
- "BF" => "BFA",
665
- "BI" => "BDI",
666
- "KH" => "KHM",
667
- "CM" => "CMR",
668
- "CA" => "CAN",
669
- "CV" => "CPV",
670
- "KY" => "CYM",
671
- "CF" => "CAF",
672
- "TD" => "TCD",
673
- "CL" => "CHL",
674
- "CN" => "CHN",
675
- "CX" => "CXR",
676
- "CC" => "CCK",
677
- "CO" => "COL",
678
- "KM" => "COM",
679
- "CG" => "COG",
680
- "CD" => "COD",
681
- "CK" => "COK",
682
- "CR" => "CRI",
683
- "HR" => "HRV",
684
- "CU" => "CUB",
685
- "CY" => "CYP",
686
- "CZ" => "CZE",
687
- "CI" => "CIV",
688
- "DK" => "DNK",
689
- "DJ" => "DJI",
690
- "DM" => "DMA",
691
- "DO" => "DOM",
692
- "EC" => "ECU",
693
- "EG" => "EGY",
694
- "SV" => "SLV",
695
- "GQ" => "GNQ",
696
- "ER" => "ERI",
697
- "EE" => "EST",
698
- "ET" => "ETH",
699
- "FK" => "FLK",
700
- "FO" => "FRO",
701
- "FJ" => "FJI",
702
- "FI" => "FIN",
703
- "FR" => "FRA",
704
- "GF" => "GUF",
705
- "PF" => "PYF",
706
- "TF" => "ATF",
707
- "GA" => "GAB",
708
- "GM" => "GMB",
709
- "GE" => "GEO",
710
- "DE" => "DEU",
711
- "GH" => "GHA",
712
- "GI" => "GIB",
713
- "GR" => "GRC",
714
- "GL" => "GRL",
715
- "GD" => "GRD",
716
- "GP" => "GLD",
717
- "GU" => "GUM",
718
- "GT" => "GTM",
719
- "GG" => "GGY",
720
- "GN" => "HTI",
721
- "GW" => "HMD",
722
- "GY" => "VAT",
723
- "HT" => "GIN",
724
- "HM" => "GNB",
725
- "HN" => "HND",
726
- "HK" => "HKG",
727
- "HU" => "HUN",
728
- "IS" => "ISL",
729
- "IN" => "IND",
730
- "ID" => "IDN",
731
- "IR" => "IRN",
732
- "IQ" => "IRQ",
733
- "IE" => "IRL",
734
- "IM" => "IMN",
735
- "IL" => "ISR",
736
- "IT" => "ITA",
737
- "JM" => "JAM",
738
- "JP" => "JPN",
739
- "JE" => "JEY",
740
- "JO" => "JOR",
741
- "KZ" => "KAZ",
742
- "KE" => "KEN",
743
- "KI" => "KIR",
744
- "KW" => "KWT",
745
- "KG" => "KGZ",
746
- "LA" => "LAO",
747
- "LV" => "LVA",
748
- "LB" => "LBN",
749
- "LS" => "LSO",
750
- "LR" => "LBR",
751
- "LY" => "LBY",
752
- "LI" => "LIE",
753
- "LT" => "LTU",
754
- "LU" => "LUX",
755
- "MO" => "MAC",
756
- "MK" => "MKD",
757
- "MG" => "MDG",
758
- "MW" => "MWI",
759
- "MY" => "MYS",
760
- "MV" => "MDV",
761
- "ML" => "MLI",
762
- "MT" => "MLT",
763
- "MH" => "MHL",
764
- "MQ" => "MTQ",
765
- "MR" => "MRT",
766
- "MU" => "MUS",
767
- "YT" => "MYT",
768
- "MX" => "MEX",
769
- "FM" => "FSM",
770
- "MD" => "MDA",
771
- "MC" => "MCO",
772
- "MN" => "MNG",
773
- "ME" => "MNE",
774
- "MS" => "MSR",
775
- "MA" => "MAR",
776
- "MZ" => "MOZ",
777
- "MM" => "MMR",
778
- "NA" => "NAM",
779
- "NR" => "NRU",
780
- "NP" => "NPL",
781
- "NL" => "NLD",
782
- "AN" => "ANT",
783
- "NC" => "NCL",
784
- "NZ" => "NZL",
785
- "NI" => "NIC",
786
- "NE" => "NER",
787
- "NG" => "NGA",
788
- "NU" => "NIU",
789
- "NF" => "NFK",
790
- "KP" => "PRK",
791
- "MP" => "MNP",
792
- "NO" => "NOR",
793
- "OM" => "OMN",
794
- "PK" => "PAK",
795
- "PW" => "PLW",
796
- "PS" => "PSE",
797
- "PA" => "PAN",
798
- "PG" => "PNG",
799
- "PY" => "PRY",
800
- "PE" => "PER",
801
- "PH" => "PHL",
802
- "PN" => "PCN",
803
- "PL" => "POL",
804
- "PT" => "PRT",
805
- "PR" => "PRI",
806
- "QA" => "QAT",
807
- "RO" => "ROU",
808
- "RU" => "RUS",
809
- "RW" => "RWA",
810
- "RE" => "REU",
811
- "BL" => "BLM",
812
- "SH" => "SHN",
813
- "KN" => "KNA",
814
- "LC" => "LCA",
815
- "MF" => "MAF",
816
- "PM" => "SPM",
817
- "WS" => "WSM",
818
- "SM" => "SMR",
819
- "SA" => "SAU",
820
- "SN" => "SEN",
821
- "RS" => "SRB",
822
- "SC" => "SYC",
823
- "SL" => "SLE",
824
- "SG" => "SGP",
825
- "SK" => "SVK",
826
- "SI" => "SVN",
827
- "SB" => "SLB",
828
- "SO" => "SOM",
829
- "ZA" => "ZAF",
830
- "GS" => "SGS",
831
- "KR" => "KOR",
832
- "ES" => "ESP",
833
- "LK" => "LKA",
834
- "VC" => "VCT",
835
- "SD" => "SDN",
836
- "SR" => "SUR",
837
- "SJ" => "SJM",
838
- "SZ" => "SWZ",
839
- "SE" => "SWE",
840
- "CH" => "CHE",
841
- "SY" => "SYR",
842
- "ST" => "STP",
843
- "TW" => "TWN",
844
- "TJ" => "TJK",
845
- "TZ" => "TZA",
846
- "TH" => "THA",
847
- "TL" => "TLS",
848
- "TG" => "TGO",
849
- "TK" => "TKL",
850
- "TO" => "TON",
851
- "TT" => "TTO",
852
- "TN" => "TUN",
853
- "TR" => "TUR",
854
- "TM" => "TKM",
855
- "TC" => "TCA",
856
- "TV" => "TUV",
857
- "UM" => "UMI",
858
- "VI" => "VIR",
859
- "UG" => "UGA",
860
- "UA" => "UKR",
861
- "AE" => "ARE",
862
- "GB" => "GBR",
863
- "US" => "USA",
864
- "UY" => "URY",
865
- "UZ" => "UZB",
866
- "VU" => "VUT",
867
- "VA" => "GUY",
868
- "VE" => "VEN",
869
- "VN" => "VNM",
870
- "WF" => "WLF",
871
- "EH" => "ESH",
872
- "YE" => "YEM",
873
- "ZM" => "ZMB",
874
- "ZW" => "ZWE",
875
- "AX" => "ALA"
876
- );
877
- if ($iso2)
878
- return array_key_exists($iso2, $iso3) ? $iso3[$iso2] : '';
879
- else
880
- return '';
881
- }
882
-
883
- public function getCountryIso2($iso3)
884
- {
885
- $iso2 = array(
886
- "AFG" => "AF",
887
- "ALB" => "AL",
888
- "DZA" => "DZ",
889
- "ASM" => "AS",
890
- "AND" => "AD",
891
- "AGO" => "AO",
892
- "AIA" => "AI",
893
- "ATA" => "AQ",
894
- "ATG" => "AG",
895
- "ARG" => "AR",
896
- "ARM" => "AM",
897
- "ABW" => "AW",
898
- "AUS" => "AU",
899
- "AUT" => "AT",
900
- "AZE" => "AZ",
901
- "BHS" => "BS",
902
- "BHR" => "BH",
903
- "BGD" => "BD",
904
- "BRB" => "BB",
905
- "BLR" => "BY",
906
- "BEL" => "BE",
907
- "BLZ" => "BZ",
908
- "BEN" => "BJ",
909
- "BMU" => "BM",
910
- "BTN" => "BT",
911
- "BOL" => "BO",
912
- "BIH" => "BA",
913
- "BWA" => "BW",
914
- "BVT" => "BV",
915
- "BRA" => "BR",
916
- "IOT" => "IO",
917
- "VGB" => "VG",
918
- "BRN" => "BN",
919
- "BGR" => "BG",
920
- "BFA" => "BF",
921
- "BDI" => "BI",
922
- "KHM" => "KH",
923
- "CMR" => "CM",
924
- "CAN" => "CA",
925
- "CPV" => "CV",
926
- "CYM" => "KY",
927
- "CAF" => "CF",
928
- "TCD" => "TD",
929
- "CHL" => "CL",
930
- "CHN" => "CN",
931
- "CXR" => "CX",
932
- "CCK" => "CC",
933
- "COL" => "CO",
934
- "COM" => "KM",
935
- "COG" => "CG",
936
- "COD" => "CD",
937
- "COK" => "CK",
938
- "CRI" => "CR",
939
- "HRV" => "HR",
940
- "CUB" => "CU",
941
- "CYP" => "CY",
942
- "CZE" => "CZ",
943
- "CIV" => "CI",
944
- "DNK" => "DK",
945
- "DJI" => "DJ",
946
- "DMA" => "DM",
947
- "DOM" => "DO",
948
- "ECU" => "EC",
949
- "EGY" => "EG",
950
- "SLV" => "SV",
951
- "GNQ" => "GQ",
952
- "ERI" => "ER",
953
- "EST" => "EE",
954
- "ETH" => "ET",
955
- "FLK" => "FK",
956
- "FRO" => "FO",
957
- "FJI" => "FJ",
958
- "FIN" => "FI",
959
- "FRA" => "FR",
960
- "GUF" => "GF",
961
- "PYF" => "PF",
962
- "ATF" => "TF",
963
- "GAB" => "GA",
964
- "GMB" => "GM",
965
- "GEO" => "GE",
966
- "DEU" => "DE",
967
- "GHA" => "GH",
968
- "GIB" => "GI",
969
- "GRC" => "GR",
970
- "GRL" => "GL",
971
- "GRD" => "GD",
972
- "GLD" => "GP",
973
- "GUM" => "GU",
974
- "GTM" => "GT",
975
- "GGY" => "GG",
976
- "HTI" => "GN",
977
- "HMD" => "GW",
978
- "VAT" => "GY",
979
- "GIN" => "HT",
980
- "GNB" => "HM",
981
- "HND" => "HN",
982
- "HKG" => "HK",
983
- "HUN" => "HU",
984
- "ISL" => "IS",
985
- "IND" => "IN",
986
- "IDN" => "ID",
987
- "IRN" => "IR",
988
- "IRQ" => "IQ",
989
- "IRL" => "IE",
990
- "IMN" => "IM",
991
- "ISR" => "IL",
992
- "ITA" => "IT",
993
- "JAM" => "JM",
994
- "JPN" => "JP",
995
- "JEY" => "JE",
996
- "JOR" => "JO",
997
- "KAZ" => "KZ",
998
- "KEN" => "KE",
999
- "KIR" => "KI",
1000
- "KWT" => "KW",
1001
- "KGZ" => "KG",
1002
- "LAO" => "LA",
1003
- "LVA" => "LV",
1004
- "LBN" => "LB",
1005
- "LSO" => "LS",
1006
- "LBR" => "LR",
1007
- "LBY" => "LY",
1008
- "LIE" => "LI",
1009
- "LTU" => "LT",
1010
- "LUX" => "LU",
1011
- "MAC" => "MO",
1012
- "MKD" => "MK",
1013
- "MDG" => "MG",
1014
- "MWI" => "MW",
1015
- "MYS" => "MY",
1016
- "MDV" => "MV",
1017
- "MLI" => "ML",
1018
- "MLT" => "MT",
1019
- "MHL" => "MH",
1020
- "MTQ" => "MQ",
1021
- "MRT" => "MR",
1022
- "MUS" => "MU",
1023
- "MYT" => "YT",
1024
- "MEX" => "MX",
1025
- "FSM" => "FM",
1026
- "MDA" => "MD",
1027
- "MCO" => "MC",
1028
- "MNG" => "MN",
1029
- "MNE" => "ME",
1030
- "MSR" => "MS",
1031
- "MAR" => "MA",
1032
- "MOZ" => "MZ",
1033
- "MMR" => "MM",
1034
- "NAM" => "NA",
1035
- "NRU" => "NR",
1036
- "NPL" => "NP",
1037
- "NLD" => "NL",
1038
- "ANT" => "AN",
1039
- "NCL" => "NC",
1040
- "NZL" => "NZ",
1041
- "NIC" => "NI",
1042
- "NER" => "NE",
1043
- "NGA" => "NG",
1044
- "NIU" => "NU",
1045
- "NFK" => "NF",
1046
- "PRK" => "KP",
1047
- "MNP" => "MP",
1048
- "NOR" => "NO",
1049
- "OMN" => "OM",
1050
- "PAK" => "PK",
1051
- "PLW" => "PW",
1052
- "PSE" => "PS",
1053
- "PAN" => "PA",
1054
- "PNG" => "PG",
1055
- "PRY" => "PY",
1056
- "PER" => "PE",
1057
- "PHL" => "PH",
1058
- "PCN" => "PN",
1059
- "POL" => "PL",
1060
- "PRT" => "PT",
1061
- "PRI" => "PR",
1062
- "QAT" => "QA",
1063
- "ROU" => "RO",
1064
- "RUS" => "RU",
1065
- "RWA" => "RW",
1066
- "REU" => "RE",
1067
- "BLM" => "BL",
1068
- "SHN" => "SH",
1069
- "KNA" => "KN",
1070
- "LCA" => "LC",
1071
- "MAF" => "MF",
1072
- "SPM" => "PM",
1073
- "WSM" => "WS",
1074
- "SMR" => "SM",
1075
- "SAU" => "SA",
1076
- "SEN" => "SN",
1077
- "SRB" => "RS",
1078
- "SYC" => "SC",
1079
- "SLE" => "SL",
1080
- "SGP" => "SG",
1081
- "SVK" => "SK",
1082
- "SVN" => "SI",
1083
- "SLB" => "SB",
1084
- "SOM" => "SO",
1085
- "ZAF" => "ZA",
1086
- "SGS" => "GS",
1087
- "KOR" => "KR",
1088
- "ESP" => "ES",
1089
- "LKA" => "LK",
1090
- "VCT" => "VC",
1091
- "SDN" => "SD",
1092
- "SUR" => "SR",
1093
- "SJM" => "SJ",
1094
- "SWZ" => "SZ",
1095
- "SWE" => "SE",
1096
- "CHE" => "CH",
1097
- "SYR" => "SY",
1098
- "STP" => "ST",
1099
- "TWN" => "TW",
1100
- "TJK" => "TJ",
1101
- "TZA" => "TZ",
1102
- "THA" => "TH",
1103
- "TLS" => "TL",
1104
- "TGO" => "TG",
1105
- "TKL" => "TK",
1106
- "TON" => "TO",
1107
- "TTO" => "TT",
1108
- "TUN" => "TN",
1109
- "TUR" => "TR",
1110
- "TKM" => "TM",
1111
- "TCA" => "TC",
1112
- "TUV" => "TV",
1113
- "UMI" => "UM",
1114
- "VIR" => "VI",
1115
- "UGA" => "UG",
1116
- "UKR" => "UA",
1117
- "ARE" => "AE",
1118
- "GBR" => "GB",
1119
- "USA" => "US",
1120
- "URY" => "UY",
1121
- "UZB" => "UZ",
1122
- "VUT" => "VU",
1123
- "GUY" => "VA",
1124
- "VEN" => "VE",
1125
- "VNM" => "VN",
1126
- "WLF" => "WF",
1127
- "ESH" => "EH",
1128
- "YEM" => "YE",
1129
- "ZMB" => "ZM",
1130
- "ZWE" => "ZW",
1131
- "ALA" => "AX" );
1132
- if ($iso3)
1133
- return array_key_exists($iso3, $iso2) ? $iso2[$iso3] : '';
1134
- else
1135
- return '';
1136
- }
1137
-
1138
- public function getSkrillErrorMapping($code)
1139
- {
1140
- $error_messages = array(
1141
- "01" => "SKRILL_ERROR_01",
1142
- "02" => "SKRILL_ERROR_02",
1143
- "03" => "SKRILL_ERROR_03",
1144
- "04" => "SKRILL_ERROR_04",
1145
- "05" => "SKRILL_ERROR_05",
1146
- "08" => "SKRILL_ERROR_08",
1147
- "09" => "SKRILL_ERROR_09",
1148
- "10" => "SKRILL_ERROR_10",
1149
- "12" => "SKRILL_ERROR_12",
1150
- "15" => "SKRILL_ERROR_15",
1151
- "19" => "SKRILL_ERROR_19",
1152
- "24" => "SKRILL_ERROR_24",
1153
- "28" => "SKRILL_ERROR_28",
1154
- "32" => "SKRILL_ERROR_32",
1155
- "37" => "SKRILL_ERROR_37",
1156
- "38" => "SKRILL_ERROR_38",
1157
- "42" => "SKRILL_ERROR_42",
1158
- "44" => "SKRILL_ERROR_44",
1159
- "51" => "SKRILL_ERROR_51",
1160
- "63" => "SKRILL_ERROR_63",
1161
- "70" => "SKRILL_ERROR_70",
1162
- "71" => "SKRILL_ERROR_71",
1163
- "80" => "SKRILL_ERROR_80",
1164
- "98" => "SKRILL_ERROR_98",
1165
- "99" => "SKRILL_ERROR_99_GENERAL"
1166
- );
1167
- if ($code)
1168
- return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'SKRILL_ERROR_99_GENERAL';
1169
- else
1170
- return 'SKRILL_ERROR_99_GENERAL';
1171
- }
1172
-
1173
- // Skrill =====================================
1174
-
1175
- /**
1176
- * Retrieve quote object
1177
- *
1178
- * @return Mage_Sales_Model_Quote
1179
- */
1180
- public function getQuote()
1181
- {
1182
- return Mage::getModel('checkout/session')->getQuote();
1183
- }
1184
-
1185
-
1186
- /**
1187
- * Retrieve order object
1188
- *
1189
- * @param int $id
1190
- * @return Mage_Sales_Model_Order
1191
- */
1192
- public function getOrder($id)
1193
- {
1194
- return Mage::getSingleton('sales/order')->load($id);
1195
- }
1196
-
1197
- /**
1198
- * Retrieve customer data
1199
- *
1200
- * @param Mage_Sales_Model_Order $order
1201
- * @return array
1202
- */
1203
- public function getCustomerData(Mage_Core_Model_Abstract $order)
1204
- {
1205
- $data = array(
1206
- 'name_data' => $this->getNameData($order),
1207
- 'address_data' => $this->getAddressData($order),
1208
- 'contact_data' => $this->getContactData($order)
1209
- );
1210
-
1211
- return $data;
1212
- }
1213
-
1214
- /**
1215
- * Retrieve name data
1216
- *
1217
- * @param Mage_Core_Model_Abstract $order
1218
- * @return array
1219
- */
1220
- public function getNameData(Mage_Core_Model_Abstract $order)
1221
- {
1222
- $dob = '';
1223
- if(!is_null($order->getCustomerDob())) {
1224
- $dob = new Zend_Date($order->getCustomerDob());
1225
- $dob = $dob->toString("yyyy-MM-dd");
1226
- }
1227
- $data = array(
1228
- 'first_name' => $order->getBillingAddress()->getFirstname(),
1229
- 'last_name' => $order->getBillingAddress()->getLastname(),
1230
- 'sex' => $this->getGender($order),
1231
- 'dob' => $dob,
1232
- 'company' => $order->getBillingAddress()->getCompany(),
1233
- 'salutation' => $this->getPrefix($order)
1234
- );
1235
-
1236
- return $data;
1237
- }
1238
-
1239
- /**
1240
- * Retrieve address data
1241
- *
1242
- * @param Mage_Core_Model_Abstract $order
1243
- * @return array
1244
- */
1245
- public function getAddressData(Mage_Core_Model_Abstract $order)
1246
- {
1247
- $data = array(
1248
- 'country_code' => $order->getBillingAddress()->getCountryId(),
1249
- 'street' => str_replace("\n", " ", $order->getBillingAddress()->getStreetFull()),
1250
- 'zip' => $order->getBillingAddress()->getPostcode(),
1251
- 'city' => $order->getBillingAddress()->getCity(),
1252
- 'state' => $order->getBillingAddress()->getRegion(),
1253
- );
1254
-
1255
- return $data;
1256
- }
1257
-
1258
- /**
1259
- * Retrieve contact data
1260
- *
1261
- * @param Mage_Core_Model_Abstract $order
1262
- * @return array
1263
- */
1264
- public function getContactData(Mage_Core_Model_Abstract $order)
1265
- {
1266
- $data = array(
1267
- 'email' => $order->getCustomerEmail(),
1268
- 'phone' => $order->getBillingAddress()->getTelephone(),
1269
- 'ip' => Mage::helper('core/http')->getRemoteAddr(false)
1270
- );
1271
-
1272
- return $data;
1273
- }
1274
-
1275
- /**
1276
- * Retrieve Basket data
1277
- *
1278
- * @param Mage_Core_Model_Abstract $order || Mage_Sales_Model_Quote $order
1279
- * @return array
1280
- */
1281
- public function getBasketData(Mage_Core_Model_Abstract $order)
1282
- {
1283
- if ( $order instanceof Mage_Core_Model_Abstract ) {
1284
- $basket = array(
1285
- 'amount' => $order->getGrandTotal(),
1286
- 'currency' => $order->getOrderCurrencyCode(),
1287
- 'baseCurrency' => $order->getBaseCurrencyCode(),
1288
- 'baseAmount' => $order->getBaseGrandTotal()
1289
- );
1290
- }
1291
- else if ( $order instanceof Mage_Sales_Model_Quote ) {
1292
- $basket = array(
1293
- 'amount' => $order->getGrandTotal(),
1294
- 'currency' => $order->getQuoteCurrencyCode(),
1295
- 'baseCurrency' => $order->getBaseCurrencyCode(),
1296
- 'baseAmount' => $order->getBaseGrandTotal()
1297
- );
1298
- }
1299
-
1300
- return $basket;
1301
- }
1302
-
1303
- /**
1304
- * Retrieve method code for config loading
1305
- *
1306
- * @param Mage_Core_Model_Abstract $order
1307
- * @return string
1308
- */
1309
- public function getMethodCode(Mage_Core_Model_Abstract $order)
1310
- {
1311
- return str_replace('skrill', 'method', $order->getPayment()->getMethod());
1312
- }
1313
-
1314
- /**
1315
- * This method returns the customer gender code
1316
- *
1317
- * @param Mage_Core_Model_Abstract $order
1318
- * @return string
1319
- */
1320
- public function getGender(Mage_Core_Model_Abstract $order)
1321
- {
1322
- $gender = $order->getCustomerGender();
1323
- if ($gender) {
1324
- $attribute = Mage::getModel('eav/entity_attribute')->loadByCode('customer', 'gender');
1325
- $option = $attribute->getFrontend()->getOption($gender);
1326
-
1327
- switch (strtolower($option)) {
1328
- case 'male':
1329
- return 'M';
1330
- case 'female':
1331
- return 'F';
1332
- }
1333
- }
1334
- return '';
1335
- }
1336
-
1337
- /**
1338
- * Retrieve the prefix
1339
- *
1340
- * @param Mage_Core_Model_Abstract $order
1341
- * @return string
1342
- */
1343
- public function getPrefix(Mage_Core_Model_Abstract $order)
1344
- {
1345
- $gender = $order->getCustomerPrefix();
1346
- if ($gender) {
1347
- switch (strtolower($gender)) {
1348
- case 'herr':
1349
- case 'mr':
1350
- return 'MR';
1351
- case 'frau':
1352
- case 'mrs':
1353
- return 'MRS';
1354
- case 'fräulein':
1355
- case 'ms':
1356
- return 'MS';
1357
-
1358
- }
1359
- }
1360
- return '';
1361
- }
1362
-
1363
- /**
1364
- * Retrieve the locale code in iso (2 chars)
1365
- *
1366
- * @return string
1367
- */
1368
- public function getLocaleIsoCode()
1369
- {
1370
- return substr(Mage::app()->getLocale()->getLocaleCode(), 0, 2);
1371
- }
1372
-
1373
- public function invoice(Mage_Core_Model_Abstract $order)
1374
- {
1375
- $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
1376
- $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
1377
- $invoice->register();
1378
- $invoice->getOrder()->setCustomerNoteNotify(false);
1379
- $invoice->getOrder()->setIsInProcess(true);
1380
- $transactionSave = Mage::getModel('core/resource_transaction')
1381
- ->addObject($invoice)
1382
- ->addObject($invoice->getOrder());
1383
- $transactionSave->save();
1384
- }
1385
-
1386
- public function getCountryIssuer($bin)
1387
- {
1388
- $url = 'http://www.binlist.net/json/'.$bin;
1389
-
1390
- $response = Mage::helper('skrill/curl')->getResponse($url, true);
1391
-
1392
- return $response['country_code'];
1393
- }
1394
-
1395
- public function getDateTime()
1396
- {
1397
- $t = microtime(true);
1398
- $micro = sprintf("%06d",($t - floor($t)) * 1000000);
1399
- $d = new DateTime( date('Y-m-d H:i:s.'.$micro, $t) );
1400
-
1401
- return $d->format("ymdhiu");
1402
- }
1403
-
1404
- public function randomNumber($length) {
1405
- $result = '';
1406
-
1407
- for($i = 0; $i < $length; $i++) {
1408
- $result .= mt_rand(0, 9);
1409
- }
1410
-
1411
- return $result;
1412
- }
1413
-
1414
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Skrill helper
23
+ *
24
+ */
25
+ class Skrill_Helper_Data extends Mage_Core_Helper_Abstract
26
+ {
27
+ // Enterprise =================================
28
+
29
+ protected $tokenUrlLive = 'https://ctpe.net/frontend/GenerateToken';
30
+ protected $tokenUrlTest = 'https://test.ctpe.net/frontend/GenerateToken';
31
+
32
+ protected $executeUrlLive = 'https://ctpe.net/frontend/ExecutePayment';
33
+ protected $executeUrlTest = 'https://test.ctpe.net/frontend/ExecutePayment';
34
+
35
+ protected $statusUrlLive = 'https://ctpe.net/frontend/GetStatus;jsessionid=';
36
+ protected $statusUrlTest = 'https://test.ctpe.net/frontend/GetStatus;jsessionid=';
37
+
38
+ protected $jsUrlLive = 'https://ctpe.net/frontend/widget/v3/widget.js?style=card&version=beautified&language=';
39
+ protected $jsUrlTest = 'https://test.ctpe.net/frontend/widget/v3/widget.js?style=card&version=beautified&language=';
40
+
41
+ protected $skrillPaymentUrl = 'https://pay.skrill.com';
42
+ protected $skrillQueryUrl = 'https://www.moneybookers.com/app/query.pl';
43
+ protected $skrillRefundUrl = 'https://www.moneybookers.com/app/refund.pl';
44
+
45
+ public function getErrorIdentifier($code)
46
+ {
47
+ $error_messages = array(
48
+ "40.10" => "ERROR_CC_DECLINED_CARD",
49
+ "40.15" => "",
50
+ "40.20" => "",
51
+ "59.94" => "",
52
+ "60.95" => "ERROR_CC_DECLINED_CARD",
53
+ "60.70" => "ERROR_GENERAL_CANCEL",
54
+ "60.71" => "",
55
+ "60.40" => "ERROR_GENERAL_GENERAL",
56
+ "60.80" => "",
57
+ "60.90" => "ERROR_GENERAL_CANCEL",
58
+ "64.78" => "",
59
+ "65.78" => "ERROR_CC_DECLINED_CARD",
60
+ "65.60" => "",
61
+ "65.61" => "ERROR_CC_3DERROR",
62
+ "65.75" => "",
63
+ "65.77" => "",
64
+ "65.79" => "",
65
+ "65.80" => "ERROR_GENERAL_DECLINED_RISK",
66
+ "65.85" => "ERROR_CC_3DERROR",
67
+ "65.50" => "ERROR_GENERAL_BLACKLIST",
68
+ "65.30" => "",
69
+ "65.31" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
70
+ "65.38" => "",
71
+ "65.32" => "",
72
+ "65.33" => "",
73
+ "65.36" => "ERROR_CC_ACCOUNT",
74
+ "65.35" => "ERROR_GENERAL_LIMIT_AMOUNT",
75
+ "65.37" => "ERROR_CC_ADDRESS",
76
+ "70.10" => "",
77
+ "70.64" => "ERROR_SEPA_MANDATE",
78
+ "70.70" => "",
79
+ "70.30" => "",
80
+ "70.20" => "ERROR_CC_3DAUTH",
81
+ "70.60" => "",
82
+ "70.61" => "",
83
+ "70.40" => "ERROR_CC_INVALIDDATA",
84
+ "70.35" => "",
85
+ "70.80" => "",
86
+ "70.21" => "ERROR_GENERAL_BLACKLIST",
87
+
88
+ "800.150.100" => "ERROR_CC_ACCOUNT",
89
+
90
+ "800.100.402" => "ERROR_CC_INVALIDDATA",
91
+ "100.100.101" => "ERROR_CC_INVALIDDATA",
92
+ "800.100.151" => "ERROR_CC_INVALIDDATA",
93
+ "000.400.108" => "ERROR_CC_INVALIDDATA",
94
+ "100.100.100" => "ERROR_CC_INVALIDDATA",
95
+ "100.100.200" => "ERROR_CC_INVALIDDATA",
96
+ "100.100.201" => "ERROR_CC_INVALIDDATA",
97
+ "100.100.300" => "ERROR_CC_INVALIDDATA",
98
+ "100.100.301" => "ERROR_CC_INVALIDDATA",
99
+ "100.100.304" => "ERROR_CC_INVALIDDATA",
100
+ "100.100.400" => "ERROR_CC_INVALIDDATA",
101
+ "100.100.401" => "ERROR_CC_INVALIDDATA",
102
+ "100.100.402" => "ERROR_CC_INVALIDDATA",
103
+ "100.100.651" => "ERROR_CC_INVALIDDATA",
104
+ "100.100.700" => "ERROR_CC_INVALIDDATA",
105
+ "100.200.100" => "ERROR_CC_INVALIDDATA",
106
+ "100.200.103" => "ERROR_CC_INVALIDDATA",
107
+ "100.200.104" => "ERROR_CC_INVALIDDATA",
108
+ "100.400.000" => "ERROR_CC_INVALIDDATA",
109
+ "100.400.001" => "ERROR_CC_INVALIDDATA",
110
+ "100.400.086" => "ERROR_CC_INVALIDDATA",
111
+ "100.400.087" => "ERROR_CC_INVALIDDATA",
112
+ "100.400.002" => "ERROR_CC_INVALIDDATA",
113
+ "100.400.316" => "ERROR_CC_INVALIDDATA",
114
+ "100.400.317" => "ERROR_CC_INVALIDDATA",
115
+ "800.100.402" => "ERROR_CC_INVALIDDATA",
116
+
117
+ "800.300.401" => "ERROR_CC_BLACKLIST",
118
+
119
+ "800.100.171" => "ERROR_CC_DECLINED_CARD",
120
+ "800.100.165" => "ERROR_CC_DECLINED_CARD",
121
+ "800.100.159" => "ERROR_CC_DECLINED_CARD",
122
+ "800.100.195" => "ERROR_CC_DECLINED_CARD",
123
+ "000.400.101" => "ERROR_CC_DECLINED_CARD",
124
+ "100.100.501" => "ERROR_CC_DECLINED_CARD",
125
+ "100.100.701" => "ERROR_CC_DECLINED_CARD",
126
+ "100.400.005" => "ERROR_CC_DECLINED_CARD",
127
+ "100.400.020" => "ERROR_CC_DECLINED_CARD",
128
+ "100.400.021" => "ERROR_CC_DECLINED_CARD",
129
+ "100.400.030" => "ERROR_CC_DECLINED_CARD",
130
+ "100.400.039" => "ERROR_CC_DECLINED_CARD",
131
+ "100.400.081" => "ERROR_CC_DECLINED_CARD",
132
+ "100.400.100" => "ERROR_CC_DECLINED_CARD",
133
+ "100.400.123" => "ERROR_CC_DECLINED_CARD",
134
+ "100.400.319" => "ERROR_CC_DECLINED_CARD",
135
+ "800.100.154" => "ERROR_CC_DECLINED_CARD",
136
+ "800.100.156" => "ERROR_CC_DECLINED_CARD",
137
+ "800.100.158" => "ERROR_CC_DECLINED_CARD",
138
+ "800.100.160" => "ERROR_CC_DECLINED_CARD",
139
+ "800.100.161" => "ERROR_CC_DECLINED_CARD",
140
+ "800.100.163" => "ERROR_CC_DECLINED_CARD",
141
+ "800.100.164" => "ERROR_CC_DECLINED_CARD",
142
+ "800.100.166" => "ERROR_CC_DECLINED_CARD",
143
+ "800.100.167" => "ERROR_CC_DECLINED_CARD",
144
+ "800.100.169" => "ERROR_CC_DECLINED_CARD",
145
+ "800.100.170" => "ERROR_CC_DECLINED_CARD",
146
+ "800.100.173" => "ERROR_CC_DECLINED_CARD",
147
+ "800.100.174" => "ERROR_CC_DECLINED_CARD",
148
+ "800.100.175" => "ERROR_CC_DECLINED_CARD",
149
+ "800.100.176" => "ERROR_CC_DECLINED_CARD",
150
+ "800.100.177" => "ERROR_CC_DECLINED_CARD",
151
+ "800.100.190" => "ERROR_CC_DECLINED_CARD",
152
+ "800.100.191" => "ERROR_CC_DECLINED_CARD",
153
+ "800.100.196" => "ERROR_CC_DECLINED_CARD",
154
+ "800.100.197" => "ERROR_CC_DECLINED_CARD",
155
+ "800.100.168" => "ERROR_CC_DECLINED_CARD",
156
+
157
+ "100.100.303" => "ERROR_CC_EXPIRED",
158
+
159
+ "800.100.153" => "ERROR_CC_INVALIDCVV",
160
+ "100.100.601" => "ERROR_CC_INVALIDCVV",
161
+ "100.100.600" => "ERROR_CC_INVALIDCVV",
162
+ "800.100.192" => "ERROR_CC_INVALIDCVV",
163
+
164
+ "800.100.157" => "ERROR_CC_EXPIRY",
165
+
166
+ "800.100.162" => "ERROR_CC_LIMIT_EXCEED",
167
+
168
+ "100.400.040" => "ERROR_CC_3DAUTH",
169
+ "100.400.060" => "ERROR_CC_3DAUTH",
170
+ "100.400.080" => "ERROR_CC_3DAUTH",
171
+ "100.400.120" => "ERROR_CC_3DAUTH",
172
+ "100.400.260" => "ERROR_CC_3DAUTH",
173
+ "800.900.300" => "ERROR_CC_3DAUTH",
174
+ "800.900.301" => "ERROR_CC_3DAUTH",
175
+ "800.900.302" => "ERROR_CC_3DAUTH",
176
+ "100.380.401" => "ERROR_CC_3DAUTH",
177
+
178
+ "100.390.105" => "ERROR_CC_3DERROR",
179
+ "000.400.103" => "ERROR_CC_3DERROR",
180
+ "000.400.104" => "ERROR_CC_3DERROR",
181
+ "100.390.106" => "ERROR_CC_3DERROR",
182
+ "100.390.107" => "ERROR_CC_3DERROR",
183
+ "100.390.108" => "ERROR_CC_3DERROR",
184
+ "100.390.109" => "ERROR_CC_3DERROR",
185
+ "100.390.111" => "ERROR_CC_3DERROR",
186
+ "800.400.200" => "ERROR_CC_3DERROR",
187
+ "100.390.112" => "ERROR_CC_3DERROR",
188
+
189
+ "100.100.500" => "ERROR_CC_NOBRAND",
190
+
191
+ "800.100.155" => "ERROR_GENERAL_LIMIT_AMOUNT",
192
+ "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
193
+ "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
194
+ "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
195
+
196
+ "800.120.101" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
197
+ "800.120.100" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
198
+ "800.120.102" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
199
+ "800.120.103" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
200
+ "800.120.200" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
201
+ "800.120.201" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
202
+ "800.120.202" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
203
+ "800.120.203" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
204
+
205
+ "800.100.152" => "ERROR_CC_DECLINED_AUTH",
206
+
207
+ "100.380.501" => "ERROR_GENERAL_DECLINED_RISK",
208
+
209
+ "800.400.151" => "ERROR_CC_ADDRESS",
210
+ "800.400.150" => "ERROR_CC_ADDRESS",
211
+
212
+ "100.400.300" => "ERROR_GENERAL_CANCEL",
213
+ "100.396.101" => "ERROR_GENERAL_CANCEL",
214
+ "900.300.600" => "ERROR_GENERAL_CANCEL",
215
+
216
+ "800.100.501" => "ERROR_CC_RECURRING",
217
+ "800.100.500" => "ERROR_CC_RECURRING",
218
+
219
+ "800.100.178" => "ERROR_CC_REPEATED",
220
+ "800.300.500" => "ERROR_CC_REPEATED",
221
+ "800.300.501" => "ERROR_CC_REPEATED",
222
+
223
+ "800.700.101" => "ERROR_GENERAL_ADDRESS",
224
+ "800.700.201" => "ERROR_GENERAL_ADDRESS",
225
+ "800.700.500" => "ERROR_GENERAL_ADDRESS",
226
+ "800.800.102" => "ERROR_GENERAL_ADDRESS",
227
+ "800.800.202" => "ERROR_GENERAL_ADDRESS",
228
+ "800.800.302" => "ERROR_GENERAL_ADDRESS",
229
+ "800.900.101" => "ERROR_GENERAL_ADDRESS",
230
+ "800.900.200" => "ERROR_GENERAL_ADDRESS",
231
+ "800.100.198" => "ERROR_GENERAL_ADDRESS",
232
+ "800.700.101" => "ERROR_GENERAL_ADDRESS",
233
+
234
+ "100.400.121" => "ERROR_GENERAL_BLACKLIST",
235
+ "800.100.172" => "ERROR_GENERAL_BLACKLIST",
236
+ "800.200.159" => "ERROR_GENERAL_BLACKLIST",
237
+ "800.200.160" => "ERROR_GENERAL_BLACKLIST",
238
+ "800.200.165" => "ERROR_GENERAL_BLACKLIST",
239
+ "800.200.202" => "ERROR_GENERAL_BLACKLIST",
240
+ "800.200.208" => "ERROR_GENERAL_BLACKLIST",
241
+ "800.200.220" => "ERROR_GENERAL_BLACKLIST",
242
+ "800.300.101" => "ERROR_GENERAL_BLACKLIST",
243
+ "800.300.102" => "ERROR_GENERAL_BLACKLIST",
244
+ "800.300.200" => "ERROR_GENERAL_BLACKLIST",
245
+ "800.300.301" => "ERROR_GENERAL_BLACKLIST",
246
+ "800.300.302" => "ERROR_GENERAL_BLACKLIST",
247
+
248
+ "800.500.100" => "ERROR_GENERAL_GENERAL",
249
+ "800.700.100" => "ERROR_GENERAL_GENERAL",
250
+
251
+ "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
252
+ "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
253
+ "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
254
+
255
+ "000.400.107" => "ERROR_GENERAL_TIMEOUT",
256
+ "100.395.502" => "ERROR_GENERAL_TIMEOUT",
257
+
258
+ "100.395.101" => "ERROR_GIRO_NOSUPPORT",
259
+ "100.395.102" => "ERROR_GIRO_NOSUPPORT",
260
+
261
+ "100.200.200" => "ERROR_SEPA_MANDATE",
262
+ "000.100.204" => "ERROR_SEPA_MANDATE",
263
+ "000.100.205" => "ERROR_SEPA_MANDATE"
264
+ );
265
+ if ($code)
266
+ return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'ERROR_UNKNOWN';
267
+ else
268
+ return 'ERROR_UNKNOWN';
269
+ }
270
+
271
+ public function getJsUrl($server, $lang){
272
+ if ($server=="LIVE")
273
+ return $this->jsUrlLive . $lang;
274
+ else
275
+ return $this->jsUrlTest . $lang;
276
+ }
277
+
278
+ public function getTokenUrl($server)
279
+ {
280
+ if ($server=="LIVE")
281
+ return $this->tokenUrlLive;
282
+ else
283
+ return $this->tokenUrlTest;
284
+ }
285
+
286
+ public function getPostParameter($dataCust,$dataTransaction)
287
+ {
288
+ $data = "SECURITY.SENDER=" . $dataTransaction['sender'] .
289
+ "&TRANSACTION.CHANNEL=" . $dataTransaction['channel_id'] .
290
+ "&USER.LOGIN=" . $dataTransaction['login'] .
291
+ "&USER.PWD=" . $dataTransaction['password'] .
292
+ "&TRANSACTION.MODE=" . $dataTransaction['tx_mode'] .
293
+ "&IDENTIFICATION.TRANSACTIONID=" . $dataTransaction['transId'].
294
+ "&PAYMENT.TYPE=" . $dataTransaction['payment_type'] .
295
+ "&PRESENTATION.AMOUNT=" . $dataCust['amount'] .
296
+ "&PRESENTATION.CURRENCY=" . $dataCust['currency'] .
297
+ "&ADDRESS.STREET=" . $dataCust['street'] .
298
+ "&ADDRESS.ZIP=" . $dataCust['zip'] .
299
+ "&ADDRESS.CITY=" . $dataCust['city'] .
300
+ "&ADDRESS.COUNTRY=" . $dataCust['country_code'] .
301
+ "&CONTACT.EMAIL=" . $dataCust['email'] .
302
+ "&NAME.GIVEN=" . $dataCust['first_name'] .
303
+ "&NAME.FAMILY=" . $dataCust['last_name'];
304
+
305
+ return $data;
306
+ }
307
+
308
+ public function getToken($postData, $url)
309
+ {
310
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $postData);
311
+
312
+ $obj = json_decode($response);
313
+
314
+ return $obj->{'transaction'}->{'token'};
315
+ }
316
+
317
+ public function getExecuteUrl($server)
318
+ {
319
+ if ($server=="LIVE")
320
+ return $this->executeUrlLive;
321
+ else
322
+ return $this->executeUrlTest;
323
+ }
324
+
325
+ public function getPostExecutePayment($dataTransaction)
326
+ {
327
+ $data = "IDENTIFICATION.REFERENCEID=". $dataTransaction['refId'] ."&" .
328
+ "PAYMENT.METHOD=". $dataTransaction['payment_method'] ."&" .
329
+ "PAYMENT.TYPE=". $dataTransaction['payment_type'] ."&" .
330
+ "PRESENTATION.AMOUNT=". $dataTransaction['amount'] ."&" .
331
+ "PRESENTATION.CURRENCY=". $dataTransaction['currency'] ."&" .
332
+ "SECURITY.SENDER=". $dataTransaction['sender'] ."&" .
333
+ "TRANSACTION.CHANNEL=". $dataTransaction['channel_id'] ."&" .
334
+ "TRANSACTION.MODE=" . $dataTransaction['tx_mode'] ."&" .
335
+ "USER.LOGIN=". $dataTransaction['login'] ."&" .
336
+ "USER.PWD=". $dataTransaction['password'];
337
+
338
+ return $data;
339
+ }
340
+
341
+ public function executePayment($postData, $url)
342
+ {
343
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $postData);
344
+
345
+ return $response;
346
+ }
347
+
348
+ public function buildResponseArray($response)
349
+ {
350
+ $result = array();
351
+ $entries = explode("&", $response);
352
+ foreach ($entries as $entry) {
353
+ $pair = explode("=", $entry);
354
+ $result[$pair[0]] = urldecode($pair[1]);
355
+ }
356
+ return $result;
357
+ }
358
+
359
+ public function getStatusUrl($server, $token){
360
+ if ($server=="LIVE")
361
+ return $this->statusUrlLive . $token;
362
+ else
363
+ return $this->statusUrlTest . $token;
364
+ }
365
+
366
+ public function getPaymentStatus($url)
367
+ {
368
+ $response = Mage::helper('skrill/curl')->getResponse($url, true);
369
+
370
+ return $response;
371
+ }
372
+
373
+ public function getPayonTrnStatus($code, $paymentType, $separatorType)
374
+ {
375
+ if ($paymentType == 'PA') {
376
+ if ($code == 'ACK') {
377
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH');
378
+ } else {
379
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH_FAILED');
380
+ }
381
+ } elseif ($paymentType == 'CP') {
382
+ if ($code == 'ACK') {
383
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED');
384
+ } else {
385
+ if ($separatorType != 'info') {
386
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED_FAILED');
387
+ }
388
+ }
389
+ } elseif ($paymentType == 'RF') {
390
+ if ($code == 'ACK') {
391
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
392
+ } else {
393
+ if ($separatorType != 'info') {
394
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
395
+ }
396
+ }
397
+ } else {
398
+ if ($code == 'ACK') {
399
+ $status = Mage::helper('skrill')->__('BACKEND_TT_ACC');
400
+ } else {
401
+ $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
402
+ }
403
+ }
404
+ return $status;
405
+ }
406
+
407
+ protected function getpaymentMethodIdentifier($paymentBrand) {
408
+ if ($paymentBrand) {
409
+ if ($paymentBrand == 'VISA') {
410
+ return "SKRILL_FRONTEND_PM_VSA";
411
+ } elseif ($paymentBrand == 'MASTER') {
412
+ return "SKRILL_FRONTEND_PM_MSC";
413
+ } elseif ($paymentBrand == 'MAESTRO') {
414
+ return "SKRILL_FRONTEND_PM_MAE";
415
+ } elseif ($paymentBrand == 'AMEX') {
416
+ return "SKRILL_FRONTEND_PM_AMX";
417
+ } elseif ($paymentBrand == 'DIRECTDEBIT_SEPA_MIX_DE') {
418
+ return "FRONTEND_PM_DD";
419
+ } elseif ($paymentBrand == 'SOFORTUEBERWEISUNG') {
420
+ return "FRONTEND_PM_SOFORT";
421
+ } else {
422
+ return "FRONTEND_PM_".$paymentBrand;
423
+ }
424
+ }
425
+ return '';
426
+ }
427
+
428
+ public function getPayonComment($status, $paymentType, $paymentBrand, $bin, $separatorType, $type, $refundId, $refundStatus)
429
+ {
430
+ if ( $separatorType == "info" ) {
431
+ $separator = "<br />";
432
+ } else {
433
+ $separator = ". ";
434
+ }
435
+
436
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->getPayonTrnStatus($status, $paymentType, $separatorType).$separator;
437
+
438
+ $paymentMethodIdentifier = $this->getpaymentMethodIdentifier($paymentBrand);
439
+
440
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__($paymentMethodIdentifier).$separator;
441
+
442
+ if ($bin) {
443
+ $countryIso2 = Mage::helper('skrill')->getCountryIssuer($bin);
444
+ if ($countryIso2) {
445
+ $cardIssuer = Mage::app()->getLocale()->getCountryTranslation($countryIso2);
446
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$cardIssuer.$separator;
447
+ }
448
+ }
449
+ if ($type == "fraud") {
450
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
451
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$refundId.$separator;
452
+ if ($status == 'ACK') {
453
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->__('BACKEND_TT_'.$refundStatus).$separator;
454
+ }
455
+ }
456
+ return $comment;
457
+ }
458
+
459
+ // Enterprise =================================
460
+
461
+ // Skrill =====================================
462
+
463
+ /**
464
+ * get skrill payment url
465
+ *
466
+ * @return string
467
+ */
468
+ public function getSkrillPaymentUrl()
469
+ {
470
+ return $this->skrillPaymentUrl;
471
+ }
472
+
473
+ /**
474
+ * get sid
475
+ *
476
+ * @param array $parameters
477
+ * @return string
478
+ */
479
+ public function getSid($parameters)
480
+ {
481
+ $url = $this->skrillPaymentUrl;
482
+
483
+ $request = http_build_query($parameters, '', '&');
484
+
485
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
486
+
487
+ Mage::log('get sid request', null, 'skrill_log_file.log');
488
+ Mage::log($parameters, null, 'skrill_log_file.log');
489
+ Mage::log('get sid response : '.$response, null, 'skrill_log_file.log');
490
+
491
+ return $response;
492
+ }
493
+
494
+ public function doQuery($action, $params)
495
+ {
496
+ $url = $this->skrillQueryUrl;
497
+
498
+ $fields = $params;
499
+ $fields['action'] = $action;
500
+
501
+ $request = http_build_query($fields, '', '&');
502
+
503
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
504
+
505
+ return $response;
506
+ }
507
+
508
+ public function getStatusTrn($parameters)
509
+ {
510
+ // check status_trn 3 times if no response.
511
+ for ($i=0; $i < 3; $i++) {
512
+ $response = true;
513
+ try {
514
+ $result = $this->doQuery('status_trn', $parameters);
515
+ } catch (Exception $e) {
516
+ $response = false;
517
+ }
518
+ if ($response && $result)
519
+ {
520
+ return $this->getResponseArray($result);
521
+ }
522
+ }
523
+ return false;
524
+ }
525
+
526
+ public function getResponseArray($strings)
527
+ {
528
+ $responseArray = array();
529
+ $string = explode("\n",$strings);
530
+ $responseArray['response_header'] = $string[0];
531
+ if(!empty($string[1])) {
532
+ $stringArr = explode("&",$string[1]);
533
+ foreach ($stringArr as $key => $value) {
534
+ $valueArr = explode("=",$value);
535
+ $responseArray[urldecode($valueArr[0])] = urldecode($valueArr[1]);
536
+ }
537
+ return $responseArray;
538
+ }
539
+ else {
540
+ return false;
541
+ }
542
+ }
543
+
544
+ public function getTrnStatus($code)
545
+ {
546
+ switch ($code) {
547
+ case '2':
548
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PROCESSED');
549
+ break;
550
+ case '0':
551
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PENDING');
552
+ break;
553
+ case '-1':
554
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CANCELLED');
555
+ break;
556
+ case '-2':
557
+ $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
558
+ break;
559
+ case '-3':
560
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CHARGEBACK');
561
+ break;
562
+ case '-4':
563
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
564
+ break;
565
+ case '-5':
566
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
567
+ break;
568
+ case '-6':
569
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_PENDING');
570
+ break;
571
+ default:
572
+ $status = Mage::helper('skrill')->__('ERROR_GENERAL_ABANDONED_BYUSER');
573
+ break;
574
+ }
575
+ return $status;
576
+ }
577
+
578
+ public function getComment($response, $separatorType = false, $type = false)
579
+ {
580
+ if ( $separatorType == "info" )
581
+ $separator = "<br />";
582
+ else
583
+ $separator = ". ";
584
+
585
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".$this->getTrnStatus($response['status']).$separator;
586
+ if (isset($response['payment_type']))
587
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_'.$response['payment_type']).$separator;
588
+ if (isset($response['payment_instrument_country']))
589
+ {
590
+ $countryIso2 = Mage::helper('skrill')->getCountryIso2($response['payment_instrument_country']);
591
+ if ($countryIso2)
592
+ {
593
+ $cardIssuer = Mage::app()->getLocale()->getCountryTranslation($countryIso2);
594
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$cardIssuer.$separator;
595
+ }
596
+ }
597
+ if ($type == "fraud")
598
+ {
599
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
600
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$response['mb_transaction_id'].$separator;
601
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".$this->getTrnStatus($response['status']).$separator;
602
+ }
603
+ if ($type == "refundStatus") {
604
+ $comment .= Mage::helper('skrill')->__('BACKEND_TT_AMOUNT')." : ".$response['amount'].$separator;
605
+ }
606
+ return $comment;
607
+ }
608
+
609
+ public function doRefund($action, $params)
610
+ {
611
+ $url = $this->skrillRefundUrl;
612
+
613
+ if ($action == "prepare") {
614
+ $fields = $params;
615
+ $fields['action'] = $action;
616
+ } elseif ($action == "refund") {
617
+ $fields['action'] = $action;
618
+ $fields['sid'] = $params;
619
+ }
620
+
621
+ $request = http_build_query($fields, '', '&');
622
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
623
+
624
+ return simplexml_load_string($response);
625
+ }
626
+
627
+ public function getCountryIso3($iso2)
628
+ {
629
+ $iso3 = array(
630
+ "AF" => "AFG",
631
+ "AL" => "ALB",
632
+ "DZ" => "DZA",
633
+ "AS" => "ASM",
634
+ "AD" => "AND",
635
+ "AO" => "AGO",
636
+ "AI" => "AIA",
637
+ "AQ" => "ATA",
638
+ "AG" => "ATG",
639
+ "AR" => "ARG",
640
+ "AM" => "ARM",
641
+ "AW" => "ABW",
642
+ "AU" => "AUS",
643
+ "AT" => "AUT",
644
+ "AZ" => "AZE",
645
+ "BS" => "BHS",
646
+ "BH" => "BHR",
647
+ "BD" => "BGD",
648
+ "BB" => "BRB",
649
+ "BY" => "BLR",
650
+ "BE" => "BEL",
651
+ "BZ" => "BLZ",
652
+ "BJ" => "BEN",
653
+ "BM" => "BMU",
654
+ "BT" => "BTN",
655
+ "BO" => "BOL",
656
+ "BA" => "BIH",
657
+ "BW" => "BWA",
658
+ "BV" => "BVT",
659
+ "BR" => "BRA",
660
+ "IO" => "IOT",
661
+ "VG" => "VGB",
662
+ "BN" => "BRN",
663
+ "BG" => "BGR",
664
+ "BF" => "BFA",
665
+ "BI" => "BDI",
666
+ "KH" => "KHM",
667
+ "CM" => "CMR",
668
+ "CA" => "CAN",
669
+ "CV" => "CPV",
670
+ "KY" => "CYM",
671
+ "CF" => "CAF",
672
+ "TD" => "TCD",
673
+ "CL" => "CHL",
674
+ "CN" => "CHN",
675
+ "CX" => "CXR",
676
+ "CC" => "CCK",
677
+ "CO" => "COL",
678
+ "KM" => "COM",
679
+ "CG" => "COG",
680
+ "CD" => "COD",
681
+ "CK" => "COK",
682
+ "CR" => "CRI",
683
+ "HR" => "HRV",
684
+ "CU" => "CUB",
685
+ "CY" => "CYP",
686
+ "CZ" => "CZE",
687
+ "CI" => "CIV",
688
+ "DK" => "DNK",
689
+ "DJ" => "DJI",
690
+ "DM" => "DMA",
691
+ "DO" => "DOM",
692
+ "EC" => "ECU",
693
+ "EG" => "EGY",
694
+ "SV" => "SLV",
695
+ "GQ" => "GNQ",
696
+ "ER" => "ERI",
697
+ "EE" => "EST",
698
+ "ET" => "ETH",
699
+ "FK" => "FLK",
700
+ "FO" => "FRO",
701
+ "FJ" => "FJI",
702
+ "FI" => "FIN",
703
+ "FR" => "FRA",
704
+ "GF" => "GUF",
705
+ "PF" => "PYF",
706
+ "TF" => "ATF",
707
+ "GA" => "GAB",
708
+ "GM" => "GMB",
709
+ "GE" => "GEO",
710
+ "DE" => "DEU",
711
+ "GH" => "GHA",
712
+ "GI" => "GIB",
713
+ "GR" => "GRC",
714
+ "GL" => "GRL",
715
+ "GD" => "GRD",
716
+ "GP" => "GLD",
717
+ "GU" => "GUM",
718
+ "GT" => "GTM",
719
+ "GG" => "GGY",
720
+ "GN" => "HTI",
721
+ "GW" => "HMD",
722
+ "GY" => "VAT",
723
+ "HT" => "GIN",
724
+ "HM" => "GNB",
725
+ "HN" => "HND",
726
+ "HK" => "HKG",
727
+ "HU" => "HUN",
728
+ "IS" => "ISL",
729
+ "IN" => "IND",
730
+ "ID" => "IDN",
731
+ "IR" => "IRN",
732
+ "IQ" => "IRQ",
733
+ "IE" => "IRL",
734
+ "IM" => "IMN",
735
+ "IL" => "ISR",
736
+ "IT" => "ITA",
737
+ "JM" => "JAM",
738
+ "JP" => "JPN",
739
+ "JE" => "JEY",
740
+ "JO" => "JOR",
741
+ "KZ" => "KAZ",
742
+ "KE" => "KEN",
743
+ "KI" => "KIR",
744
+ "KW" => "KWT",
745
+ "KG" => "KGZ",
746
+ "LA" => "LAO",
747
+ "LV" => "LVA",
748
+ "LB" => "LBN",
749
+ "LS" => "LSO",
750
+ "LR" => "LBR",
751
+ "LY" => "LBY",
752
+ "LI" => "LIE",
753
+ "LT" => "LTU",
754
+ "LU" => "LUX",
755
+ "MO" => "MAC",
756
+ "MK" => "MKD",
757
+ "MG" => "MDG",
758
+ "MW" => "MWI",
759
+ "MY" => "MYS",
760
+ "MV" => "MDV",
761
+ "ML" => "MLI",
762
+ "MT" => "MLT",
763
+ "MH" => "MHL",
764
+ "MQ" => "MTQ",
765
+ "MR" => "MRT",
766
+ "MU" => "MUS",
767
+ "YT" => "MYT",
768
+ "MX" => "MEX",
769
+ "FM" => "FSM",
770
+ "MD" => "MDA",
771
+ "MC" => "MCO",
772
+ "MN" => "MNG",
773
+ "ME" => "MNE",
774
+ "MS" => "MSR",
775
+ "MA" => "MAR",
776
+ "MZ" => "MOZ",
777
+ "MM" => "MMR",
778
+ "NA" => "NAM",
779
+ "NR" => "NRU",
780
+ "NP" => "NPL",
781
+ "NL" => "NLD",
782
+ "AN" => "ANT",
783
+ "NC" => "NCL",
784
+ "NZ" => "NZL",
785
+ "NI" => "NIC",
786
+ "NE" => "NER",
787
+ "NG" => "NGA",
788
+ "NU" => "NIU",
789
+ "NF" => "NFK",
790
+ "KP" => "PRK",
791
+ "MP" => "MNP",
792
+ "NO" => "NOR",
793
+ "OM" => "OMN",
794
+ "PK" => "PAK",
795
+ "PW" => "PLW",
796
+ "PS" => "PSE",
797
+ "PA" => "PAN",
798
+ "PG" => "PNG",
799
+ "PY" => "PRY",
800
+ "PE" => "PER",
801
+ "PH" => "PHL",
802
+ "PN" => "PCN",
803
+ "PL" => "POL",
804
+ "PT" => "PRT",
805
+ "PR" => "PRI",
806
+ "QA" => "QAT",
807
+ "RO" => "ROU",
808
+ "RU" => "RUS",
809
+ "RW" => "RWA",
810
+ "RE" => "REU",
811
+ "BL" => "BLM",
812
+ "SH" => "SHN",
813
+ "KN" => "KNA",
814
+ "LC" => "LCA",
815
+ "MF" => "MAF",
816
+ "PM" => "SPM",
817
+ "WS" => "WSM",
818
+ "SM" => "SMR",
819
+ "SA" => "SAU",
820
+ "SN" => "SEN",
821
+ "RS" => "SRB",
822
+ "SC" => "SYC",
823
+ "SL" => "SLE",
824
+ "SG" => "SGP",
825
+ "SK" => "SVK",
826
+ "SI" => "SVN",
827
+ "SB" => "SLB",
828
+ "SO" => "SOM",
829
+ "ZA" => "ZAF",
830
+ "GS" => "SGS",
831
+ "KR" => "KOR",
832
+ "ES" => "ESP",
833
+ "LK" => "LKA",
834
+ "VC" => "VCT",
835
+ "SD" => "SDN",
836
+ "SR" => "SUR",
837
+ "SJ" => "SJM",
838
+ "SZ" => "SWZ",
839
+ "SE" => "SWE",
840
+ "CH" => "CHE",
841
+ "SY" => "SYR",
842
+ "ST" => "STP",
843
+ "TW" => "TWN",
844
+ "TJ" => "TJK",
845
+ "TZ" => "TZA",
846
+ "TH" => "THA",
847
+ "TL" => "TLS",
848
+ "TG" => "TGO",
849
+ "TK" => "TKL",
850
+ "TO" => "TON",
851
+ "TT" => "TTO",
852
+ "TN" => "TUN",
853
+ "TR" => "TUR",
854
+ "TM" => "TKM",
855
+ "TC" => "TCA",
856
+ "TV" => "TUV",
857
+ "UM" => "UMI",
858
+ "VI" => "VIR",
859
+ "UG" => "UGA",
860
+ "UA" => "UKR",
861
+ "AE" => "ARE",
862
+ "GB" => "GBR",
863
+ "US" => "USA",
864
+ "UY" => "URY",
865
+ "UZ" => "UZB",
866
+ "VU" => "VUT",
867
+ "VA" => "GUY",
868
+ "VE" => "VEN",
869
+ "VN" => "VNM",
870
+ "WF" => "WLF",
871
+ "EH" => "ESH",
872
+ "YE" => "YEM",
873
+ "ZM" => "ZMB",
874
+ "ZW" => "ZWE",
875
+ "AX" => "ALA"
876
+ );
877
+ if ($iso2)
878
+ return array_key_exists($iso2, $iso3) ? $iso3[$iso2] : '';
879
+ else
880
+ return '';
881
+ }
882
+
883
+ public function getCountryIso2($iso3)
884
+ {
885
+ $iso2 = array(
886
+ "AFG" => "AF",
887
+ "ALB" => "AL",
888
+ "DZA" => "DZ",
889
+ "ASM" => "AS",
890
+ "AND" => "AD",
891
+ "AGO" => "AO",
892
+ "AIA" => "AI",
893
+ "ATA" => "AQ",
894
+ "ATG" => "AG",
895
+ "ARG" => "AR",
896
+ "ARM" => "AM",
897
+ "ABW" => "AW",
898
+ "AUS" => "AU",
899
+ "AUT" => "AT",
900
+ "AZE" => "AZ",
901
+ "BHS" => "BS",
902
+ "BHR" => "BH",
903
+ "BGD" => "BD",
904
+ "BRB" => "BB",
905
+ "BLR" => "BY",
906
+ "BEL" => "BE",
907
+ "BLZ" => "BZ",
908
+ "BEN" => "BJ",
909
+ "BMU" => "BM",
910
+ "BTN" => "BT",
911
+ "BOL" => "BO",
912
+ "BIH" => "BA",
913
+ "BWA" => "BW",
914
+ "BVT" => "BV",
915
+ "BRA" => "BR",
916
+ "IOT" => "IO",
917
+ "VGB" => "VG",
918
+ "BRN" => "BN",
919
+ "BGR" => "BG",
920
+ "BFA" => "BF",
921
+ "BDI" => "BI",
922
+ "KHM" => "KH",
923
+ "CMR" => "CM",
924
+ "CAN" => "CA",
925
+ "CPV" => "CV",
926
+ "CYM" => "KY",
927
+ "CAF" => "CF",
928
+ "TCD" => "TD",
929
+ "CHL" => "CL",
930
+ "CHN" => "CN",
931
+ "CXR" => "CX",
932
+ "CCK" => "CC",
933
+ "COL" => "CO",
934
+ "COM" => "KM",
935
+ "COG" => "CG",
936
+ "COD" => "CD",
937
+ "COK" => "CK",
938
+ "CRI" => "CR",
939
+ "HRV" => "HR",
940
+ "CUB" => "CU",
941
+ "CYP" => "CY",
942
+ "CZE" => "CZ",
943
+ "CIV" => "CI",
944
+ "DNK" => "DK",
945
+ "DJI" => "DJ",
946
+ "DMA" => "DM",
947
+ "DOM" => "DO",
948
+ "ECU" => "EC",
949
+ "EGY" => "EG",
950
+ "SLV" => "SV",
951
+ "GNQ" => "GQ",
952
+ "ERI" => "ER",
953
+ "EST" => "EE",
954
+ "ETH" => "ET",
955
+ "FLK" => "FK",
956
+ "FRO" => "FO",
957
+ "FJI" => "FJ",
958
+ "FIN" => "FI",
959
+ "FRA" => "FR",
960
+ "GUF" => "GF",
961
+ "PYF" => "PF",
962
+ "ATF" => "TF",
963
+ "GAB" => "GA",
964
+ "GMB" => "GM",
965
+ "GEO" => "GE",
966
+ "DEU" => "DE",
967
+ "GHA" => "GH",
968
+ "GIB" => "GI",
969
+ "GRC" => "GR",
970
+ "GRL" => "GL",
971
+ "GRD" => "GD",
972
+ "GLD" => "GP",
973
+ "GUM" => "GU",
974
+ "GTM" => "GT",
975
+ "GGY" => "GG",
976
+ "HTI" => "GN",
977
+ "HMD" => "GW",
978
+ "VAT" => "GY",
979
+ "GIN" => "HT",
980
+ "GNB" => "HM",
981
+ "HND" => "HN",
982
+ "HKG" => "HK",
983
+ "HUN" => "HU",
984
+ "ISL" => "IS",
985
+ "IND" => "IN",
986
+ "IDN" => "ID",
987
+ "IRN" => "IR",
988
+ "IRQ" => "IQ",
989
+ "IRL" => "IE",
990
+ "IMN" => "IM",
991
+ "ISR" => "IL",
992
+ "ITA" => "IT",
993
+ "JAM" => "JM",
994
+ "JPN" => "JP",
995
+ "JEY" => "JE",
996
+ "JOR" => "JO",
997
+ "KAZ" => "KZ",
998
+ "KEN" => "KE",
999
+ "KIR" => "KI",
1000
+ "KWT" => "KW",
1001
+ "KGZ" => "KG",
1002
+ "LAO" => "LA",
1003
+ "LVA" => "LV",
1004
+ "LBN" => "LB",
1005
+ "LSO" => "LS",
1006
+ "LBR" => "LR",
1007
+ "LBY" => "LY",
1008
+ "LIE" => "LI",
1009
+ "LTU" => "LT",
1010
+ "LUX" => "LU",
1011
+ "MAC" => "MO",
1012
+ "MKD" => "MK",
1013
+ "MDG" => "MG",
1014
+ "MWI" => "MW",
1015
+ "MYS" => "MY",
1016
+ "MDV" => "MV",
1017
+ "MLI" => "ML",
1018
+ "MLT" => "MT",
1019
+ "MHL" => "MH",
1020
+ "MTQ" => "MQ",
1021
+ "MRT" => "MR",
1022
+ "MUS" => "MU",
1023
+ "MYT" => "YT",
1024
+ "MEX" => "MX",
1025
+ "FSM" => "FM",
1026
+ "MDA" => "MD",
1027
+ "MCO" => "MC",
1028
+ "MNG" => "MN",
1029
+ "MNE" => "ME",
1030
+ "MSR" => "MS",
1031
+ "MAR" => "MA",
1032
+ "MOZ" => "MZ",
1033
+ "MMR" => "MM",
1034
+ "NAM" => "NA",
1035
+ "NRU" => "NR",
1036
+ "NPL" => "NP",
1037
+ "NLD" => "NL",
1038
+ "ANT" => "AN",
1039
+ "NCL" => "NC",
1040
+ "NZL" => "NZ",
1041
+ "NIC" => "NI",
1042
+ "NER" => "NE",
1043
+ "NGA" => "NG",
1044
+ "NIU" => "NU",
1045
+ "NFK" => "NF",
1046
+ "PRK" => "KP",
1047
+ "MNP" => "MP",
1048
+ "NOR" => "NO",
1049
+ "OMN" => "OM",
1050
+ "PAK" => "PK",
1051
+ "PLW" => "PW",
1052
+ "PSE" => "PS",
1053
+ "PAN" => "PA",
1054
+ "PNG" => "PG",
1055
+ "PRY" => "PY",
1056
+ "PER" => "PE",
1057
+ "PHL" => "PH",
1058
+ "PCN" => "PN",
1059
+ "POL" => "PL",
1060
+ "PRT" => "PT",
1061
+ "PRI" => "PR",
1062
+ "QAT" => "QA",
1063
+ "ROU" => "RO",
1064
+ "RUS" => "RU",
1065
+ "RWA" => "RW",
1066
+ "REU" => "RE",
1067
+ "BLM" => "BL",
1068
+ "SHN" => "SH",
1069
+ "KNA" => "KN",
1070
+ "LCA" => "LC",
1071
+ "MAF" => "MF",
1072
+ "SPM" => "PM",
1073
+ "WSM" => "WS",
1074
+ "SMR" => "SM",
1075
+ "SAU" => "SA",
1076
+ "SEN" => "SN",
1077
+ "SRB" => "RS",
1078
+ "SYC" => "SC",
1079
+ "SLE" => "SL",
1080
+ "SGP" => "SG",
1081
+ "SVK" => "SK",
1082
+ "SVN" => "SI",
1083
+ "SLB" => "SB",
1084
+ "SOM" => "SO",
1085
+ "ZAF" => "ZA",
1086
+ "SGS" => "GS",
1087
+ "KOR" => "KR",
1088
+ "ESP" => "ES",
1089
+ "LKA" => "LK",
1090
+ "VCT" => "VC",
1091
+ "SDN" => "SD",
1092
+ "SUR" => "SR",
1093
+ "SJM" => "SJ",
1094
+ "SWZ" => "SZ",
1095
+ "SWE" => "SE",
1096
+ "CHE" => "CH",
1097
+ "SYR" => "SY",
1098
+ "STP" => "ST",
1099
+ "TWN" => "TW",
1100
+ "TJK" => "TJ",
1101
+ "TZA" => "TZ",
1102
+ "THA" => "TH",
1103
+ "TLS" => "TL",
1104
+ "TGO" => "TG",
1105
+ "TKL" => "TK",
1106
+ "TON" => "TO",
1107
+ "TTO" => "TT",
1108
+ "TUN" => "TN",
1109
+ "TUR" => "TR",
1110
+ "TKM" => "TM",
1111
+ "TCA" => "TC",
1112
+ "TUV" => "TV",
1113
+ "UMI" => "UM",
1114
+ "VIR" => "VI",
1115
+ "UGA" => "UG",
1116
+ "UKR" => "UA",
1117
+ "ARE" => "AE",
1118
+ "GBR" => "GB",
1119
+ "USA" => "US",
1120
+ "URY" => "UY",
1121
+ "UZB" => "UZ",
1122
+ "VUT" => "VU",
1123
+ "GUY" => "VA",
1124
+ "VEN" => "VE",
1125
+ "VNM" => "VN",
1126
+ "WLF" => "WF",
1127
+ "ESH" => "EH",
1128
+ "YEM" => "YE",
1129
+ "ZMB" => "ZM",
1130
+ "ZWE" => "ZW",
1131
+ "ALA" => "AX" );
1132
+ if ($iso3)
1133
+ return array_key_exists($iso3, $iso2) ? $iso2[$iso3] : '';
1134
+ else
1135
+ return '';
1136
+ }
1137
+
1138
+ public function getSkrillErrorMapping($code)
1139
+ {
1140
+ $error_messages = array(
1141
+ "01" => "SKRILL_ERROR_01",
1142
+ "02" => "SKRILL_ERROR_02",
1143
+ "03" => "SKRILL_ERROR_03",
1144
+ "04" => "SKRILL_ERROR_04",
1145
+ "05" => "SKRILL_ERROR_05",
1146
+ "08" => "SKRILL_ERROR_08",
1147
+ "09" => "SKRILL_ERROR_09",
1148
+ "10" => "SKRILL_ERROR_10",
1149
+ "12" => "SKRILL_ERROR_12",
1150
+ "15" => "SKRILL_ERROR_15",
1151
+ "19" => "SKRILL_ERROR_19",
1152
+ "24" => "SKRILL_ERROR_24",
1153
+ "28" => "SKRILL_ERROR_28",
1154
+ "32" => "SKRILL_ERROR_32",
1155
+ "37" => "SKRILL_ERROR_37",
1156
+ "38" => "SKRILL_ERROR_38",
1157
+ "42" => "SKRILL_ERROR_42",
1158
+ "44" => "SKRILL_ERROR_44",
1159
+ "51" => "SKRILL_ERROR_51",
1160
+ "63" => "SKRILL_ERROR_63",
1161
+ "70" => "SKRILL_ERROR_70",
1162
+ "71" => "SKRILL_ERROR_71",
1163
+ "80" => "SKRILL_ERROR_80",
1164
+ "98" => "SKRILL_ERROR_98",
1165
+ "99" => "SKRILL_ERROR_99_GENERAL"
1166
+ );
1167
+ if ($code)
1168
+ return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'SKRILL_ERROR_99_GENERAL';
1169
+ else
1170
+ return 'SKRILL_ERROR_99_GENERAL';
1171
+ }
1172
+
1173
+ // Skrill =====================================
1174
+
1175
+ /**
1176
+ * Retrieve quote object
1177
+ *
1178
+ * @return Mage_Sales_Model_Quote
1179
+ */
1180
+ public function getQuote()
1181
+ {
1182
+ return Mage::getModel('checkout/session')->getQuote();
1183
+ }
1184
+
1185
+
1186
+ /**
1187
+ * Retrieve order object
1188
+ *
1189
+ * @param int $id
1190
+ * @return Mage_Sales_Model_Order
1191
+ */
1192
+ public function getOrder($id)
1193
+ {
1194
+ return Mage::getSingleton('sales/order')->load($id);
1195
+ }
1196
+
1197
+ /**
1198
+ * Retrieve customer data
1199
+ *
1200
+ * @param Mage_Sales_Model_Order $order
1201
+ * @return array
1202
+ */
1203
+ public function getCustomerData(Mage_Core_Model_Abstract $order)
1204
+ {
1205
+ $data = array(
1206
+ 'name_data' => $this->getNameData($order),
1207
+ 'address_data' => $this->getAddressData($order),
1208
+ 'contact_data' => $this->getContactData($order)
1209
+ );
1210
+
1211
+ return $data;
1212
+ }
1213
+
1214
+ /**
1215
+ * Retrieve name data
1216
+ *
1217
+ * @param Mage_Core_Model_Abstract $order
1218
+ * @return array
1219
+ */
1220
+ public function getNameData(Mage_Core_Model_Abstract $order)
1221
+ {
1222
+ $dob = '';
1223
+ if(!is_null($order->getCustomerDob())) {
1224
+ $dob = new Zend_Date($order->getCustomerDob());
1225
+ $dob = $dob->toString("yyyy-MM-dd");
1226
+ }
1227
+ $data = array(
1228
+ 'first_name' => $order->getBillingAddress()->getFirstname(),
1229
+ 'last_name' => $order->getBillingAddress()->getLastname(),
1230
+ 'sex' => $this->getGender($order),
1231
+ 'dob' => $dob,
1232
+ 'company' => $order->getBillingAddress()->getCompany(),
1233
+ 'salutation' => $this->getPrefix($order)
1234
+ );
1235
+
1236
+ return $data;
1237
+ }
1238
+
1239
+ /**
1240
+ * Retrieve address data
1241
+ *
1242
+ * @param Mage_Core_Model_Abstract $order
1243
+ * @return array
1244
+ */
1245
+ public function getAddressData(Mage_Core_Model_Abstract $order)
1246
+ {
1247
+ $data = array(
1248
+ 'country_code' => $order->getBillingAddress()->getCountryId(),
1249
+ 'street' => str_replace("\n", " ", $order->getBillingAddress()->getStreetFull()),
1250
+ 'zip' => $order->getBillingAddress()->getPostcode(),
1251
+ 'city' => $order->getBillingAddress()->getCity(),
1252
+ 'state' => $order->getBillingAddress()->getRegion(),
1253
+ );
1254
+
1255
+ return $data;
1256
+ }
1257
+
1258
+ /**
1259
+ * Retrieve contact data
1260
+ *
1261
+ * @param Mage_Core_Model_Abstract $order
1262
+ * @return array
1263
+ */
1264
+ public function getContactData(Mage_Core_Model_Abstract $order)
1265
+ {
1266
+ $data = array(
1267
+ 'email' => $order->getCustomerEmail(),
1268
+ 'phone' => $order->getBillingAddress()->getTelephone(),
1269
+ 'ip' => Mage::helper('core/http')->getRemoteAddr(false)
1270
+ );
1271
+
1272
+ return $data;
1273
+ }
1274
+
1275
+ /**
1276
+ * Retrieve Basket data
1277
+ *
1278
+ * @param Mage_Core_Model_Abstract $order || Mage_Sales_Model_Quote $order
1279
+ * @return array
1280
+ */
1281
+ public function getBasketData(Mage_Core_Model_Abstract $order)
1282
+ {
1283
+ if ( $order instanceof Mage_Core_Model_Abstract ) {
1284
+ $basket = array(
1285
+ 'amount' => $order->getGrandTotal(),
1286
+ 'currency' => $order->getOrderCurrencyCode(),
1287
+ 'baseCurrency' => $order->getBaseCurrencyCode(),
1288
+ 'baseAmount' => $order->getBaseGrandTotal()
1289
+ );
1290
+ }
1291
+ else if ( $order instanceof Mage_Sales_Model_Quote ) {
1292
+ $basket = array(
1293
+ 'amount' => $order->getGrandTotal(),
1294
+ 'currency' => $order->getQuoteCurrencyCode(),
1295
+ 'baseCurrency' => $order->getBaseCurrencyCode(),
1296
+ 'baseAmount' => $order->getBaseGrandTotal()
1297
+ );
1298
+ }
1299
+
1300
+ return $basket;
1301
+ }
1302
+
1303
+ /**
1304
+ * Retrieve method code for config loading
1305
+ *
1306
+ * @param Mage_Core_Model_Abstract $order
1307
+ * @return string
1308
+ */
1309
+ public function getMethodCode(Mage_Core_Model_Abstract $order)
1310
+ {
1311
+ return str_replace('skrill', 'method', $order->getPayment()->getMethod());
1312
+ }
1313
+
1314
+ /**
1315
+ * This method returns the customer gender code
1316
+ *
1317
+ * @param Mage_Core_Model_Abstract $order
1318
+ * @return string
1319
+ */
1320
+ public function getGender(Mage_Core_Model_Abstract $order)
1321
+ {
1322
+ $gender = $order->getCustomerGender();
1323
+ if ($gender) {
1324
+ $attribute = Mage::getModel('eav/entity_attribute')->loadByCode('customer', 'gender');
1325
+ $option = $attribute->getFrontend()->getOption($gender);
1326
+
1327
+ switch (strtolower($option)) {
1328
+ case 'male':
1329
+ return 'M';
1330
+ case 'female':
1331
+ return 'F';
1332
+ }
1333
+ }
1334
+ return '';
1335
+ }
1336
+
1337
+ /**
1338
+ * Retrieve the prefix
1339
+ *
1340
+ * @param Mage_Core_Model_Abstract $order
1341
+ * @return string
1342
+ */
1343
+ public function getPrefix(Mage_Core_Model_Abstract $order)
1344
+ {
1345
+ $gender = $order->getCustomerPrefix();
1346
+ if ($gender) {
1347
+ switch (strtolower($gender)) {
1348
+ case 'herr':
1349
+ case 'mr':
1350
+ return 'MR';
1351
+ case 'frau':
1352
+ case 'mrs':
1353
+ return 'MRS';
1354
+ case 'fräulein':
1355
+ case 'ms':
1356
+ return 'MS';
1357
+
1358
+ }
1359
+ }
1360
+ return '';
1361
+ }
1362
+
1363
+ /**
1364
+ * Retrieve the locale code in iso (2 chars)
1365
+ *
1366
+ * @return string
1367
+ */
1368
+ public function getLocaleIsoCode()
1369
+ {
1370
+ return substr(Mage::app()->getLocale()->getLocaleCode(), 0, 2);
1371
+ }
1372
+
1373
+ public function invoice(Mage_Core_Model_Abstract $order)
1374
+ {
1375
+ $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
1376
+ $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
1377
+ $invoice->register();
1378
+ $invoice->getOrder()->setCustomerNoteNotify(false);
1379
+ $invoice->getOrder()->setIsInProcess(true);
1380
+ $transactionSave = Mage::getModel('core/resource_transaction')
1381
+ ->addObject($invoice)
1382
+ ->addObject($invoice->getOrder());
1383
+ $transactionSave->save();
1384
+ }
1385
+
1386
+ public function getCountryIssuer($bin)
1387
+ {
1388
+ $url = 'http://www.binlist.net/json/'.$bin;
1389
+
1390
+ $response = Mage::helper('skrill/curl')->getResponse($url, true);
1391
+
1392
+ return $response['country_code'];
1393
+ }
1394
+
1395
+ public function getDateTime()
1396
+ {
1397
+ $t = microtime(true);
1398
+ $micro = sprintf("%06d",($t - floor($t)) * 1000000);
1399
+ $d = new DateTime( date('Y-m-d H:i:s.'.$micro, $t) );
1400
+
1401
+ return $d->format("ymdhiu");
1402
+ }
1403
+
1404
+ public function randomNumber($length) {
1405
+ $result = '';
1406
+
1407
+ for($i = 0; $i < $length; $i++) {
1408
+ $result .= mt_rand(0, 9);
1409
+ }
1410
+
1411
+ return $result;
1412
+ }
1413
+
1414
+ }
app/code/community/Skrill/Model/Method/Abstract.php CHANGED
@@ -1,470 +1,470 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Abstract payment model
23
- *
24
- */
25
-
26
- // $ExternalLibPath=Mage::getModuleDir('', 'Skrill') . DS . 'core' . DS .'copyandpay.php';
27
- // require_once ($ExternalLibPath);
28
-
29
- abstract class Skrill_Model_Method_Abstract extends Mage_Payment_Model_Method_Abstract
30
- {
31
-
32
- /**
33
- * Is method a gateaway
34
- *
35
- * @var boolean
36
- */
37
- protected $_isGateway = true;
38
-
39
- /**
40
- * Can this method use for checkout
41
- *
42
- * @var boolean
43
- */
44
- protected $_canUseCheckout = true;
45
-
46
- /**
47
- * Can this method use for multishipping
48
- *
49
- * @var boolean
50
- */
51
- protected $_canUseForMultishipping = false;
52
-
53
- /**
54
- * Is a initalize needed
55
- *
56
- * @var boolean
57
- */
58
- protected $_isInitializeNeeded = true;
59
-
60
- /**
61
- *
62
- * @var string
63
- */
64
- protected $_accountBrand = '';
65
-
66
- /**
67
- *
68
- * @var type
69
- */
70
- protected $_methodCode = '';
71
-
72
- /**
73
- * Payment Title
74
- *
75
- * @var type
76
- */
77
- protected $_methodTitle = '';
78
-
79
- /**
80
- * @var string
81
- */
82
- protected $_paymentType = 'DB';
83
-
84
- /**
85
- * Magento method code
86
- *
87
- * @var string
88
- */
89
-
90
- protected $_code = 'payon_abstract';
91
- protected $_skrillCode = 'skrill_abstract';
92
-
93
- protected $_canCapture = true;
94
- protected $_canRefund = true;
95
- protected $_canRefundInvoicePartial = true;
96
-
97
- protected $_infoBlockType = 'skrill/payment_payoninfo';
98
-
99
- public function __construct()
100
- {
101
- if ( Mage::getStoreConfig('payment/'.$this->_skrillCode.'/active') && Mage::getStoreConfig('payment/'.$this->_skrillCode.'/gateway') == "PAYON" )
102
- $this->_canUseCheckout = false;
103
- else
104
- $this->_canUseCheckout = false;
105
- }
106
-
107
- public function getConfigData($field, $storeId = null)
108
- {
109
- if (null === $storeId) {
110
- $storeId = $this->getStore();
111
- }
112
- if ($field == "sort_order")
113
- $path = 'payment/'.$this->_skrillCode.'/'.$field;
114
- else
115
- $path = 'payment/'.$this->getCode().'/'.$field;
116
-
117
- return Mage::getStoreConfig($path, $storeId);
118
- }
119
-
120
- public function canUseForCountry($country)
121
- {
122
- if ( Mage::getStoreConfig('payment/'.$this->_skrillCode.'/allowspecific') == 1 ) {
123
- $availableCountries = explode(',', Mage::getStoreConfig('payment/'.$this->_skrillCode.'/specificcountry'));
124
- if(!in_array($country, $availableCountries)){
125
- return false;
126
- }
127
-
128
- }
129
- return true;
130
- }
131
-
132
- /**
133
- * Retrieve the server mode
134
- *
135
- * @return string
136
- */
137
- public function getServerMode()
138
- {
139
- $server_mode = Mage::getStoreConfig('payment/' . $this->_skrillCode . '/server_mode', $this->getOrder()->getStoreId());
140
- return $server_mode;
141
- }
142
-
143
- /**
144
- * Retrieve the credentials
145
- *
146
- * @return array
147
- */
148
- public function getCredentials()
149
- {
150
- $general = Mage::getStoreConfig('payment/skrill_general/active', $this->getOrder()->getStoreId());
151
-
152
- if ($general)
153
- {
154
- $credentials = array(
155
- 'sender' => Mage::getStoreConfig('payment/skrill_general/sender', $this->getOrder()->getStoreId()),
156
- 'login' => Mage::getStoreConfig('payment/skrill_general/login', $this->getOrder()->getStoreId()),
157
- 'password' => Mage::getStoreConfig('payment/skrill_general/password', $this->getOrder()->getStoreId())
158
- );
159
- }
160
- else
161
- {
162
- $credentials = array(
163
- 'sender' => Mage::getStoreConfig('payment/' . $this->_skrillCode . '/sender', $this->getOrder()->getStoreId()),
164
- 'login' => Mage::getStoreConfig('payment/' . $this->_skrillCode . '/login', $this->getOrder()->getStoreId()),
165
- 'password' => Mage::getStoreConfig('payment/' . $this->_skrillCode . '/password', $this->getOrder()->getStoreId())
166
- );
167
- }
168
-
169
- $credentials['channel_id'] = Mage::getStoreConfig('payment/' . $this->_skrillCode . '/channel_id', $this->getOrder()->getStoreId());
170
-
171
- return $credentials;
172
- }
173
-
174
- /**
175
- * Return Quote or Order Object depending what the Payment is
176
- *
177
- * @return Mage_Sales_Model_Order
178
- */
179
- public function getOrder()
180
- {
181
- $paymentInfo = $this->getInfoInstance();
182
-
183
- if ($paymentInfo instanceof Mage_Sales_Model_Order_Payment) {
184
- return $paymentInfo->getOrder();
185
- }
186
-
187
- return $paymentInfo->getQuote();
188
- }
189
-
190
- public function getOrderIncrementId()
191
- {
192
- $order = $this->getOrder();
193
- if ($order instanceof Mage_Sales_Model_Order) {
194
- return $order->getIncrementId();
195
- }
196
- return $order->getReservedOrderId();
197
- }
198
-
199
- /**
200
- * Retrieve the order place URL
201
- *
202
- * @return string
203
- */
204
- public function getOrderPlaceRedirectUrl()
205
- {
206
- $name = Mage::helper('skrill')->getNameData($this->getOrder());
207
- $address = Mage::helper('skrill')->getAddressData($this->getOrder());
208
- $contact = Mage::helper('skrill')->getContactData($this->getOrder());
209
- $basket = Mage::helper('skrill')->getBasketData($this->getOrder());
210
-
211
- $credentials = $this->getCredentials();
212
- $server = $this->getServerMode();
213
-
214
- Mage::getSingleton('customer/session')->setServerMode($server);
215
-
216
- $lang='';
217
- $jsUrl = Mage::helper('skrill')->getJsUrl($server,$lang);
218
- Mage::getSingleton('customer/session')->setJsUrl($jsUrl);
219
-
220
- $dataCust['first_name'] = $name['first_name'];
221
- $dataCust['last_name'] = $name['last_name'];
222
- $dataCust['street'] = $address['street'];
223
- $dataCust['zip'] = $address['zip'];
224
- $dataCust['city'] = $address['city'];
225
- $dataCust['country_code'] = $address['country_code'];
226
- $dataCust['email'] = $contact['email'];
227
- $dataCust['amount'] = $basket['amount'];
228
- $dataCust['currency'] = Mage::app()->getStore()->getCurrentCurrencyCode();
229
-
230
- $dataTransaction = $credentials;
231
- $dataTransaction['tx_mode'] = $this->getTransactionMode();
232
- $dataTransaction['payment_type'] = $this->getPaymentType();
233
- $dataTransaction['transId'] = $this->getOrderIncrementId().Mage::helper('skrill')->getDateTime().Mage::helper('skrill')->randomNumber(4);
234
- Mage::getSingleton('customer/session')->setDataTransaction($dataTransaction);
235
- $postData = Mage::helper('skrill')->getPostParameter($dataCust,$dataTransaction);
236
-
237
- $url = Mage::helper('skrill')->getTokenUrl($server);
238
-
239
- try {
240
- $token = Mage::helper('skrill')->getToken($postData,$url);
241
- } catch (Exception $e) {
242
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
243
- }
244
-
245
- Mage::getSingleton('customer/session')->setIframeToken($token);
246
- Mage::getSingleton('customer/session')->setIframeName($name['first_name'].' '.$name['last_name']);
247
- Mage::getSingleton('customer/session')->setIframeBrand($this->_accountBrand);
248
- Mage::getSingleton('customer/session')->setIframeFrontendResponse(Mage::getUrl('skrill/response/handleCpResponse/',array('_secure'=>true)));
249
-
250
- if ($this->_code == "skrill_creditcard")
251
- {
252
- if ( !Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection') )
253
- {
254
- $brand = "AMEX VISA MASTER MAESTRO";
255
- }
256
- else
257
- {
258
- $brand = str_replace(",", " ", Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection'));
259
- }
260
- Mage::getSingleton('customer/session')->setIframeCardBrand($brand);
261
- }
262
-
263
- if ($token) {
264
- $this->_paymentform();
265
- } else {
266
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
267
- }
268
-
269
- return Mage::getSingleton('customer/session')->getRedirectUrl();
270
- }
271
-
272
- protected function getTransactionMode()
273
- {
274
- $server = $this->getServerMode();
275
-
276
- if ($server == "LIVE") {
277
- return 'LIVE';
278
- } else {
279
- switch ($this->_code) {
280
- case 'skrill_creditcard':
281
- case 'skrill_directdebit':
282
- case 'skrill_eps':
283
- case 'skrill_giropay':
284
- case 'skrill_yandex':
285
- return 'INTEGRATOR_TEST';
286
- default:
287
- }
288
- }
289
- }
290
-
291
- public function capture(Varien_Object $payment, $amount)
292
- {
293
-
294
- if ($payment->getAdditionalInformation('skrill_transaction_code') == 'PA') {
295
-
296
- $order = $payment->getOrder();
297
- $base_currency = $order->getBaseCurrencyCode();
298
- $order_currency = $order->getOrderCurrencyCode();
299
- $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
300
- $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
301
-
302
- $refId = $payment->getAdditionalInformation('skrill_uniqueid');
303
-
304
- $dataTransaction = $this->getCredentials();
305
- $dataTransaction['tx_mode'] = $this->getTransactionMode();
306
-
307
- $dataTransaction['refId'] = $refId;
308
- $dataTransaction['amount'] = $convert_amount;
309
- $dataTransaction['currency'] = $order_currency;
310
- $dataTransaction['payment_method'] = $this->_methodCode;
311
- $dataTransaction['payment_type'] = "CP";
312
-
313
- $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
314
-
315
- $server = $this->getServerMode();
316
-
317
- $url = Mage::helper('skrill')->getExecuteUrl($server);
318
-
319
- try {
320
- $response = Mage::helper('skrill')->executePayment($postData, $url);
321
- } catch (Exception $e) {
322
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
323
- return $this;
324
- }
325
-
326
- $result = Mage::helper('skrill')->buildResponseArray($response);
327
-
328
- if ($result['PROCESSING.RESULT'] == 'ACK') {
329
- $payment->setAdditionalInformation('skrill_status', "ACK");
330
- $payment->setAdditionalInformation('skrill_transaction_code', "CP");
331
- $payment->setStatus('APPROVED')
332
- ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
333
- ->setIsTransactionClosed(1)->save();
334
- } else {
335
- $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "CP");
336
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
337
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
338
- }
339
-
340
- }
341
- else {
342
- $payment->setStatus('APPROVED')
343
- ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
344
- ->setIsTransactionClosed(1)->save();
345
- }
346
- return $this;
347
- }
348
-
349
- public function processInvoice($invoice, $payment)
350
- {
351
- $invoice->setTransactionId($payment->getLastTransId())->save();
352
- $invoice->sendEmail();
353
- $payment->getOrder()->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
354
- return $this;
355
- }
356
-
357
- public function refund(Varien_Object $payment, $amount)
358
- {
359
- $order = $payment->getOrder();
360
- $base_currency = $order->getBaseCurrencyCode();
361
- $order_currency = $order->getOrderCurrencyCode();
362
- $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
363
- $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
364
-
365
- $refId = $payment->getAdditionalInformation('skrill_uniqueid');
366
-
367
- $dataTransaction = $this->getCredentials();
368
- $dataTransaction['tx_mode'] = $this->getTransactionMode();
369
-
370
- $dataTransaction['refId'] = $refId;
371
- $dataTransaction['amount'] = $convert_amount;
372
- $dataTransaction['currency'] = $order_currency;
373
- $dataTransaction['payment_method'] = $this->_methodCode;
374
- $dataTransaction['payment_type'] = "RF";
375
- $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
376
-
377
- $server = $this->getServerMode();
378
-
379
- $url = Mage::helper('skrill')->getExecuteUrl($server);
380
-
381
- try {
382
- $response = Mage::helper('skrill')->executePayment($postData, $url);
383
- } catch (Exception $e) {
384
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
385
- return $this;
386
- }
387
-
388
- $result = Mage::helper('skrill')->buildResponseArray($response);
389
-
390
- if ($result['PROCESSING.RESULT'] == 'ACK') {
391
- $payment->setAdditionalInformation('skrill_status', "ACK");
392
- $payment->setAdditionalInformation('skrill_transaction_code', "RF");
393
- $payment->setTransactionId($result['IDENTIFICATION.UNIQUEID'])
394
- ->setIsTransactionClosed(1)->save();
395
- } else {
396
- $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "RF");
397
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
398
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
399
- }
400
-
401
- return $this;
402
- }
403
-
404
- /**
405
- *
406
- * @return string
407
- */
408
- public function getAccountBrand()
409
- {
410
- return $this->_accountBrand;
411
- }
412
-
413
- public function getPaymentType()
414
- {
415
- return $this->_paymentType;
416
- }
417
-
418
- /**
419
- *
420
- * @return string
421
- */
422
- public function getMethod()
423
- {
424
- return $this->_methodCode;
425
- }
426
-
427
- /**
428
- * Returns Payment Title
429
- *
430
- * @return string
431
- */
432
- public function getTitle()
433
- {
434
- return Mage::helper('skrill')->__($this->_methodTitle);
435
- }
436
-
437
-
438
- protected function getActionUrl($action_name)
439
- {
440
- return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/response/'.$action_name.'/', array('_secure'=>true));
441
- }
442
- /**
443
- * Set the iframe Url
444
- *
445
- * @param array $response
446
- */
447
- protected function _paymentform()
448
- {
449
- switch ($this->_code) {
450
- case 'skrill_creditcard':
451
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCC"));
452
- break;
453
- case 'skrill_directdebit':
454
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderDD"));
455
- break;
456
- case 'skrill_paypal':
457
- case 'skrill_payolutioninv':
458
- case 'skrill_payolutionins':
459
- case 'skrill_paysafecard':
460
- case 'skrill_paytrail':
461
- case 'skrill_yandex':
462
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderRedirect"));
463
- break;
464
- default:
465
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCP"));
466
- break;
467
- }
468
- }
469
- }
470
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Abstract payment model
23
+ *
24
+ */
25
+
26
+ // $ExternalLibPath=Mage::getModuleDir('', 'Skrill') . DS . 'core' . DS .'copyandpay.php';
27
+ // require_once ($ExternalLibPath);
28
+
29
+ abstract class Skrill_Model_Method_Abstract extends Mage_Payment_Model_Method_Abstract
30
+ {
31
+
32
+ /**
33
+ * Is method a gateaway
34
+ *
35
+ * @var boolean
36
+ */
37
+ protected $_isGateway = true;
38
+
39
+ /**
40
+ * Can this method use for checkout
41
+ *
42
+ * @var boolean
43
+ */
44
+ protected $_canUseCheckout = true;
45
+
46
+ /**
47
+ * Can this method use for multishipping
48
+ *
49
+ * @var boolean
50
+ */
51
+ protected $_canUseForMultishipping = false;
52
+
53
+ /**
54
+ * Is a initalize needed
55
+ *
56
+ * @var boolean
57
+ */
58
+ protected $_isInitializeNeeded = true;
59
+
60
+ /**
61
+ *
62
+ * @var string
63
+ */
64
+ protected $_accountBrand = '';
65
+
66
+ /**
67
+ *
68
+ * @var type
69
+ */
70
+ protected $_methodCode = '';
71
+
72
+ /**
73
+ * Payment Title
74
+ *
75
+ * @var type
76
+ */
77
+ protected $_methodTitle = '';
78
+
79
+ /**
80
+ * @var string
81
+ */
82
+ protected $_paymentType = 'DB';
83
+
84
+ /**
85
+ * Magento method code
86
+ *
87
+ * @var string
88
+ */
89
+
90
+ protected $_code = 'payon_abstract';
91
+ protected $_skrillCode = 'skrill_abstract';
92
+
93
+ protected $_canCapture = true;
94
+ protected $_canRefund = true;
95
+ protected $_canRefundInvoicePartial = true;
96
+
97
+ protected $_infoBlockType = 'skrill/payment_payoninfo';
98
+
99
+ public function __construct()
100
+ {
101
+ if ( Mage::getStoreConfig('payment/'.$this->_skrillCode.'/active') && Mage::getStoreConfig('payment/'.$this->_skrillCode.'/gateway') == "PAYON" )
102
+ $this->_canUseCheckout = false;
103
+ else
104
+ $this->_canUseCheckout = false;
105
+ }
106
+
107
+ public function getConfigData($field, $storeId = null)
108
+ {
109
+ if (null === $storeId) {
110
+ $storeId = $this->getStore();
111
+ }
112
+ if ($field == "sort_order")
113
+ $path = 'payment/'.$this->_skrillCode.'/'.$field;
114
+ else
115
+ $path = 'payment/'.$this->getCode().'/'.$field;
116
+
117
+ return Mage::getStoreConfig($path, $storeId);
118
+ }
119
+
120
+ public function canUseForCountry($country)
121
+ {
122
+ if ( Mage::getStoreConfig('payment/'.$this->_skrillCode.'/allowspecific') == 1 ) {
123
+ $availableCountries = explode(',', Mage::getStoreConfig('payment/'.$this->_skrillCode.'/specificcountry'));
124
+ if(!in_array($country, $availableCountries)){
125
+ return false;
126
+ }
127
+
128
+ }
129
+ return true;
130
+ }
131
+
132
+ /**
133
+ * Retrieve the server mode
134
+ *
135
+ * @return string
136
+ */
137
+ public function getServerMode()
138
+ {
139
+ $server_mode = Mage::getStoreConfig('payment/' . $this->_skrillCode . '/server_mode', $this->getOrder()->getStoreId());
140
+ return $server_mode;
141
+ }
142
+
143
+ /**
144
+ * Retrieve the credentials
145
+ *
146
+ * @return array
147
+ */
148
+ public function getCredentials()
149
+ {
150
+ $general = Mage::getStoreConfig('payment/skrill_general/active', $this->getOrder()->getStoreId());
151
+
152
+ if ($general)
153
+ {
154
+ $credentials = array(
155
+ 'sender' => Mage::getStoreConfig('payment/skrill_general/sender', $this->getOrder()->getStoreId()),
156
+ 'login' => Mage::getStoreConfig('payment/skrill_general/login', $this->getOrder()->getStoreId()),
157
+ 'password' => Mage::getStoreConfig('payment/skrill_general/password', $this->getOrder()->getStoreId())
158
+ );
159
+ }
160
+ else
161
+ {
162
+ $credentials = array(
163
+ 'sender' => Mage::getStoreConfig('payment/' . $this->_skrillCode . '/sender', $this->getOrder()->getStoreId()),
164
+ 'login' => Mage::getStoreConfig('payment/' . $this->_skrillCode . '/login', $this->getOrder()->getStoreId()),
165
+ 'password' => Mage::getStoreConfig('payment/' . $this->_skrillCode . '/password', $this->getOrder()->getStoreId())
166
+ );
167
+ }
168
+
169
+ $credentials['channel_id'] = Mage::getStoreConfig('payment/' . $this->_skrillCode . '/channel_id', $this->getOrder()->getStoreId());
170
+
171
+ return $credentials;
172
+ }
173
+
174
+ /**
175
+ * Return Quote or Order Object depending what the Payment is
176
+ *
177
+ * @return Mage_Sales_Model_Order
178
+ */
179
+ public function getOrder()
180
+ {
181
+ $paymentInfo = $this->getInfoInstance();
182
+
183
+ if ($paymentInfo instanceof Mage_Sales_Model_Order_Payment) {
184
+ return $paymentInfo->getOrder();
185
+ }
186
+
187
+ return $paymentInfo->getQuote();
188
+ }
189
+
190
+ public function getOrderIncrementId()
191
+ {
192
+ $order = $this->getOrder();
193
+ if ($order instanceof Mage_Sales_Model_Order) {
194
+ return $order->getIncrementId();
195
+ }
196
+ return $order->getReservedOrderId();
197
+ }
198
+
199
+ /**
200
+ * Retrieve the order place URL
201
+ *
202
+ * @return string
203
+ */
204
+ public function getOrderPlaceRedirectUrl()
205
+ {
206
+ $name = Mage::helper('skrill')->getNameData($this->getOrder());
207
+ $address = Mage::helper('skrill')->getAddressData($this->getOrder());
208
+ $contact = Mage::helper('skrill')->getContactData($this->getOrder());
209
+ $basket = Mage::helper('skrill')->getBasketData($this->getOrder());
210
+
211
+ $credentials = $this->getCredentials();
212
+ $server = $this->getServerMode();
213
+
214
+ Mage::getSingleton('customer/session')->setServerMode($server);
215
+
216
+ $lang='';
217
+ $jsUrl = Mage::helper('skrill')->getJsUrl($server,$lang);
218
+ Mage::getSingleton('customer/session')->setJsUrl($jsUrl);
219
+
220
+ $dataCust['first_name'] = $name['first_name'];
221
+ $dataCust['last_name'] = $name['last_name'];
222
+ $dataCust['street'] = $address['street'];
223
+ $dataCust['zip'] = $address['zip'];
224
+ $dataCust['city'] = $address['city'];
225
+ $dataCust['country_code'] = $address['country_code'];
226
+ $dataCust['email'] = $contact['email'];
227
+ $dataCust['amount'] = $basket['amount'];
228
+ $dataCust['currency'] = Mage::app()->getStore()->getCurrentCurrencyCode();
229
+
230
+ $dataTransaction = $credentials;
231
+ $dataTransaction['tx_mode'] = $this->getTransactionMode();
232
+ $dataTransaction['payment_type'] = $this->getPaymentType();
233
+ $dataTransaction['transId'] = $this->getOrderIncrementId().Mage::helper('skrill')->getDateTime().Mage::helper('skrill')->randomNumber(4);
234
+ Mage::getSingleton('customer/session')->setDataTransaction($dataTransaction);
235
+ $postData = Mage::helper('skrill')->getPostParameter($dataCust,$dataTransaction);
236
+
237
+ $url = Mage::helper('skrill')->getTokenUrl($server);
238
+
239
+ try {
240
+ $token = Mage::helper('skrill')->getToken($postData,$url);
241
+ } catch (Exception $e) {
242
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
243
+ }
244
+
245
+ Mage::getSingleton('customer/session')->setIframeToken($token);
246
+ Mage::getSingleton('customer/session')->setIframeName($name['first_name'].' '.$name['last_name']);
247
+ Mage::getSingleton('customer/session')->setIframeBrand($this->_accountBrand);
248
+ Mage::getSingleton('customer/session')->setIframeFrontendResponse(Mage::getUrl('skrill/response/handleCpResponse/',array('_secure'=>true)));
249
+
250
+ if ($this->_code == "skrill_creditcard")
251
+ {
252
+ if ( !Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection') )
253
+ {
254
+ $brand = "AMEX VISA MASTER MAESTRO";
255
+ }
256
+ else
257
+ {
258
+ $brand = str_replace(",", " ", Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection'));
259
+ }
260
+ Mage::getSingleton('customer/session')->setIframeCardBrand($brand);
261
+ }
262
+
263
+ if ($token) {
264
+ $this->_paymentform();
265
+ } else {
266
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
267
+ }
268
+
269
+ return Mage::getSingleton('customer/session')->getRedirectUrl();
270
+ }
271
+
272
+ protected function getTransactionMode()
273
+ {
274
+ $server = $this->getServerMode();
275
+
276
+ if ($server == "LIVE") {
277
+ return 'LIVE';
278
+ } else {
279
+ switch ($this->_code) {
280
+ case 'skrill_creditcard':
281
+ case 'skrill_directdebit':
282
+ case 'skrill_eps':
283
+ case 'skrill_giropay':
284
+ case 'skrill_yandex':
285
+ return 'INTEGRATOR_TEST';
286
+ default:
287
+ }
288
+ }
289
+ }
290
+
291
+ public function capture(Varien_Object $payment, $amount)
292
+ {
293
+
294
+ if ($payment->getAdditionalInformation('skrill_transaction_code') == 'PA') {
295
+
296
+ $order = $payment->getOrder();
297
+ $base_currency = $order->getBaseCurrencyCode();
298
+ $order_currency = $order->getOrderCurrencyCode();
299
+ $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
300
+ $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
301
+
302
+ $refId = $payment->getAdditionalInformation('skrill_uniqueid');
303
+
304
+ $dataTransaction = $this->getCredentials();
305
+ $dataTransaction['tx_mode'] = $this->getTransactionMode();
306
+
307
+ $dataTransaction['refId'] = $refId;
308
+ $dataTransaction['amount'] = $convert_amount;
309
+ $dataTransaction['currency'] = $order_currency;
310
+ $dataTransaction['payment_method'] = $this->_methodCode;
311
+ $dataTransaction['payment_type'] = "CP";
312
+
313
+ $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
314
+
315
+ $server = $this->getServerMode();
316
+
317
+ $url = Mage::helper('skrill')->getExecuteUrl($server);
318
+
319
+ try {
320
+ $response = Mage::helper('skrill')->executePayment($postData, $url);
321
+ } catch (Exception $e) {
322
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
323
+ return $this;
324
+ }
325
+
326
+ $result = Mage::helper('skrill')->buildResponseArray($response);
327
+
328
+ if ($result['PROCESSING.RESULT'] == 'ACK') {
329
+ $payment->setAdditionalInformation('skrill_status', "ACK");
330
+ $payment->setAdditionalInformation('skrill_transaction_code', "CP");
331
+ $payment->setStatus('APPROVED')
332
+ ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
333
+ ->setIsTransactionClosed(1)->save();
334
+ } else {
335
+ $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "CP");
336
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
337
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
338
+ }
339
+
340
+ }
341
+ else {
342
+ $payment->setStatus('APPROVED')
343
+ ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
344
+ ->setIsTransactionClosed(1)->save();
345
+ }
346
+ return $this;
347
+ }
348
+
349
+ public function processInvoice($invoice, $payment)
350
+ {
351
+ $invoice->setTransactionId($payment->getLastTransId())->save();
352
+ $invoice->sendEmail();
353
+ $payment->getOrder()->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
354
+ return $this;
355
+ }
356
+
357
+ public function refund(Varien_Object $payment, $amount)
358
+ {
359
+ $order = $payment->getOrder();
360
+ $base_currency = $order->getBaseCurrencyCode();
361
+ $order_currency = $order->getOrderCurrencyCode();
362
+ $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
363
+ $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
364
+
365
+ $refId = $payment->getAdditionalInformation('skrill_uniqueid');
366
+
367
+ $dataTransaction = $this->getCredentials();
368
+ $dataTransaction['tx_mode'] = $this->getTransactionMode();
369
+
370
+ $dataTransaction['refId'] = $refId;
371
+ $dataTransaction['amount'] = $convert_amount;
372
+ $dataTransaction['currency'] = $order_currency;
373
+ $dataTransaction['payment_method'] = $this->_methodCode;
374
+ $dataTransaction['payment_type'] = "RF";
375
+ $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
376
+
377
+ $server = $this->getServerMode();
378
+
379
+ $url = Mage::helper('skrill')->getExecuteUrl($server);
380
+
381
+ try {
382
+ $response = Mage::helper('skrill')->executePayment($postData, $url);
383
+ } catch (Exception $e) {
384
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
385
+ return $this;
386
+ }
387
+
388
+ $result = Mage::helper('skrill')->buildResponseArray($response);
389
+
390
+ if ($result['PROCESSING.RESULT'] == 'ACK') {
391
+ $payment->setAdditionalInformation('skrill_status', "ACK");
392
+ $payment->setAdditionalInformation('skrill_transaction_code', "RF");
393
+ $payment->setTransactionId($result['IDENTIFICATION.UNIQUEID'])
394
+ ->setIsTransactionClosed(1)->save();
395
+ } else {
396
+ $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "RF");
397
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
398
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
399
+ }
400
+
401
+ return $this;
402
+ }
403
+
404
+ /**
405
+ *
406
+ * @return string
407
+ */
408
+ public function getAccountBrand()
409
+ {
410
+ return $this->_accountBrand;
411
+ }
412
+
413
+ public function getPaymentType()
414
+ {
415
+ return $this->_paymentType;
416
+ }
417
+
418
+ /**
419
+ *
420
+ * @return string
421
+ */
422
+ public function getMethod()
423
+ {
424
+ return $this->_methodCode;
425
+ }
426
+
427
+ /**
428
+ * Returns Payment Title
429
+ *
430
+ * @return string
431
+ */
432
+ public function getTitle()
433
+ {
434
+ return Mage::helper('skrill')->__($this->_methodTitle);
435
+ }
436
+
437
+
438
+ protected function getActionUrl($action_name)
439
+ {
440
+ return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/response/'.$action_name.'/', array('_secure'=>true));
441
+ }
442
+ /**
443
+ * Set the iframe Url
444
+ *
445
+ * @param array $response
446
+ */
447
+ protected function _paymentform()
448
+ {
449
+ switch ($this->_code) {
450
+ case 'skrill_creditcard':
451
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCC"));
452
+ break;
453
+ case 'skrill_directdebit':
454
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderDD"));
455
+ break;
456
+ case 'skrill_paypal':
457
+ case 'skrill_payolutioninv':
458
+ case 'skrill_payolutionins':
459
+ case 'skrill_paysafecard':
460
+ case 'skrill_paytrail':
461
+ case 'skrill_yandex':
462
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderRedirect"));
463
+ break;
464
+ default:
465
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCP"));
466
+ break;
467
+ }
468
+ }
469
+ }
470
+
app/code/community/Skrill/Model/Method/Acc.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Acc extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_acc';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_acc';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'ACC';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_ACC';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Acc extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_acc';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_acc';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'ACC';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_ACC';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Ali.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Ali extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_ali';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_ali';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'ALI';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_ALI';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Ali extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_ali';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_ali';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'ALI';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_ALI';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Amx.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Amx extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_amx';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_amx';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'AMX';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_AMX';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Amx extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_amx';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_amx';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'AMX';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_AMX';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Creditcard.php CHANGED
@@ -1,55 +1,55 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Creditcard payment model
23
- *
24
- */
25
- class Skrill_Model_Method_Creditcard extends Skrill_Model_Method_Abstract
26
- {
27
-
28
- /**
29
- * Magento method code
30
- *
31
- * @var string
32
- */
33
- protected $_code = 'skrill_creditcard';
34
- protected $_skrillCode = 'skrill_acc';
35
- protected $_formBlockType = 'skrill/payment_form_creditcard';
36
-
37
- /**
38
- *
39
- * @var string
40
- */
41
- protected $_methodCode = 'CC';
42
-
43
- /**
44
- * Payment Title
45
- *
46
- * @var type
47
- */
48
- protected $_methodTitle = 'FRONTEND_PM_CC';
49
-
50
- public function getPaymentType()
51
- {
52
- return Mage::getStoreConfig('payment/' . $this->_skrillCode . '/transaction_mode', $this->getOrder()->getStoreId());
53
- }
54
-
55
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Creditcard payment model
23
+ *
24
+ */
25
+ class Skrill_Model_Method_Creditcard extends Skrill_Model_Method_Abstract
26
+ {
27
+
28
+ /**
29
+ * Magento method code
30
+ *
31
+ * @var string
32
+ */
33
+ protected $_code = 'skrill_creditcard';
34
+ protected $_skrillCode = 'skrill_acc';
35
+ protected $_formBlockType = 'skrill/payment_form_creditcard';
36
+
37
+ /**
38
+ *
39
+ * @var string
40
+ */
41
+ protected $_methodCode = 'CC';
42
+
43
+ /**
44
+ * Payment Title
45
+ *
46
+ * @var type
47
+ */
48
+ protected $_methodTitle = 'FRONTEND_PM_CC';
49
+
50
+ public function getPaymentType()
51
+ {
52
+ return Mage::getStoreConfig('payment/' . $this->_skrillCode . '/transaction_mode', $this->getOrder()->getStoreId());
53
+ }
54
+
55
+ }
app/code/community/Skrill/Model/Method/Csi.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Csi extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_csi';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_csi';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'CSI';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_CSI';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Csi extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_csi';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_csi';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'CSI';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_CSI';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Did.php CHANGED
@@ -1,55 +1,55 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Did extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_did';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_did';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'DID';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_DID';
50
-
51
- protected $_allowspecific = 1;
52
- protected $_specificcountry = 'DE';
53
-
54
-
55
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Did extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_did';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_did';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'DID';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_DID';
50
+
51
+ protected $_allowspecific = 1;
52
+ protected $_specificcountry = 'DE';
53
+
54
+
55
+ }
app/code/community/Skrill/Model/Method/Din.php CHANGED
@@ -1,49 +1,49 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Din extends Skrill_Model_Method_Skrill
22
- {
23
- /**
24
- * Path for payment form block
25
- *
26
- * @var string
27
- */
28
- protected $_formBlockType = 'skrill/payment_form_din';
29
-
30
- /**
31
- * Magento method code
32
- *
33
- * @var string
34
- */
35
- protected $_code = 'skrill_din';
36
-
37
- /**
38
- *
39
- * @var string
40
- */
41
- protected $_accountBrand = 'DIN';
42
-
43
- /**
44
- * Payment Title
45
- *
46
- * @var type
47
- */
48
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_DIN';
49
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Din extends Skrill_Model_Method_Skrill
22
+ {
23
+ /**
24
+ * Path for payment form block
25
+ *
26
+ * @var string
27
+ */
28
+ protected $_formBlockType = 'skrill/payment_form_din';
29
+
30
+ /**
31
+ * Magento method code
32
+ *
33
+ * @var string
34
+ */
35
+ protected $_code = 'skrill_din';
36
+
37
+ /**
38
+ *
39
+ * @var string
40
+ */
41
+ protected $_accountBrand = 'DIN';
42
+
43
+ /**
44
+ * Payment Title
45
+ *
46
+ * @var type
47
+ */
48
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_DIN';
49
+ }
app/code/community/Skrill/Model/Method/Directdebit.php CHANGED
@@ -1,46 +1,46 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Directdebit extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Magento method code
26
- *
27
- * @var string
28
- */
29
- protected $_code = 'skrill_directdebit';
30
- protected $_skrillCode = 'skrill_did';
31
- protected $_formBlockType = 'skrill/payment_form_directdebit';
32
-
33
- /**
34
- *
35
- * @var string
36
- */
37
- protected $_methodCode = 'DD';
38
-
39
- /**
40
- * Payment Title
41
- *
42
- * @var type
43
- */
44
- protected $_methodTitle = 'FRONTEND_PM_DD';
45
-
46
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Directdebit extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Magento method code
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_code = 'skrill_directdebit';
30
+ protected $_skrillCode = 'skrill_did';
31
+ protected $_formBlockType = 'skrill/payment_form_directdebit';
32
+
33
+ /**
34
+ *
35
+ * @var string
36
+ */
37
+ protected $_methodCode = 'DD';
38
+
39
+ /**
40
+ * Payment Title
41
+ *
42
+ * @var type
43
+ */
44
+ protected $_methodTitle = 'FRONTEND_PM_DD';
45
+
46
+ }
app/code/community/Skrill/Model/Method/Dnk.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Dnk extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_dnk';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_dnk';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'DNK';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_DNK';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Dnk extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_dnk';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_dnk';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'DNK';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_DNK';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Ebt.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Ebt extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_ebt';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_ebt';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'EBT';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_EBT';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Ebt extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_ebt';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_ebt';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'EBT';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_EBT';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Eps.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Eps extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_eps';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_eps';
37
- protected $_skrillCode = 'skrill_npy';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'EPS';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'OT';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_EPS';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Eps extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_eps';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_eps';
37
+ protected $_skrillCode = 'skrill_npy';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'EPS';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'OT';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_EPS';
57
+
58
+ }
app/code/community/Skrill/Model/Method/Epy.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Epy extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_epy';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_epy';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'EPY';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_EPY';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Epy extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_epy';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_epy';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'EPY';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_EPY';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Flexible.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Flexible extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_flexible';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_flexible';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'FLEXIBLE';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_FLEXIBLE';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Flexible extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_flexible';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_flexible';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'FLEXIBLE';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_FLEXIBLE';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Gcb.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Gcb extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_gcb';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_gcb';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'GCB';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_GCB';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Gcb extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_gcb';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_gcb';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'GCB';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_GCB';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Gir.php CHANGED
@@ -1,54 +1,54 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Gir extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_gir';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_gir';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'GIR';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_GIR';
50
-
51
- protected $_allowspecific = 1;
52
- protected $_specificcountry = 'DE';
53
-
54
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Gir extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_gir';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_gir';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'GIR';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_GIR';
50
+
51
+ protected $_allowspecific = 1;
52
+ protected $_specificcountry = 'DE';
53
+
54
+ }
app/code/community/Skrill/Model/Method/Giropay.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Giropay extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_giropay';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_giropay';
37
- protected $_skrillCode = 'skrill_gir';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'GIROPAY';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'OT';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_GIROPAY';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Giropay extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_giropay';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_giropay';
37
+ protected $_skrillCode = 'skrill_gir';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'GIROPAY';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'OT';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_GIROPAY';
57
+
58
+ }
app/code/community/Skrill/Model/Method/Glu.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Glu extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_glu';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_glu';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'GLU';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_GLU';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Glu extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_glu';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_glu';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'GLU';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_GLU';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Ideal.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Ideal extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_ideal';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_ideal';
37
- protected $_skrillCode = 'skrill_idl';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'IDEAL';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'OT';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_IDEAL';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Ideal extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_ideal';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_ideal';
37
+ protected $_skrillCode = 'skrill_idl';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'IDEAL';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'OT';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_IDEAL';
57
+
58
+ }
app/code/community/Skrill/Model/Method/Idl.php CHANGED
@@ -1,55 +1,55 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Idl extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_idl';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_idl';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'IDL';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_IDL';
50
-
51
- protected $_allowspecific = 1;
52
- protected $_specificcountry = 'NL';
53
-
54
-
55
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Idl extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_idl';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_idl';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'IDL';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_IDL';
50
+
51
+ protected $_allowspecific = 1;
52
+ protected $_specificcountry = 'NL';
53
+
54
+
55
+ }
app/code/community/Skrill/Model/Method/Jcb.php CHANGED
@@ -1,49 +1,49 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Jcb extends Skrill_Model_Method_Skrill
22
- {
23
- /**
24
- * Path for payment form block
25
- *
26
- * @var string
27
- */
28
- protected $_formBlockType = 'skrill/payment_form_jcb';
29
-
30
- /**
31
- * Magento method code
32
- *
33
- * @var string
34
- */
35
- protected $_code = 'skrill_jcb';
36
-
37
- /**
38
- *
39
- * @var string
40
- */
41
- protected $_accountBrand = 'JCB';
42
-
43
- /**
44
- * Payment Title
45
- *
46
- * @var type
47
- */
48
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_JCB';
49
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Jcb extends Skrill_Model_Method_Skrill
22
+ {
23
+ /**
24
+ * Path for payment form block
25
+ *
26
+ * @var string
27
+ */
28
+ protected $_formBlockType = 'skrill/payment_form_jcb';
29
+
30
+ /**
31
+ * Magento method code
32
+ *
33
+ * @var string
34
+ */
35
+ protected $_code = 'skrill_jcb';
36
+
37
+ /**
38
+ *
39
+ * @var string
40
+ */
41
+ protected $_accountBrand = 'JCB';
42
+
43
+ /**
44
+ * Payment Title
45
+ *
46
+ * @var type
47
+ */
48
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_JCB';
49
+ }
app/code/community/Skrill/Model/Method/Mae.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Mae extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_mae';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_mae';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'MAE';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_MAE';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Mae extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_mae';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_mae';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'MAE';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_MAE';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Msc.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Msc extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_msc';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_msc';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'MSC';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_MSC';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Msc extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_msc';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_msc';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'MSC';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_MSC';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Npy.php CHANGED
@@ -1,55 +1,55 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Npy extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_npy';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_npy';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'NPY';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_NPY';
50
-
51
- protected $_allowspecific = 1;
52
- protected $_specificcountry = 'AT';
53
-
54
-
55
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Npy extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_npy';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_npy';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'NPY';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_NPY';
50
+
51
+ protected $_allowspecific = 1;
52
+ protected $_specificcountry = 'AT';
53
+
54
+
55
+ }
app/code/community/Skrill/Model/Method/Ntl.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Ntl extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_ntl';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_ntl';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'NTL';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_NTL';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Ntl extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_ntl';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_ntl';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'NTL';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_NTL';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Obt.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Obt extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_obt';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_obt';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'OBT';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_OBT';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Obt extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_obt';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_obt';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'OBT';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_OBT';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Payolutionins.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Payolutionins extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_payolutionins';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_payolutionins';
37
- protected $_skrillCode = 'skrill_payolutionins';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'PAYOLUTION_INS';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'VA';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_PAYOLUTIONINS';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Payolutionins extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_payolutionins';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_payolutionins';
37
+ protected $_skrillCode = 'skrill_payolutionins';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'PAYOLUTION_INS';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'VA';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_PAYOLUTIONINS';
57
+
58
+ }
app/code/community/Skrill/Model/Method/Payolutioninv.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Payolutioninv extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_payolutioninv';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_payolutioninv';
37
- protected $_skrillCode = 'skrill_payolutioninv';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'PAYOLUTION_INVOICE';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'VA';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_PAYOLUTIONINV';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Payolutioninv extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_payolutioninv';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_payolutioninv';
37
+ protected $_skrillCode = 'skrill_payolutioninv';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'PAYOLUTION_INVOICE';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'VA';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_PAYOLUTIONINV';
57
+
58
+ }
app/code/community/Skrill/Model/Method/Paypal.php CHANGED
@@ -1,64 +1,64 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Paypal extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_paypal';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_paypal';
37
- protected $_skrillCode = 'skrill_paypal';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'PAYPAL';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'VA';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_PAYPAL';
57
-
58
- public function __construct()
59
- {
60
- $this->_canUseCheckout = true;
61
- }
62
-
63
-
64
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Paypal extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_paypal';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_paypal';
37
+ protected $_skrillCode = 'skrill_paypal';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'PAYPAL';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'VA';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_PAYPAL';
57
+
58
+ public function __construct()
59
+ {
60
+ $this->_canUseCheckout = true;
61
+ }
62
+
63
+
64
+ }
app/code/community/Skrill/Model/Method/Paysafecard.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Paysafecard extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_paysafecard';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_paysafecard';
37
- protected $_skrillCode = 'skrill_psc';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'PAYSAFECARD';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'VA';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_PAYSAFECARD';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Paysafecard extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_paysafecard';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_paysafecard';
37
+ protected $_skrillCode = 'skrill_psc';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'PAYSAFECARD';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'VA';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_PAYSAFECARD';
57
+
58
+ }
app/code/community/Skrill/Model/Method/Paytrail.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Paytrail extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_paytrail';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_paytrail';
37
- protected $_skrillCode = 'skrill_paytrail';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'PAYTRAIL';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'VA';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_PAYTRAIL';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Paytrail extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_paytrail';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_paytrail';
37
+ protected $_skrillCode = 'skrill_paytrail';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'PAYTRAIL';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'VA';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_PAYTRAIL';
57
+
58
+ }
app/code/community/Skrill/Model/Method/Pli.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Pli extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_pli';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_pli';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'PLI';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_PLI';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Pli extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_pli';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_pli';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'PLI';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_PLI';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Psc.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Psc extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_psc';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_psc';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'PSC';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_PSC';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Psc extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_psc';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_psc';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'PSC';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_PSC';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Psp.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Psp extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_psp';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_psp';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'PSP';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_PSP';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Psp extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_psp';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_psp';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'PSP';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_PSP';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Pwy.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Pwy extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_pwy';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_pwy';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'PWY';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_PWY';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Pwy extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_pwy';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_pwy';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'PWY';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_PWY';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Sft.php CHANGED
@@ -1,55 +1,55 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Sft extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_sft';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_sft';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'SFT';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_SFT';
50
-
51
- protected $_allowspecific = 1;
52
- protected $_specificcountry = 'DE,AT,BE,NL,IT,FR,PL,GB';
53
-
54
-
55
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Sft extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_sft';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_sft';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'SFT';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_SFT';
50
+
51
+ protected $_allowspecific = 1;
52
+ protected $_specificcountry = 'DE,AT,BE,NL,IT,FR,PL,GB';
53
+
54
+
55
+ }
app/code/community/Skrill/Model/Method/Skrill.php CHANGED
@@ -1,484 +1,484 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Abstract payment model
23
- *
24
- */
25
-
26
- abstract class Skrill_Model_Method_Skrill extends Mage_Payment_Model_Method_Abstract
27
- {
28
- const PROCESSED_STATUS = '2';
29
- const PENDING_STATUS = '0';
30
- const FAILED_STATUS = '-2';
31
- const REFUNDED_STATUS = '-4';
32
- const REFUNDFAILED_STATUS = '-5';
33
- const REFUNDPENDING_STATUS = '-6';
34
-
35
- /**
36
- * Is method a gateaway
37
- *
38
- * @var boolean
39
- */
40
- protected $_isGateway = true;
41
-
42
- /**
43
- * Can this method use for checkout
44
- *
45
- * @var boolean
46
- */
47
- protected $_canUseCheckout = true;
48
-
49
- /**
50
- * Can this method use for multishipping
51
- *
52
- * @var boolean
53
- */
54
- protected $_canUseForMultishipping = false;
55
-
56
- /**
57
- * Is a initalize needed
58
- *
59
- * @var boolean
60
- */
61
- protected $_isInitializeNeeded = true;
62
-
63
- /**
64
- *
65
- * @var string
66
- */
67
- protected $_accountBrand = '';
68
-
69
- /**
70
- * Payment Title
71
- *
72
- * @var string
73
- */
74
- protected $_methodTitle = '';
75
-
76
- /**
77
- * Magento method code
78
- *
79
- * @var string
80
- */
81
- protected $_code = 'skrill_abstract';
82
-
83
- protected $_canCapture = true;
84
- protected $_canRefund = true;
85
- protected $_canRefundInvoicePartial = true;
86
-
87
- protected $_infoBlockType = 'skrill/payment_skrillinfo';
88
-
89
- protected $_allowspecific = 0;
90
-
91
- public function __construct()
92
- {
93
- if ( Mage::getStoreConfig('payment/'.$this->getCode().'/show_separately') )
94
- {
95
- $this->_canUseCheckout = true;
96
- if ( Mage::getStoreConfig('payment/skrill_acc/active') && Mage::getStoreConfig('payment/skrill_acc/show_separately') )
97
- {
98
- switch ($this->getCode()) {
99
- case 'skrill_vsa':
100
- case 'skrill_msc':
101
- case 'skrill_amx':
102
- case 'skrill_din':
103
- case 'skrill_jcb':
104
- $this->_canUseCheckout = false;
105
- break;
106
- default:
107
- # code...
108
- break;
109
- }
110
- }
111
- }
112
- else
113
- $this->_canUseCheckout = false;
114
-
115
- $order = Mage::getSingleton('checkout/session')->getQuote();
116
-
117
- if ( $this->isCountryNotSupport($order) && $this->_canUseCheckout )
118
- $this->_canUseCheckout = false;
119
- }
120
-
121
- /**
122
- * Return Quote or Order Object depending what the Payment is
123
- *
124
- * @return Mage_Sales_Model_Order
125
- */
126
- public function getOrder()
127
- {
128
- $paymentInfo = $this->getInfoInstance();
129
-
130
- if ($paymentInfo instanceof Mage_Sales_Model_Order_Payment) {
131
- return $paymentInfo->getOrder();
132
- }
133
- $quote = Mage::getModel('sales/quote')->load($paymentInfo->getQuote()->getId());
134
- return $quote;
135
- }
136
-
137
- public function getOrderIncrementId()
138
- {
139
- $order = $this->getOrder();
140
- if ($order instanceof Mage_Sales_Model_Order) {
141
- return $order->getIncrementId();
142
- }
143
- return $order->getReservedOrderId();
144
- }
145
-
146
- /**
147
- * Retrieve the settings
148
- *
149
- * @return array
150
- */
151
- public function getSkrillSettings()
152
- {
153
- $apiPassword = Mage::getStoreConfig('payment/skrill_settings/api_passwd', $this->getOrder()->getStoreId());
154
- $secretWord = Mage::getStoreConfig('payment/skrill_settings/secret_word', $this->getOrder()->getStoreId());
155
-
156
- $settings = array(
157
- 'merchant_id' => Mage::getStoreConfig('payment/skrill_settings/merchant_id', $this->getOrder()->getStoreId()),
158
- 'merchant_account' => Mage::getStoreConfig('payment/skrill_settings/merchant_account', $this->getOrder()->getStoreId()),
159
- 'recipient_desc' => Mage::getStoreConfig('payment/skrill_settings/recipient_desc', $this->getOrder()->getStoreId()),
160
- 'logo_url' => Mage::getStoreConfig('payment/skrill_settings/logo_url', $this->getOrder()->getStoreId()),
161
- 'api_passwd' => md5(Mage::helper('core')->decrypt($apiPassword)),
162
- 'secret_word' => md5(Mage::helper('core')->decrypt($secretWord)),
163
- 'merchant_email' => Mage::getStoreConfig('payment/skrill_settings/merchant_email', $this->getOrder()->getStoreId())
164
- );
165
-
166
- return $settings;
167
- }
168
-
169
- public function getDisplay()
170
- {
171
- return Mage::getStoreConfig('payment/skrill_settings/display', $this->getOrder()->getStoreId());
172
- }
173
-
174
- public function isEU($order)
175
- {
176
- $countryId = $order->getBillingAddress()->getCountryId();
177
- $eu_countries = Mage::getStoreConfig('general/country/eu_countries');
178
- $eu_countries_array = explode(',',$eu_countries);
179
- if(in_array($countryId, $eu_countries_array))
180
- return true;
181
- else
182
- return false;
183
- }
184
-
185
- public function canUseForPayOn()
186
- {
187
- $listPayment = array('skrill_acc', 'skrill_did', 'skrill_npy', 'skrill_gir', 'skrill_idl', 'skrill_sft', 'skrill_psc' );
188
- if ( in_array($this->_code, $listPayment) )
189
- return true;
190
- else
191
- return false;
192
- }
193
-
194
- public function canUseForCountry($country)
195
- {
196
- if ($this->canUseForPayOn())
197
- {
198
- if($this->_allowspecific == 1){
199
- $availableCountries = explode(',', $this->_specificcountry);
200
- if(!in_array($country, $availableCountries)){
201
- return false;
202
- }
203
-
204
- }
205
- return true;
206
- }
207
- else
208
- {
209
- return parent::canUseForCountry($country);
210
- }
211
- }
212
-
213
- public function isCountryNotSupport($order)
214
- {
215
- $countryId = $order->getBillingAddress()->getCountryId();
216
- $not_support_countries = "AF,MM,NG,KP,SD,SY,SO,YE";
217
- $not_support_countries_array = explode(',',$not_support_countries);
218
- if(in_array($countryId, $not_support_countries_array))
219
- return true;
220
- else
221
- return false;
222
- }
223
-
224
- public function getPaymentMethods()
225
- {
226
- $payment_methods = "WLT,PSC,ACC,VSA,MSC,VSD,VSE,MAE,AMX,DIN,JCB,GCB,DNK,PSP,CSI,OBT,GIR,DID,SFT,EBT,IDL,NPY,PLI,PWY,EPY,GLU,ALI,NTL,ADB,AOB,ACI,AUP";
227
- $pm_list = explode(",", $payment_methods);
228
- $list = '';
229
- foreach ($pm_list as $key => $pm) {
230
- if ( Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/active') && Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/gateway') != "PAYON" )
231
- $list .= $pm.',';
232
- }
233
-
234
- return rtrim($list,",");
235
- }
236
-
237
- protected function getStatusUrl()
238
- {
239
- $statusUrl = Mage::getUrl(
240
- 'skrill/payment/handleStatusResponse/',
241
- array(
242
- 'orderId' => $this->getOrderIncrementId(),
243
- 'paymentMethod' => $this->getCode(),
244
- '_secure' => true
245
- )
246
- );
247
-
248
- return $statusUrl;
249
- }
250
-
251
- public function getRefundStatusUrl($orderId)
252
- {
253
- $refundStatusUrl = Mage::getUrl(
254
- 'skrill/payment/handleRefundStatusResponse/',
255
- array(
256
- 'orderId' => $orderId,
257
- 'paymentMethod' => $this->getCode(),
258
- '_secure' => true
259
- )
260
- );
261
-
262
- return $refundStatusUrl;
263
- }
264
-
265
- /**
266
- * Retrieve the order place URL
267
- *
268
- * @return string
269
- */
270
- public function getOrderPlaceRedirectUrl()
271
- {
272
- $name = Mage::helper('skrill')->getNameData($this->getOrder());
273
- $address = Mage::helper('skrill')->getAddressData($this->getOrder());
274
- $contact = Mage::helper('skrill')->getContactData($this->getOrder());
275
- $basket = Mage::helper('skrill')->getBasketData($this->getOrder());
276
- $settings = $this->getSkrillSettings();
277
-
278
- if (empty($settings['merchant_id']) || empty($settings['merchant_account']) || empty($settings['api_passwd']) || empty($settings['secret_word']))
279
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
280
-
281
- $postParameters['pay_to_email'] = $settings['merchant_account'];
282
- $postParameters['recipient_description'] = $settings['recipient_desc'];
283
- $postParameters['transaction_id'] = $this->getOrderIncrementId().Mage::helper('skrill')->getDateTime().Mage::helper('skrill')->randomNumber(4);
284
- $postParameters['return_url'] = Mage::getUrl(
285
- 'skrill/payment/handleResponse/',
286
- array(
287
- 'orderId' => $this->getOrderIncrementId(),
288
- 'paymentMethod' => $this->getCode(),
289
- '_secure' => true
290
- )
291
- );
292
- $postParameters['status_url'] = $this->getStatusUrl();
293
- if (isset($settings['merchant_email'])) {
294
- $postParameters['status_url2'] = $settings['merchant_email'];
295
- }
296
- $postParameters['cancel_url'] = Mage::getUrl('skrill/payment/cancelResponse',array('_secure'=>true));
297
- $postParameters['language'] = $this->getLanguage();
298
- $postParameters['logo_url'] = $settings['logo_url'];
299
- $postParameters['prepare_only'] = 1;
300
- $postParameters['pay_from_email'] = $contact['email'];
301
- $postParameters['firstname'] = $name['first_name'];
302
- $postParameters['lastname'] = $name['last_name'];
303
- $postParameters['address'] = $address['street'];
304
- $postParameters['postal_code'] = $address['zip'];
305
- $postParameters['city'] = $address['city'];
306
- $postParameters['country'] = Mage::helper('skrill')->getCountryIso3($address['country_code']);
307
- $postParameters['amount'] = $basket['baseAmount'];
308
- $postParameters['currency'] = $basket['baseCurrency'];
309
- $postParameters['detail1_description'] = "Order pay from ".$contact['email'];
310
- $postParameters['merchant_fields'] = 'Platform,Paymentkey';
311
- $postParameters['Platform'] = '71422537';
312
- $postParameters['Paymentkey'] =
313
- $this->generatePaymentKey($postParameters['transaction_id'], $postParameters['amount']);
314
-
315
- if ($this->_code != "skrill_flexible") {
316
- $postParameters['payment_methods'] = $this->getAccountBrand();
317
- }
318
-
319
- try {
320
- $sid = Mage::helper('skrill')->getSid($postParameters);
321
- } catch (Exception $e) {
322
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
323
- }
324
-
325
- if (!$sid) {
326
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
327
- }
328
-
329
- Mage::getSingleton('customer/session')->setRedirectUrl(Mage::helper('skrill')->getSkrillPaymentUrl().'/?sid='.$sid);
330
-
331
- if ($this->getDisplay() == "IFRAME" ) {
332
- return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/payment/qcheckout/', array('_secure'=>true));
333
- } else {
334
- return Mage::getSingleton('customer/session')->getRedirectUrl();
335
- }
336
-
337
- }
338
-
339
- public function getLanguage(){
340
-
341
- $langs = Mage::helper('skrill')->getLocaleIsoCode();
342
- switch ($langs) {
343
- case 'de':
344
- $lang = 'DE';
345
- break;
346
-
347
- default:
348
- $lang='EN';
349
- }
350
-
351
- return $lang;
352
- }
353
-
354
- public function capture(Varien_Object $payment)
355
- {
356
- $payment->setStatus('APPROVED')
357
- ->setTransactionId($payment->getAdditionalInformation('skrill_mb_transaction_id'))
358
- ->setIsTransactionClosed(1)->save();
359
-
360
- return $this;
361
- }
362
-
363
- public function processInvoice($invoice, $payment)
364
- {
365
- $invoice->setTransactionId($payment->getLastTransId())->save();
366
- $invoice->sendEmail();
367
- $payment->getOrder()->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
368
- return $this;
369
- }
370
-
371
- public function refund(Varien_Object $payment, $amount)
372
- {
373
- if ($payment->getAdditionalInformation('skrill_refund_status') == self::REFUNDPENDING_STATUS) {
374
- Mage::throwException(Mage::helper('skrill')->__('BACKEND_GENERAL_WAIT_REFUND_PENDING'));
375
- }
376
-
377
- $orderId = $payment->getOrder()->getIncrementId();
378
- $skrillSettings = $this->getSkrillSettings();
379
-
380
- $params['email'] = $skrillSettings['merchant_account'];
381
- $params['password'] = $skrillSettings['api_passwd'];
382
- $params['mb_transaction_id'] = $payment->getAdditionalInformation('skrill_mb_transaction_id');
383
- $params['amount'] = $amount;
384
- $params['refund_status_url'] = $this->getRefundStatusUrl($orderId);
385
-
386
- $paramsLog = $params;
387
- $paramsLog['password'] = '*****';
388
-
389
- Mage::log('refund prepare request', null, 'skrill_log_file.log');
390
- Mage::log($paramsLog, null, 'skrill_log_file.log');
391
-
392
- $xml_result = Mage::helper('skrill')->doRefund('prepare', $params);
393
-
394
- Mage::log('refund prepare response : '.Zend_Debug::dump($xml_result, null, false), null, 'skrill_log_file.log');
395
-
396
- $sid = (string) $xml_result->sid;
397
-
398
- $xml_result = Mage::helper('skrill')->doRefund('refund', $sid);
399
-
400
- Mage::log('refund response with sid '.$sid.' : '.Zend_Debug::dump($xml_result, null, false), null, 'skrill_log_file.log');
401
-
402
- $status = (string) $xml_result->status;
403
- $mb_trans_id = (string) $xml_result->mb_transaction_id;
404
-
405
- if ($status == self::PROCESSED_STATUS) {
406
- $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDED_STATUS);
407
- $payment->setTransactionId($mb_trans_id)
408
- ->setIsTransactionClosed(1)->save();
409
- $response['status'] = self::REFUNDED_STATUS;
410
- $comment = Mage::helper('skrill')->getComment($response);
411
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
412
- } elseif ($status == self::PENDING_STATUS) {
413
- $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDPENDING_STATUS)->save();
414
- $response['status'] = self::REFUNDPENDING_STATUS;
415
- $comment = Mage::helper('skrill')->getComment($response);
416
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
417
- Mage::throwException(Mage::helper('skrill')->__('SUCCESS_GENERAL_REFUND_PAYMENT_PENDING'));
418
- } else {
419
- $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDFAILED_STATUS)->save();
420
- $response['status'] = self::REFUNDFAILED_STATUS;
421
- $comment = Mage::helper('skrill')->getComment($response);
422
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
423
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REFUND_PAYMENT'));
424
- }
425
-
426
- return $this;
427
- }
428
-
429
- /**
430
- *
431
- * @return string
432
- */
433
- public function getAccountBrand()
434
- {
435
- return $this->_accountBrand;
436
- }
437
-
438
- /**
439
- * Returns Payment Title
440
- *
441
- * @return string
442
- */
443
- public function getTitle()
444
- {
445
- return Mage::helper('skrill')->__($this->_methodTitle);
446
- }
447
-
448
- protected function generatePaymentKey($transactionId, $amount)
449
- {
450
- return strtoupper(md5($transactionId.$amount));
451
- }
452
-
453
- /**
454
- * check is payment signature equals with value that already generated using order parameters
455
- *
456
- * @return boolean
457
- */
458
- public function isPaymentSignatureEqualsGeneratedSignature($paymentSignature, $generatedSignature)
459
- {
460
- return $paymentSignature == $generatedSignature;
461
- }
462
-
463
- /**
464
- * generate Md5sig by response
465
- *
466
- * @param array $response
467
- * @return string
468
- */
469
- public function generateMd5sigByResponse($response)
470
- {
471
- $skrillSettings = $this->getSkrillSettings();
472
-
473
- $string = $skrillSettings['merchant_id'].
474
- $response['transaction_id'].
475
- strtoupper($skrillSettings['secret_word']).
476
- $response['mb_amount'].
477
- $response['mb_currency'].
478
- $response['status'];
479
-
480
- return strtoupper(md5($string));
481
- }
482
-
483
- }
484
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Abstract payment model
23
+ *
24
+ */
25
+
26
+ abstract class Skrill_Model_Method_Skrill extends Mage_Payment_Model_Method_Abstract
27
+ {
28
+ const PROCESSED_STATUS = '2';
29
+ const PENDING_STATUS = '0';
30
+ const FAILED_STATUS = '-2';
31
+ const REFUNDED_STATUS = '-4';
32
+ const REFUNDFAILED_STATUS = '-5';
33
+ const REFUNDPENDING_STATUS = '-6';
34
+
35
+ /**
36
+ * Is method a gateaway
37
+ *
38
+ * @var boolean
39
+ */
40
+ protected $_isGateway = true;
41
+
42
+ /**
43
+ * Can this method use for checkout
44
+ *
45
+ * @var boolean
46
+ */
47
+ protected $_canUseCheckout = true;
48
+
49
+ /**
50
+ * Can this method use for multishipping
51
+ *
52
+ * @var boolean
53
+ */
54
+ protected $_canUseForMultishipping = false;
55
+
56
+ /**
57
+ * Is a initalize needed
58
+ *
59
+ * @var boolean
60
+ */
61
+ protected $_isInitializeNeeded = true;
62
+
63
+ /**
64
+ *
65
+ * @var string
66
+ */
67
+ protected $_accountBrand = '';
68
+
69
+ /**
70
+ * Payment Title
71
+ *
72
+ * @var string
73
+ */
74
+ protected $_methodTitle = '';
75
+
76
+ /**
77
+ * Magento method code
78
+ *
79
+ * @var string
80
+ */
81
+ protected $_code = 'skrill_abstract';
82
+
83
+ protected $_canCapture = true;
84
+ protected $_canRefund = true;
85
+ protected $_canRefundInvoicePartial = true;
86
+
87
+ protected $_infoBlockType = 'skrill/payment_skrillinfo';
88
+
89
+ protected $_allowspecific = 0;
90
+
91
+ public function __construct()
92
+ {
93
+ if ( Mage::getStoreConfig('payment/'.$this->getCode().'/show_separately') )
94
+ {
95
+ $this->_canUseCheckout = true;
96
+ if ( Mage::getStoreConfig('payment/skrill_acc/active') && Mage::getStoreConfig('payment/skrill_acc/show_separately') )
97
+ {
98
+ switch ($this->getCode()) {
99
+ case 'skrill_vsa':
100
+ case 'skrill_msc':
101
+ case 'skrill_amx':
102
+ case 'skrill_din':
103
+ case 'skrill_jcb':
104
+ $this->_canUseCheckout = false;
105
+ break;
106
+ default:
107
+ # code...
108
+ break;
109
+ }
110
+ }
111
+ }
112
+ else
113
+ $this->_canUseCheckout = false;
114
+
115
+ $order = Mage::getSingleton('checkout/session')->getQuote();
116
+
117
+ if ( $this->isCountryNotSupport($order) && $this->_canUseCheckout )
118
+ $this->_canUseCheckout = false;
119
+ }
120
+
121
+ /**
122
+ * Return Quote or Order Object depending what the Payment is
123
+ *
124
+ * @return Mage_Sales_Model_Order
125
+ */
126
+ public function getOrder()
127
+ {
128
+ $paymentInfo = $this->getInfoInstance();
129
+
130
+ if ($paymentInfo instanceof Mage_Sales_Model_Order_Payment) {
131
+ return $paymentInfo->getOrder();
132
+ }
133
+ $quote = Mage::getModel('sales/quote')->load($paymentInfo->getQuote()->getId());
134
+ return $quote;
135
+ }
136
+
137
+ public function getOrderIncrementId()
138
+ {
139
+ $order = $this->getOrder();
140
+ if ($order instanceof Mage_Sales_Model_Order) {
141
+ return $order->getIncrementId();
142
+ }
143
+ return $order->getReservedOrderId();
144
+ }
145
+
146
+ /**
147
+ * Retrieve the settings
148
+ *
149
+ * @return array
150
+ */
151
+ public function getSkrillSettings()
152
+ {
153
+ $apiPassword = Mage::getStoreConfig('payment/skrill_settings/api_passwd', $this->getOrder()->getStoreId());
154
+ $secretWord = Mage::getStoreConfig('payment/skrill_settings/secret_word', $this->getOrder()->getStoreId());
155
+
156
+ $settings = array(
157
+ 'merchant_id' => Mage::getStoreConfig('payment/skrill_settings/merchant_id', $this->getOrder()->getStoreId()),
158
+ 'merchant_account' => Mage::getStoreConfig('payment/skrill_settings/merchant_account', $this->getOrder()->getStoreId()),
159
+ 'recipient_desc' => Mage::getStoreConfig('payment/skrill_settings/recipient_desc', $this->getOrder()->getStoreId()),
160
+ 'logo_url' => Mage::getStoreConfig('payment/skrill_settings/logo_url', $this->getOrder()->getStoreId()),
161
+ 'api_passwd' => md5(Mage::helper('core')->decrypt($apiPassword)),
162
+ 'secret_word' => md5(Mage::helper('core')->decrypt($secretWord)),
163
+ 'merchant_email' => Mage::getStoreConfig('payment/skrill_settings/merchant_email', $this->getOrder()->getStoreId())
164
+ );
165
+
166
+ return $settings;
167
+ }
168
+
169
+ public function getDisplay()
170
+ {
171
+ return Mage::getStoreConfig('payment/skrill_settings/display', $this->getOrder()->getStoreId());
172
+ }
173
+
174
+ public function isEU($order)
175
+ {
176
+ $countryId = $order->getBillingAddress()->getCountryId();
177
+ $eu_countries = Mage::getStoreConfig('general/country/eu_countries');
178
+ $eu_countries_array = explode(',',$eu_countries);
179
+ if(in_array($countryId, $eu_countries_array))
180
+ return true;
181
+ else
182
+ return false;
183
+ }
184
+
185
+ public function canUseForPayOn()
186
+ {
187
+ $listPayment = array('skrill_acc', 'skrill_did', 'skrill_npy', 'skrill_gir', 'skrill_idl', 'skrill_sft', 'skrill_psc' );
188
+ if ( in_array($this->_code, $listPayment) )
189
+ return true;
190
+ else
191
+ return false;
192
+ }
193
+
194
+ public function canUseForCountry($country)
195
+ {
196
+ if ($this->canUseForPayOn())
197
+ {
198
+ if($this->_allowspecific == 1){
199
+ $availableCountries = explode(',', $this->_specificcountry);
200
+ if(!in_array($country, $availableCountries)){
201
+ return false;
202
+ }
203
+
204
+ }
205
+ return true;
206
+ }
207
+ else
208
+ {
209
+ return parent::canUseForCountry($country);
210
+ }
211
+ }
212
+
213
+ public function isCountryNotSupport($order)
214
+ {
215
+ $countryId = $order->getBillingAddress()->getCountryId();
216
+ $not_support_countries = "AF,MM,NG,KP,SD,SY,SO,YE";
217
+ $not_support_countries_array = explode(',',$not_support_countries);
218
+ if(in_array($countryId, $not_support_countries_array))
219
+ return true;
220
+ else
221
+ return false;
222
+ }
223
+
224
+ public function getPaymentMethods()
225
+ {
226
+ $payment_methods = "WLT,PSC,ACC,VSA,MSC,VSD,VSE,MAE,AMX,DIN,JCB,GCB,DNK,PSP,CSI,OBT,GIR,DID,SFT,EBT,IDL,NPY,PLI,PWY,EPY,GLU,ALI,NTL,ADB,AOB,ACI,AUP";
227
+ $pm_list = explode(",", $payment_methods);
228
+ $list = '';
229
+ foreach ($pm_list as $key => $pm) {
230
+ if ( Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/active') && Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/gateway') != "PAYON" )
231
+ $list .= $pm.',';
232
+ }
233
+
234
+ return rtrim($list,",");
235
+ }
236
+
237
+ protected function getStatusUrl()
238
+ {
239
+ $statusUrl = Mage::getUrl(
240
+ 'skrill/payment/handleStatusResponse/',
241
+ array(
242
+ 'orderId' => $this->getOrderIncrementId(),
243
+ 'paymentMethod' => $this->getCode(),
244
+ '_secure' => true
245
+ )
246
+ );
247
+
248
+ return $statusUrl;
249
+ }
250
+
251
+ public function getRefundStatusUrl($orderId)
252
+ {
253
+ $refundStatusUrl = Mage::getUrl(
254
+ 'skrill/payment/handleRefundStatusResponse/',
255
+ array(
256
+ 'orderId' => $orderId,
257
+ 'paymentMethod' => $this->getCode(),
258
+ '_secure' => true
259
+ )
260
+ );
261
+
262
+ return $refundStatusUrl;
263
+ }
264
+
265
+ /**
266
+ * Retrieve the order place URL
267
+ *
268
+ * @return string
269
+ */
270
+ public function getOrderPlaceRedirectUrl()
271
+ {
272
+ $name = Mage::helper('skrill')->getNameData($this->getOrder());
273
+ $address = Mage::helper('skrill')->getAddressData($this->getOrder());
274
+ $contact = Mage::helper('skrill')->getContactData($this->getOrder());
275
+ $basket = Mage::helper('skrill')->getBasketData($this->getOrder());
276
+ $settings = $this->getSkrillSettings();
277
+
278
+ if (empty($settings['merchant_id']) || empty($settings['merchant_account']) || empty($settings['api_passwd']) || empty($settings['secret_word']))
279
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
280
+
281
+ $postParameters['pay_to_email'] = $settings['merchant_account'];
282
+ $postParameters['recipient_description'] = $settings['recipient_desc'];
283
+ $postParameters['transaction_id'] = $this->getOrderIncrementId().Mage::helper('skrill')->getDateTime().Mage::helper('skrill')->randomNumber(4);
284
+ $postParameters['return_url'] = Mage::getUrl(
285
+ 'skrill/payment/handleResponse/',
286
+ array(
287
+ 'orderId' => $this->getOrderIncrementId(),
288
+ 'paymentMethod' => $this->getCode(),
289
+ '_secure' => true
290
+ )
291
+ );
292
+ $postParameters['status_url'] = $this->getStatusUrl();
293
+ if (isset($settings['merchant_email'])) {
294
+ $postParameters['status_url2'] = $settings['merchant_email'];
295
+ }
296
+ $postParameters['cancel_url'] = Mage::getUrl('skrill/payment/cancelResponse',array('_secure'=>true));
297
+ $postParameters['language'] = $this->getLanguage();
298
+ $postParameters['logo_url'] = $settings['logo_url'];
299
+ $postParameters['prepare_only'] = 1;
300
+ $postParameters['pay_from_email'] = $contact['email'];
301
+ $postParameters['firstname'] = $name['first_name'];
302
+ $postParameters['lastname'] = $name['last_name'];
303
+ $postParameters['address'] = $address['street'];
304
+ $postParameters['postal_code'] = $address['zip'];
305
+ $postParameters['city'] = $address['city'];
306
+ $postParameters['country'] = Mage::helper('skrill')->getCountryIso3($address['country_code']);
307
+ $postParameters['amount'] = $basket['baseAmount'];
308
+ $postParameters['currency'] = $basket['baseCurrency'];
309
+ $postParameters['detail1_description'] = "Order pay from ".$contact['email'];
310
+ $postParameters['merchant_fields'] = 'Platform,Paymentkey';
311
+ $postParameters['Platform'] = '71422537';
312
+ $postParameters['Paymentkey'] =
313
+ $this->generatePaymentKey($postParameters['transaction_id'], $postParameters['amount']);
314
+
315
+ if ($this->_code != "skrill_flexible") {
316
+ $postParameters['payment_methods'] = $this->getAccountBrand();
317
+ }
318
+
319
+ try {
320
+ $sid = Mage::helper('skrill')->getSid($postParameters);
321
+ } catch (Exception $e) {
322
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
323
+ }
324
+
325
+ if (!$sid) {
326
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
327
+ }
328
+
329
+ Mage::getSingleton('customer/session')->setRedirectUrl(Mage::helper('skrill')->getSkrillPaymentUrl().'/?sid='.$sid);
330
+
331
+ if ($this->getDisplay() == "IFRAME" ) {
332
+ return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/payment/qcheckout/', array('_secure'=>true));
333
+ } else {
334
+ return Mage::getSingleton('customer/session')->getRedirectUrl();
335
+ }
336
+
337
+ }
338
+
339
+ public function getLanguage(){
340
+
341
+ $langs = Mage::helper('skrill')->getLocaleIsoCode();
342
+ switch ($langs) {
343
+ case 'de':
344
+ $lang = 'DE';
345
+ break;
346
+
347
+ default:
348
+ $lang='EN';
349
+ }
350
+
351
+ return $lang;
352
+ }
353
+
354
+ public function capture(Varien_Object $payment)
355
+ {
356
+ $payment->setStatus('APPROVED')
357
+ ->setTransactionId($payment->getAdditionalInformation('skrill_mb_transaction_id'))
358
+ ->setIsTransactionClosed(1)->save();
359
+
360
+ return $this;
361
+ }
362
+
363
+ public function processInvoice($invoice, $payment)
364
+ {
365
+ $invoice->setTransactionId($payment->getLastTransId())->save();
366
+ $invoice->sendEmail();
367
+ $payment->getOrder()->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
368
+ return $this;
369
+ }
370
+
371
+ public function refund(Varien_Object $payment, $amount)
372
+ {
373
+ if ($payment->getAdditionalInformation('skrill_refund_status') == self::REFUNDPENDING_STATUS) {
374
+ Mage::throwException(Mage::helper('skrill')->__('BACKEND_GENERAL_WAIT_REFUND_PENDING'));
375
+ }
376
+
377
+ $orderId = $payment->getOrder()->getIncrementId();
378
+ $skrillSettings = $this->getSkrillSettings();
379
+
380
+ $params['email'] = $skrillSettings['merchant_account'];
381
+ $params['password'] = $skrillSettings['api_passwd'];
382
+ $params['mb_transaction_id'] = $payment->getAdditionalInformation('skrill_mb_transaction_id');
383
+ $params['amount'] = $amount;
384
+ $params['refund_status_url'] = $this->getRefundStatusUrl($orderId);
385
+
386
+ $paramsLog = $params;
387
+ $paramsLog['password'] = '*****';
388
+
389
+ Mage::log('refund prepare request', null, 'skrill_log_file.log');
390
+ Mage::log($paramsLog, null, 'skrill_log_file.log');
391
+
392
+ $xml_result = Mage::helper('skrill')->doRefund('prepare', $params);
393
+
394
+ Mage::log('refund prepare response : '.Zend_Debug::dump($xml_result, null, false), null, 'skrill_log_file.log');
395
+
396
+ $sid = (string) $xml_result->sid;
397
+
398
+ $xml_result = Mage::helper('skrill')->doRefund('refund', $sid);
399
+
400
+ Mage::log('refund response with sid '.$sid.' : '.Zend_Debug::dump($xml_result, null, false), null, 'skrill_log_file.log');
401
+
402
+ $status = (string) $xml_result->status;
403
+ $mb_trans_id = (string) $xml_result->mb_transaction_id;
404
+
405
+ if ($status == self::PROCESSED_STATUS) {
406
+ $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDED_STATUS);
407
+ $payment->setTransactionId($mb_trans_id)
408
+ ->setIsTransactionClosed(1)->save();
409
+ $response['status'] = self::REFUNDED_STATUS;
410
+ $comment = Mage::helper('skrill')->getComment($response);
411
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
412
+ } elseif ($status == self::PENDING_STATUS) {
413
+ $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDPENDING_STATUS)->save();
414
+ $response['status'] = self::REFUNDPENDING_STATUS;
415
+ $comment = Mage::helper('skrill')->getComment($response);
416
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
417
+ Mage::throwException(Mage::helper('skrill')->__('SUCCESS_GENERAL_REFUND_PAYMENT_PENDING'));
418
+ } else {
419
+ $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDFAILED_STATUS)->save();
420
+ $response['status'] = self::REFUNDFAILED_STATUS;
421
+ $comment = Mage::helper('skrill')->getComment($response);
422
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
423
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REFUND_PAYMENT'));
424
+ }
425
+
426
+ return $this;
427
+ }
428
+
429
+ /**
430
+ *
431
+ * @return string
432
+ */
433
+ public function getAccountBrand()
434
+ {
435
+ return $this->_accountBrand;
436
+ }
437
+
438
+ /**
439
+ * Returns Payment Title
440
+ *
441
+ * @return string
442
+ */
443
+ public function getTitle()
444
+ {
445
+ return Mage::helper('skrill')->__($this->_methodTitle);
446
+ }
447
+
448
+ protected function generatePaymentKey($transactionId, $amount)
449
+ {
450
+ return strtoupper(md5($transactionId.$amount));
451
+ }
452
+
453
+ /**
454
+ * check is payment signature equals with value that already generated using order parameters
455
+ *
456
+ * @return boolean
457
+ */
458
+ public function isPaymentSignatureEqualsGeneratedSignature($paymentSignature, $generatedSignature)
459
+ {
460
+ return $paymentSignature == $generatedSignature;
461
+ }
462
+
463
+ /**
464
+ * generate Md5sig by response
465
+ *
466
+ * @param array $response
467
+ * @return string
468
+ */
469
+ public function generateMd5sigByResponse($response)
470
+ {
471
+ $skrillSettings = $this->getSkrillSettings();
472
+
473
+ $string = $skrillSettings['merchant_id'].
474
+ $response['transaction_id'].
475
+ strtoupper($skrillSettings['secret_word']).
476
+ $response['mb_amount'].
477
+ $response['mb_currency'].
478
+ $response['status'];
479
+
480
+ return strtoupper(md5($string));
481
+ }
482
+
483
+ }
484
+
app/code/community/Skrill/Model/Method/Sofortuberweisung.php CHANGED
@@ -1,71 +1,71 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Sofortuberweisung extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_sofortuberweisung';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_sofortuberweisung';
37
- protected $_skrillCode = 'skrill_sft';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_methodCode = 'OT';
44
-
45
- protected $_accountBrand = 'SOFORTUEBERWEISUNG';
46
-
47
- /**
48
- * Payment Title
49
- *
50
- * @var type
51
- */
52
- protected $_methodTitle = 'FRONTEND_PM_SOFORTBANK';
53
-
54
- /**
55
- * Returns Payment Title
56
- *
57
- * @return string
58
- */
59
- public function getTitle()
60
- {
61
-
62
- $address = Mage::helper('skrill')->getAddressData($this->getOrder());
63
- $code = $address['country_code'];
64
- if ($code == 'DE' || $code == 'AT' || $code =='CH') {
65
- return Mage::helper('skrill')->__('FRONTEND_PM_SOFORT');
66
- } else {
67
- return Mage::helper('skrill')->__('FRONTEND_PM_SOFORTBANK');
68
- }
69
-
70
- }
71
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Sofortuberweisung extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_sofortuberweisung';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_sofortuberweisung';
37
+ protected $_skrillCode = 'skrill_sft';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_methodCode = 'OT';
44
+
45
+ protected $_accountBrand = 'SOFORTUEBERWEISUNG';
46
+
47
+ /**
48
+ * Payment Title
49
+ *
50
+ * @var type
51
+ */
52
+ protected $_methodTitle = 'FRONTEND_PM_SOFORTBANK';
53
+
54
+ /**
55
+ * Returns Payment Title
56
+ *
57
+ * @return string
58
+ */
59
+ public function getTitle()
60
+ {
61
+
62
+ $address = Mage::helper('skrill')->getAddressData($this->getOrder());
63
+ $code = $address['country_code'];
64
+ if ($code == 'DE' || $code == 'AT' || $code =='CH') {
65
+ return Mage::helper('skrill')->__('FRONTEND_PM_SOFORT');
66
+ } else {
67
+ return Mage::helper('skrill')->__('FRONTEND_PM_SOFORTBANK');
68
+ }
69
+
70
+ }
71
+ }
app/code/community/Skrill/Model/Method/Vsa.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Vsa extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_vsa';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_vsa';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'VSA';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_VSA';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Vsa extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_vsa';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_vsa';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'VSA';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_VSA';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Vse.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Vse extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_vse';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_vse';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'VSE';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_VSE';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Vse extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_vse';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_vse';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'VSE';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_VSE';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Wlt.php CHANGED
@@ -1,51 +1,51 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Wlt extends Skrill_Model_Method_Skrill
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_wlt';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_wlt';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'WLT';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_WLT';
50
-
51
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Wlt extends Skrill_Model_Method_Skrill
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_wlt';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_wlt';
37
+
38
+ /**
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_accountBrand = 'WLT';
43
+
44
+ /**
45
+ * Payment Title
46
+ *
47
+ * @var type
48
+ */
49
+ protected $_methodTitle = 'SKRILL_FRONTEND_PM_WLT';
50
+
51
+ }
app/code/community/Skrill/Model/Method/Yandex.php CHANGED
@@ -1,58 +1,58 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Skrill_Model_Method_Yandex extends Skrill_Model_Method_Abstract
22
- {
23
-
24
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_yandex';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_yandex';
37
- protected $_skrillCode = 'skrill_yandex';
38
-
39
- /**
40
- *
41
- * @var string
42
- */
43
- protected $_accountBrand = 'YANDEX';
44
-
45
- /**
46
- *
47
- * @var string
48
- */
49
- protected $_methodCode = 'VA';
50
-
51
- /**
52
- * Payment Title
53
- *
54
- * @var type
55
- */
56
- protected $_methodTitle = 'FRONTEND_PM_YANDEX';
57
-
58
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Skrill_Model_Method_Yandex extends Skrill_Model_Method_Abstract
22
+ {
23
+
24
+ /**
25
+ * Path for payment form block
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_formBlockType = 'skrill/payment_form_yandex';
30
+
31
+ /**
32
+ * Magento method code
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_code = 'skrill_yandex';
37
+ protected $_skrillCode = 'skrill_yandex';
38
+
39
+ /**
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_accountBrand = 'YANDEX';
44
+
45
+ /**
46
+ *
47
+ * @var string
48
+ */
49
+ protected $_methodCode = 'VA';
50
+
51
+ /**
52
+ * Payment Title
53
+ *
54
+ * @var type
55
+ */
56
+ protected $_methodTitle = 'FRONTEND_PM_YANDEX';
57
+
58
+ }
app/code/community/Skrill/Model/Source/Card.php CHANGED
@@ -1,54 +1,54 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Creditcard transaction model
23
- *
24
- */
25
- class Skrill_Model_Source_Card
26
- {
27
- /**
28
- * Define which card types are possible
29
- *
30
- * @return array
31
- */
32
- public function toOptionArray()
33
- {
34
- $cards = array(
35
- array(
36
- 'label' => Mage::helper('skrill')->__('BACKEND_CC_AMEX'),
37
- 'value' => 'AMEX'
38
- ),
39
- array(
40
- 'label' => Mage::helper('skrill')->__('BACKEND_CC_VISA'),
41
- 'value' => 'VISA'
42
- ),
43
- array(
44
- 'label' => Mage::helper('skrill')->__('BACKEND_CC_MASTER'),
45
- 'value' => 'MASTER'
46
- ),
47
- array(
48
- 'label' => Mage::helper('skrill')->__('BACKEND_CC_MAESTRO'),
49
- 'value' => 'MAESTRO'
50
- )
51
- );
52
- return $cards;
53
- }
54
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Creditcard transaction model
23
+ *
24
+ */
25
+ class Skrill_Model_Source_Card
26
+ {
27
+ /**
28
+ * Define which card types are possible
29
+ *
30
+ * @return array
31
+ */
32
+ public function toOptionArray()
33
+ {
34
+ $cards = array(
35
+ array(
36
+ 'label' => Mage::helper('skrill')->__('BACKEND_CC_AMEX'),
37
+ 'value' => 'AMEX'
38
+ ),
39
+ array(
40
+ 'label' => Mage::helper('skrill')->__('BACKEND_CC_VISA'),
41
+ 'value' => 'VISA'
42
+ ),
43
+ array(
44
+ 'label' => Mage::helper('skrill')->__('BACKEND_CC_MASTER'),
45
+ 'value' => 'MASTER'
46
+ ),
47
+ array(
48
+ 'label' => Mage::helper('skrill')->__('BACKEND_CC_MAESTRO'),
49
+ 'value' => 'MAESTRO'
50
+ )
51
+ );
52
+ return $cards;
53
+ }
54
  }
app/code/community/Skrill/Model/Source/Display.php CHANGED
@@ -1,46 +1,46 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Creditcard Mode model
23
- *
24
- */
25
- class Skrill_Model_Source_Display
26
- {
27
- /**
28
- * Define which display are possible
29
- *
30
- * @return array
31
- */
32
- public function toOptionArray()
33
- {
34
- $display = array(
35
- array(
36
- 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_IFRAME'),
37
- 'value' => 'IFRAME'
38
- ),
39
- array(
40
- 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_REDIRECT'),
41
- 'value' => 'REDIRECT'
42
- )
43
- );
44
- return $display;
45
- }
46
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Creditcard Mode model
23
+ *
24
+ */
25
+ class Skrill_Model_Source_Display
26
+ {
27
+ /**
28
+ * Define which display are possible
29
+ *
30
+ * @return array
31
+ */
32
+ public function toOptionArray()
33
+ {
34
+ $display = array(
35
+ array(
36
+ 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_IFRAME'),
37
+ 'value' => 'IFRAME'
38
+ ),
39
+ array(
40
+ 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_REDIRECT'),
41
+ 'value' => 'REDIRECT'
42
+ )
43
+ );
44
+ return $display;
45
+ }
46
+ }
app/code/community/Skrill/Model/Source/Gateway.php CHANGED
@@ -1,46 +1,46 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Creditcard Mode model
23
- *
24
- */
25
- class Skrill_Model_Source_Gateway
26
- {
27
- /**
28
- * Define which gateway are possible
29
- *
30
- * @return array
31
- */
32
- public function toOptionArray()
33
- {
34
- $gateway = array(
35
- array(
36
- 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_CH_SKRILL'),
37
- 'value' => 'SKRILL'
38
- ),
39
- array(
40
- 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_CH_PAYON'),
41
- 'value' => 'PAYON'
42
- )
43
- );
44
- return $gateway;
45
- }
46
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Creditcard Mode model
23
+ *
24
+ */
25
+ class Skrill_Model_Source_Gateway
26
+ {
27
+ /**
28
+ * Define which gateway are possible
29
+ *
30
+ * @return array
31
+ */
32
+ public function toOptionArray()
33
+ {
34
+ $gateway = array(
35
+ array(
36
+ 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_CH_SKRILL'),
37
+ 'value' => 'SKRILL'
38
+ ),
39
+ array(
40
+ 'label' => Mage::helper('skrill')->__('SKRILL_BACKEND_CH_PAYON'),
41
+ 'value' => 'PAYON'
42
+ )
43
+ );
44
+ return $gateway;
45
+ }
46
+ }
app/code/community/Skrill/Model/Source/Mode.php CHANGED
@@ -1,46 +1,46 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Creditcard Mode model
23
- *
24
- */
25
- class Skrill_Model_Source_Mode
26
- {
27
- /**
28
- * Define which server modes are possible
29
- *
30
- * @return array
31
- */
32
- public function toOptionArray()
33
- {
34
- $modes = array(
35
- array(
36
- 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODE_TEST'),
37
- 'value' => 'TEST'
38
- ),
39
- array(
40
- 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODE_LIVE'),
41
- 'value' => 'LIVE'
42
- )
43
- );
44
- return $modes;
45
- }
46
- }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Creditcard Mode model
23
+ *
24
+ */
25
+ class Skrill_Model_Source_Mode
26
+ {
27
+ /**
28
+ * Define which server modes are possible
29
+ *
30
+ * @return array
31
+ */
32
+ public function toOptionArray()
33
+ {
34
+ $modes = array(
35
+ array(
36
+ 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODE_TEST'),
37
+ 'value' => 'TEST'
38
+ ),
39
+ array(
40
+ 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODE_LIVE'),
41
+ 'value' => 'LIVE'
42
+ )
43
+ );
44
+ return $modes;
45
+ }
46
+ }
app/code/community/Skrill/Model/Source/Transaction.php CHANGED
@@ -1,46 +1,46 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Creditcard transaction model
23
- *
24
- */
25
- class Skrill_Model_Source_Transaction
26
- {
27
- /**
28
- * Define which payment types are possible
29
- *
30
- * @return array
31
- */
32
- public function toOptionArray()
33
- {
34
- $transactions = array(
35
- array(
36
- 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODEDEBIT'),
37
- 'value' => 'DB'
38
- ),
39
- array(
40
- 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODEPREAUTH'),
41
- 'value' => 'PA'
42
- )
43
- );
44
- return $transactions;
45
- }
46
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Creditcard transaction model
23
+ *
24
+ */
25
+ class Skrill_Model_Source_Transaction
26
+ {
27
+ /**
28
+ * Define which payment types are possible
29
+ *
30
+ * @return array
31
+ */
32
+ public function toOptionArray()
33
+ {
34
+ $transactions = array(
35
+ array(
36
+ 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODEDEBIT'),
37
+ 'value' => 'DB'
38
+ ),
39
+ array(
40
+ 'label' => Mage::helper('skrill')->__('BACKEND_CH_MODEPREAUTH'),
41
+ 'value' => 'PA'
42
+ )
43
+ );
44
+ return $transactions;
45
+ }
46
  }
app/code/community/Skrill/Model/Success/Observer.php CHANGED
@@ -1,42 +1,42 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- *
16
- * @package Skrill
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Order success observer
23
- *
24
- */
25
- class Skrill_Model_Success_Observer
26
- {
27
- /**
28
- * Reactivate the cart because the order isn't finished
29
- *
30
- * @param Varien_Event_Observer $observer
31
- */
32
- public function activateQuote(Varien_Event_Observer $observer)
33
- {
34
- $quote = $observer->getEvent()->getQuote();
35
- $paymentMethod = $quote->getPayment()->getMethod();
36
-
37
- if (strpos($paymentMethod, 'skrill') !== false) {
38
- $quote->setIsActive(true)->save();
39
- }
40
- }
41
- }
42
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ *
16
+ * @package Skrill
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Order success observer
23
+ *
24
+ */
25
+ class Skrill_Model_Success_Observer
26
+ {
27
+ /**
28
+ * Reactivate the cart because the order isn't finished
29
+ *
30
+ * @param Varien_Event_Observer $observer
31
+ */
32
+ public function activateQuote(Varien_Event_Observer $observer)
33
+ {
34
+ $quote = $observer->getEvent()->getQuote();
35
+ $paymentMethod = $quote->getPayment()->getMethod();
36
+
37
+ if (strpos($paymentMethod, 'skrill') !== false) {
38
+ $quote->setIsActive(true)->save();
39
+ }
40
+ }
41
+ }
42
+
app/code/community/Skrill/controllers/PaymentController.php CHANGED
@@ -1,315 +1,315 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- class Skrill_PaymentController extends Mage_Core_Controller_Front_Action
23
- {
24
- /**
25
- * Render the Payment Form page
26
- */
27
-
28
- public function qcheckoutAction()
29
- {
30
- $this->loadLayout();
31
- $block = $this->getLayout()->createBlock('skrill/payment_qcheckout');
32
-
33
- $this->getLayout()->getBlock('content')->append($block);
34
- $this->renderLayout();
35
- }
36
-
37
- public function handleResponseAction()
38
- {
39
- $orderId = $this->getRequest()->getParam('orderId');
40
-
41
- $order = Mage::getSingleton('sales/order');
42
- $order->loadByIncrementId($orderId);
43
-
44
- if (!$order->getId())
45
- Mage::throwException('No order for processing found');
46
-
47
- $this->processReturnUrl($order);
48
- }
49
-
50
- public function cancelResponseAction()
51
- {
52
- Mage::log('cancel action', null, 'skrill_log_file.log');
53
-
54
- $session = Mage::getSingleton('checkout/session');
55
- $order = Mage::getSingleton('sales/order');
56
- $order->loadByIncrementId($session->getLastRealOrderId());
57
-
58
- if (!$order->getId())
59
- Mage::throwException('No order for processing found');
60
-
61
- $order->cancel();
62
- $order->save();
63
- $this->_redirectError('ERROR_GENERAL_CANCEL');
64
- }
65
-
66
- protected function inActiveQuote($order)
67
- {
68
- Mage::getModel('sales/quote')->load($order->getQuoteId())->setIsActive(false)->save();
69
- }
70
-
71
- protected function processReturnUrl($order)
72
- {
73
- Mage::log('process return url', null, 'skrill_log_file.log');
74
-
75
- $additionalInformation = $order->getPayment()->getAdditionalInformation();
76
- Mage::log('payment additional information', null, 'skrill_log_file.log');
77
- Mage::log($additionalInformation, null, 'skrill_log_file.log');
78
-
79
- if (isset($additionalInformation['skrill_status_url_response'])) {
80
- if ($additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::PENDING_STATUS
81
- || $additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS
82
- ) {
83
- $this->_redirect('checkout/onepage/success');
84
- } elseif ($additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::FAILED_STATUS) {
85
- $failedReasonCode = $additionalInformation['failed_reason_code'];
86
- $this->_redirectError(Mage::helper('skrill')->getSkrillErrorMapping($failedReasonCode));
87
- } elseif ($additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::REFUNDED_STATUS
88
- || $additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::REFUNDFAILED_STATUS) {
89
- $this->_redirectError('ERROR_GENERAL_FRAUD_DETECTION');
90
- } else {
91
- $this->_redirectError('SKRILL_ERROR_99_GENERAL');
92
- }
93
- } else {
94
- $this->inActiveQuote($order);
95
- $message = Mage::helper('skrill')->__('FRONTEND_MESSAGE_YOUR_ORDER').' '.
96
- Mage::getStoreConfig('general/store_information/name').' '.
97
- Mage::helper('skrill')->__('FRONTEND_MESSAGE_INPROCESS').' '.
98
- Mage::helper('skrill')->__('FRONTEND_MESSAGE_PLEASE_BACK_AGAIN');
99
- $this->_redirectWarning($message);
100
- }
101
- }
102
-
103
- public function handleStatusResponseAction()
104
- {
105
- $status = $this->getRequest()->getParam('status');
106
-
107
- Mage::log('process status url with status : '.$status, null, 'skrill_log_file.log');
108
-
109
- if (isset($status)) {
110
- $orderId = $this->getRequest()->getParam('orderId');
111
- $responseStatus = $this->getResponseStatus();
112
-
113
- Mage::log('status url response', null, 'skrill_log_file.log');
114
- Mage::log($responseStatus, null, 'skrill_log_file.log');
115
-
116
- $order = Mage::getSingleton('sales/order');
117
- $order->loadByIncrementId($orderId);
118
-
119
- $order->getPayment()->setAdditionalInformation(
120
- 'skrill_status_url_response',
121
- serialize($responseStatus)
122
- )->save();
123
-
124
- if ($order->getPayment()->getAdditionalInformation('skrill_status') == Skrill_Model_Method_Skrill::PENDING_STATUS) {
125
- $this->updateOrderStatus($order, $responseStatus);
126
- } else {
127
- $this->validatePayment($order, $responseStatus);
128
- }
129
- }
130
- }
131
-
132
- protected function validatePayment($order, $responseStatus)
133
- {
134
- Mage::log('validate payment', null, 'skrill_log_file.log');
135
-
136
- if ($responseStatus['payment_type'] == 'NGP') {
137
- $responseStatus['payment_type'] = 'OBT';
138
- }
139
-
140
- $this->saveAdditionalInformation($order, $responseStatus);
141
-
142
- $isFraud = $this->isFraud($responseStatus);
143
- Mage::log('is Fraud : '.(int)$isFraud, null, 'skrill_log_file.log');
144
-
145
- $method = $order->getPayment()->getMethodInstance();
146
-
147
- $generatedSignatured = $method->generateMd5sigByResponse($responseStatus);
148
- $isCredentialValid = $method->isPaymentSignatureEqualsGeneratedSignature($responseStatus['md5sig'], $generatedSignatured);
149
-
150
- Mage::log('is credential valid : '.(int)$isCredentialValid, null, 'skrill_log_file.log');
151
-
152
- $this->processPayment($order, $responseStatus, $isFraud, $isCredentialValid);
153
- }
154
-
155
- protected function getResponseStatus()
156
- {
157
- $responseStatus = array();
158
- foreach ($this->getRequest()->getParams() as $responseName => $responseValue) {
159
- $responseStatus[strtolower($responseName)] = $responseValue;
160
- }
161
- return $responseStatus;
162
- }
163
-
164
- protected function saveAdditionalInformation($order, $responseStatus)
165
- {
166
- $payment = $order->getPayment();
167
- if (isset($responseStatus['transaction_id'])) {
168
- $payment->setAdditionalInformation('skrill_transaction_id', $responseStatus['transaction_id']);
169
- }
170
- if (isset($responseStatus['mb_transaction_id'])) {
171
- $payment->setAdditionalInformation('skrill_mb_transaction_id', $responseStatus['mb_transaction_id']);
172
- }
173
- if (isset($responseStatus['ip_country'])) {
174
- $payment->setAdditionalInformation('skrill_ip_country', $responseStatus['ip_country']);
175
- }
176
- if (isset($responseStatus['status'])) {
177
- $payment->setAdditionalInformation('skrill_status', $responseStatus['status']);
178
- }
179
- if (isset($responseStatus['payment_type'])) {
180
- $payment->setAdditionalInformation('skrill_payment_type', $responseStatus['payment_type']);
181
- }
182
- if (isset($responseStatus['payment_instrument_country'])) {
183
- $payment->setAdditionalInformation('skrill_issuer_country', $responseStatus['payment_instrument_country']);
184
- }
185
- if (isset($responseStatus['currency'])) {
186
- $payment->setAdditionalInformation('skrill_currency', $responseStatus['currency']);
187
- }
188
- $payment->save();
189
- }
190
-
191
- protected function setNumberFormat($number)
192
- {
193
- $number = (float) str_replace(',','.',$number);
194
- return number_format($number, 2, '.', '');
195
- }
196
-
197
- protected function isFraud($responseStatus)
198
- {
199
- return !strtoupper(md5($responseStatus['transaction_id'].$responseStatus['amount'])) == $responseStatus['paymentkey'];
200
- }
201
-
202
- protected function processPayment($order, $responseStatus, $isFraud, $isCredentialValid)
203
- {
204
- Mage::log('process payment', null, 'skrill_log_file.log');
205
-
206
- if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PENDING_STATUS) {
207
- $order->sendNewOrderEmail();
208
- $comment = Mage::helper('skrill')->getComment($responseStatus);
209
- $order->setState(Mage_Sales_Model_Order::STATE_NEW, true)->save();
210
- $order->addStatusHistoryComment($comment, false)->save();
211
- $this->inActiveQuote($order);
212
- } elseif ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
213
- $order->sendNewOrderEmail();
214
- Mage::helper('skrill')->invoice($order);
215
- if($isFraud) {
216
- $comment = Mage::helper('skrill')->getComment($responseStatus,"history","fraud");
217
- $order->setState(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW, Mage_Sales_Model_Order::STATUS_FRAUD)->save();
218
- $order->addStatusHistoryComment($comment, Mage_Sales_Model_Order::STATUS_FRAUD)->save();
219
- } elseif(!$isCredentialValid) {
220
- $comment = Mage::helper('skrill')->getComment($responseStatus,"history","invalid credential");
221
- $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'invalid_credential')->save();
222
- $order->addStatusHistoryComment($comment, Mage_Sales_Model_Order::STATE_PROCESSING)->save();
223
- } else{
224
- $comment = Mage::helper('skrill')->getComment($responseStatus);
225
- $order->addStatusHistoryComment($comment, 'payment_accepted')->save();
226
- }
227
- $this->inActiveQuote($order);
228
- } else {
229
- if ($responseStatus['failed_reason_code']) {
230
- $order->getPayment()->setAdditionalInformation(
231
- 'failed_reason_code',
232
- $responseStatus['failed_reason_code']
233
- );
234
- }
235
- $comment = Mage::helper('skrill')->getComment($responseStatus);
236
- $order->addStatusHistoryComment($comment, false);
237
- $order->cancel();
238
- $order->save();
239
- }
240
- }
241
-
242
- protected function updateOrderStatus($order, $responseStatus)
243
- {
244
- Mage::log('update order status with status : '.$responseStatus['status'], null, 'skrill_log_file.log');
245
-
246
- if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
247
- Mage::helper('skrill')->invoice($order);
248
- $comment = Mage::helper('skrill')->getComment($responseStatus);
249
- $order->addStatusHistoryComment($comment, 'payment_accepted')->save();
250
- } elseif ($responseStatus['status'] == Skrill_Model_Method_Skrill::FAILED_STATUS) {
251
- if ($responseStatus['failed_reason_code']) {
252
- $order->getPayment()->setAdditionalInformation(
253
- 'failed_reason_code',
254
- $responseStatus['failed_reason_code']
255
- );
256
- }
257
- $comment = Mage::helper('skrill')->getComment($responseStatus);
258
- $order->addStatusHistoryComment($comment, false);
259
- $order->cancel();
260
- $order->save();
261
- }
262
- }
263
-
264
- public function handleRefundStatusResponseAction()
265
- {
266
- $status = $this->getRequest()->getParam('status');
267
-
268
- Mage::log('process refund status url with status : '.$status, null, 'skrill_log_file.log');
269
-
270
- if (isset($status)) {
271
- $orderId = $this->getRequest()->getParam('orderId');
272
- $responseStatus = $this->getResponseStatus();
273
-
274
- Mage::log('refund status url response', null, 'skrill_log_file.log');
275
- Mage::log($responseStatus, null, 'skrill_log_file.log');
276
-
277
- $order = Mage::getSingleton('sales/order');
278
- $order->loadByIncrementId($orderId);
279
-
280
- $order->getPayment()->setAdditionalInformation(
281
- 'skrill_refund_status_url_response',
282
- serialize($responseStatus)
283
- )->save();
284
-
285
- if ($order->getPayment()->getAdditionalInformation('skrill_refund_status') == Skrill_Model_Method_Skrill::REFUNDPENDING_STATUS) {
286
- if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
287
- $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDED_STATUS;
288
- $comment = Mage::helper('skrill')->getComment($responseStatus, false, 'refundStatus');
289
- $order->addStatusHistoryComment($comment, false)->save();
290
- } else {
291
- $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDFAILED_STATUS;
292
- }
293
- $order->getPayment()->setAdditionalInformation('skrill_refund_status', $responseStatus['status'])->save();
294
- }
295
- }
296
- }
297
-
298
- protected function _redirectWarning($message)
299
- {
300
- Mage::log('redirect warning', null, 'skrill_log_file.log');
301
-
302
- $url = Mage::getUrl('', array('_secure' => true));
303
- Mage::getSingleton('core/session')->addWarning($message);
304
- $this->getResponse()->setRedirect($url);
305
- }
306
-
307
- protected function _redirectError($returnMessage)
308
- {
309
- Mage::log('redirect error', null, 'skrill_log_file.log');
310
-
311
- $url = Mage::helper('checkout/url')->getCheckoutUrl();
312
- Mage::getSingleton('core/session')->addError(Mage::helper('skrill')->__($returnMessage));
313
- $this->getResponse()->setRedirect($url);
314
- }
315
- }
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ class Skrill_PaymentController extends Mage_Core_Controller_Front_Action
23
+ {
24
+ /**
25
+ * Render the Payment Form page
26
+ */
27
+
28
+ public function qcheckoutAction()
29
+ {
30
+ $this->loadLayout();
31
+ $block = $this->getLayout()->createBlock('skrill/payment_qcheckout');
32
+
33
+ $this->getLayout()->getBlock('content')->append($block);
34
+ $this->renderLayout();
35
+ }
36
+
37
+ public function handleResponseAction()
38
+ {
39
+ $orderId = $this->getRequest()->getParam('orderId');
40
+
41
+ $order = Mage::getSingleton('sales/order');
42
+ $order->loadByIncrementId($orderId);
43
+
44
+ if (!$order->getId())
45
+ Mage::throwException('No order for processing found');
46
+
47
+ $this->processReturnUrl($order);
48
+ }
49
+
50
+ public function cancelResponseAction()
51
+ {
52
+ Mage::log('cancel action', null, 'skrill_log_file.log');
53
+
54
+ $session = Mage::getSingleton('checkout/session');
55
+ $order = Mage::getSingleton('sales/order');
56
+ $order->loadByIncrementId($session->getLastRealOrderId());
57
+
58
+ if (!$order->getId())
59
+ Mage::throwException('No order for processing found');
60
+
61
+ $order->cancel();
62
+ $order->save();
63
+ $this->_redirectError('ERROR_GENERAL_CANCEL');
64
+ }
65
+
66
+ protected function inActiveQuote($order)
67
+ {
68
+ Mage::getModel('sales/quote')->load($order->getQuoteId())->setIsActive(false)->save();
69
+ }
70
+
71
+ protected function processReturnUrl($order)
72
+ {
73
+ Mage::log('process return url', null, 'skrill_log_file.log');
74
+
75
+ $additionalInformation = $order->getPayment()->getAdditionalInformation();
76
+ Mage::log('payment additional information', null, 'skrill_log_file.log');
77
+ Mage::log($additionalInformation, null, 'skrill_log_file.log');
78
+
79
+ if (isset($additionalInformation['skrill_status_url_response'])) {
80
+ if ($additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::PENDING_STATUS
81
+ || $additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS
82
+ ) {
83
+ $this->_redirect('checkout/onepage/success');
84
+ } elseif ($additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::FAILED_STATUS) {
85
+ $failedReasonCode = $additionalInformation['failed_reason_code'];
86
+ $this->_redirectError(Mage::helper('skrill')->getSkrillErrorMapping($failedReasonCode));
87
+ } elseif ($additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::REFUNDED_STATUS
88
+ || $additionalInformation['skrill_status'] == Skrill_Model_Method_Skrill::REFUNDFAILED_STATUS) {
89
+ $this->_redirectError('ERROR_GENERAL_FRAUD_DETECTION');
90
+ } else {
91
+ $this->_redirectError('SKRILL_ERROR_99_GENERAL');
92
+ }
93
+ } else {
94
+ $this->inActiveQuote($order);
95
+ $message = Mage::helper('skrill')->__('FRONTEND_MESSAGE_YOUR_ORDER').' '.
96
+ Mage::getStoreConfig('general/store_information/name').' '.
97
+ Mage::helper('skrill')->__('FRONTEND_MESSAGE_INPROCESS').' '.
98
+ Mage::helper('skrill')->__('FRONTEND_MESSAGE_PLEASE_BACK_AGAIN');
99
+ $this->_redirectWarning($message);
100
+ }
101
+ }
102
+
103
+ public function handleStatusResponseAction()
104
+ {
105
+ $status = $this->getRequest()->getParam('status');
106
+
107
+ Mage::log('process status url with status : '.$status, null, 'skrill_log_file.log');
108
+
109
+ if (isset($status)) {
110
+ $orderId = $this->getRequest()->getParam('orderId');
111
+ $responseStatus = $this->getResponseStatus();
112
+
113
+ Mage::log('status url response', null, 'skrill_log_file.log');
114
+ Mage::log($responseStatus, null, 'skrill_log_file.log');
115
+
116
+ $order = Mage::getSingleton('sales/order');
117
+ $order->loadByIncrementId($orderId);
118
+
119
+ $order->getPayment()->setAdditionalInformation(
120
+ 'skrill_status_url_response',
121
+ serialize($responseStatus)
122
+ )->save();
123
+
124
+ if ($order->getPayment()->getAdditionalInformation('skrill_status') == Skrill_Model_Method_Skrill::PENDING_STATUS) {
125
+ $this->updateOrderStatus($order, $responseStatus);
126
+ } else {
127
+ $this->validatePayment($order, $responseStatus);
128
+ }
129
+ }
130
+ }
131
+
132
+ protected function validatePayment($order, $responseStatus)
133
+ {
134
+ Mage::log('validate payment', null, 'skrill_log_file.log');
135
+
136
+ if ($responseStatus['payment_type'] == 'NGP') {
137
+ $responseStatus['payment_type'] = 'OBT';
138
+ }
139
+
140
+ $this->saveAdditionalInformation($order, $responseStatus);
141
+
142
+ $isFraud = $this->isFraud($responseStatus);
143
+ Mage::log('is Fraud : '.(int)$isFraud, null, 'skrill_log_file.log');
144
+
145
+ $method = $order->getPayment()->getMethodInstance();
146
+
147
+ $generatedSignatured = $method->generateMd5sigByResponse($responseStatus);
148
+ $isCredentialValid = $method->isPaymentSignatureEqualsGeneratedSignature($responseStatus['md5sig'], $generatedSignatured);
149
+
150
+ Mage::log('is credential valid : '.(int)$isCredentialValid, null, 'skrill_log_file.log');
151
+
152
+ $this->processPayment($order, $responseStatus, $isFraud, $isCredentialValid);
153
+ }
154
+
155
+ protected function getResponseStatus()
156
+ {
157
+ $responseStatus = array();
158
+ foreach ($this->getRequest()->getParams() as $responseName => $responseValue) {
159
+ $responseStatus[strtolower($responseName)] = $responseValue;
160
+ }
161
+ return $responseStatus;
162
+ }
163
+
164
+ protected function saveAdditionalInformation($order, $responseStatus)
165
+ {
166
+ $payment = $order->getPayment();
167
+ if (isset($responseStatus['transaction_id'])) {
168
+ $payment->setAdditionalInformation('skrill_transaction_id', $responseStatus['transaction_id']);
169
+ }
170
+ if (isset($responseStatus['mb_transaction_id'])) {
171
+ $payment->setAdditionalInformation('skrill_mb_transaction_id', $responseStatus['mb_transaction_id']);
172
+ }
173
+ if (isset($responseStatus['ip_country'])) {
174
+ $payment->setAdditionalInformation('skrill_ip_country', $responseStatus['ip_country']);
175
+ }
176
+ if (isset($responseStatus['status'])) {
177
+ $payment->setAdditionalInformation('skrill_status', $responseStatus['status']);
178
+ }
179
+ if (isset($responseStatus['payment_type'])) {
180
+ $payment->setAdditionalInformation('skrill_payment_type', $responseStatus['payment_type']);
181
+ }
182
+ if (isset($responseStatus['payment_instrument_country'])) {
183
+ $payment->setAdditionalInformation('skrill_issuer_country', $responseStatus['payment_instrument_country']);
184
+ }
185
+ if (isset($responseStatus['currency'])) {
186
+ $payment->setAdditionalInformation('skrill_currency', $responseStatus['currency']);
187
+ }
188
+ $payment->save();
189
+ }
190
+
191
+ protected function setNumberFormat($number)
192
+ {
193
+ $number = (float) str_replace(',','.',$number);
194
+ return number_format($number, 2, '.', '');
195
+ }
196
+
197
+ protected function isFraud($responseStatus)
198
+ {
199
+ return !strtoupper(md5($responseStatus['transaction_id'].$responseStatus['amount'])) == $responseStatus['paymentkey'];
200
+ }
201
+
202
+ protected function processPayment($order, $responseStatus, $isFraud, $isCredentialValid)
203
+ {
204
+ Mage::log('process payment', null, 'skrill_log_file.log');
205
+
206
+ if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PENDING_STATUS) {
207
+ $order->sendNewOrderEmail();
208
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
209
+ $order->setState(Mage_Sales_Model_Order::STATE_NEW, true)->save();
210
+ $order->addStatusHistoryComment($comment, false)->save();
211
+ $this->inActiveQuote($order);
212
+ } elseif ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
213
+ $order->sendNewOrderEmail();
214
+ Mage::helper('skrill')->invoice($order);
215
+ if($isFraud) {
216
+ $comment = Mage::helper('skrill')->getComment($responseStatus,"history","fraud");
217
+ $order->setState(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW, Mage_Sales_Model_Order::STATUS_FRAUD)->save();
218
+ $order->addStatusHistoryComment($comment, Mage_Sales_Model_Order::STATUS_FRAUD)->save();
219
+ } elseif(!$isCredentialValid) {
220
+ $comment = Mage::helper('skrill')->getComment($responseStatus,"history","invalid credential");
221
+ $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'invalid_credential')->save();
222
+ $order->addStatusHistoryComment($comment, Mage_Sales_Model_Order::STATE_PROCESSING)->save();
223
+ } else{
224
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
225
+ $order->addStatusHistoryComment($comment, 'payment_accepted')->save();
226
+ }
227
+ $this->inActiveQuote($order);
228
+ } else {
229
+ if ($responseStatus['failed_reason_code']) {
230
+ $order->getPayment()->setAdditionalInformation(
231
+ 'failed_reason_code',
232
+ $responseStatus['failed_reason_code']
233
+ );
234
+ }
235
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
236
+ $order->addStatusHistoryComment($comment, false);
237
+ $order->cancel();
238
+ $order->save();
239
+ }
240
+ }
241
+
242
+ protected function updateOrderStatus($order, $responseStatus)
243
+ {
244
+ Mage::log('update order status with status : '.$responseStatus['status'], null, 'skrill_log_file.log');
245
+
246
+ if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
247
+ Mage::helper('skrill')->invoice($order);
248
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
249
+ $order->addStatusHistoryComment($comment, 'payment_accepted')->save();
250
+ } elseif ($responseStatus['status'] == Skrill_Model_Method_Skrill::FAILED_STATUS) {
251
+ if ($responseStatus['failed_reason_code']) {
252
+ $order->getPayment()->setAdditionalInformation(
253
+ 'failed_reason_code',
254
+ $responseStatus['failed_reason_code']
255
+ );
256
+ }
257
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
258
+ $order->addStatusHistoryComment($comment, false);
259
+ $order->cancel();
260
+ $order->save();
261
+ }
262
+ }
263
+
264
+ public function handleRefundStatusResponseAction()
265
+ {
266
+ $status = $this->getRequest()->getParam('status');
267
+
268
+ Mage::log('process refund status url with status : '.$status, null, 'skrill_log_file.log');
269
+
270
+ if (isset($status)) {
271
+ $orderId = $this->getRequest()->getParam('orderId');
272
+ $responseStatus = $this->getResponseStatus();
273
+
274
+ Mage::log('refund status url response', null, 'skrill_log_file.log');
275
+ Mage::log($responseStatus, null, 'skrill_log_file.log');
276
+
277
+ $order = Mage::getSingleton('sales/order');
278
+ $order->loadByIncrementId($orderId);
279
+
280
+ $order->getPayment()->setAdditionalInformation(
281
+ 'skrill_refund_status_url_response',
282
+ serialize($responseStatus)
283
+ )->save();
284
+
285
+ if ($order->getPayment()->getAdditionalInformation('skrill_refund_status') == Skrill_Model_Method_Skrill::REFUNDPENDING_STATUS) {
286
+ if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
287
+ $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDED_STATUS;
288
+ $comment = Mage::helper('skrill')->getComment($responseStatus, false, 'refundStatus');
289
+ $order->addStatusHistoryComment($comment, false)->save();
290
+ } else {
291
+ $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDFAILED_STATUS;
292
+ }
293
+ $order->getPayment()->setAdditionalInformation('skrill_refund_status', $responseStatus['status'])->save();
294
+ }
295
+ }
296
+ }
297
+
298
+ protected function _redirectWarning($message)
299
+ {
300
+ Mage::log('redirect warning', null, 'skrill_log_file.log');
301
+
302
+ $url = Mage::getUrl('', array('_secure' => true));
303
+ Mage::getSingleton('core/session')->addWarning($message);
304
+ $this->getResponse()->setRedirect($url);
305
+ }
306
+
307
+ protected function _redirectError($returnMessage)
308
+ {
309
+ Mage::log('redirect error', null, 'skrill_log_file.log');
310
+
311
+ $url = Mage::helper('checkout/url')->getCheckoutUrl();
312
+ Mage::getSingleton('core/session')->addError(Mage::helper('skrill')->__($returnMessage));
313
+ $this->getResponse()->setRedirect($url);
314
+ }
315
+ }
app/code/community/Skrill/controllers/ResponseController.php CHANGED
@@ -1,249 +1,249 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * Response controller
24
- *
25
- */
26
-
27
- class Skrill_ResponseController extends Mage_Core_Controller_Front_Action
28
- {
29
- protected function _getCheckout()
30
- {
31
- return Mage::getSingleton('checkout/session');
32
- }
33
-
34
- public function handleCpResponseAction()
35
- {
36
- $session = $this->_getCheckout();
37
-
38
- $order = Mage::getSingleton('sales/order');
39
- $order->loadByIncrementId($session->getLastRealOrderId());
40
- if (!$order->getId()) {
41
- Mage::throwException('No order for processing found');
42
- }
43
-
44
- $this->_getPostResponseActionUrl($order);
45
- }
46
-
47
- protected function _checkStatusPayment($url, &$resultJson)
48
- {
49
- // check get status payment 3 times if no response.
50
- for ($i=0; $i < 3; $i++) {
51
- $no_response = false;
52
- try {
53
- $resultJson = Mage::helper('skrill')->getPaymentStatus($url);
54
- } catch (Exception $e) {
55
- $no_response = true;
56
- }
57
- if (!$no_response && $resultJson)
58
- {
59
- return false;
60
- }
61
- }
62
- return true;
63
- }
64
-
65
- protected function _checkFraud($resultJson)
66
- {
67
- $quote = Mage::getModel('checkout/session')->getQuote();
68
- $quoteData = $quote->getData();
69
- $grandTotal = (float) $quoteData['grand_total'];
70
- $amount = (float) $resultJson['transaction']['payment']['clearing']['amount'];
71
- if ($resultJson['transaction']['payment']['clearing']['amount'])
72
- return $grandTotal != $amount;
73
- else
74
- return false;
75
- }
76
-
77
- protected function _redirectError($returnMessage, $url='checkout/onepage')
78
- {
79
- Mage::getSingleton('core/session')->addError($returnMessage);
80
- $this->_redirect($url, array('_secure'=>true));
81
- }
82
-
83
- protected function _doRefund($resultJson)
84
- {
85
- $dataTransaction = Mage::getSingleton('customer/session')->getDataTransaction();
86
- $dataTransaction['refId'] = $resultJson['transaction']['identification']['uniqueId'];
87
- $dataTransaction['amount'] = $resultJson['transaction']['payment']['clearing']['amount'];
88
- $dataTransaction['currency'] = $resultJson['transaction']['payment']['clearing']['currency'];
89
- $payment_method = substr($resultJson['transaction']['payment']['code'],0,2);
90
- $dataTransaction['payment_method'] = $payment_method;
91
- $payment_type = substr($resultJson['transaction']['payment']['code'],-2);
92
- if ($payment_type == 'PA')
93
- $dataTransaction['payment_type'] = "RV";
94
- else
95
- $dataTransaction['payment_type'] = "RF";
96
-
97
- $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
98
- $server = Mage::getSingleton('customer/session')->getServerMode();
99
-
100
- $url = Mage::helper('skrill')->getExecuteUrl($server);
101
-
102
- try {
103
- $response = Mage::helper('skrill')->executePayment($postData, $url);
104
- } catch (Exception $e) {
105
- return false;
106
- }
107
-
108
- $result = Mage::helper('skrill')->buildResponseArray($response);
109
- if ($result['PROCESSING.RESULT'] == 'ACK')
110
- return true;
111
- else
112
- return false;
113
- }
114
-
115
- protected function _getPostResponseActionUrl(Mage_Sales_Model_Order $order)
116
- {
117
- $token = $this->getRequest()->getParam('token');
118
- $server = Mage::getSingleton('customer/session')->getServerMode();
119
- $url = Mage::helper('skrill')->getStatusUrl($server, $token);
120
-
121
- $no_response = $this->_checkStatusPayment($url, $resultJson);
122
-
123
- if ($no_response)
124
- {
125
- $comment = Mage::helper('skrill')->getPayonComment('NOK');
126
- $order->addStatusHistoryComment($comment, false);
127
- $order->save();
128
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_NORESPONSE'));
129
- }
130
- else
131
- {
132
- $isFraud = false;
133
- $theResult = $resultJson['transaction']['processing']['result'];
134
- $returnCode = $resultJson['transaction']['processing']['return']['code'];
135
- $returnMessage = Mage::helper('skrill')->__(Mage::helper('skrill')->getErrorIdentifier($returnCode));
136
-
137
- $currency = $resultJson['transaction']['payment']['clearing']['currency'];
138
- $payment_type = substr($resultJson['transaction']['payment']['code'],-2);
139
-
140
- $uniqueId = $resultJson['transaction']['identification']['uniqueId'];
141
- $payment_brand = $resultJson['transaction']['account']['brand'];
142
- $ip_country = $resultJson['transaction']['customer']['contact']['ipCountry'];
143
- $bin = $resultJson['transaction']['account']['bin'];
144
-
145
- if ($theResult == 'ACK') {
146
- if ($isFraud)
147
- {
148
- $refunded = $this->_doRefund($resultJson);
149
- if ($refunded)
150
- $refund_status = 'REFUNDED';
151
- else
152
- $refund_status = 'REFUNDED_FAILED';
153
-
154
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin, 'history', 'fraud', $uniqueId, $refund_status);
155
- $order->addStatusHistoryComment($comment, false);
156
- $order->save();
157
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
158
- }
159
- else
160
- {
161
- $order->getPayment()->setAdditionalInformation('skrill_status', $theResult);
162
- $order->getPayment()->setAdditionalInformation('skrill_uniqueid',$uniqueId);
163
- $order->getPayment()->setAdditionalInformation('skrill_currency',$currency);
164
- $order->getPayment()->setAdditionalInformation('skrill_transaction_code',$payment_type);
165
-
166
- $order->getPayment()->setAdditionalInformation('skrill_ip_country', strtoupper($ip_country));
167
- $order->getPayment()->setAdditionalInformation('skrill_payment_brand', $payment_brand);
168
- $order->getPayment()->setAdditionalInformation('skrill_bin', $bin);
169
-
170
- if ($payment_type == 'PA') {
171
- $order->setState(Mage_Sales_Model_Order::STATE_NEW, true)->save();
172
- } else {
173
- Mage::helper('skrill')->invoice($order);
174
- }
175
-
176
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin);
177
- $order->addStatusHistoryComment($comment, false);
178
- $order->save();
179
- $order->sendNewOrderEmail();
180
-
181
- Mage::getModel('sales/quote')->load($order->getQuoteId())->setIsActive(false)->save();
182
- $this->_redirect('checkout/onepage/success', array('_secure'=>true));
183
- }
184
- } else if ($theResult == 'NOK') {
185
- if ($isFraud)
186
- {
187
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin, 'history', 'fraud', $uniqueId);
188
- $order->addStatusHistoryComment($comment, false);
189
- $order->save();
190
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
191
- }
192
- else
193
- {
194
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin);
195
- $order->addStatusHistoryComment($comment, false);
196
- $order->save();
197
- $this->_redirectError($returnMessage);
198
- }
199
- } else {
200
- if ($isFraud)
201
- {
202
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
203
- }
204
- else
205
- {
206
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_UNKNOWN'));
207
- }
208
- }
209
- }
210
- }
211
-
212
- /**
213
- * Render the Payment Form page
214
- */
215
- public function renderCCAction()
216
- {
217
- $this->loadLayout();
218
- $block = $this->getLayout()->createBlock('skrill/payment_formcc');
219
-
220
- $this->getLayout()->getBlock('content')->append($block);
221
- $this->renderLayout();
222
- }
223
-
224
- public function renderDDAction()
225
- {
226
- $this->loadLayout();
227
- $block = $this->getLayout()->createBlock('skrill/payment_formdd');
228
-
229
- $this->getLayout()->getBlock('content')->append($block);
230
- $this->renderLayout();
231
- }
232
-
233
- public function renderRedirectAction()
234
- {
235
- $this->loadLayout();
236
- $this->getLayout()->getBlock('root')->setTemplate('skrill/payment/formcp.phtml');
237
- $this->renderLayout();
238
- }
239
-
240
- public function renderCPAction()
241
- {
242
- $this->loadLayout();
243
- $block = $this->getLayout()->createBlock('skrill/payment_formcp');
244
-
245
- $this->getLayout()->getBlock('content')->append($block);
246
- $this->renderLayout();
247
- }
248
-
249
- }
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * Response controller
24
+ *
25
+ */
26
+
27
+ class Skrill_ResponseController extends Mage_Core_Controller_Front_Action
28
+ {
29
+ protected function _getCheckout()
30
+ {
31
+ return Mage::getSingleton('checkout/session');
32
+ }
33
+
34
+ public function handleCpResponseAction()
35
+ {
36
+ $session = $this->_getCheckout();
37
+
38
+ $order = Mage::getSingleton('sales/order');
39
+ $order->loadByIncrementId($session->getLastRealOrderId());
40
+ if (!$order->getId()) {
41
+ Mage::throwException('No order for processing found');
42
+ }
43
+
44
+ $this->_getPostResponseActionUrl($order);
45
+ }
46
+
47
+ protected function _checkStatusPayment($url, &$resultJson)
48
+ {
49
+ // check get status payment 3 times if no response.
50
+ for ($i=0; $i < 3; $i++) {
51
+ $no_response = false;
52
+ try {
53
+ $resultJson = Mage::helper('skrill')->getPaymentStatus($url);
54
+ } catch (Exception $e) {
55
+ $no_response = true;
56
+ }
57
+ if (!$no_response && $resultJson)
58
+ {
59
+ return false;
60
+ }
61
+ }
62
+ return true;
63
+ }
64
+
65
+ protected function _checkFraud($resultJson)
66
+ {
67
+ $quote = Mage::getModel('checkout/session')->getQuote();
68
+ $quoteData = $quote->getData();
69
+ $grandTotal = (float) $quoteData['grand_total'];
70
+ $amount = (float) $resultJson['transaction']['payment']['clearing']['amount'];
71
+ if ($resultJson['transaction']['payment']['clearing']['amount'])
72
+ return $grandTotal != $amount;
73
+ else
74
+ return false;
75
+ }
76
+
77
+ protected function _redirectError($returnMessage, $url='checkout/onepage')
78
+ {
79
+ Mage::getSingleton('core/session')->addError($returnMessage);
80
+ $this->_redirect($url, array('_secure'=>true));
81
+ }
82
+
83
+ protected function _doRefund($resultJson)
84
+ {
85
+ $dataTransaction = Mage::getSingleton('customer/session')->getDataTransaction();
86
+ $dataTransaction['refId'] = $resultJson['transaction']['identification']['uniqueId'];
87
+ $dataTransaction['amount'] = $resultJson['transaction']['payment']['clearing']['amount'];
88
+ $dataTransaction['currency'] = $resultJson['transaction']['payment']['clearing']['currency'];
89
+ $payment_method = substr($resultJson['transaction']['payment']['code'],0,2);
90
+ $dataTransaction['payment_method'] = $payment_method;
91
+ $payment_type = substr($resultJson['transaction']['payment']['code'],-2);
92
+ if ($payment_type == 'PA')
93
+ $dataTransaction['payment_type'] = "RV";
94
+ else
95
+ $dataTransaction['payment_type'] = "RF";
96
+
97
+ $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
98
+ $server = Mage::getSingleton('customer/session')->getServerMode();
99
+
100
+ $url = Mage::helper('skrill')->getExecuteUrl($server);
101
+
102
+ try {
103
+ $response = Mage::helper('skrill')->executePayment($postData, $url);
104
+ } catch (Exception $e) {
105
+ return false;
106
+ }
107
+
108
+ $result = Mage::helper('skrill')->buildResponseArray($response);
109
+ if ($result['PROCESSING.RESULT'] == 'ACK')
110
+ return true;
111
+ else
112
+ return false;
113
+ }
114
+
115
+ protected function _getPostResponseActionUrl(Mage_Sales_Model_Order $order)
116
+ {
117
+ $token = $this->getRequest()->getParam('token');
118
+ $server = Mage::getSingleton('customer/session')->getServerMode();
119
+ $url = Mage::helper('skrill')->getStatusUrl($server, $token);
120
+
121
+ $no_response = $this->_checkStatusPayment($url, $resultJson);
122
+
123
+ if ($no_response)
124
+ {
125
+ $comment = Mage::helper('skrill')->getPayonComment('NOK');
126
+ $order->addStatusHistoryComment($comment, false);
127
+ $order->save();
128
+ $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_NORESPONSE'));
129
+ }
130
+ else
131
+ {
132
+ $isFraud = false;
133
+ $theResult = $resultJson['transaction']['processing']['result'];
134
+ $returnCode = $resultJson['transaction']['processing']['return']['code'];
135
+ $returnMessage = Mage::helper('skrill')->__(Mage::helper('skrill')->getErrorIdentifier($returnCode));
136
+
137
+ $currency = $resultJson['transaction']['payment']['clearing']['currency'];
138
+ $payment_type = substr($resultJson['transaction']['payment']['code'],-2);
139
+
140
+ $uniqueId = $resultJson['transaction']['identification']['uniqueId'];
141
+ $payment_brand = $resultJson['transaction']['account']['brand'];
142
+ $ip_country = $resultJson['transaction']['customer']['contact']['ipCountry'];
143
+ $bin = $resultJson['transaction']['account']['bin'];
144
+
145
+ if ($theResult == 'ACK') {
146
+ if ($isFraud)
147
+ {
148
+ $refunded = $this->_doRefund($resultJson);
149
+ if ($refunded)
150
+ $refund_status = 'REFUNDED';
151
+ else
152
+ $refund_status = 'REFUNDED_FAILED';
153
+
154
+ $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin, 'history', 'fraud', $uniqueId, $refund_status);
155
+ $order->addStatusHistoryComment($comment, false);
156
+ $order->save();
157
+ $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
158
+ }
159
+ else
160
+ {
161
+ $order->getPayment()->setAdditionalInformation('skrill_status', $theResult);
162
+ $order->getPayment()->setAdditionalInformation('skrill_uniqueid',$uniqueId);
163
+ $order->getPayment()->setAdditionalInformation('skrill_currency',$currency);
164
+ $order->getPayment()->setAdditionalInformation('skrill_transaction_code',$payment_type);
165
+
166
+ $order->getPayment()->setAdditionalInformation('skrill_ip_country', strtoupper($ip_country));
167
+ $order->getPayment()->setAdditionalInformation('skrill_payment_brand', $payment_brand);
168
+ $order->getPayment()->setAdditionalInformation('skrill_bin', $bin);
169
+
170
+ if ($payment_type == 'PA') {
171
+ $order->setState(Mage_Sales_Model_Order::STATE_NEW, true)->save();
172
+ } else {
173
+ Mage::helper('skrill')->invoice($order);
174
+ }
175
+
176
+ $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin);
177
+ $order->addStatusHistoryComment($comment, false);
178
+ $order->save();
179
+ $order->sendNewOrderEmail();
180
+
181
+ Mage::getModel('sales/quote')->load($order->getQuoteId())->setIsActive(false)->save();
182
+ $this->_redirect('checkout/onepage/success', array('_secure'=>true));
183
+ }
184
+ } else if ($theResult == 'NOK') {
185
+ if ($isFraud)
186
+ {
187
+ $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin, 'history', 'fraud', $uniqueId);
188
+ $order->addStatusHistoryComment($comment, false);
189
+ $order->save();
190
+ $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
191
+ }
192
+ else
193
+ {
194
+ $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin);
195
+ $order->addStatusHistoryComment($comment, false);
196
+ $order->save();
197
+ $this->_redirectError($returnMessage);
198
+ }
199
+ } else {
200
+ if ($isFraud)
201
+ {
202
+ $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
203
+ }
204
+ else
205
+ {
206
+ $this->_redirectError(Mage::helper('skrill')->__('ERROR_UNKNOWN'));
207
+ }
208
+ }
209
+ }
210
+ }
211
+
212
+ /**
213
+ * Render the Payment Form page
214
+ */
215
+ public function renderCCAction()
216
+ {
217
+ $this->loadLayout();
218
+ $block = $this->getLayout()->createBlock('skrill/payment_formcc');
219
+
220
+ $this->getLayout()->getBlock('content')->append($block);
221
+ $this->renderLayout();
222
+ }
223
+
224
+ public function renderDDAction()
225
+ {
226
+ $this->loadLayout();
227
+ $block = $this->getLayout()->createBlock('skrill/payment_formdd');
228
+
229
+ $this->getLayout()->getBlock('content')->append($block);
230
+ $this->renderLayout();
231
+ }
232
+
233
+ public function renderRedirectAction()
234
+ {
235
+ $this->loadLayout();
236
+ $this->getLayout()->getBlock('root')->setTemplate('skrill/payment/formcp.phtml');
237
+ $this->renderLayout();
238
+ }
239
+
240
+ public function renderCPAction()
241
+ {
242
+ $this->loadLayout();
243
+ $block = $this->getLayout()->createBlock('skrill/payment_formcp');
244
+
245
+ $this->getLayout()->getBlock('content')->append($block);
246
+ $this->renderLayout();
247
+ }
248
+
249
+ }
app/code/community/Skrill/controllers/UpdateorderController.php CHANGED
@@ -1,71 +1,71 @@
1
- <?php
2
-
3
- class Skrill_UpdateorderController extends Mage_Adminhtml_Controller_Action
4
- {
5
- public function indexAction()
6
- {
7
- $orderId = $this->getRequest()->getParam('order_id');
8
- $order = Mage::getModel('sales/order')->load($orderId);
9
- $method = $order->getPayment()->getMethodInstance();
10
- $skrillSettings = $method->getSkrillSettings();
11
-
12
- $parameters['email'] = $skrillSettings['merchant_account'];
13
- $parameters['password'] = $skrillSettings['api_passwd'];
14
- $parameters['trn_id'] = $order->getPayment()->getAdditionalInformation('skrill_transaction_id');
15
-
16
- $parametersLog = $parameters;
17
- $parametersLog['password'] = '*****';
18
-
19
- Mage::log('update order status request', null, 'skrill_log_file.log');
20
- Mage::log($parametersLog, null, 'skrill_log_file.log');
21
-
22
- $response = Mage::helper('skrill')->getStatusTrn($parameters);
23
-
24
- Mage::log('update order status response', null, 'skrill_log_file.log');
25
- Mage::log($response, null, 'skrill_log_file.log');
26
-
27
- if ($response) {
28
- $generatedSignatured = $method->generateMd5sigByResponse($response);
29
- $isCredentialValid = $method->isPaymentSignatureEqualsGeneratedSignature($response['md5sig'], $generatedSignatured);
30
-
31
- if ($isCredentialValid) {
32
- $invoiceIds = $order->getInvoiceCollection()->getAllIds();
33
- if (empty($invoiceIds) && $response['status'] == '2') {
34
- Mage::helper('skrill')->invoice($order);
35
- $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
36
- }
37
-
38
- if ($order->getStatus() == 'invalid_credential' && $response['status'] == '2'){
39
- $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
40
- }
41
-
42
- $order->getPayment()->setAdditionalInformation('skrill_status', $response['status']);
43
- $order->getPayment()->setAdditionalInformation('skrill_payment_type', $response['payment_type']);
44
- if (isset($response['payment_instrument_country'])) {
45
- $order->getPayment()->setAdditionalInformation('skrill_issuer_country', $response['payment_instrument_country']);
46
- }
47
- $order->getPayment()->save();
48
-
49
- $comment = Mage::helper('skrill')->getComment($response);
50
- $order->addStatusHistoryComment($comment, false);
51
- $order->save();
52
-
53
- Mage::log('process update order from backend : success', null, 'skrill_log_file.log');
54
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('skrill')->__('SUCCESS_GENERAL_UPDATE_PAYMENT'));
55
- } else {
56
- Mage::log('process update order from backend : invalid credential', null, 'skrill_log_file.log');
57
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('skrill')->__('ERROR_UPDATE_BACKEND'));
58
- }
59
- } else {
60
- Mage::log('process update order from backend : failed', null, 'skrill_log_file.log');
61
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('skrill')->__('ERROR_UPDATE_BACKEND'));
62
- }
63
-
64
- $this->_redirect("adminhtml/sales_order/view",array('order_id' => $orderId));
65
- }
66
-
67
- protected function _isAllowed()
68
- {
69
- return Mage::getSingleton('admin/session')->isAllowed('admin');
70
- }
71
- }
1
+ <?php
2
+
3
+ class Skrill_UpdateorderController extends Mage_Adminhtml_Controller_Action
4
+ {
5
+ public function indexAction()
6
+ {
7
+ $orderId = $this->getRequest()->getParam('order_id');
8
+ $order = Mage::getModel('sales/order')->load($orderId);
9
+ $method = $order->getPayment()->getMethodInstance();
10
+ $skrillSettings = $method->getSkrillSettings();
11
+
12
+ $parameters['email'] = $skrillSettings['merchant_account'];
13
+ $parameters['password'] = $skrillSettings['api_passwd'];
14
+ $parameters['trn_id'] = $order->getPayment()->getAdditionalInformation('skrill_transaction_id');
15
+
16
+ $parametersLog = $parameters;
17
+ $parametersLog['password'] = '*****';
18
+
19
+ Mage::log('update order status request', null, 'skrill_log_file.log');
20
+ Mage::log($parametersLog, null, 'skrill_log_file.log');
21
+
22
+ $response = Mage::helper('skrill')->getStatusTrn($parameters);
23
+
24
+ Mage::log('update order status response', null, 'skrill_log_file.log');
25
+ Mage::log($response, null, 'skrill_log_file.log');
26
+
27
+ if ($response) {
28
+ $generatedSignatured = $method->generateMd5sigByResponse($response);
29
+ $isCredentialValid = $method->isPaymentSignatureEqualsGeneratedSignature($response['md5sig'], $generatedSignatured);
30
+
31
+ if ($isCredentialValid) {
32
+ $invoiceIds = $order->getInvoiceCollection()->getAllIds();
33
+ if (empty($invoiceIds) && $response['status'] == '2') {
34
+ Mage::helper('skrill')->invoice($order);
35
+ $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
36
+ }
37
+
38
+ if ($order->getStatus() == 'invalid_credential' && $response['status'] == '2'){
39
+ $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
40
+ }
41
+
42
+ $order->getPayment()->setAdditionalInformation('skrill_status', $response['status']);
43
+ $order->getPayment()->setAdditionalInformation('skrill_payment_type', $response['payment_type']);
44
+ if (isset($response['payment_instrument_country'])) {
45
+ $order->getPayment()->setAdditionalInformation('skrill_issuer_country', $response['payment_instrument_country']);
46
+ }
47
+ $order->getPayment()->save();
48
+
49
+ $comment = Mage::helper('skrill')->getComment($response);
50
+ $order->addStatusHistoryComment($comment, false);
51
+ $order->save();
52
+
53
+ Mage::log('process update order from backend : success', null, 'skrill_log_file.log');
54
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('skrill')->__('SUCCESS_GENERAL_UPDATE_PAYMENT'));
55
+ } else {
56
+ Mage::log('process update order from backend : invalid credential', null, 'skrill_log_file.log');
57
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('skrill')->__('ERROR_UPDATE_BACKEND'));
58
+ }
59
+ } else {
60
+ Mage::log('process update order from backend : failed', null, 'skrill_log_file.log');
61
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('skrill')->__('ERROR_UPDATE_BACKEND'));
62
+ }
63
+
64
+ $this->_redirect("adminhtml/sales_order/view",array('order_id' => $orderId));
65
+ }
66
+
67
+ protected function _isAllowed()
68
+ {
69
+ return Mage::getSingleton('admin/session')->isAllowed('admin');
70
+ }
71
+ }
app/code/community/Skrill/etc/adminhtml.xml CHANGED
@@ -1,48 +1,48 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Academic Free License (AFL 3.0)
9
- * that is bundled with this package in the file LICENSE_AFL.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/afl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magento.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magento.com for more information.
21
- *
22
- * @category Skrill
23
- * @package Skrill_Payment
24
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
25
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
- */
27
- -->
28
- <config>
29
- <acl>
30
- <resources>
31
- <admin>
32
- <children>
33
- <system>
34
- <children>
35
- <config>
36
- <children>
37
- <skrill translate="title" module="skrill">
38
- <title>Skrill Section</title>
39
- </skrill>
40
- </children>
41
- </config>
42
- </children>
43
- </system>
44
- </children>
45
- </admin>
46
- </resources>
47
- </acl>
48
- </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magento.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magento.com for more information.
21
+ *
22
+ * @category Skrill
23
+ * @package Skrill_Payment
24
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <config>
29
+ <acl>
30
+ <resources>
31
+ <admin>
32
+ <children>
33
+ <system>
34
+ <children>
35
+ <config>
36
+ <children>
37
+ <skrill translate="title" module="skrill">
38
+ <title>Skrill Section</title>
39
+ </skrill>
40
+ </children>
41
+ </config>
42
+ </children>
43
+ </system>
44
+ </children>
45
+ </admin>
46
+ </resources>
47
+ </acl>
48
+ </config>
app/code/community/Skrill/etc/config.xml CHANGED
@@ -1,712 +1,712 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- -->
22
- <config>
23
- <modules>
24
- <Skrill>
25
- <version>1.0.31</version>
26
- </Skrill>
27
- </modules>
28
-
29
- <global>
30
- <helpers>
31
- <skrill>
32
- <class>Skrill_Helper</class>
33
- </skrill>
34
- </helpers>
35
- <models>
36
- <skrill>
37
- <class>Skrill_Model</class>
38
- </skrill>
39
- </models>
40
- <resources>
41
- <skrill_setup>
42
- <setup>
43
- <module>Skrill</module>
44
- <class>Mage_Core_Model_Resource_Setup</class>
45
- </setup>
46
- </skrill_setup>
47
- </resources>
48
- <blocks>
49
- <skrill>
50
- <class>Skrill_Block</class>
51
- </skrill>
52
- </blocks>
53
- <sales>
54
- <order>
55
- <statuses>
56
- <payment_accepted translate="label">
57
- <label>SUCCESS_PAYMENT_ACC</label>
58
- </payment_accepted>
59
- <payment_remotely translate="label">
60
- <label>SUCCESS_PREAUTH_ACC</label>
61
- </payment_remotely>
62
- <invalid_credential translate="label">
63
- <label>INVALID_CREDENTIAL</label>
64
- </invalid_credential>
65
- </statuses>
66
- <states>
67
- <pending_payment>
68
- <statuses>
69
- <payment_remotely/>
70
- </statuses>
71
- </pending_payment>
72
- <processing>
73
- <statuses>
74
- <payment_accepted/>
75
- </statuses>
76
- </processing>
77
- <processing>
78
- <statuses>
79
- <invalid_credential/>
80
- </statuses>
81
- </processing>
82
- </states>
83
- </order>
84
- </sales>
85
- <payment>
86
- <groups>
87
- <skrillpm>Skrill Payment Methods</skrillpm>
88
- </groups>
89
- </payment>
90
- </global>
91
-
92
- <frontend>
93
- <translate>
94
- <modules>
95
- <Skrill>
96
- <files>
97
- <default>Skrill.csv</default>
98
- </files>
99
- </Skrill>
100
- </modules>
101
- </translate>
102
- </frontend>
103
-
104
- <adminhtml>
105
- <translate>
106
- <modules>
107
- <Skrill>
108
- <files>
109
- <default>Skrill.csv</default>
110
- </files>
111
- </Skrill>
112
- </modules>
113
- </translate>
114
- </adminhtml>
115
-
116
- <admin>
117
- <routers>
118
- <skrill>
119
- <use>admin</use>
120
- <args>
121
- <module>Skrill</module>
122
- <frontName>skrill</frontName>
123
- </args>
124
- </skrill>
125
- <adminhtml>
126
- <args>
127
- <modules>
128
- <Skrill after="Mage_Adminhtml">Skrill</Skrill>
129
- </modules>
130
- </args>
131
- </adminhtml>
132
- </routers>
133
- </admin>
134
-
135
- <frontend>
136
- <routers>
137
- <skrill>
138
- <use>standard</use>
139
- <args>
140
- <module>Skrill</module>
141
- <frontName>skrill</frontName>
142
- </args>
143
- </skrill>
144
- </routers>
145
- <layout>
146
- <updates>
147
- <skrill_checkout>
148
- <file>skrill_checkout.xml</file>
149
- </skrill_checkout>
150
- </updates>
151
- </layout>
152
- <events>
153
- <sales_model_service_quote_submit_success>
154
- <observers>
155
- <skrill_success_observer>
156
- <type>model</type>
157
- <class>Skrill_Model_Success_Observer</class>
158
- <method>activateQuote</method>
159
- </skrill_success_observer>
160
- </observers>
161
- </sales_model_service_quote_submit_success>
162
- </events>
163
- </frontend>
164
-
165
- <adminhtml>
166
- <layout>
167
- <updates>
168
- <skrill_system_config>
169
- <file>skrill/system_config.xml</file>
170
- </skrill_system_config>
171
- </updates>
172
- </layout>
173
- </adminhtml>
174
-
175
- <default>
176
- <payment>
177
- <skrill_settings>
178
- <version>1.0.31</version>
179
- <merchant_id></merchant_id>
180
- <merchant_account></merchant_account>
181
- <recipient_desc></recipient_desc>
182
- <logo_url></logo_url>
183
- <shop_url></shop_url>
184
- <api_passwd></api_passwd>
185
- <secret_word></secret_word>
186
- <display>IFRAME</display>
187
- <group>skrillpm</group>
188
- </skrill_settings>
189
- <skrill_general>
190
- <active>1</active>
191
- <sender></sender>
192
- <login></login>
193
- <password></password>
194
- </skrill_general>
195
- <skrill_flexible>
196
- <active>0</active>
197
- <show_separately>1</show_separately>
198
- <model>skrill/method_flexible</model>
199
- <order_status>pending_payment</order_status>
200
- <payment_action>authorize</payment_action>
201
- <title>All Cards and Alternative Payment Methods</title>
202
- <allowspecific>0</allowspecific>
203
- <group>skrillpm</group>
204
- </skrill_flexible>
205
- <skrill_wlt>
206
- <active>0</active>
207
- <show_separately>0</show_separately>
208
- <model>skrill/method_wlt</model>
209
- <order_status>pending_payment</order_status>
210
- <payment_action>authorize</payment_action>
211
- <title>Skrill Wallet</title>
212
- <allowspecific>0</allowspecific>
213
- <group>skrillpm</group>
214
- </skrill_wlt>
215
- <skrill_psc>
216
- <active>0</active>
217
- <gateway>SKRILL</gateway>
218
- <show_separately>0</show_separately>
219
- <server_mode>TEST</server_mode>
220
- <channel_id></channel_id>
221
- <sender></sender>
222
- <login></login>
223
- <password></password>
224
- <model>skrill/method_psc</model>
225
- <order_status>pending_payment</order_status>
226
- <payment_action>authorize</payment_action>
227
- <title>Paysafecard</title>
228
- <allowspecific>1</allowspecific>
229
- <specificcountry>AS,AT,BE,CA,HR,CY,CZ,DK,FI,FR,DE,GU,HU,IE,IT,LV,LU,MT,MX,NL,MP,NO,PL,PT,PR,RO,SK,SI,ES,SE,CH,TR,GB,US,VI</specificcountry>
230
- <group>skrillpm</group>
231
- </skrill_psc>
232
- <skrill_acc>
233
- <active>0</active>
234
- <gateway>SKRILL</gateway>
235
- <show_separately>0</show_separately>
236
- <server_mode>TEST</server_mode>
237
- <card_selection>AMEX,VISA,MASTER,MAESTRO</card_selection>
238
- <transaction_mode>DB</transaction_mode>
239
- <channel_id></channel_id>
240
- <sender></sender>
241
- <login></login>
242
- <password></password>
243
- <model>skrill/method_acc</model>
244
- <order_status>pending_payment</order_status>
245
- <payment_action>authorize</payment_action>
246
- <title>Credit Card / Visa, Mastercard, AMEX</title>
247
- <allowspecific>0</allowspecific>
248
- <group>skrillpm</group>
249
- </skrill_acc>
250
- <skrill_vsa>
251
- <active>0</active>
252
- <show_separately>0</show_separately>
253
- <model>skrill/method_vsa</model>
254
- <order_status>pending_payment</order_status>
255
- <payment_action>authorize</payment_action>
256
- <title>Visa</title>
257
- <allowspecific>0</allowspecific>
258
- <group>skrillpm</group>
259
- </skrill_vsa>
260
- <skrill_msc>
261
- <active>0</active>
262
- <show_separately>0</show_separately>
263
- <model>skrill/method_msc</model>
264
- <order_status>pending_payment</order_status>
265
- <payment_action>authorize</payment_action>
266
- <title>MasterCard</title>
267
- <allowspecific>0</allowspecific>
268
- <group>skrillpm</group>
269
- </skrill_msc>
270
- <skrill_vse>
271
- <active>0</active>
272
- <show_separately>0</show_separately>
273
- <model>skrill/method_vse</model>
274
- <order_status>pending_payment</order_status>
275
- <payment_action>authorize</payment_action>
276
- <title>Visa Electron</title>
277
- <allowspecific>1</allowspecific>
278
- <specificcountry>AF,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BA,BW,BV,BR,IO,VG,BN,BG,BF,BI,KH,CM,CA,CV,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,HR,CU,CY,CZ,CI,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MK,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,KP,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,WS,SM,SA,SN,RS,SC,SL,SG,SK,SI,SB,SO,ZA,GS,KR,ES,LK,VC,SD,SR,SJ,SZ,SE,CH,SY,ST,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UM,VI,UG,UA,AE,GB,UY,UZ,VU,VA,VE,VN,WF,EH,YE,ZM,ZW,AX</specificcountry>
279
- <group>skrillpm</group>
280
- </skrill_vse>
281
- <skrill_mae>
282
- <active>0</active>
283
- <show_separately>0</show_separately>
284
- <model>skrill/method_mae</model>
285
- <order_status>pending_payment</order_status>
286
- <payment_action>authorize</payment_action>
287
- <title>Maestro</title>
288
- <allowspecific>1</allowspecific>
289
- <specificcountry>GB,ES,IE,AT</specificcountry>
290
- <group>skrillpm</group>
291
- </skrill_mae>
292
- <skrill_amx>
293
- <active>0</active>
294
- <show_separately>0</show_separately>
295
- <model>skrill/method_amx</model>
296
- <order_status>pending_payment</order_status>
297
- <payment_action>authorize</payment_action>
298
- <title>American Express</title>
299
- <allowspecific>0</allowspecific>
300
- <group>skrillpm</group>
301
- </skrill_amx>
302
- <skrill_din>
303
- <active>0</active>
304
- <show_separately>0</show_separately>
305
- <model>skrill/method_din</model>
306
- <order_status>pending_payment</order_status>
307
- <payment_action>authorize</payment_action>
308
- <title>Diners</title>
309
- <allowspecific>0</allowspecific>
310
- <group>skrillpm</group>
311
- </skrill_din>
312
- <skrill_jcb>
313
- <active>0</active>
314
- <show_separately>0</show_separately>
315
- <model>skrill/method_jcb</model>
316
- <order_status>pending_payment</order_status>
317
- <payment_action>authorize</payment_action>
318
- <title>JCB</title>
319
- <allowspecific>0</allowspecific>
320
- <group>skrillpm</group>
321
- </skrill_jcb>
322
- <skrill_gcb>
323
- <active>0</active>
324
- <show_separately>0</show_separately>
325
- <model>skrill/method_gcb</model>
326
- <order_status>pending_payment</order_status>
327
- <payment_action>authorize</payment_action>
328
- <title>Carte Bleue by Visa</title>
329
- <allowspecific>1</allowspecific>
330
- <specificcountry>FR</specificcountry>
331
- <group>skrillpm</group>
332
- </skrill_gcb>
333
- <skrill_dnk>
334
- <active>0</active>
335
- <show_separately>0</show_separately>
336
- <model>skrill/method_dnk</model>
337
- <order_status>pending_payment</order_status>
338
- <payment_action>authorize</payment_action>
339
- <title>Dankort by Visa</title>
340
- <allowspecific>1</allowspecific>
341
- <specificcountry>DK</specificcountry>
342
- <group>skrillpm</group>
343
- </skrill_dnk>
344
- <skrill_psp>
345
- <active>0</active>
346
- <show_separately>0</show_separately>
347
- <model>skrill/method_psp</model>
348
- <order_status>pending_payment</order_status>
349
- <payment_action>authorize</payment_action>
350
- <title>PostePay by Visa</title>
351
- <allowspecific>1</allowspecific>
352
- <specificcountry>IT</specificcountry>
353
- <group>skrillpm</group>
354
- </skrill_psp>
355
- <skrill_csi>
356
- <active>0</active>
357
- <show_separately>0</show_separately>
358
- <model>skrill/method_csi</model>
359
- <order_status>pending_payment</order_status>
360
- <payment_action>authorize</payment_action>
361
- <title>CartaSi by Visa</title>
362
- <allowspecific>1</allowspecific>
363
- <specificcountry>IT</specificcountry>
364
- <group>skrillpm</group>
365
- </skrill_csi>
366
- <skrill_obt>
367
- <active>0</active>
368
- <show_separately>0</show_separately>
369
- <model>skrill/method_obt</model>
370
- <order_status>pending_payment</order_status>
371
- <payment_action>authorize</payment_action>
372
- <title>Rapid Transfer</title>
373
- <allowspecific>1</allowspecific>
374
- <specificcountry>DE,GB,FR,IT,ES,HU,AT,PT,SE,FI,DK</specificcountry>
375
- <group>skrillpm</group>
376
- </skrill_obt>
377
- <skrill_ntl>
378
- <active>0</active>
379
- <show_separately>0</show_separately>
380
- <model>skrill/method_ntl</model>
381
- <order_status>pending_payment</order_status>
382
- <payment_action>authorize</payment_action>
383
- <title>Neteller</title>
384
- <allowspecific>1</allowspecific>
385
- <specificcountry>AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AW,AU,AT,AZ,BH,BD,BB,BY,BE,BZ,BJ,BM,BO,BA,BW,BR,BN,BG,BF,BI,KH,CA,CV,KY,CF,TD,CL,CX,CR,CO,KM,CG,HR,CY,CZ,DK,DJ,DM,EC,EG,SV,GQ,EE,ET,FK,FO,FJ,FI,GG,FR,GF,PF,TF,GA,GM,DE,GH,GI,GR,GL,GD,GT,GW,GY,HT,VA,HN,HK,HU,IS,IN,IE,IM,IL,IT,JM,JP,JE,JO,KE,KI,KR,KW,LA,LV,LB,LS,LI,LU,MO,MK,MG,MW,MY,MV,ML,MT,MQ,MR,MU,YT,MX,MD,MC,ME,MA,MZ,NA,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,NO,OM,PS,PA,PY,PE,PH,PN,PL,PT,QA,RE,RO,RU,RW,SH,KN,LC,PM,VC,WS,ST,SA,SN,RS,SC,SG,SK,SI,SB,ZA,ES,LK,SR,SJ,SZ,SE,CH,TZ,TH,TG,TK,TO,TT,TN,TR,TC,TV,UA,AE,GB,UY,VU,VE,VN,WF,EH,ZM</specificcountry>
386
- <group>skrillpm</group>
387
- </skrill_ntl>
388
- <skrill_gir>
389
- <active>0</active>
390
- <gateway>SKRILL</gateway>
391
- <show_separately>0</show_separately>
392
- <server_mode>TEST</server_mode>
393
- <channel_id></channel_id>
394
- <sender></sender>
395
- <login></login>
396
- <password></password>
397
- <model>skrill/method_gir</model>
398
- <order_status>pending_payment</order_status>
399
- <payment_action>authorize</payment_action>
400
- <title>Giropay</title>
401
- <allowspecific>1</allowspecific>
402
- <specificcountry>DE</specificcountry>
403
- <group>skrillpm</group>
404
- </skrill_gir>
405
- <skrill_did>
406
- <active>0</active>
407
- <gateway>SKRILL</gateway>
408
- <show_separately>0</show_separately>
409
- <server_mode>TEST</server_mode>
410
- <channel_id></channel_id>
411
- <sender></sender>
412
- <login></login>
413
- <password></password>
414
- <model>skrill/method_did</model>
415
- <order_status>pending_payment</order_status>
416
- <payment_action>authorize</payment_action>
417
- <title>Direct Debit / ELV</title>
418
- <allowspecific>1</allowspecific>
419
- <specificcountry>DE</specificcountry>
420
- <group>skrillpm</group>
421
- </skrill_did>
422
- <skrill_sft>
423
- <active>0</active>
424
- <gateway>SKRILL</gateway>
425
- <show_separately>0</show_separately>
426
- <server_mode>TEST</server_mode>
427
- <channel_id></channel_id>
428
- <sender></sender>
429
- <login></login>
430
- <password></password>
431
- <model>skrill/method_sft</model>
432
- <order_status>pending_payment</order_status>
433
- <payment_action>authorize</payment_action>
434
- <title>Sofortueberweisung</title>
435
- <allowspecific>1</allowspecific>
436
- <specificcountry>DE,AT,BE,NL,IT,FR,PL,GB</specificcountry>
437
- <group>skrillpm</group>
438
- </skrill_sft>
439
- <skrill_ebt>
440
- <active>0</active>
441
- <show_separately>0</show_separately>
442
- <model>skrill/method_ebt</model>
443
- <order_status>pending_payment</order_status>
444
- <payment_action>authorize</payment_action>
445
- <title>Nordea Solo</title>
446
- <allowspecific>1</allowspecific>
447
- <specificcountry>SE</specificcountry>
448
- <group>skrillpm</group>
449
- </skrill_ebt>
450
- <skrill_idl>
451
- <active>0</active>
452
- <gateway>SKRILL</gateway>
453
- <show_separately>0</show_separately>
454
- <server_mode>TEST</server_mode>
455
- <channel_id></channel_id>
456
- <sender></sender>
457
- <login></login>
458
- <password></password>
459
- <model>skrill/method_idl</model>
460
- <order_status>pending_payment</order_status>
461
- <payment_action>authorize</payment_action>
462
- <title>iDEAL</title>
463
- <allowspecific>1</allowspecific>
464
- <specificcountry>NL</specificcountry>
465
- <group>skrillpm</group>
466
- </skrill_idl>
467
- <skrill_npy>
468
- <active>0</active>
469
- <gateway>SKRILL</gateway>
470
- <show_separately>0</show_separately>
471
- <server_mode>TEST</server_mode>
472
- <channel_id></channel_id>
473
- <sender></sender>
474
- <login></login>
475
- <password></password>
476
- <model>skrill/method_npy</model>
477
- <order_status>pending_payment</order_status>
478
- <payment_action>authorize</payment_action>
479
- <title>EPS (Netpay)</title>
480
- <allowspecific>1</allowspecific>
481
- <specificcountry>AT</specificcountry>
482
- <group>skrillpm</group>
483
- </skrill_npy>
484
- <skrill_pli>
485
- <active>0</active>
486
- <show_separately>0</show_separately>
487
- <model>skrill/method_pli</model>
488
- <order_status>pending_payment</order_status>
489
- <payment_action>authorize</payment_action>
490
- <title>POLi</title>
491
- <allowspecific>1</allowspecific>
492
- <specificcountry>AU</specificcountry>
493
- <group>skrillpm</group>
494
- </skrill_pli>
495
- <skrill_pwy>
496
- <active>0</active>
497
- <show_separately>0</show_separately>
498
- <model>skrill/method_pwy</model>
499
- <order_status>pending_payment</order_status>
500
- <payment_action>authorize</payment_action>
501
- <title>Przelewy24</title>
502
- <allowspecific>1</allowspecific>
503
- <specificcountry>PL</specificcountry>
504
- <group>skrillpm</group>
505
- </skrill_pwy>
506
- <skrill_epy>
507
- <active>0</active>
508
- <show_separately>0</show_separately>
509
- <model>skrill/method_epy</model>
510
- <order_status>pending_payment</order_status>
511
- <payment_action>authorize</payment_action>
512
- <title>ePay.bg</title>
513
- <allowspecific>1</allowspecific>
514
- <specificcountry>BG</specificcountry>
515
- <group>skrillpm</group>
516
- </skrill_epy>
517
- <skrill_glu>
518
- <active>0</active>
519
- <show_separately>0</show_separately>
520
- <model>skrill/method_glu</model>
521
- <order_status>pending_payment</order_status>
522
- <payment_action>authorize</payment_action>
523
- <title>Trustly</title>
524
- <allowspecific>1</allowspecific>
525
- <specificcountry>SE,FI,EE,DK,ES,PL,IT,FR,DE,PT,AT,LV,LT,NL,CZ,SK,GB,NO</specificcountry>
526
- <group>skrillpm</group>
527
- </skrill_glu>
528
- <skrill_ali>
529
- <active>0</active>
530
- <show_separately>0</show_separately>
531
- <model>skrill/method_ali</model>
532
- <order_status>pending_payment</order_status>
533
- <payment_action>authorize</payment_action>
534
- <title>Alipay</title>
535
- <allowspecific>1</allowspecific>
536
- <specificcountry>CN</specificcountry>
537
- <group>skrillpm</group>
538
- </skrill_ali>
539
- <skrill_creditcard>
540
- <active>1</active>
541
- <model>skrill/method_creditcard</model>
542
- <order_status>pending_payment</order_status>
543
- <payment_action>authorize</payment_action>
544
- <title>Credit Card (Enterprise)</title>
545
- <group>skrillpm</group>
546
- </skrill_creditcard>
547
- <skrill_directdebit>
548
- <active>1</active>
549
- <model>skrill/method_directdebit</model>
550
- <order_status>pending_payment</order_status>
551
- <payment_action>authorize</payment_action>
552
- <title>Lastschrift (ELV) (Enterprise)</title>
553
- <group>skrillpm</group>
554
- </skrill_directdebit>
555
- <skrill_eps>
556
- <active>1</active>
557
- <model>skrill/method_eps</model>
558
- <order_status>pending_payment</order_status>
559
- <payment_action>authorize</payment_action>
560
- <title>eps (Enterprise)</title>
561
- <group>skrillpm</group>
562
- </skrill_eps>
563
- <skrill_giropay>
564
- <active>1</active>
565
- <model>skrill/method_giropay</model>
566
- <order_status>pending_payment</order_status>
567
- <payment_action>authorize</payment_action>
568
- <title>giropay (Enterprise)</title>
569
- <group>skrillpm</group>
570
- </skrill_giropay>
571
- <skrill_ideal>
572
- <active>1</active>
573
- <model>skrill/method_ideal</model>
574
- <order_status>pending_payment</order_status>
575
- <payment_action>authorize</payment_action>
576
- <title>iDeal (Enterprise)</title>
577
- <group>skrillpm</group>
578
- </skrill_ideal>
579
- <!-- <skrill_paypal>
580
- <active>0</active>
581
- <gateway>PAYON</gateway>
582
- <model>skrill/method_paypal</model>
583
- <order_status>pending_payment</order_status>
584
- <payment_action>authorize</payment_action>
585
- <title>PayPal (Enterprise)</title>
586
- <server_mode>TEST</server_mode>
587
- <channel_id></channel_id>
588
- <sender></sender>
589
- <login></login>
590
- <password></password>
591
- <group>skrillpm</group>
592
- </skrill_paypal> -->
593
- <skrill_sofortuberweisung>
594
- <active>1</active>
595
- <model>skrill/method_sofortuberweisung</model>
596
- <order_status>pending_payment</order_status>
597
- <payment_action>authorize</payment_action>
598
- <title>SOFORT Ü‎berweisung (Enterprise)</title>
599
- <group>skrillpm</group>
600
- </skrill_sofortuberweisung>
601
- <!-- <skrill_payolutioninv>
602
- <active>0</active>
603
- <gateway>PAYON</gateway>
604
- <model>skrill/method_payolutioninv</model>
605
- <order_status>pending_payment</order_status>
606
- <payment_action>authorize</payment_action>
607
- <title>Payolution Invoice (Enterprise)</title>
608
- <server_mode>TEST</server_mode>
609
- <channel_id></channel_id>
610
- <sender></sender>
611
- <login></login>
612
- <password></password>
613
- <group>skrillpm</group>
614
- </skrill_payolutioninv>
615
- <skrill_payolutionins>
616
- <active>0</active>
617
- <gateway>PAYON</gateway>
618
- <model>skrill/method_payolutionins</model>
619
- <order_status>pending_payment</order_status>
620
- <payment_action>authorize</payment_action>
621
- <title>Payolution Installment (Enterprise)</title>
622
- <server_mode>TEST</server_mode>
623
- <channel_id></channel_id>
624
- <sender></sender>
625
- <login></login>
626
- <password></password>
627
- <group>skrillpm</group>
628
- </skrill_payolutionins> -->
629
- <skrill_paysafecard>
630
- <active>1</active>
631
- <model>skrill/method_paysafecard</model>
632
- <order_status>pending_payment</order_status>
633
- <payment_action>authorize</payment_action>
634
- <title>Paysafecard (Enterprise)</title>
635
- <group>skrillpm</group>
636
- </skrill_paysafecard>
637
- <!-- <skrill_paytrail>
638
- <active>0</active>
639
- <gateway>PAYON</gateway>
640
- <model>skrill/method_paytrail</model>
641
- <order_status>pending_payment</order_status>
642
- <payment_action>authorize</payment_action>
643
- <title>Paytrail (Enterprise)</title>
644
- <server_mode>TEST</server_mode>
645
- <channel_id></channel_id>
646
- <sender></sender>
647
- <login></login>
648
- <password></password>
649
- <group>skrillpm</group>
650
- </skrill_paytrail> -->
651
- <!-- <skrill_yandex>
652
- <active>0</active>
653
- <gateway>PAYON</gateway>
654
- <model>skrill/method_yandex</model>
655
- <order_status>pending_payment</order_status>
656
- <payment_action>authorize</payment_action>
657
- <title>Yandex (Enterprise)</title>
658
- <server_mode>TEST</server_mode>
659
- <channel_id></channel_id>
660
- <sender></sender>
661
- <login></login>
662
- <password></password>
663
- <group>skrillpm</group>
664
- </skrill_yandex> -->
665
- <skrill_adb>
666
- <active>0</active>
667
- <show_separately>0</show_separately>
668
- <model>skrill/method_adb</model>
669
- <order_status>pending_payment</order_status>
670
- <payment_action>authorize</payment_action>
671
- <title>Trustly</title>
672
- <allowspecific>1</allowspecific>
673
- <specificcountry>AR,BR,CN</specificcountry>
674
- <group>skrillpm</group>
675
- </skrill_adb>
676
- <skrill_aob>
677
- <active>0</active>
678
- <show_separately>0</show_separately>
679
- <model>skrill/method_aob</model>
680
- <order_status>pending_payment</order_status>
681
- <payment_action>authorize</payment_action>
682
- <title>Trustly</title>
683
- <allowspecific>1</allowspecific>
684
- <specificcountry>BR,CL,CO</specificcountry>
685
- <group>skrillpm</group>
686
- </skrill_aob>
687
- <skrill_aci>
688
- <active>0</active>
689
- <show_separately>0</show_separately>
690
- <model>skrill/method_aci</model>
691
- <order_status>pending_payment</order_status>
692
- <payment_action>authorize</payment_action>
693
- <title>Trustly</title>
694
- <allowspecific>1</allowspecific>
695
- <specificcountry>AR,BR,CL,CO,MX,UY</specificcountry>
696
- <group>skrillpm</group>
697
- </skrill_aci>
698
- <skrill_aup>
699
- <active>0</active>
700
- <show_separately>0</show_separately>
701
- <model>skrill/method_aup</model>
702
- <order_status>pending_payment</order_status>
703
- <payment_action>authorize</payment_action>
704
- <title>Trustly</title>
705
- <allowspecific>1</allowspecific>
706
- <specificcountry>CN</specificcountry>
707
- <group>skrillpm</group>
708
- </skrill_aup>
709
- </payment>
710
- </default>
711
-
712
  </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <config>
23
+ <modules>
24
+ <Skrill>
25
+ <version>1.0.32</version>
26
+ </Skrill>
27
+ </modules>
28
+
29
+ <global>
30
+ <helpers>
31
+ <skrill>
32
+ <class>Skrill_Helper</class>
33
+ </skrill>
34
+ </helpers>
35
+ <models>
36
+ <skrill>
37
+ <class>Skrill_Model</class>
38
+ </skrill>
39
+ </models>
40
+ <resources>
41
+ <skrill_setup>
42
+ <setup>
43
+ <module>Skrill</module>
44
+ <class>Mage_Core_Model_Resource_Setup</class>
45
+ </setup>
46
+ </skrill_setup>
47
+ </resources>
48
+ <blocks>
49
+ <skrill>
50
+ <class>Skrill_Block</class>
51
+ </skrill>
52
+ </blocks>
53
+ <sales>
54
+ <order>
55
+ <statuses>
56
+ <payment_accepted translate="label">
57
+ <label>SUCCESS_PAYMENT_ACC</label>
58
+ </payment_accepted>
59
+ <payment_remotely translate="label">
60
+ <label>SUCCESS_PREAUTH_ACC</label>
61
+ </payment_remotely>
62
+ <invalid_credential translate="label">
63
+ <label>INVALID_CREDENTIAL</label>
64
+ </invalid_credential>
65
+ </statuses>
66
+ <states>
67
+ <pending_payment>
68
+ <statuses>
69
+ <payment_remotely/>
70
+ </statuses>
71
+ </pending_payment>
72
+ <processing>
73
+ <statuses>
74
+ <payment_accepted/>
75
+ </statuses>
76
+ </processing>
77
+ <processing>
78
+ <statuses>
79
+ <invalid_credential/>
80
+ </statuses>
81
+ </processing>
82
+ </states>
83
+ </order>
84
+ </sales>
85
+ <payment>
86
+ <groups>
87
+ <skrillpm>Skrill Payment Methods</skrillpm>
88
+ </groups>
89
+ </payment>
90
+ </global>
91
+
92
+ <frontend>
93
+ <translate>
94
+ <modules>
95
+ <Skrill>
96
+ <files>
97
+ <default>Skrill.csv</default>
98
+ </files>
99
+ </Skrill>
100
+ </modules>
101
+ </translate>
102
+ </frontend>
103
+
104
+ <adminhtml>
105
+ <translate>
106
+ <modules>
107
+ <Skrill>
108
+ <files>
109
+ <default>Skrill.csv</default>
110
+ </files>
111
+ </Skrill>
112
+ </modules>
113
+ </translate>
114
+ </adminhtml>
115
+
116
+ <admin>
117
+ <routers>
118
+ <skrill>
119
+ <use>admin</use>
120
+ <args>
121
+ <module>Skrill</module>
122
+ <frontName>skrill</frontName>
123
+ </args>
124
+ </skrill>
125
+ <adminhtml>
126
+ <args>
127
+ <modules>
128
+ <Skrill after="Mage_Adminhtml">Skrill</Skrill>
129
+ </modules>
130
+ </args>
131
+ </adminhtml>
132
+ </routers>
133
+ </admin>
134
+
135
+ <frontend>
136
+ <routers>
137
+ <skrill>
138
+ <use>standard</use>
139
+ <args>
140
+ <module>Skrill</module>
141
+ <frontName>skrill</frontName>
142
+ </args>
143
+ </skrill>
144
+ </routers>
145
+ <layout>
146
+ <updates>
147
+ <skrill_checkout>
148
+ <file>skrill_checkout.xml</file>
149
+ </skrill_checkout>
150
+ </updates>
151
+ </layout>
152
+ <events>
153
+ <sales_model_service_quote_submit_success>
154
+ <observers>
155
+ <skrill_success_observer>
156
+ <type>model</type>
157
+ <class>Skrill_Model_Success_Observer</class>
158
+ <method>activateQuote</method>
159
+ </skrill_success_observer>
160
+ </observers>
161
+ </sales_model_service_quote_submit_success>
162
+ </events>
163
+ </frontend>
164
+
165
+ <adminhtml>
166
+ <layout>
167
+ <updates>
168
+ <skrill_system_config>
169
+ <file>skrill/system_config.xml</file>
170
+ </skrill_system_config>
171
+ </updates>
172
+ </layout>
173
+ </adminhtml>
174
+
175
+ <default>
176
+ <payment>
177
+ <skrill_settings>
178
+ <version>1.0.32</version>
179
+ <merchant_id></merchant_id>
180
+ <merchant_account></merchant_account>
181
+ <recipient_desc></recipient_desc>
182
+ <logo_url></logo_url>
183
+ <shop_url></shop_url>
184
+ <api_passwd></api_passwd>
185
+ <secret_word></secret_word>
186
+ <display>IFRAME</display>
187
+ <group>skrillpm</group>
188
+ </skrill_settings>
189
+ <skrill_general>
190
+ <active>1</active>
191
+ <sender></sender>
192
+ <login></login>
193
+ <password></password>
194
+ </skrill_general>
195
+ <skrill_flexible>
196
+ <active>0</active>
197
+ <show_separately>1</show_separately>
198
+ <model>skrill/method_flexible</model>
199
+ <order_status>pending_payment</order_status>
200
+ <payment_action>authorize</payment_action>
201
+ <title>All Cards and Alternative Payment Methods</title>
202
+ <allowspecific>0</allowspecific>
203
+ <group>skrillpm</group>
204
+ </skrill_flexible>
205
+ <skrill_wlt>
206
+ <active>0</active>
207
+ <show_separately>0</show_separately>
208
+ <model>skrill/method_wlt</model>
209
+ <order_status>pending_payment</order_status>
210
+ <payment_action>authorize</payment_action>
211
+ <title>Skrill Wallet</title>
212
+ <allowspecific>0</allowspecific>
213
+ <group>skrillpm</group>
214
+ </skrill_wlt>
215
+ <skrill_psc>
216
+ <active>0</active>
217
+ <gateway>SKRILL</gateway>
218
+ <show_separately>0</show_separately>
219
+ <server_mode>TEST</server_mode>
220
+ <channel_id></channel_id>
221
+ <sender></sender>
222
+ <login></login>
223
+ <password></password>
224
+ <model>skrill/method_psc</model>
225
+ <order_status>pending_payment</order_status>
226
+ <payment_action>authorize</payment_action>
227
+ <title>Paysafecard</title>
228
+ <allowspecific>1</allowspecific>
229
+ <specificcountry>AS,AT,BE,CA,HR,CY,CZ,DK,FI,FR,DE,GU,HU,IE,IT,LV,LU,MT,MX,NL,MP,NO,PL,PT,PR,RO,SK,SI,ES,SE,CH,TR,GB,US,VI</specificcountry>
230
+ <group>skrillpm</group>
231
+ </skrill_psc>
232
+ <skrill_acc>
233
+ <active>0</active>
234
+ <gateway>SKRILL</gateway>
235
+ <show_separately>0</show_separately>
236
+ <server_mode>TEST</server_mode>
237
+ <card_selection>AMEX,VISA,MASTER,MAESTRO</card_selection>
238
+ <transaction_mode>DB</transaction_mode>
239
+ <channel_id></channel_id>
240
+ <sender></sender>
241
+ <login></login>
242
+ <password></password>
243
+ <model>skrill/method_acc</model>
244
+ <order_status>pending_payment</order_status>
245
+ <payment_action>authorize</payment_action>
246
+ <title>Credit Card / Visa, Mastercard, AMEX</title>
247
+ <allowspecific>0</allowspecific>
248
+ <group>skrillpm</group>
249
+ </skrill_acc>
250
+ <skrill_vsa>
251
+ <active>0</active>
252
+ <show_separately>0</show_separately>
253
+ <model>skrill/method_vsa</model>
254
+ <order_status>pending_payment</order_status>
255
+ <payment_action>authorize</payment_action>
256
+ <title>Visa</title>
257
+ <allowspecific>0</allowspecific>
258
+ <group>skrillpm</group>
259
+ </skrill_vsa>
260
+ <skrill_msc>
261
+ <active>0</active>
262
+ <show_separately>0</show_separately>
263
+ <model>skrill/method_msc</model>
264
+ <order_status>pending_payment</order_status>
265
+ <payment_action>authorize</payment_action>
266
+ <title>MasterCard</title>
267
+ <allowspecific>0</allowspecific>
268
+ <group>skrillpm</group>
269
+ </skrill_msc>
270
+ <skrill_vse>
271
+ <active>0</active>
272
+ <show_separately>0</show_separately>
273
+ <model>skrill/method_vse</model>
274
+ <order_status>pending_payment</order_status>
275
+ <payment_action>authorize</payment_action>
276
+ <title>Visa Electron</title>
277
+ <allowspecific>1</allowspecific>
278
+ <specificcountry>AF,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BA,BW,BV,BR,IO,VG,BN,BG,BF,BI,KH,CM,CA,CV,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,HR,CU,CY,CZ,CI,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MK,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,KP,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,WS,SM,SA,SN,RS,SC,SL,SG,SK,SI,SB,SO,ZA,GS,KR,ES,LK,VC,SD,SR,SJ,SZ,SE,CH,SY,ST,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UM,VI,UG,UA,AE,GB,UY,UZ,VU,VA,VE,VN,WF,EH,YE,ZM,ZW,AX</specificcountry>
279
+ <group>skrillpm</group>
280
+ </skrill_vse>
281
+ <skrill_mae>
282
+ <active>0</active>
283
+ <show_separately>0</show_separately>
284
+ <model>skrill/method_mae</model>
285
+ <order_status>pending_payment</order_status>
286
+ <payment_action>authorize</payment_action>
287
+ <title>Maestro</title>
288
+ <allowspecific>1</allowspecific>
289
+ <specificcountry>GB,ES,IE,AT</specificcountry>
290
+ <group>skrillpm</group>
291
+ </skrill_mae>
292
+ <skrill_amx>
293
+ <active>0</active>
294
+ <show_separately>0</show_separately>
295
+ <model>skrill/method_amx</model>
296
+ <order_status>pending_payment</order_status>
297
+ <payment_action>authorize</payment_action>
298
+ <title>American Express</title>
299
+ <allowspecific>0</allowspecific>
300
+ <group>skrillpm</group>
301
+ </skrill_amx>
302
+ <skrill_din>
303
+ <active>0</active>
304
+ <show_separately>0</show_separately>
305
+ <model>skrill/method_din</model>
306
+ <order_status>pending_payment</order_status>
307
+ <payment_action>authorize</payment_action>
308
+ <title>Diners</title>
309
+ <allowspecific>0</allowspecific>
310
+ <group>skrillpm</group>
311
+ </skrill_din>
312
+ <skrill_jcb>
313
+ <active>0</active>
314
+ <show_separately>0</show_separately>
315
+ <model>skrill/method_jcb</model>
316
+ <order_status>pending_payment</order_status>
317
+ <payment_action>authorize</payment_action>
318
+ <title>JCB</title>
319
+ <allowspecific>0</allowspecific>
320
+ <group>skrillpm</group>
321
+ </skrill_jcb>
322
+ <skrill_gcb>
323
+ <active>0</active>
324
+ <show_separately>0</show_separately>
325
+ <model>skrill/method_gcb</model>
326
+ <order_status>pending_payment</order_status>
327
+ <payment_action>authorize</payment_action>
328
+ <title>Carte Bleue by Visa</title>
329
+ <allowspecific>1</allowspecific>
330
+ <specificcountry>FR</specificcountry>
331
+ <group>skrillpm</group>
332
+ </skrill_gcb>
333
+ <skrill_dnk>
334
+ <active>0</active>
335
+ <show_separately>0</show_separately>
336
+ <model>skrill/method_dnk</model>
337
+ <order_status>pending_payment</order_status>
338
+ <payment_action>authorize</payment_action>
339
+ <title>Dankort by Visa</title>
340
+ <allowspecific>1</allowspecific>
341
+ <specificcountry>DK</specificcountry>
342
+ <group>skrillpm</group>
343
+ </skrill_dnk>
344
+ <skrill_psp>
345
+ <active>0</active>
346
+ <show_separately>0</show_separately>
347
+ <model>skrill/method_psp</model>
348
+ <order_status>pending_payment</order_status>
349
+ <payment_action>authorize</payment_action>
350
+ <title>PostePay by Visa</title>
351
+ <allowspecific>1</allowspecific>
352
+ <specificcountry>IT</specificcountry>
353
+ <group>skrillpm</group>
354
+ </skrill_psp>
355
+ <skrill_csi>
356
+ <active>0</active>
357
+ <show_separately>0</show_separately>
358
+ <model>skrill/method_csi</model>
359
+ <order_status>pending_payment</order_status>
360
+ <payment_action>authorize</payment_action>
361
+ <title>CartaSi by Visa</title>
362
+ <allowspecific>1</allowspecific>
363
+ <specificcountry>IT</specificcountry>
364
+ <group>skrillpm</group>
365
+ </skrill_csi>
366
+ <skrill_obt>
367
+ <active>0</active>
368
+ <show_separately>0</show_separately>
369
+ <model>skrill/method_obt</model>
370
+ <order_status>pending_payment</order_status>
371
+ <payment_action>authorize</payment_action>
372
+ <title>Rapid Transfer</title>
373
+ <allowspecific>1</allowspecific>
374
+ <specificcountry>DE,GB,FR,IT,ES,HU,AT,PT,SE,FI,DK</specificcountry>
375
+ <group>skrillpm</group>
376
+ </skrill_obt>
377
+ <skrill_ntl>
378
+ <active>0</active>
379
+ <show_separately>0</show_separately>
380
+ <model>skrill/method_ntl</model>
381
+ <order_status>pending_payment</order_status>
382
+ <payment_action>authorize</payment_action>
383
+ <title>Neteller</title>
384
+ <allowspecific>1</allowspecific>
385
+ <specificcountry>AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AW,AU,AT,AZ,BH,BD,BB,BY,BE,BZ,BJ,BM,BO,BA,BW,BR,BN,BG,BF,BI,KH,CA,CV,KY,CF,TD,CL,CX,CR,CO,KM,CG,HR,CY,CZ,DK,DJ,DM,EC,EG,SV,GQ,EE,ET,FK,FO,FJ,FI,GG,FR,GF,PF,TF,GA,GM,DE,GH,GI,GR,GL,GD,GT,GW,GY,HT,VA,HN,HK,HU,IS,IN,IE,IM,IL,IT,JM,JP,JE,JO,KE,KI,KR,KW,LA,LV,LB,LS,LI,LU,MO,MK,MG,MW,MY,MV,ML,MT,MQ,MR,MU,YT,MX,MD,MC,ME,MA,MZ,NA,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,NO,OM,PS,PA,PY,PE,PH,PN,PL,PT,QA,RE,RO,RU,RW,SH,KN,LC,PM,VC,WS,ST,SA,SN,RS,SC,SG,SK,SI,SB,ZA,ES,LK,SR,SJ,SZ,SE,CH,TZ,TH,TG,TK,TO,TT,TN,TR,TC,TV,UA,AE,GB,UY,VU,VE,VN,WF,EH,ZM</specificcountry>
386
+ <group>skrillpm</group>
387
+ </skrill_ntl>
388
+ <skrill_gir>
389
+ <active>0</active>
390
+ <gateway>SKRILL</gateway>
391
+ <show_separately>0</show_separately>
392
+ <server_mode>TEST</server_mode>
393
+ <channel_id></channel_id>
394
+ <sender></sender>
395
+ <login></login>
396
+ <password></password>
397
+ <model>skrill/method_gir</model>
398
+ <order_status>pending_payment</order_status>
399
+ <payment_action>authorize</payment_action>
400
+ <title>Giropay</title>
401
+ <allowspecific>1</allowspecific>
402
+ <specificcountry>DE</specificcountry>
403
+ <group>skrillpm</group>
404
+ </skrill_gir>
405
+ <skrill_did>
406
+ <active>0</active>
407
+ <gateway>SKRILL</gateway>
408
+ <show_separately>0</show_separately>
409
+ <server_mode>TEST</server_mode>
410
+ <channel_id></channel_id>
411
+ <sender></sender>
412
+ <login></login>
413
+ <password></password>
414
+ <model>skrill/method_did</model>
415
+ <order_status>pending_payment</order_status>
416
+ <payment_action>authorize</payment_action>
417
+ <title>Direct Debit / ELV</title>
418
+ <allowspecific>1</allowspecific>
419
+ <specificcountry>DE</specificcountry>
420
+ <group>skrillpm</group>
421
+ </skrill_did>
422
+ <skrill_sft>
423
+ <active>0</active>
424
+ <gateway>SKRILL</gateway>
425
+ <show_separately>0</show_separately>
426
+ <server_mode>TEST</server_mode>
427
+ <channel_id></channel_id>
428
+ <sender></sender>
429
+ <login></login>
430
+ <password></password>
431
+ <model>skrill/method_sft</model>
432
+ <order_status>pending_payment</order_status>
433
+ <payment_action>authorize</payment_action>
434
+ <title>Sofortueberweisung</title>
435
+ <allowspecific>1</allowspecific>
436
+ <specificcountry>DE,AT,BE,NL,IT,FR,PL,GB</specificcountry>
437
+ <group>skrillpm</group>
438
+ </skrill_sft>
439
+ <skrill_ebt>
440
+ <active>0</active>
441
+ <show_separately>0</show_separately>
442
+ <model>skrill/method_ebt</model>
443
+ <order_status>pending_payment</order_status>
444
+ <payment_action>authorize</payment_action>
445
+ <title>Nordea Solo</title>
446
+ <allowspecific>1</allowspecific>
447
+ <specificcountry>SE</specificcountry>
448
+ <group>skrillpm</group>
449
+ </skrill_ebt>
450
+ <skrill_idl>
451
+ <active>0</active>
452
+ <gateway>SKRILL</gateway>
453
+ <show_separately>0</show_separately>
454
+ <server_mode>TEST</server_mode>
455
+ <channel_id></channel_id>
456
+ <sender></sender>
457
+ <login></login>
458
+ <password></password>
459
+ <model>skrill/method_idl</model>
460
+ <order_status>pending_payment</order_status>
461
+ <payment_action>authorize</payment_action>
462
+ <title>iDEAL</title>
463
+ <allowspecific>1</allowspecific>
464
+ <specificcountry>NL</specificcountry>
465
+ <group>skrillpm</group>
466
+ </skrill_idl>
467
+ <skrill_npy>
468
+ <active>0</active>
469
+ <gateway>SKRILL</gateway>
470
+ <show_separately>0</show_separately>
471
+ <server_mode>TEST</server_mode>
472
+ <channel_id></channel_id>
473
+ <sender></sender>
474
+ <login></login>
475
+ <password></password>
476
+ <model>skrill/method_npy</model>
477
+ <order_status>pending_payment</order_status>
478
+ <payment_action>authorize</payment_action>
479
+ <title>EPS (Netpay)</title>
480
+ <allowspecific>1</allowspecific>
481
+ <specificcountry>AT</specificcountry>
482
+ <group>skrillpm</group>
483
+ </skrill_npy>
484
+ <skrill_pli>
485
+ <active>0</active>
486
+ <show_separately>0</show_separately>
487
+ <model>skrill/method_pli</model>
488
+ <order_status>pending_payment</order_status>
489
+ <payment_action>authorize</payment_action>
490
+ <title>POLi</title>
491
+ <allowspecific>1</allowspecific>
492
+ <specificcountry>AU</specificcountry>
493
+ <group>skrillpm</group>
494
+ </skrill_pli>
495
+ <skrill_pwy>
496
+ <active>0</active>
497
+ <show_separately>0</show_separately>
498
+ <model>skrill/method_pwy</model>
499
+ <order_status>pending_payment</order_status>
500
+ <payment_action>authorize</payment_action>
501
+ <title>Przelewy24</title>
502
+ <allowspecific>1</allowspecific>
503
+ <specificcountry>PL</specificcountry>
504
+ <group>skrillpm</group>
505
+ </skrill_pwy>
506
+ <skrill_epy>
507
+ <active>0</active>
508
+ <show_separately>0</show_separately>
509
+ <model>skrill/method_epy</model>
510
+ <order_status>pending_payment</order_status>
511
+ <payment_action>authorize</payment_action>
512
+ <title>ePay.bg</title>
513
+ <allowspecific>1</allowspecific>
514
+ <specificcountry>BG</specificcountry>
515
+ <group>skrillpm</group>
516
+ </skrill_epy>
517
+ <skrill_glu>
518
+ <active>0</active>
519
+ <show_separately>0</show_separately>
520
+ <model>skrill/method_glu</model>
521
+ <order_status>pending_payment</order_status>
522
+ <payment_action>authorize</payment_action>
523
+ <title>Trustly</title>
524
+ <allowspecific>1</allowspecific>
525
+ <specificcountry>SE,FI,EE,DK,ES,PL,IT,FR,DE,PT,AT,LV,LT,NL,CZ,SK,GB,NO</specificcountry>
526
+ <group>skrillpm</group>
527
+ </skrill_glu>
528
+ <skrill_ali>
529
+ <active>0</active>
530
+ <show_separately>0</show_separately>
531
+ <model>skrill/method_ali</model>
532
+ <order_status>pending_payment</order_status>
533
+ <payment_action>authorize</payment_action>
534
+ <title>Alipay</title>
535
+ <allowspecific>1</allowspecific>
536
+ <specificcountry>CN</specificcountry>
537
+ <group>skrillpm</group>
538
+ </skrill_ali>
539
+ <skrill_creditcard>
540
+ <active>1</active>
541
+ <model>skrill/method_creditcard</model>
542
+ <order_status>pending_payment</order_status>
543
+ <payment_action>authorize</payment_action>
544
+ <title>Credit Card (Enterprise)</title>
545
+ <group>skrillpm</group>
546
+ </skrill_creditcard>
547
+ <skrill_directdebit>
548
+ <active>1</active>
549
+ <model>skrill/method_directdebit</model>
550
+ <order_status>pending_payment</order_status>
551
+ <payment_action>authorize</payment_action>
552
+ <title>Lastschrift (ELV) (Enterprise)</title>
553
+ <group>skrillpm</group>
554
+ </skrill_directdebit>
555
+ <skrill_eps>
556
+ <active>1</active>
557
+ <model>skrill/method_eps</model>
558
+ <order_status>pending_payment</order_status>
559
+ <payment_action>authorize</payment_action>
560
+ <title>eps (Enterprise)</title>
561
+ <group>skrillpm</group>
562
+ </skrill_eps>
563
+ <skrill_giropay>
564
+ <active>1</active>
565
+ <model>skrill/method_giropay</model>
566
+ <order_status>pending_payment</order_status>
567
+ <payment_action>authorize</payment_action>
568
+ <title>giropay (Enterprise)</title>
569
+ <group>skrillpm</group>
570
+ </skrill_giropay>
571
+ <skrill_ideal>
572
+ <active>1</active>
573
+ <model>skrill/method_ideal</model>
574
+ <order_status>pending_payment</order_status>
575
+ <payment_action>authorize</payment_action>
576
+ <title>iDeal (Enterprise)</title>
577
+ <group>skrillpm</group>
578
+ </skrill_ideal>
579
+ <!-- <skrill_paypal>
580
+ <active>0</active>
581
+ <gateway>PAYON</gateway>
582
+ <model>skrill/method_paypal</model>
583
+ <order_status>pending_payment</order_status>
584
+ <payment_action>authorize</payment_action>
585
+ <title>PayPal (Enterprise)</title>
586
+ <server_mode>TEST</server_mode>
587
+ <channel_id></channel_id>
588
+ <sender></sender>
589
+ <login></login>
590
+ <password></password>
591
+ <group>skrillpm</group>
592
+ </skrill_paypal> -->
593
+ <skrill_sofortuberweisung>
594
+ <active>1</active>
595
+ <model>skrill/method_sofortuberweisung</model>
596
+ <order_status>pending_payment</order_status>
597
+ <payment_action>authorize</payment_action>
598
+ <title>SOFORT Ü‎berweisung (Enterprise)</title>
599
+ <group>skrillpm</group>
600
+ </skrill_sofortuberweisung>
601
+ <!-- <skrill_payolutioninv>
602
+ <active>0</active>
603
+ <gateway>PAYON</gateway>
604
+ <model>skrill/method_payolutioninv</model>
605
+ <order_status>pending_payment</order_status>
606
+ <payment_action>authorize</payment_action>
607
+ <title>Payolution Invoice (Enterprise)</title>
608
+ <server_mode>TEST</server_mode>
609
+ <channel_id></channel_id>
610
+ <sender></sender>
611
+ <login></login>
612
+ <password></password>
613
+ <group>skrillpm</group>
614
+ </skrill_payolutioninv>
615
+ <skrill_payolutionins>
616
+ <active>0</active>
617
+ <gateway>PAYON</gateway>
618
+ <model>skrill/method_payolutionins</model>
619
+ <order_status>pending_payment</order_status>
620
+ <payment_action>authorize</payment_action>
621
+ <title>Payolution Installment (Enterprise)</title>
622
+ <server_mode>TEST</server_mode>
623
+ <channel_id></channel_id>
624
+ <sender></sender>
625
+ <login></login>
626
+ <password></password>
627
+ <group>skrillpm</group>
628
+ </skrill_payolutionins> -->
629
+ <skrill_paysafecard>
630
+ <active>1</active>
631
+ <model>skrill/method_paysafecard</model>
632
+ <order_status>pending_payment</order_status>
633
+ <payment_action>authorize</payment_action>
634
+ <title>Paysafecard (Enterprise)</title>
635
+ <group>skrillpm</group>
636
+ </skrill_paysafecard>
637
+ <!-- <skrill_paytrail>
638
+ <active>0</active>
639
+ <gateway>PAYON</gateway>
640
+ <model>skrill/method_paytrail</model>
641
+ <order_status>pending_payment</order_status>
642
+ <payment_action>authorize</payment_action>
643
+ <title>Paytrail (Enterprise)</title>
644
+ <server_mode>TEST</server_mode>
645
+ <channel_id></channel_id>
646
+ <sender></sender>
647
+ <login></login>
648
+ <password></password>
649
+ <group>skrillpm</group>
650
+ </skrill_paytrail> -->
651
+ <!-- <skrill_yandex>
652
+ <active>0</active>
653
+ <gateway>PAYON</gateway>
654
+ <model>skrill/method_yandex</model>
655
+ <order_status>pending_payment</order_status>
656
+ <payment_action>authorize</payment_action>
657
+ <title>Yandex (Enterprise)</title>
658
+ <server_mode>TEST</server_mode>
659
+ <channel_id></channel_id>
660
+ <sender></sender>
661
+ <login></login>
662
+ <password></password>
663
+ <group>skrillpm</group>
664
+ </skrill_yandex> -->
665
+ <skrill_adb>
666
+ <active>0</active>
667
+ <show_separately>0</show_separately>
668
+ <model>skrill/method_adb</model>
669
+ <order_status>pending_payment</order_status>
670
+ <payment_action>authorize</payment_action>
671
+ <title>Trustly</title>
672
+ <allowspecific>1</allowspecific>
673
+ <specificcountry>AR,BR,CN</specificcountry>
674
+ <group>skrillpm</group>
675
+ </skrill_adb>
676
+ <skrill_aob>
677
+ <active>0</active>
678
+ <show_separately>0</show_separately>
679
+ <model>skrill/method_aob</model>
680
+ <order_status>pending_payment</order_status>
681
+ <payment_action>authorize</payment_action>
682
+ <title>Trustly</title>
683
+ <allowspecific>1</allowspecific>
684
+ <specificcountry>BR,CL,CO</specificcountry>
685
+ <group>skrillpm</group>
686
+ </skrill_aob>
687
+ <skrill_aci>
688
+ <active>0</active>
689
+ <show_separately>0</show_separately>
690
+ <model>skrill/method_aci</model>
691
+ <order_status>pending_payment</order_status>
692
+ <payment_action>authorize</payment_action>
693
+ <title>Trustly</title>
694
+ <allowspecific>1</allowspecific>
695
+ <specificcountry>AR,BR,CL,CO,MX,PE,UY</specificcountry>
696
+ <group>skrillpm</group>
697
+ </skrill_aci>
698
+ <skrill_aup>
699
+ <active>0</active>
700
+ <show_separately>0</show_separately>
701
+ <model>skrill/method_aup</model>
702
+ <order_status>pending_payment</order_status>
703
+ <payment_action>authorize</payment_action>
704
+ <title>Trustly</title>
705
+ <allowspecific>1</allowspecific>
706
+ <specificcountry>CN</specificcountry>
707
+ <group>skrillpm</group>
708
+ </skrill_aup>
709
+ </payment>
710
+ </default>
711
+
712
  </config>
app/code/community/Skrill/etc/system.xml CHANGED
@@ -1,2884 +1,2884 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- -->
22
- <config>
23
- <sections>
24
- <skrill translate="label" module="skrill">
25
- <label>SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME</label>
26
- <tab>sales</tab>
27
- <frontend_type>text</frontend_type>
28
- <sort_order>1000</sort_order>
29
- <show_in_default>1</show_in_default>
30
- <show_in_website>1</show_in_website>
31
- <show_in_store>1</show_in_store>
32
- <groups>
33
- <skrill_settings translate="label">
34
- <label>SKRILL_BACKEND_PM_SETTINGS</label>
35
- <frontend_type>text</frontend_type>
36
- <sort_order>98</sort_order>
37
- <show_in_default>1</show_in_default>
38
- <show_in_website>1</show_in_website>
39
- <show_in_store>1</show_in_store>
40
- <fields>
41
- <version>
42
- <label>v1.0.31</label>
43
- <sort_order>1</sort_order>
44
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
45
- <frontend_type>label</frontend_type>
46
- <show_in_default>1</show_in_default>
47
- <show_in_website>1</show_in_website>
48
- <show_in_store>1</show_in_store>
49
- </version>
50
- <merchant_id translate="label,comment">
51
- <label>SKRILL_BACKEND_MID</label>
52
- <comment>SKRILL_BACKEND_TT_MID</comment>
53
- <frontend_type>text</frontend_type>
54
- <config_path>payment/skrill_settings/merchant_id</config_path>
55
- <sort_order>2</sort_order>
56
- <validate>required-entry</validate>
57
- <show_in_default>1</show_in_default>
58
- <show_in_website>1</show_in_website>
59
- <show_in_store>1</show_in_store>
60
- </merchant_id>
61
- <merchant_account translate="label,comment">
62
- <label>SKRILL_BACKEND_MERCHANT</label>
63
- <comment>SKRILL_BACKEND_TT_MEMAIL</comment>
64
- <frontend_type>text</frontend_type>
65
- <config_path>payment/skrill_settings/merchant_account</config_path>
66
- <sort_order>3</sort_order>
67
- <validate>required-entry</validate>
68
- <show_in_default>1</show_in_default>
69
- <show_in_website>1</show_in_website>
70
- <show_in_store>1</show_in_store>
71
- </merchant_account>
72
- <recipient_desc translate="label,comment">
73
- <label>SKRILL_BACKEND_RECIPIENT</label>
74
- <comment>SKRILL_BACKEND_TT_RECIPIENT</comment>
75
- <frontend_type>text</frontend_type>
76
- <config_path>payment/skrill_settings/recipient_desc</config_path>
77
- <sort_order>4</sort_order>
78
- <show_in_default>1</show_in_default>
79
- <show_in_website>1</show_in_website>
80
- <show_in_store>1</show_in_store>
81
- </recipient_desc>
82
- <logo_url translate="label,comment">
83
- <label>SKRILL_BACKEND_LOGO</label>
84
- <comment>SKRILL_BACKEND_TT_LOGO</comment>
85
- <frontend_type>text</frontend_type>
86
- <config_path>payment/skrill_settings/logo_url</config_path>
87
- <sort_order>5</sort_order>
88
- <show_in_default>1</show_in_default>
89
- <show_in_website>1</show_in_website>
90
- <show_in_store>1</show_in_store>
91
- </logo_url>
92
- <shop_url translate="label,comment">
93
- <label>SKRILL_BACKEND_SHOPURL</label>
94
- <frontend_type>text</frontend_type>
95
- <config_path>payment/skrill_settings/shop_url</config_path>
96
- <sort_order>6</sort_order>
97
- <show_in_default>1</show_in_default>
98
- <show_in_website>1</show_in_website>
99
- <show_in_store>1</show_in_store>
100
- </shop_url>
101
- <api_passwd translate="label,comment">
102
- <label>SKRILL_BACKEND_APIPASS</label>
103
- <comment>SKRILL_BACKEND_TT_APIPW</comment>
104
- <frontend_type>obscure</frontend_type>
105
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
106
- <config_path>payment/skrill_settings/api_passwd</config_path>
107
- <sort_order>7</sort_order>
108
- <validate>required-entry</validate>
109
- <show_in_default>1</show_in_default>
110
- <show_in_website>1</show_in_website>
111
- <show_in_store>1</show_in_store>
112
- </api_passwd>
113
- <secret_word translate="label,comment">
114
- <label>SKRILL_BACKEND_SECRETWORD</label>
115
- <comment>SKRILL_BACKEND_TT_SECRET</comment>
116
- <frontend_type>obscure</frontend_type>
117
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
118
- <config_path>payment/skrill_settings/secret_word</config_path>
119
- <sort_order>8</sort_order>
120
- <validate>required-entry</validate>
121
- <show_in_default>1</show_in_default>
122
- <show_in_website>1</show_in_website>
123
- <show_in_store>1</show_in_store>
124
- </secret_word>
125
- <display translate="label,comment">
126
- <label>SKRILL_BACKEND_DISPLAY</label>
127
- <comment>SKRILL_BACKEND_TT_DISPLAY</comment>
128
- <frontend_type>select</frontend_type>
129
- <config_path>payment/skrill_settings/display</config_path>
130
- <sort_order>9</sort_order>
131
- <source_model>skrill/source_display</source_model>
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
- </display>
136
- <merchant_email translate="label,comment">
137
- <label>SKRILL_BACKEND_MERCHANTEMAIL</label>
138
- <comment>SKRILL_BACKEND_TT_MERCHANTEMAIL</comment>
139
- <frontend_type>text</frontend_type>
140
- <config_path>payment/skrill_settings/merchant_email</config_path>
141
- <sort_order>10</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
- </merchant_email>
146
- </fields>
147
- </skrill_settings>
148
- <!-- <skrill_general module="skrill" translate="label">
149
- <label>SKRILL_BACKEND_PM_PAYONSETTING</label>
150
- <show_in_default>1</show_in_default>
151
- <show_in_website>1</show_in_website>
152
- <show_in_store>1</show_in_store>
153
- <sort_order>99</sort_order>
154
- <fields>
155
- <version>
156
- <label>v1.0.31</label>
157
- <sort_order>1</sort_order>
158
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
159
- <frontend_type>label</frontend_type>
160
- <show_in_default>1</show_in_default>
161
- <show_in_website>1</show_in_website>
162
- <show_in_store>1</show_in_store>
163
- </version>
164
- <active translate="label">
165
- <label>BACKEND_CH_ACTIVE</label>
166
- <sort_order>2</sort_order>
167
- <config_path>payment/skrill_general/active</config_path>
168
- <frontend_type>select</frontend_type>
169
- <source_model>adminhtml/system_config_source_yesno</source_model>
170
- <show_in_default>1</show_in_default>
171
- <show_in_website>1</show_in_website>
172
- <show_in_store>1</show_in_store>
173
- </active>
174
- <sender translate="label">
175
- <label>BACKEND_CH_SENDER</label>
176
- <sort_order>3</sort_order>
177
- <config_path>payment/skrill_general/sender</config_path>
178
- <frontend_type>text</frontend_type>
179
- <show_in_default>1</show_in_default>
180
- <show_in_website>1</show_in_website>
181
- <show_in_store>1</show_in_store>
182
- </sender>
183
- <login translate="label">
184
- <label>BACKEND_CH_LOGIN</label>
185
- <sort_order>4</sort_order>
186
- <config_path>payment/skrill_general/login</config_path>
187
- <frontend_type>text</frontend_type>
188
- <show_in_default>1</show_in_default>
189
- <show_in_website>1</show_in_website>
190
- <show_in_store>1</show_in_store>
191
- </login>
192
- <password translate="label">
193
- <label>BACKEND_CH_PASSWORD</label>
194
- <sort_order>5</sort_order>
195
- <config_path>payment/skrill_general/password</config_path>
196
- <frontend_type>text</frontend_type>
197
- <show_in_default>1</show_in_default>
198
- <show_in_website>1</show_in_website>
199
- <show_in_store>1</show_in_store>
200
- </password>
201
- </fields>
202
- </skrill_general> -->
203
- <skrill_flexible translate="label,comment">
204
- <label>SKRILL_BACKEND_PM_FLEXIBLE</label>
205
- <comment>SKRILL_BACKEND_TT_APM</comment>
206
- <frontend_type>text</frontend_type>
207
- <sort_order>100</sort_order>
208
- <show_in_default>1</show_in_default>
209
- <show_in_website>1</show_in_website>
210
- <show_in_store>1</show_in_store>
211
- <fields>
212
- <!-- <version>
213
- <label>v1.0.31</label>
214
- <sort_order>1</sort_order>
215
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
216
- <frontend_type>label</frontend_type>
217
- <show_in_default>1</show_in_default>
218
- <show_in_website>1</show_in_website>
219
- <show_in_store>1</show_in_store>
220
- </version> -->
221
- <active translate="label">
222
- <label>BACKEND_CH_ACTIVE</label>
223
- <comment>All Countries</comment>
224
- <sort_order>2</sort_order>
225
- <frontend_type>select</frontend_type>
226
- <config_path>payment/skrill_flexible/active</config_path>
227
- <source_model>adminhtml/system_config_source_yesno</source_model>
228
- <show_in_default>1</show_in_default>
229
- <show_in_website>1</show_in_website>
230
- <show_in_store>1</show_in_store>
231
- </active>
232
- <sort_order translate="label">
233
- <label>BACKEND_CH_ORDER</label>
234
- <frontend_type>text</frontend_type>
235
- <config_path>payment/skrill_flexible/sort_order</config_path>
236
- <sort_order>6</sort_order>
237
- <show_in_default>1</show_in_default>
238
- <show_in_website>1</show_in_website>
239
- <show_in_store>1</show_in_store>
240
- </sort_order>
241
- </fields>
242
- </skrill_flexible>
243
- <skrill_wlt translate="label">
244
- <label>SKRILL_BACKEND_PM_WLT</label>
245
- <frontend_type>text</frontend_type>
246
- <sort_order>101</sort_order>
247
- <show_in_default>1</show_in_default>
248
- <show_in_website>1</show_in_website>
249
- <show_in_store>1</show_in_store>
250
- <fields>
251
- <!-- <version>
252
- <label>v1.0.31</label>
253
- <sort_order>1</sort_order>
254
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
255
- <frontend_type>label</frontend_type>
256
- <show_in_default>1</show_in_default>
257
- <show_in_website>1</show_in_website>
258
- <show_in_store>1</show_in_store>
259
- </version> -->
260
- <active translate="label">
261
- <label>BACKEND_CH_ACTIVE</label>
262
- <comment>All Countries</comment>
263
- <sort_order>2</sort_order>
264
- <frontend_type>select</frontend_type>
265
- <config_path>payment/skrill_wlt/active</config_path>
266
- <source_model>adminhtml/system_config_source_yesno</source_model>
267
- <show_in_default>1</show_in_default>
268
- <show_in_website>1</show_in_website>
269
- <show_in_store>1</show_in_store>
270
- </active>
271
- <show_separately translate="label">
272
- <label>SKRILL_BACKEND_PM_MODE</label>
273
- <sort_order>3</sort_order>
274
- <frontend_type>select</frontend_type>
275
- <config_path>payment/skrill_wlt/show_separately</config_path>
276
- <source_model>adminhtml/system_config_source_yesno</source_model>
277
- <show_in_default>1</show_in_default>
278
- <show_in_website>1</show_in_website>
279
- <show_in_store>1</show_in_store>
280
- </show_separately>
281
- <sort_order translate="label">
282
- <label>BACKEND_CH_ORDER</label>
283
- <frontend_type>text</frontend_type>
284
- <config_path>payment/skrill_wlt/sort_order</config_path>
285
- <sort_order>6</sort_order>
286
- <show_in_default>1</show_in_default>
287
- <show_in_website>1</show_in_website>
288
- <show_in_store>1</show_in_store>
289
- </sort_order>
290
- </fields>
291
- </skrill_wlt>
292
- <skrill_psc translate="label">
293
- <label>SKRILL_BACKEND_PM_PSC</label>
294
- <frontend_type>text</frontend_type>
295
- <sort_order>102</sort_order>
296
- <show_in_default>1</show_in_default>
297
- <show_in_website>1</show_in_website>
298
- <show_in_store>1</show_in_store>
299
- <fields>
300
- <!-- <version>
301
- <label>v1.0.31</label>
302
- <sort_order>1</sort_order>
303
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
304
- <frontend_type>label</frontend_type>
305
- <show_in_default>1</show_in_default>
306
- <show_in_website>1</show_in_website>
307
- <show_in_store>1</show_in_store>
308
- </version> -->
309
- <active translate="label">
310
- <label>BACKEND_CH_ACTIVE</label>
311
- <comment>American Samoa, Austria, Belgium, Canada, Croatia, Cyprus, Czech Republic, Denmark, Finland, France, Germany, Guam, Hungary, Ireland, Italy, Latvia, Luxembourg, Malta, Mexico, Netherlands, Northern Mariana Islands, Norway, Poland, Portugal, Puerto Rico, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, United Kingdom, United States Of America and US Virgin Islands</comment>
312
- <sort_order>2</sort_order>
313
- <frontend_type>select</frontend_type>
314
- <config_path>payment/skrill_psc/active</config_path>
315
- <source_model>adminhtml/system_config_source_yesno</source_model>
316
- <show_in_default>1</show_in_default>
317
- <show_in_website>1</show_in_website>
318
- <show_in_store>1</show_in_store>
319
- </active>
320
- <!-- <gateway translate="label">
321
- <label>SKRILL_BACKEND_GATE</label>
322
- <sort_order>3</sort_order>
323
- <frontend_type>select</frontend_type>
324
- <config_path>payment/skrill_psc/gateway</config_path>
325
- <source_model>skrill/source_gateway</source_model>
326
- <show_in_default>1</show_in_default>
327
- <show_in_website>1</show_in_website>
328
- <show_in_store>1</show_in_store>
329
- </gateway> -->
330
- <show_separately translate="label">
331
- <label>SKRILL_BACKEND_PM_MODE</label>
332
- <sort_order>4</sort_order>
333
- <frontend_type>select</frontend_type>
334
- <config_path>payment/skrill_psc/show_separately</config_path>
335
- <source_model>adminhtml/system_config_source_yesno</source_model>
336
- <show_in_default>1</show_in_default>
337
- <show_in_website>1</show_in_website>
338
- <show_in_store>1</show_in_store>
339
- </show_separately>
340
- <!-- <server_mode translate="label">
341
- <label>BACKEND_CH_SERVER</label>
342
- <frontend_type>select</frontend_type>
343
- <config_path>payment/skrill_psc/server_mode</config_path>
344
- <sort_order>5</sort_order>
345
- <source_model>skrill/source_mode</source_model>
346
- <show_in_default>1</show_in_default>
347
- <show_in_website>1</show_in_website>
348
- <show_in_store>1</show_in_store>
349
- </server_mode>
350
- <channel_id translate="label">
351
- <label>BACKEND_CH_CHANNEL</label>
352
- <sort_order>6</sort_order>
353
- <frontend_type>text</frontend_type>
354
- <config_path>payment/skrill_psc/channel_id</config_path>
355
- <show_in_default>1</show_in_default>
356
- <show_in_website>1</show_in_website>
357
- <show_in_store>1</show_in_store>
358
- </channel_id>
359
- <sender translate="label">
360
- <label>BACKEND_CH_SENDER</label>
361
- <sort_order>7</sort_order>
362
- <frontend_type>text</frontend_type>
363
- <config_path>payment/skrill_psc/sender</config_path>
364
- <show_in_default>1</show_in_default>
365
- <show_in_website>1</show_in_website>
366
- <show_in_store>1</show_in_store>
367
- </sender>
368
- <login translate="label">
369
- <label>BACKEND_CH_LOGIN</label>
370
- <sort_order>8</sort_order>
371
- <frontend_type>text</frontend_type>
372
- <config_path>payment/skrill_psc/login</config_path>
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
- </login>
377
- <password translate="label">
378
- <label>BACKEND_CH_PASSWORD</label>
379
- <sort_order>9</sort_order>
380
- <frontend_type>text</frontend_type>
381
- <config_path>payment/skrill_psc/password</config_path>
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
- </password>
386
- <allowspecific translate="label">
387
- <label>BACKEND_CH_COUNTRIES</label>
388
- <sort_order>10</sort_order>
389
- <frontend_type>allowspecific</frontend_type>
390
- <config_path>payment/skrill_psc/allowspecific</config_path>
391
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
392
- <show_in_default>1</show_in_default>
393
- <show_in_website>1</show_in_website>
394
- <show_in_store>1</show_in_store>
395
- </allowspecific>
396
- <specificcountry translate="label">
397
- <label>BACKEND_CH_COUNTRIESSPEC</label>
398
- <sort_order>11</sort_order>
399
- <frontend_type>multiselect</frontend_type>
400
- <config_path>payment/skrill_psc/specificcountry</config_path>
401
- <source_model>adminhtml/system_config_source_country</source_model>
402
- <can_be_empty>1</can_be_empty>
403
- <show_in_default>1</show_in_default>
404
- <show_in_website>1</show_in_website>
405
- <show_in_store>1</show_in_store>
406
- </specificcountry> -->
407
- <sort_order translate="label">
408
- <label>BACKEND_CH_ORDER</label>
409
- <frontend_type>text</frontend_type>
410
- <config_path>payment/skrill_psc/sort_order</config_path>
411
- <sort_order>12</sort_order>
412
- <show_in_default>1</show_in_default>
413
- <show_in_website>1</show_in_website>
414
- <show_in_store>1</show_in_store>
415
- </sort_order>
416
- </fields>
417
- </skrill_psc>
418
- <skrill_acc translate="label,comment">
419
- <label>SKRILL_BACKEND_PM_ACC</label>
420
- <comment>SKRILL_BACKEND_TT_APM</comment>
421
- <frontend_type>text</frontend_type>
422
- <sort_order>103</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
- <!-- <version>
428
- <label>v1.0.31</label>
429
- <sort_order>1</sort_order>
430
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
431
- <frontend_type>label</frontend_type>
432
- <show_in_default>1</show_in_default>
433
- <show_in_website>1</show_in_website>
434
- <show_in_store>1</show_in_store>
435
- </version> -->
436
- <active translate="label">
437
- <label>BACKEND_CH_ACTIVE</label>
438
- <comment>All Countries</comment>
439
- <sort_order>2</sort_order>
440
- <frontend_type>select</frontend_type>
441
- <config_path>payment/skrill_acc/active</config_path>
442
- <source_model>adminhtml/system_config_source_yesno</source_model>
443
- <show_in_default>1</show_in_default>
444
- <show_in_website>1</show_in_website>
445
- <show_in_store>1</show_in_store>
446
- </active>
447
- <!-- <gateway translate="label">
448
- <label>SKRILL_BACKEND_GATE</label>
449
- <sort_order>3</sort_order>
450
- <frontend_type>select</frontend_type>
451
- <config_path>payment/skrill_acc/gateway</config_path>
452
- <source_model>skrill/source_gateway</source_model>
453
- <show_in_default>1</show_in_default>
454
- <show_in_website>1</show_in_website>
455
- <show_in_store>1</show_in_store>
456
- </gateway> -->
457
- <show_separately translate="label">
458
- <label>SKRILL_BACKEND_PM_MODE</label>
459
- <sort_order>4</sort_order>
460
- <frontend_type>select</frontend_type>
461
- <config_path>payment/skrill_acc/show_separately</config_path>
462
- <source_model>adminhtml/system_config_source_yesno</source_model>
463
- <show_in_default>1</show_in_default>
464
- <show_in_website>1</show_in_website>
465
- <show_in_store>1</show_in_store>
466
- </show_separately>
467
- <!-- <server_mode translate="label">
468
- <label>BACKEND_CH_SERVER</label>
469
- <frontend_type>select</frontend_type>
470
- <config_path>payment/skrill_acc/server_mode</config_path>
471
- <sort_order>5</sort_order>
472
- <source_model>skrill/source_mode</source_model>
473
- <show_in_default>1</show_in_default>
474
- <show_in_website>1</show_in_website>
475
- <show_in_store>1</show_in_store>
476
- </server_mode>
477
- <transaction_mode translate="label">
478
- <label>BACKEND_CH_MODE</label>
479
- <frontend_type>select</frontend_type>
480
- <config_path>payment/skrill_acc/transaction_mode</config_path>
481
- <sort_order>6</sort_order>
482
- <source_model>skrill/source_transaction</source_model>
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
- </transaction_mode>
487
- <channel_id translate="label">
488
- <label>BACKEND_CH_CHANNEL</label>
489
- <sort_order>7</sort_order>
490
- <frontend_type>text</frontend_type>
491
- <config_path>payment/skrill_acc/channel_id</config_path>
492
- <show_in_default>1</show_in_default>
493
- <show_in_website>1</show_in_website>
494
- <show_in_store>1</show_in_store>
495
- </channel_id>
496
- <sender translate="label">
497
- <label>BACKEND_CH_SENDER</label>
498
- <sort_order>8</sort_order>
499
- <frontend_type>text</frontend_type>
500
- <config_path>payment/skrill_acc/sender</config_path>
501
- <show_in_default>1</show_in_default>
502
- <show_in_website>1</show_in_website>
503
- <show_in_store>1</show_in_store>
504
- </sender>
505
- <login translate="label">
506
- <label>BACKEND_CH_LOGIN</label>
507
- <sort_order>9</sort_order>
508
- <frontend_type>text</frontend_type>
509
- <config_path>payment/skrill_acc/login</config_path>
510
- <show_in_default>1</show_in_default>
511
- <show_in_website>1</show_in_website>
512
- <show_in_store>1</show_in_store>
513
- </login>
514
- <password translate="label">
515
- <label>BACKEND_CH_PASSWORD</label>
516
- <sort_order>10</sort_order>
517
- <frontend_type>text</frontend_type>
518
- <config_path>payment/skrill_acc/password</config_path>
519
- <show_in_default>1</show_in_default>
520
- <show_in_website>1</show_in_website>
521
- <show_in_store>1</show_in_store>
522
- </password>
523
- <allowspecific translate="label">
524
- <label>BACKEND_CH_COUNTRIES</label>
525
- <sort_order>11</sort_order>
526
- <frontend_type>allowspecific</frontend_type>
527
- <config_path>payment/skrill_acc/allowspecific</config_path>
528
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
529
- <show_in_default>1</show_in_default>
530
- <show_in_website>1</show_in_website>
531
- <show_in_store>1</show_in_store>
532
- </allowspecific>
533
- <specificcountry translate="label">
534
- <label>BACKEND_CH_COUNTRIESSPEC</label>
535
- <sort_order>12</sort_order>
536
- <frontend_type>multiselect</frontend_type>
537
- <config_path>payment/skrill_acc/specificcountry</config_path>
538
- <source_model>adminhtml/system_config_source_country</source_model>
539
- <can_be_empty>1</can_be_empty>
540
- <show_in_default>1</show_in_default>
541
- <show_in_website>1</show_in_website>
542
- <show_in_store>1</show_in_store>
543
- </specificcountry> -->
544
- <sort_order translate="label">
545
- <label>BACKEND_CH_ORDER</label>
546
- <frontend_type>text</frontend_type>
547
- <config_path>payment/skrill_acc/sort_order</config_path>
548
- <sort_order>13</sort_order>
549
- <show_in_default>1</show_in_default>
550
- <show_in_website>1</show_in_website>
551
- <show_in_store>1</show_in_store>
552
- </sort_order>
553
- </fields>
554
- </skrill_acc>
555
- <skrill_vsa translate="label">
556
- <label>SKRILL_BACKEND_PM_VSA</label>
557
- <frontend_type>text</frontend_type>
558
- <sort_order>104</sort_order>
559
- <show_in_default>1</show_in_default>
560
- <show_in_website>1</show_in_website>
561
- <show_in_store>1</show_in_store>
562
- <fields>
563
- <!-- <version>
564
- <label>v1.0.31</label>
565
- <sort_order>1</sort_order>
566
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
567
- <frontend_type>label</frontend_type>
568
- <show_in_default>1</show_in_default>
569
- <show_in_website>1</show_in_website>
570
- <show_in_store>1</show_in_store>
571
- </version> -->
572
- <active translate="label">
573
- <label>BACKEND_CH_ACTIVE</label>
574
- <comment>All Countries</comment>
575
- <sort_order>2</sort_order>
576
- <frontend_type>select</frontend_type>
577
- <config_path>payment/skrill_vsa/active</config_path>
578
- <source_model>adminhtml/system_config_source_yesno</source_model>
579
- <show_in_default>1</show_in_default>
580
- <show_in_website>1</show_in_website>
581
- <show_in_store>1</show_in_store>
582
- </active>
583
- <show_separately translate="label">
584
- <label>SKRILL_BACKEND_PM_MODE</label>
585
- <sort_order>3</sort_order>
586
- <frontend_type>select</frontend_type>
587
- <config_path>payment/skrill_vsa/show_separately</config_path>
588
- <source_model>adminhtml/system_config_source_yesno</source_model>
589
- <show_in_default>1</show_in_default>
590
- <show_in_website>1</show_in_website>
591
- <show_in_store>1</show_in_store>
592
- </show_separately>
593
- <sort_order translate="label">
594
- <label>BACKEND_CH_ORDER</label>
595
- <frontend_type>text</frontend_type>
596
- <config_path>payment/skrill_vsa/sort_order</config_path>
597
- <sort_order>6</sort_order>
598
- <show_in_default>1</show_in_default>
599
- <show_in_website>1</show_in_website>
600
- <show_in_store>1</show_in_store>
601
- </sort_order>
602
- </fields>
603
- </skrill_vsa>
604
- <skrill_msc translate="label">
605
- <label>SKRILL_BACKEND_PM_MSC</label>
606
- <frontend_type>text</frontend_type>
607
- <sort_order>105</sort_order>
608
- <show_in_default>1</show_in_default>
609
- <show_in_website>1</show_in_website>
610
- <show_in_store>1</show_in_store>
611
- <fields>
612
- <!-- <version>
613
- <label>v1.0.31</label>
614
- <sort_order>1</sort_order>
615
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
616
- <frontend_type>label</frontend_type>
617
- <show_in_default>1</show_in_default>
618
- <show_in_website>1</show_in_website>
619
- <show_in_store>1</show_in_store>
620
- </version> -->
621
- <active translate="label">
622
- <label>BACKEND_CH_ACTIVE</label>
623
- <comment>All Countries</comment>
624
- <sort_order>2</sort_order>
625
- <frontend_type>select</frontend_type>
626
- <config_path>payment/skrill_msc/active</config_path>
627
- <source_model>adminhtml/system_config_source_yesno</source_model>
628
- <show_in_default>1</show_in_default>
629
- <show_in_website>1</show_in_website>
630
- <show_in_store>1</show_in_store>
631
- </active>
632
- <show_separately translate="label">
633
- <label>SKRILL_BACKEND_PM_MODE</label>
634
- <sort_order>3</sort_order>
635
- <frontend_type>select</frontend_type>
636
- <config_path>payment/skrill_msc/show_separately</config_path>
637
- <source_model>adminhtml/system_config_source_yesno</source_model>
638
- <show_in_default>1</show_in_default>
639
- <show_in_website>1</show_in_website>
640
- <show_in_store>1</show_in_store>
641
- </show_separately>
642
- <sort_order translate="label">
643
- <label>BACKEND_CH_ORDER</label>
644
- <frontend_type>text</frontend_type>
645
- <config_path>payment/skrill_msc/sort_order</config_path>
646
- <sort_order>6</sort_order>
647
- <show_in_default>1</show_in_default>
648
- <show_in_website>1</show_in_website>
649
- <show_in_store>1</show_in_store>
650
- </sort_order>
651
- </fields>
652
- </skrill_msc>
653
- <skrill_vse translate="label">
654
- <label>SKRILL_BACKEND_PM_VSE</label>
655
- <frontend_type>text</frontend_type>
656
- <sort_order>107</sort_order>
657
- <show_in_default>1</show_in_default>
658
- <show_in_website>1</show_in_website>
659
- <show_in_store>1</show_in_store>
660
- <fields>
661
- <!-- <version>
662
- <label>v1.0.31</label>
663
- <sort_order>1</sort_order>
664
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
665
- <frontend_type>label</frontend_type>
666
- <show_in_default>1</show_in_default>
667
- <show_in_website>1</show_in_website>
668
- <show_in_store>1</show_in_store>
669
- </version> -->
670
- <active translate="label">
671
- <label>BACKEND_CH_ACTIVE</label>
672
- <comment>All Countries (excluding United States Of America)</comment>
673
- <sort_order>2</sort_order>
674
- <frontend_type>select</frontend_type>
675
- <config_path>payment/skrill_vse/active</config_path>
676
- <source_model>adminhtml/system_config_source_yesno</source_model>
677
- <show_in_default>1</show_in_default>
678
- <show_in_website>1</show_in_website>
679
- <show_in_store>1</show_in_store>
680
- </active>
681
- <show_separately translate="label">
682
- <label>SKRILL_BACKEND_PM_MODE</label>
683
- <sort_order>3</sort_order>
684
- <frontend_type>select</frontend_type>
685
- <config_path>payment/skrill_vse/show_separately</config_path>
686
- <source_model>adminhtml/system_config_source_yesno</source_model>
687
- <show_in_default>1</show_in_default>
688
- <show_in_website>1</show_in_website>
689
- <show_in_store>1</show_in_store>
690
- </show_separately>
691
- <sort_order translate="label">
692
- <label>BACKEND_CH_ORDER</label>
693
- <frontend_type>text</frontend_type>
694
- <config_path>payment/skrill_vse/sort_order</config_path>
695
- <sort_order>6</sort_order>
696
- <show_in_default>1</show_in_default>
697
- <show_in_website>1</show_in_website>
698
- <show_in_store>1</show_in_store>
699
- </sort_order>
700
- </fields>
701
- </skrill_vse>
702
- <skrill_mae translate="label">
703
- <label>SKRILL_BACKEND_PM_MAE</label>
704
- <frontend_type>text</frontend_type>
705
- <sort_order>108</sort_order>
706
- <show_in_default>1</show_in_default>
707
- <show_in_website>1</show_in_website>
708
- <show_in_store>1</show_in_store>
709
- <fields>
710
- <!-- <version>
711
- <label>v1.0.31</label>
712
- <sort_order>1</sort_order>
713
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
714
- <frontend_type>label</frontend_type>
715
- <show_in_default>1</show_in_default>
716
- <show_in_website>1</show_in_website>
717
- <show_in_store>1</show_in_store>
718
- </version> -->
719
- <active translate="label">
720
- <label>BACKEND_CH_ACTIVE</label>
721
- <comment>United Kingdom, Spain, Ireland and Austria</comment>
722
- <sort_order>2</sort_order>
723
- <frontend_type>select</frontend_type>
724
- <config_path>payment/skrill_mae/active</config_path>
725
- <source_model>adminhtml/system_config_source_yesno</source_model>
726
- <show_in_default>1</show_in_default>
727
- <show_in_website>1</show_in_website>
728
- <show_in_store>1</show_in_store>
729
- </active>
730
- <show_separately translate="label">
731
- <label>SKRILL_BACKEND_PM_MODE</label>
732
- <sort_order>3</sort_order>
733
- <frontend_type>select</frontend_type>
734
- <config_path>payment/skrill_mae/show_separately</config_path>
735
- <source_model>adminhtml/system_config_source_yesno</source_model>
736
- <show_in_default>1</show_in_default>
737
- <show_in_website>1</show_in_website>
738
- <show_in_store>1</show_in_store>
739
- </show_separately>
740
- <sort_order translate="label">
741
- <label>BACKEND_CH_ORDER</label>
742
- <frontend_type>text</frontend_type>
743
- <config_path>payment/skrill_mae/sort_order</config_path>
744
- <sort_order>6</sort_order>
745
- <show_in_default>1</show_in_default>
746
- <show_in_website>1</show_in_website>
747
- <show_in_store>1</show_in_store>
748
- </sort_order>
749
- </fields>
750
- </skrill_mae>
751
- <skrill_amx translate="label">
752
- <label>SKRILL_BACKEND_PM_AMX</label>
753
- <frontend_type>text</frontend_type>
754
- <sort_order>109</sort_order>
755
- <show_in_default>1</show_in_default>
756
- <show_in_website>1</show_in_website>
757
- <show_in_store>1</show_in_store>
758
- <fields>
759
- <!-- <version>
760
- <label>v1.0.31</label>
761
- <sort_order>1</sort_order>
762
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
763
- <frontend_type>label</frontend_type>
764
- <show_in_default>1</show_in_default>
765
- <show_in_website>1</show_in_website>
766
- <show_in_store>1</show_in_store>
767
- </version> -->
768
- <active translate="label">
769
- <label>BACKEND_CH_ACTIVE</label>
770
- <comment>All Countries</comment>
771
- <sort_order>2</sort_order>
772
- <frontend_type>select</frontend_type>
773
- <config_path>payment/skrill_amx/active</config_path>
774
- <source_model>adminhtml/system_config_source_yesno</source_model>
775
- <show_in_default>1</show_in_default>
776
- <show_in_website>1</show_in_website>
777
- <show_in_store>1</show_in_store>
778
- </active>
779
- <show_separately translate="label">
780
- <label>SKRILL_BACKEND_PM_MODE</label>
781
- <sort_order>3</sort_order>
782
- <frontend_type>select</frontend_type>
783
- <config_path>payment/skrill_amx/show_separately</config_path>
784
- <source_model>adminhtml/system_config_source_yesno</source_model>
785
- <show_in_default>1</show_in_default>
786
- <show_in_website>1</show_in_website>
787
- <show_in_store>1</show_in_store>
788
- </show_separately>
789
- <sort_order translate="label">
790
- <label>BACKEND_CH_ORDER</label>
791
- <frontend_type>text</frontend_type>
792
- <config_path>payment/skrill_amx/sort_order</config_path>
793
- <sort_order>6</sort_order>
794
- <show_in_default>1</show_in_default>
795
- <show_in_website>1</show_in_website>
796
- <show_in_store>1</show_in_store>
797
- </sort_order>
798
- </fields>
799
- </skrill_amx>
800
- <skrill_din translate="label">
801
- <label>SKRILL_BACKEND_PM_DIN</label>
802
- <frontend_type>text</frontend_type>
803
- <sort_order>110</sort_order>
804
- <show_in_default>1</show_in_default>
805
- <show_in_website>1</show_in_website>
806
- <show_in_store>1</show_in_store>
807
- <fields>
808
- <!-- <version>
809
- <label>v1.0.31</label>
810
- <sort_order>1</sort_order>
811
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
812
- <frontend_type>label</frontend_type>
813
- <show_in_default>1</show_in_default>
814
- <show_in_website>1</show_in_website>
815
- <show_in_store>1</show_in_store>
816
- </version> -->
817
- <active translate="label">
818
- <label>BACKEND_CH_ACTIVE</label>
819
- <comment>All Countries</comment>
820
- <sort_order>2</sort_order>
821
- <frontend_type>select</frontend_type>
822
- <config_path>payment/skrill_din/active</config_path>
823
- <source_model>adminhtml/system_config_source_yesno</source_model>
824
- <show_in_default>1</show_in_default>
825
- <show_in_website>1</show_in_website>
826
- <show_in_store>1</show_in_store>
827
- </active>
828
- <show_separately translate="label">
829
- <label>SKRILL_BACKEND_PM_MODE</label>
830
- <sort_order>3</sort_order>
831
- <frontend_type>select</frontend_type>
832
- <config_path>payment/skrill_din/show_separately</config_path>
833
- <source_model>adminhtml/system_config_source_yesno</source_model>
834
- <show_in_default>1</show_in_default>
835
- <show_in_website>1</show_in_website>
836
- <show_in_store>1</show_in_store>
837
- </show_separately>
838
- <sort_order translate="label">
839
- <label>BACKEND_CH_ORDER</label>
840
- <frontend_type>text</frontend_type>
841
- <config_path>payment/skrill_din/sort_order</config_path>
842
- <sort_order>6</sort_order>
843
- <show_in_default>1</show_in_default>
844
- <show_in_website>1</show_in_website>
845
- <show_in_store>1</show_in_store>
846
- </sort_order>
847
- </fields>
848
- </skrill_din>
849
- <skrill_jcb translate="label">
850
- <label>SKRILL_BACKEND_PM_JCB</label>
851
- <frontend_type>text</frontend_type>
852
- <sort_order>111</sort_order>
853
- <show_in_default>1</show_in_default>
854
- <show_in_website>1</show_in_website>
855
- <show_in_store>1</show_in_store>
856
- <fields>
857
- <!-- <version>
858
- <label>v1.0.31</label>
859
- <sort_order>1</sort_order>
860
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
861
- <frontend_type>label</frontend_type>
862
- <show_in_default>1</show_in_default>
863
- <show_in_website>1</show_in_website>
864
- <show_in_store>1</show_in_store>
865
- </version> -->
866
- <active translate="label">
867
- <label>BACKEND_CH_ACTIVE</label>
868
- <comment>All Countries</comment>
869
- <sort_order>2</sort_order>
870
- <frontend_type>select</frontend_type>
871
- <config_path>payment/skrill_jcb/active</config_path>
872
- <source_model>adminhtml/system_config_source_yesno</source_model>
873
- <show_in_default>1</show_in_default>
874
- <show_in_website>1</show_in_website>
875
- <show_in_store>1</show_in_store>
876
- </active>
877
- <show_separately translate="label">
878
- <label>SKRILL_BACKEND_PM_MODE</label>
879
- <sort_order>3</sort_order>
880
- <frontend_type>select</frontend_type>
881
- <config_path>payment/skrill_jcb/show_separately</config_path>
882
- <source_model>adminhtml/system_config_source_yesno</source_model>
883
- <show_in_default>1</show_in_default>
884
- <show_in_website>1</show_in_website>
885
- <show_in_store>1</show_in_store>
886
- </show_separately>
887
- <sort_order translate="label">
888
- <label>BACKEND_CH_ORDER</label>
889
- <frontend_type>text</frontend_type>
890
- <config_path>payment/skrill_jcb/sort_order</config_path>
891
- <sort_order>6</sort_order>
892
- <show_in_default>1</show_in_default>
893
- <show_in_website>1</show_in_website>
894
- <show_in_store>1</show_in_store>
895
- </sort_order>
896
- </fields>
897
- </skrill_jcb>
898
- <skrill_gcb translate="label">
899
- <label>SKRILL_BACKEND_PM_GCB</label>
900
- <frontend_type>text</frontend_type>
901
- <sort_order>112</sort_order>
902
- <show_in_default>1</show_in_default>
903
- <show_in_website>1</show_in_website>
904
- <show_in_store>1</show_in_store>
905
- <fields>
906
- <!-- <version>
907
- <label>v1.0.31</label>
908
- <sort_order>1</sort_order>
909
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
910
- <frontend_type>label</frontend_type>
911
- <show_in_default>1</show_in_default>
912
- <show_in_website>1</show_in_website>
913
- <show_in_store>1</show_in_store>
914
- </version> -->
915
- <active translate="label">
916
- <label>BACKEND_CH_ACTIVE</label>
917
- <comment>France</comment>
918
- <sort_order>2</sort_order>
919
- <frontend_type>select</frontend_type>
920
- <config_path>payment/skrill_gcb/active</config_path>
921
- <source_model>adminhtml/system_config_source_yesno</source_model>
922
- <show_in_default>1</show_in_default>
923
- <show_in_website>1</show_in_website>
924
- <show_in_store>1</show_in_store>
925
- </active>
926
- <show_separately translate="label">
927
- <label>SKRILL_BACKEND_PM_MODE</label>
928
- <sort_order>3</sort_order>
929
- <frontend_type>select</frontend_type>
930
- <config_path>payment/skrill_gcb/show_separately</config_path>
931
- <source_model>adminhtml/system_config_source_yesno</source_model>
932
- <show_in_default>1</show_in_default>
933
- <show_in_website>1</show_in_website>
934
- <show_in_store>1</show_in_store>
935
- </show_separately>
936
- <sort_order translate="label">
937
- <label>BACKEND_CH_ORDER</label>
938
- <frontend_type>text</frontend_type>
939
- <config_path>payment/skrill_gcb/sort_order</config_path>
940
- <sort_order>6</sort_order>
941
- <show_in_default>1</show_in_default>
942
- <show_in_website>1</show_in_website>
943
- <show_in_store>1</show_in_store>
944
- </sort_order>
945
- </fields>
946
- </skrill_gcb>
947
- <skrill_dnk translate="label">
948
- <label>SKRILL_BACKEND_PM_DNK</label>
949
- <frontend_type>text</frontend_type>
950
- <sort_order>113</sort_order>
951
- <show_in_default>1</show_in_default>
952
- <show_in_website>1</show_in_website>
953
- <show_in_store>1</show_in_store>
954
- <fields>
955
- <!-- <version>
956
- <label>v1.0.31</label>
957
- <sort_order>1</sort_order>
958
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
959
- <frontend_type>label</frontend_type>
960
- <show_in_default>1</show_in_default>
961
- <show_in_website>1</show_in_website>
962
- <show_in_store>1</show_in_store>
963
- </version> -->
964
- <active translate="label">
965
- <label>BACKEND_CH_ACTIVE</label>
966
- <comment>Denmark</comment>
967
- <sort_order>2</sort_order>
968
- <frontend_type>select</frontend_type>
969
- <config_path>payment/skrill_dnk/active</config_path>
970
- <source_model>adminhtml/system_config_source_yesno</source_model>
971
- <show_in_default>1</show_in_default>
972
- <show_in_website>1</show_in_website>
973
- <show_in_store>1</show_in_store>
974
- </active>
975
- <show_separately translate="label">
976
- <label>SKRILL_BACKEND_PM_MODE</label>
977
- <sort_order>3</sort_order>
978
- <frontend_type>select</frontend_type>
979
- <config_path>payment/skrill_dnk/show_separately</config_path>
980
- <source_model>adminhtml/system_config_source_yesno</source_model>
981
- <show_in_default>1</show_in_default>
982
- <show_in_website>1</show_in_website>
983
- <show_in_store>1</show_in_store>
984
- </show_separately>
985
- <sort_order translate="label">
986
- <label>BACKEND_CH_ORDER</label>
987
- <frontend_type>text</frontend_type>
988
- <config_path>payment/skrill_dnk/sort_order</config_path>
989
- <sort_order>6</sort_order>
990
- <show_in_default>1</show_in_default>
991
- <show_in_website>1</show_in_website>
992
- <show_in_store>1</show_in_store>
993
- </sort_order>
994
- </fields>
995
- </skrill_dnk>
996
- <skrill_psp translate="label">
997
- <label>SKRILL_BACKEND_PM_PSP</label>
998
- <frontend_type>text</frontend_type>
999
- <sort_order>114</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
- <fields>
1004
- <!-- <version>
1005
- <label>v1.0.31</label>
1006
- <sort_order>1</sort_order>
1007
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1008
- <frontend_type>label</frontend_type>
1009
- <show_in_default>1</show_in_default>
1010
- <show_in_website>1</show_in_website>
1011
- <show_in_store>1</show_in_store>
1012
- </version> -->
1013
- <active translate="label">
1014
- <label>BACKEND_CH_ACTIVE</label>
1015
- <comment>Italy</comment>
1016
- <sort_order>2</sort_order>
1017
- <frontend_type>select</frontend_type>
1018
- <config_path>payment/skrill_psp/active</config_path>
1019
- <source_model>adminhtml/system_config_source_yesno</source_model>
1020
- <show_in_default>1</show_in_default>
1021
- <show_in_website>1</show_in_website>
1022
- <show_in_store>1</show_in_store>
1023
- </active>
1024
- <show_separately translate="label">
1025
- <label>SKRILL_BACKEND_PM_MODE</label>
1026
- <sort_order>3</sort_order>
1027
- <frontend_type>select</frontend_type>
1028
- <config_path>payment/skrill_psp/show_separately</config_path>
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>1</show_in_store>
1033
- </show_separately>
1034
- <sort_order translate="label">
1035
- <label>BACKEND_CH_ORDER</label>
1036
- <frontend_type>text</frontend_type>
1037
- <config_path>payment/skrill_psp/sort_order</config_path>
1038
- <sort_order>6</sort_order>
1039
- <show_in_default>1</show_in_default>
1040
- <show_in_website>1</show_in_website>
1041
- <show_in_store>1</show_in_store>
1042
- </sort_order>
1043
- </fields>
1044
- </skrill_psp>
1045
- <skrill_csi translate="label">
1046
- <label>SKRILL_BACKEND_PM_CSI</label>
1047
- <frontend_type>text</frontend_type>
1048
- <sort_order>115</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
- <fields>
1053
- <!-- <version>
1054
- <label>v1.0.31</label>
1055
- <sort_order>1</sort_order>
1056
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1057
- <frontend_type>label</frontend_type>
1058
- <show_in_default>1</show_in_default>
1059
- <show_in_website>1</show_in_website>
1060
- <show_in_store>1</show_in_store>
1061
- </version> -->
1062
- <active translate="label">
1063
- <label>BACKEND_CH_ACTIVE</label>
1064
- <comment>Italy</comment>
1065
- <sort_order>2</sort_order>
1066
- <frontend_type>select</frontend_type>
1067
- <config_path>payment/skrill_csi/active</config_path>
1068
- <source_model>adminhtml/system_config_source_yesno</source_model>
1069
- <show_in_default>1</show_in_default>
1070
- <show_in_website>1</show_in_website>
1071
- <show_in_store>1</show_in_store>
1072
- </active>
1073
- <show_separately translate="label">
1074
- <label>SKRILL_BACKEND_PM_MODE</label>
1075
- <sort_order>3</sort_order>
1076
- <frontend_type>select</frontend_type>
1077
- <config_path>payment/skrill_csi/show_separately</config_path>
1078
- <source_model>adminhtml/system_config_source_yesno</source_model>
1079
- <show_in_default>1</show_in_default>
1080
- <show_in_website>1</show_in_website>
1081
- <show_in_store>1</show_in_store>
1082
- </show_separately>
1083
- <sort_order translate="label">
1084
- <label>BACKEND_CH_ORDER</label>
1085
- <frontend_type>text</frontend_type>
1086
- <config_path>payment/skrill_csi/sort_order</config_path>
1087
- <sort_order>6</sort_order>
1088
- <show_in_default>1</show_in_default>
1089
- <show_in_website>1</show_in_website>
1090
- <show_in_store>1</show_in_store>
1091
- </sort_order>
1092
- </fields>
1093
- </skrill_csi>
1094
- <skrill_obt translate="label">
1095
- <label>SKRILL_BACKEND_PM_OBT</label>
1096
- <frontend_type>text</frontend_type>
1097
- <sort_order>116</sort_order>
1098
- <show_in_default>1</show_in_default>
1099
- <show_in_website>1</show_in_website>
1100
- <show_in_store>1</show_in_store>
1101
- <fields>
1102
- <!-- <version>
1103
- <label>v1.0.31</label>
1104
- <sort_order>1</sort_order>
1105
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1106
- <frontend_type>label</frontend_type>
1107
- <show_in_default>1</show_in_default>
1108
- <show_in_website>1</show_in_website>
1109
- <show_in_store>1</show_in_store>
1110
- </version> -->
1111
- <active translate="label">
1112
- <label>BACKEND_CH_ACTIVE</label>
1113
- <comment>Germany, United Kingdom, France, Italy, Spain, Hungary, Austria, Sweden, Finland, and Denmark</comment>
1114
- <sort_order>2</sort_order>
1115
- <frontend_type>select</frontend_type>
1116
- <config_path>payment/skrill_obt/active</config_path>
1117
- <source_model>adminhtml/system_config_source_yesno</source_model>
1118
- <show_in_default>1</show_in_default>
1119
- <show_in_website>1</show_in_website>
1120
- <show_in_store>1</show_in_store>
1121
- </active>
1122
- <show_separately translate="label">
1123
- <label>SKRILL_BACKEND_PM_MODE</label>
1124
- <sort_order>3</sort_order>
1125
- <frontend_type>select</frontend_type>
1126
- <config_path>payment/skrill_obt/show_separately</config_path>
1127
- <source_model>adminhtml/system_config_source_yesno</source_model>
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
- </show_separately>
1132
- <sort_order translate="label">
1133
- <label>BACKEND_CH_ORDER</label>
1134
- <frontend_type>text</frontend_type>
1135
- <config_path>payment/skrill_obt/sort_order</config_path>
1136
- <sort_order>6</sort_order>
1137
- <show_in_default>1</show_in_default>
1138
- <show_in_website>1</show_in_website>
1139
- <show_in_store>1</show_in_store>
1140
- </sort_order>
1141
- </fields>
1142
- </skrill_obt>
1143
- <skrill_ntl translate="label">
1144
- <label>SKRILL_BACKEND_PM_NTL</label>
1145
- <frontend_type>text</frontend_type>
1146
- <sort_order>127</sort_order>
1147
- <show_in_default>1</show_in_default>
1148
- <show_in_website>1</show_in_website>
1149
- <show_in_store>1</show_in_store>
1150
- <fields>
1151
- <!-- <version>
1152
- <label>v1.0.6</label>
1153
- <sort_order>1</sort_order>
1154
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1155
- <frontend_type>label</frontend_type>
1156
- <show_in_default>1</show_in_default>
1157
- <show_in_website>1</show_in_website>
1158
- <show_in_store>1</show_in_store>
1159
- </version> -->
1160
- <active translate="label">
1161
- <label>BACKEND_CH_ACTIVE</label>
1162
- <comment>All except for Afghanistan, Armenia, Bhutan, Bouvet Island, Myanmar, China, (Keeling) Islands, Democratic Republic of Congo, Cook Islands, Cuba, Eritrea, South Georgia and the South Sandwich Islands, Guam, Guinea, Territory of Heard Island and McDonald Islands, Iran, Iraq, Cote d'Ivoire, Kazakhstan, North Korea, Kyrgyzstan, Liberia, Libya, Mongolia, Northern Mariana Islands, Federated States of Micronesia, Marshall Islands, Palau, Pakistan, East Timor, Puerto Rico, Sierra Leone, Somalia, Zimbabwe, Sudan, Syria, Tajikistan, Turkmenistan, Uganda, United States, US Virgin Islands, Uzbekistan, and Yemen</comment>
1163
- <sort_order>2</sort_order>
1164
- <frontend_type>select</frontend_type>
1165
- <config_path>payment/skrill_ntl/active</config_path>
1166
- <source_model>adminhtml/system_config_source_yesno</source_model>
1167
- <show_in_default>1</show_in_default>
1168
- <show_in_website>1</show_in_website>
1169
- <show_in_store>1</show_in_store>
1170
- </active>
1171
- <show_separately translate="label">
1172
- <label>SKRILL_BACKEND_PM_MODE</label>
1173
- <sort_order>3</sort_order>
1174
- <frontend_type>select</frontend_type>
1175
- <config_path>payment/skrill_ntl/show_separately</config_path>
1176
- <source_model>adminhtml/system_config_source_yesno</source_model>
1177
- <show_in_default>1</show_in_default>
1178
- <show_in_website>1</show_in_website>
1179
- <show_in_store>1</show_in_store>
1180
- </show_separately>
1181
- <sort_order translate="label">
1182
- <label>BACKEND_CH_ORDER</label>
1183
- <frontend_type>text</frontend_type>
1184
- <config_path>payment/skrill_ntl/sort_order</config_path>
1185
- <sort_order>6</sort_order>
1186
- <show_in_default>1</show_in_default>
1187
- <show_in_website>1</show_in_website>
1188
- <show_in_store>1</show_in_store>
1189
- </sort_order>
1190
- </fields>
1191
- </skrill_ntl>
1192
- <skrill_gir translate="label">
1193
- <label>SKRILL_BACKEND_PM_GIR</label>
1194
- <frontend_type>text</frontend_type>
1195
- <sort_order>117</sort_order>
1196
- <show_in_default>1</show_in_default>
1197
- <show_in_website>1</show_in_website>
1198
- <show_in_store>1</show_in_store>
1199
- <fields>
1200
- <!-- <version>
1201
- <label>v1.0.31</label>
1202
- <sort_order>1</sort_order>
1203
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1204
- <frontend_type>label</frontend_type>
1205
- <show_in_default>1</show_in_default>
1206
- <show_in_website>1</show_in_website>
1207
- <show_in_store>1</show_in_store>
1208
- </version> -->
1209
- <active translate="label">
1210
- <label>BACKEND_CH_ACTIVE</label>
1211
- <comment>Germany</comment>
1212
- <sort_order>2</sort_order>
1213
- <frontend_type>select</frontend_type>
1214
- <config_path>payment/skrill_gir/active</config_path>
1215
- <source_model>adminhtml/system_config_source_yesno</source_model>
1216
- <show_in_default>1</show_in_default>
1217
- <show_in_website>1</show_in_website>
1218
- <show_in_store>1</show_in_store>
1219
- </active>
1220
- <!-- <gateway translate="label">
1221
- <label>SKRILL_BACKEND_GATE</label>
1222
- <sort_order>3</sort_order>
1223
- <frontend_type>select</frontend_type>
1224
- <config_path>payment/skrill_gir/gateway</config_path>
1225
- <source_model>skrill/source_gateway</source_model>
1226
- <show_in_default>1</show_in_default>
1227
- <show_in_website>1</show_in_website>
1228
- <show_in_store>1</show_in_store>
1229
- </gateway> -->
1230
- <show_separately translate="label">
1231
- <label>SKRILL_BACKEND_PM_MODE</label>
1232
- <sort_order>4</sort_order>
1233
- <frontend_type>select</frontend_type>
1234
- <config_path>payment/skrill_gir/show_separately</config_path>
1235
- <source_model>adminhtml/system_config_source_yesno</source_model>
1236
- <show_in_default>1</show_in_default>
1237
- <show_in_website>1</show_in_website>
1238
- <show_in_store>1</show_in_store>
1239
- </show_separately>
1240
- <!-- <server_mode translate="label">
1241
- <label>BACKEND_CH_SERVER</label>
1242
- <frontend_type>select</frontend_type>
1243
- <config_path>payment/skrill_gir/server_mode</config_path>
1244
- <sort_order>5</sort_order>
1245
- <source_model>skrill/source_mode</source_model>
1246
- <show_in_default>1</show_in_default>
1247
- <show_in_website>1</show_in_website>
1248
- <show_in_store>1</show_in_store>
1249
- </server_mode>
1250
- <channel_id translate="label">
1251
- <label>BACKEND_CH_CHANNEL</label>
1252
- <sort_order>6</sort_order>
1253
- <frontend_type>text</frontend_type>
1254
- <config_path>payment/skrill_gir/channel_id</config_path>
1255
- <show_in_default>1</show_in_default>
1256
- <show_in_website>1</show_in_website>
1257
- <show_in_store>1</show_in_store>
1258
- </channel_id>
1259
- <sender translate="label">
1260
- <label>BACKEND_CH_SENDER</label>
1261
- <sort_order>7</sort_order>
1262
- <frontend_type>text</frontend_type>
1263
- <config_path>payment/skrill_gir/sender</config_path>
1264
- <show_in_default>1</show_in_default>
1265
- <show_in_website>1</show_in_website>
1266
- <show_in_store>1</show_in_store>
1267
- </sender>
1268
- <login translate="label">
1269
- <label>BACKEND_CH_LOGIN</label>
1270
- <sort_order>8</sort_order>
1271
- <frontend_type>text</frontend_type>
1272
- <config_path>payment/skrill_gir/login</config_path>
1273
- <show_in_default>1</show_in_default>
1274
- <show_in_website>1</show_in_website>
1275
- <show_in_store>1</show_in_store>
1276
- </login>
1277
- <password translate="label">
1278
- <label>BACKEND_CH_PASSWORD</label>
1279
- <sort_order>9</sort_order>
1280
- <frontend_type>text</frontend_type>
1281
- <config_path>payment/skrill_gir/password</config_path>
1282
- <show_in_default>1</show_in_default>
1283
- <show_in_website>1</show_in_website>
1284
- <show_in_store>1</show_in_store>
1285
- </password>
1286
- <allowspecific translate="label">
1287
- <label>BACKEND_CH_COUNTRIES</label>
1288
- <sort_order>10</sort_order>
1289
- <frontend_type>allowspecific</frontend_type>
1290
- <config_path>payment/skrill_gir/allowspecific</config_path>
1291
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1292
- <show_in_default>1</show_in_default>
1293
- <show_in_website>1</show_in_website>
1294
- <show_in_store>1</show_in_store>
1295
- </allowspecific>
1296
- <specificcountry translate="label">
1297
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1298
- <sort_order>11</sort_order>
1299
- <frontend_type>multiselect</frontend_type>
1300
- <config_path>payment/skrill_gir/specificcountry</config_path>
1301
- <source_model>adminhtml/system_config_source_country</source_model>
1302
- <can_be_empty>1</can_be_empty>
1303
- <show_in_default>1</show_in_default>
1304
- <show_in_website>1</show_in_website>
1305
- <show_in_store>1</show_in_store>
1306
- </specificcountry> -->
1307
- <sort_order translate="label">
1308
- <label>BACKEND_CH_ORDER</label>
1309
- <frontend_type>text</frontend_type>
1310
- <config_path>payment/skrill_gir/sort_order</config_path>
1311
- <sort_order>12</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
- </sort_order>
1316
- </fields>
1317
- </skrill_gir>
1318
- <skrill_did translate="label">
1319
- <label>SKRILL_BACKEND_PM_DID</label>
1320
- <frontend_type>text</frontend_type>
1321
- <sort_order>118</sort_order>
1322
- <show_in_default>1</show_in_default>
1323
- <show_in_website>1</show_in_website>
1324
- <show_in_store>1</show_in_store>
1325
- <fields>
1326
- <!-- <version>
1327
- <label>v1.0.31</label>
1328
- <sort_order>1</sort_order>
1329
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1330
- <frontend_type>label</frontend_type>
1331
- <show_in_default>1</show_in_default>
1332
- <show_in_website>1</show_in_website>
1333
- <show_in_store>1</show_in_store>
1334
- </version> -->
1335
- <active translate="label">
1336
- <label>BACKEND_CH_ACTIVE</label>
1337
- <comment>Germany</comment>
1338
- <sort_order>2</sort_order>
1339
- <frontend_type>select</frontend_type>
1340
- <config_path>payment/skrill_did/active</config_path>
1341
- <source_model>adminhtml/system_config_source_yesno</source_model>
1342
- <show_in_default>1</show_in_default>
1343
- <show_in_website>1</show_in_website>
1344
- <show_in_store>1</show_in_store>
1345
- </active>
1346
- <!-- <gateway translate="label">
1347
- <label>SKRILL_BACKEND_GATE</label>
1348
- <sort_order>3</sort_order>
1349
- <frontend_type>select</frontend_type>
1350
- <config_path>payment/skrill_did/gateway</config_path>
1351
- <source_model>skrill/source_gateway</source_model>
1352
- <show_in_default>1</show_in_default>
1353
- <show_in_website>1</show_in_website>
1354
- <show_in_store>1</show_in_store>
1355
- </gateway> -->
1356
- <show_separately translate="label">
1357
- <label>SKRILL_BACKEND_PM_MODE</label>
1358
- <sort_order>4</sort_order>
1359
- <frontend_type>select</frontend_type>
1360
- <config_path>payment/skrill_did/show_separately</config_path>
1361
- <source_model>adminhtml/system_config_source_yesno</source_model>
1362
- <show_in_default>1</show_in_default>
1363
- <show_in_website>1</show_in_website>
1364
- <show_in_store>1</show_in_store>
1365
- </show_separately>
1366
- <!-- <server_mode translate="label">
1367
- <label>BACKEND_CH_SERVER</label>
1368
- <frontend_type>select</frontend_type>
1369
- <config_path>payment/skrill_did/server_mode</config_path>
1370
- <sort_order>5</sort_order>
1371
- <source_model>skrill/source_mode</source_model>
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
- </server_mode>
1376
- <channel_id translate="label">
1377
- <label>BACKEND_CH_CHANNEL</label>
1378
- <sort_order>6</sort_order>
1379
- <frontend_type>text</frontend_type>
1380
- <config_path>payment/skrill_did/channel_id</config_path>
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
- </channel_id>
1385
- <sender translate="label">
1386
- <label>BACKEND_CH_SENDER</label>
1387
- <sort_order>7</sort_order>
1388
- <frontend_type>text</frontend_type>
1389
- <config_path>payment/skrill_did/sender</config_path>
1390
- <show_in_default>1</show_in_default>
1391
- <show_in_website>1</show_in_website>
1392
- <show_in_store>1</show_in_store>
1393
- </sender>
1394
- <login translate="label">
1395
- <label>BACKEND_CH_LOGIN</label>
1396
- <sort_order>8</sort_order>
1397
- <frontend_type>text</frontend_type>
1398
- <config_path>payment/skrill_did/login</config_path>
1399
- <show_in_default>1</show_in_default>
1400
- <show_in_website>1</show_in_website>
1401
- <show_in_store>1</show_in_store>
1402
- </login>
1403
- <password translate="label">
1404
- <label>BACKEND_CH_PASSWORD</label>
1405
- <sort_order>9</sort_order>
1406
- <frontend_type>text</frontend_type>
1407
- <config_path>payment/skrill_did/password</config_path>
1408
- <show_in_default>1</show_in_default>
1409
- <show_in_website>1</show_in_website>
1410
- <show_in_store>1</show_in_store>
1411
- </password>
1412
- <allowspecific translate="label">
1413
- <label>BACKEND_CH_COUNTRIES</label>
1414
- <sort_order>10</sort_order>
1415
- <frontend_type>allowspecific</frontend_type>
1416
- <config_path>payment/skrill_did/allowspecific</config_path>
1417
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1418
- <show_in_default>1</show_in_default>
1419
- <show_in_website>1</show_in_website>
1420
- <show_in_store>1</show_in_store>
1421
- </allowspecific>
1422
- <specificcountry translate="label">
1423
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1424
- <sort_order>11</sort_order>
1425
- <frontend_type>multiselect</frontend_type>
1426
- <config_path>payment/skrill_did/specificcountry</config_path>
1427
- <source_model>adminhtml/system_config_source_country</source_model>
1428
- <can_be_empty>1</can_be_empty>
1429
- <show_in_default>1</show_in_default>
1430
- <show_in_website>1</show_in_website>
1431
- <show_in_store>1</show_in_store>
1432
- </specificcountry> -->
1433
- <sort_order translate="label">
1434
- <label>BACKEND_CH_ORDER</label>
1435
- <frontend_type>text</frontend_type>
1436
- <config_path>payment/skrill_did/sort_order</config_path>
1437
- <sort_order>12</sort_order>
1438
- <show_in_default>1</show_in_default>
1439
- <show_in_website>1</show_in_website>
1440
- <show_in_store>1</show_in_store>
1441
- </sort_order>
1442
- </fields>
1443
- </skrill_did>
1444
- <skrill_sft translate="label">
1445
- <label>SKRILL_BACKEND_PM_SFT</label>
1446
- <frontend_type>text</frontend_type>
1447
- <sort_order>119</sort_order>
1448
- <show_in_default>1</show_in_default>
1449
- <show_in_website>1</show_in_website>
1450
- <show_in_store>1</show_in_store>
1451
- <fields>
1452
- <!-- <version>
1453
- <label>v1.0.31</label>
1454
- <sort_order>1</sort_order>
1455
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1456
- <frontend_type>label</frontend_type>
1457
- <show_in_default>1</show_in_default>
1458
- <show_in_website>1</show_in_website>
1459
- <show_in_store>1</show_in_store>
1460
- </version> -->
1461
- <active translate="label">
1462
- <label>BACKEND_CH_ACTIVE</label>
1463
- <comment>Germany, Austria, Belgium, Netherlands, Italy, France, Poland and United Kingdom</comment>
1464
- <sort_order>2</sort_order>
1465
- <frontend_type>select</frontend_type>
1466
- <config_path>payment/skrill_sft/active</config_path>
1467
- <source_model>adminhtml/system_config_source_yesno</source_model>
1468
- <show_in_default>1</show_in_default>
1469
- <show_in_website>1</show_in_website>
1470
- <show_in_store>1</show_in_store>
1471
- </active>
1472
- <!-- <gateway translate="label">
1473
- <label>SKRILL_BACKEND_GATE</label>
1474
- <sort_order>3</sort_order>
1475
- <frontend_type>select</frontend_type>
1476
- <config_path>payment/skrill_sft/gateway</config_path>
1477
- <source_model>skrill/source_gateway</source_model>
1478
- <show_in_default>1</show_in_default>
1479
- <show_in_website>1</show_in_website>
1480
- <show_in_store>1</show_in_store>
1481
- </gateway> -->
1482
- <show_separately translate="label">
1483
- <label>SKRILL_BACKEND_PM_MODE</label>
1484
- <sort_order>4</sort_order>
1485
- <frontend_type>select</frontend_type>
1486
- <config_path>payment/skrill_sft/show_separately</config_path>
1487
- <source_model>adminhtml/system_config_source_yesno</source_model>
1488
- <show_in_default>1</show_in_default>
1489
- <show_in_website>1</show_in_website>
1490
- <show_in_store>1</show_in_store>
1491
- </show_separately>
1492
- <!-- <server_mode translate="label">
1493
- <label>BACKEND_CH_SERVER</label>
1494
- <frontend_type>select</frontend_type>
1495
- <config_path>payment/skrill_sft/server_mode</config_path>
1496
- <sort_order>5</sort_order>
1497
- <source_model>skrill/source_mode</source_model>
1498
- <show_in_default>1</show_in_default>
1499
- <show_in_website>1</show_in_website>
1500
- <show_in_store>1</show_in_store>
1501
- </server_mode>
1502
- <channel_id translate="label">
1503
- <label>BACKEND_CH_CHANNEL</label>
1504
- <sort_order>6</sort_order>
1505
- <frontend_type>text</frontend_type>
1506
- <config_path>payment/skrill_sft/channel_id</config_path>
1507
- <show_in_default>1</show_in_default>
1508
- <show_in_website>1</show_in_website>
1509
- <show_in_store>1</show_in_store>
1510
- </channel_id>
1511
- <sender translate="label">
1512
- <label>BACKEND_CH_SENDER</label>
1513
- <sort_order>7</sort_order>
1514
- <frontend_type>text</frontend_type>
1515
- <config_path>payment/skrill_sft/sender</config_path>
1516
- <show_in_default>1</show_in_default>
1517
- <show_in_website>1</show_in_website>
1518
- <show_in_store>1</show_in_store>
1519
- </sender>
1520
- <login translate="label">
1521
- <label>BACKEND_CH_LOGIN</label>
1522
- <sort_order>8</sort_order>
1523
- <frontend_type>text</frontend_type>
1524
- <config_path>payment/skrill_sft/login</config_path>
1525
- <show_in_default>1</show_in_default>
1526
- <show_in_website>1</show_in_website>
1527
- <show_in_store>1</show_in_store>
1528
- </login>
1529
- <password translate="label">
1530
- <label>BACKEND_CH_PASSWORD</label>
1531
- <sort_order>9</sort_order>
1532
- <frontend_type>text</frontend_type>
1533
- <config_path>payment/skrill_sft/password</config_path>
1534
- <show_in_default>1</show_in_default>
1535
- <show_in_website>1</show_in_website>
1536
- <show_in_store>1</show_in_store>
1537
- </password>
1538
- <allowspecific translate="label">
1539
- <label>BACKEND_CH_COUNTRIES</label>
1540
- <sort_order>10</sort_order>
1541
- <frontend_type>allowspecific</frontend_type>
1542
- <config_path>payment/skrill_sft/allowspecific</config_path>
1543
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1544
- <show_in_default>1</show_in_default>
1545
- <show_in_website>1</show_in_website>
1546
- <show_in_store>1</show_in_store>
1547
- </allowspecific>
1548
- <specificcountry translate="label">
1549
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1550
- <sort_order>11</sort_order>
1551
- <frontend_type>multiselect</frontend_type>
1552
- <config_path>payment/skrill_sft/specificcountry</config_path>
1553
- <source_model>adminhtml/system_config_source_country</source_model>
1554
- <can_be_empty>1</can_be_empty>
1555
- <show_in_default>1</show_in_default>
1556
- <show_in_website>1</show_in_website>
1557
- <show_in_store>1</show_in_store>
1558
- </specificcountry> -->
1559
- <sort_order translate="label">
1560
- <label>BACKEND_CH_ORDER</label>
1561
- <frontend_type>text</frontend_type>
1562
- <config_path>payment/skrill_sft/sort_order</config_path>
1563
- <sort_order>12</sort_order>
1564
- <show_in_default>1</show_in_default>
1565
- <show_in_website>1</show_in_website>
1566
- <show_in_store>1</show_in_store>
1567
- </sort_order>
1568
- </fields>
1569
- </skrill_sft>
1570
- <skrill_ebt translate="label">
1571
- <label>SKRILL_BACKEND_PM_EBT</label>
1572
- <frontend_type>text</frontend_type>
1573
- <sort_order>121</sort_order>
1574
- <show_in_default>1</show_in_default>
1575
- <show_in_website>1</show_in_website>
1576
- <show_in_store>1</show_in_store>
1577
- <fields>
1578
- <!-- <version>
1579
- <label>v1.0.31</label>
1580
- <sort_order>1</sort_order>
1581
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1582
- <frontend_type>label</frontend_type>
1583
- <show_in_default>1</show_in_default>
1584
- <show_in_website>1</show_in_website>
1585
- <show_in_store>1</show_in_store>
1586
- </version> -->
1587
- <active translate="label">
1588
- <label>BACKEND_CH_ACTIVE</label>
1589
- <comment>Sweden</comment>
1590
- <sort_order>2</sort_order>
1591
- <frontend_type>select</frontend_type>
1592
- <config_path>payment/skrill_ebt/active</config_path>
1593
- <source_model>adminhtml/system_config_source_yesno</source_model>
1594
- <show_in_default>1</show_in_default>
1595
- <show_in_website>1</show_in_website>
1596
- <show_in_store>1</show_in_store>
1597
- </active>
1598
- <show_separately translate="label">
1599
- <label>SKRILL_BACKEND_PM_MODE</label>
1600
- <sort_order>3</sort_order>
1601
- <frontend_type>select</frontend_type>
1602
- <config_path>payment/skrill_ebt/show_separately</config_path>
1603
- <source_model>adminhtml/system_config_source_yesno</source_model>
1604
- <show_in_default>1</show_in_default>
1605
- <show_in_website>1</show_in_website>
1606
- <show_in_store>1</show_in_store>
1607
- </show_separately>
1608
- <sort_order translate="label">
1609
- <label>BACKEND_CH_ORDER</label>
1610
- <frontend_type>text</frontend_type>
1611
- <config_path>payment/skrill_ebt/sort_order</config_path>
1612
- <sort_order>6</sort_order>
1613
- <show_in_default>1</show_in_default>
1614
- <show_in_website>1</show_in_website>
1615
- <show_in_store>1</show_in_store>
1616
- </sort_order>
1617
- </fields>
1618
- </skrill_ebt>
1619
- <skrill_idl translate="label">
1620
- <label>SKRILL_BACKEND_PM_IDL</label>
1621
- <frontend_type>text</frontend_type>
1622
- <sort_order>122</sort_order>
1623
- <show_in_default>1</show_in_default>
1624
- <show_in_website>1</show_in_website>
1625
- <show_in_store>1</show_in_store>
1626
- <fields>
1627
- <!-- <version>
1628
- <label>v1.0.31</label>
1629
- <sort_order>1</sort_order>
1630
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1631
- <frontend_type>label</frontend_type>
1632
- <show_in_default>1</show_in_default>
1633
- <show_in_website>1</show_in_website>
1634
- <show_in_store>1</show_in_store>
1635
- </version> -->
1636
- <active translate="label">
1637
- <label>BACKEND_CH_ACTIVE</label>
1638
- <comment>Netherlands</comment>
1639
- <sort_order>2</sort_order>
1640
- <frontend_type>select</frontend_type>
1641
- <config_path>payment/skrill_idl/active</config_path>
1642
- <source_model>adminhtml/system_config_source_yesno</source_model>
1643
- <show_in_default>1</show_in_default>
1644
- <show_in_website>1</show_in_website>
1645
- <show_in_store>1</show_in_store>
1646
- </active>
1647
- <!-- <gateway translate="label">
1648
- <label>SKRILL_BACKEND_GATE</label>
1649
- <sort_order>3</sort_order>
1650
- <frontend_type>select</frontend_type>
1651
- <config_path>payment/skrill_idl/gateway</config_path>
1652
- <source_model>skrill/source_gateway</source_model>
1653
- <show_in_default>1</show_in_default>
1654
- <show_in_website>1</show_in_website>
1655
- <show_in_store>1</show_in_store>
1656
- </gateway> -->
1657
- <show_separately translate="label">
1658
- <label>SKRILL_BACKEND_PM_MODE</label>
1659
- <sort_order>4</sort_order>
1660
- <frontend_type>select</frontend_type>
1661
- <config_path>payment/skrill_idl/show_separately</config_path>
1662
- <source_model>adminhtml/system_config_source_yesno</source_model>
1663
- <show_in_default>1</show_in_default>
1664
- <show_in_website>1</show_in_website>
1665
- <show_in_store>1</show_in_store>
1666
- </show_separately>
1667
- <!-- <server_mode translate="label">
1668
- <label>BACKEND_CH_SERVER</label>
1669
- <frontend_type>select</frontend_type>
1670
- <config_path>payment/skrill_idl/server_mode</config_path>
1671
- <sort_order>5</sort_order>
1672
- <source_model>skrill/source_mode</source_model>
1673
- <show_in_default>1</show_in_default>
1674
- <show_in_website>1</show_in_website>
1675
- <show_in_store>1</show_in_store>
1676
- </server_mode>
1677
- <channel_id translate="label">
1678
- <label>BACKEND_CH_CHANNEL</label>
1679
- <sort_order>6</sort_order>
1680
- <frontend_type>text</frontend_type>
1681
- <config_path>payment/skrill_idl/channel_id</config_path>
1682
- <show_in_default>1</show_in_default>
1683
- <show_in_website>1</show_in_website>
1684
- <show_in_store>1</show_in_store>
1685
- </channel_id>
1686
- <sender translate="label">
1687
- <label>BACKEND_CH_SENDER</label>
1688
- <sort_order>7</sort_order>
1689
- <frontend_type>text</frontend_type>
1690
- <config_path>payment/skrill_idl/sender</config_path>
1691
- <show_in_default>1</show_in_default>
1692
- <show_in_website>1</show_in_website>
1693
- <show_in_store>1</show_in_store>
1694
- </sender>
1695
- <login translate="label">
1696
- <label>BACKEND_CH_LOGIN</label>
1697
- <sort_order>8</sort_order>
1698
- <frontend_type>text</frontend_type>
1699
- <config_path>payment/skrill_idl/login</config_path>
1700
- <show_in_default>1</show_in_default>
1701
- <show_in_website>1</show_in_website>
1702
- <show_in_store>1</show_in_store>
1703
- </login>
1704
- <password translate="label">
1705
- <label>BACKEND_CH_PASSWORD</label>
1706
- <sort_order>9</sort_order>
1707
- <frontend_type>text</frontend_type>
1708
- <config_path>payment/skrill_idl/password</config_path>
1709
- <show_in_default>1</show_in_default>
1710
- <show_in_website>1</show_in_website>
1711
- <show_in_store>1</show_in_store>
1712
- </password>
1713
- <allowspecific translate="label">
1714
- <label>BACKEND_CH_COUNTRIES</label>
1715
- <sort_order>10</sort_order>
1716
- <frontend_type>allowspecific</frontend_type>
1717
- <config_path>payment/skrill_idl/allowspecific</config_path>
1718
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1719
- <show_in_default>1</show_in_default>
1720
- <show_in_website>1</show_in_website>
1721
- <show_in_store>1</show_in_store>
1722
- </allowspecific>
1723
- <specificcountry translate="label">
1724
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1725
- <sort_order>11</sort_order>
1726
- <frontend_type>multiselect</frontend_type>
1727
- <config_path>payment/skrill_idl/specificcountry</config_path>
1728
- <source_model>adminhtml/system_config_source_country</source_model>
1729
- <can_be_empty>1</can_be_empty>
1730
- <show_in_default>1</show_in_default>
1731
- <show_in_website>1</show_in_website>
1732
- <show_in_store>1</show_in_store>
1733
- </specificcountry> -->
1734
- <sort_order translate="label">
1735
- <label>BACKEND_CH_ORDER</label>
1736
- <frontend_type>text</frontend_type>
1737
- <config_path>payment/skrill_idl/sort_order</config_path>
1738
- <sort_order>12</sort_order>
1739
- <show_in_default>1</show_in_default>
1740
- <show_in_website>1</show_in_website>
1741
- <show_in_store>1</show_in_store>
1742
- </sort_order>
1743
- </fields>
1744
- </skrill_idl>
1745
- <skrill_npy translate="label">
1746
- <label>SKRILL_BACKEND_PM_NPY</label>
1747
- <frontend_type>text</frontend_type>
1748
- <sort_order>123</sort_order>
1749
- <show_in_default>1</show_in_default>
1750
- <show_in_website>1</show_in_website>
1751
- <show_in_store>1</show_in_store>
1752
- <fields>
1753
- <!-- <version>
1754
- <label>v1.0.31</label>
1755
- <sort_order>1</sort_order>
1756
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1757
- <frontend_type>label</frontend_type>
1758
- <show_in_default>1</show_in_default>
1759
- <show_in_website>1</show_in_website>
1760
- <show_in_store>1</show_in_store>
1761
- </version> -->
1762
- <active translate="label">
1763
- <label>BACKEND_CH_ACTIVE</label>
1764
- <comment>Austria</comment>
1765
- <sort_order>2</sort_order>
1766
- <frontend_type>select</frontend_type>
1767
- <config_path>payment/skrill_npy/active</config_path>
1768
- <source_model>adminhtml/system_config_source_yesno</source_model>
1769
- <show_in_default>1</show_in_default>
1770
- <show_in_website>1</show_in_website>
1771
- <show_in_store>1</show_in_store>
1772
- </active>
1773
- <!-- <gateway translate="label">
1774
- <label>SKRILL_BACKEND_GATE</label>
1775
- <sort_order>3</sort_order>
1776
- <frontend_type>select</frontend_type>
1777
- <config_path>payment/skrill_npy/gateway</config_path>
1778
- <source_model>skrill/source_gateway</source_model>
1779
- <show_in_default>1</show_in_default>
1780
- <show_in_website>1</show_in_website>
1781
- <show_in_store>1</show_in_store>
1782
- </gateway> -->
1783
- <show_separately translate="label">
1784
- <label>SKRILL_BACKEND_PM_MODE</label>
1785
- <sort_order>4</sort_order>
1786
- <frontend_type>select</frontend_type>
1787
- <config_path>payment/skrill_npy/show_separately</config_path>
1788
- <source_model>adminhtml/system_config_source_yesno</source_model>
1789
- <show_in_default>1</show_in_default>
1790
- <show_in_website>1</show_in_website>
1791
- <show_in_store>1</show_in_store>
1792
- </show_separately>
1793
- <!-- <server_mode translate="label">
1794
- <label>BACKEND_CH_SERVER</label>
1795
- <frontend_type>select</frontend_type>
1796
- <config_path>payment/skrill_npy/server_mode</config_path>
1797
- <sort_order>5</sort_order>
1798
- <source_model>skrill/source_mode</source_model>
1799
- <show_in_default>1</show_in_default>
1800
- <show_in_website>1</show_in_website>
1801
- <show_in_store>1</show_in_store>
1802
- </server_mode>
1803
- <channel_id translate="label">
1804
- <label>BACKEND_CH_CHANNEL</label>
1805
- <sort_order>6</sort_order>
1806
- <frontend_type>text</frontend_type>
1807
- <config_path>payment/skrill_npy/channel_id</config_path>
1808
- <show_in_default>1</show_in_default>
1809
- <show_in_website>1</show_in_website>
1810
- <show_in_store>1</show_in_store>
1811
- </channel_id>
1812
- <sender translate="label">
1813
- <label>BACKEND_CH_SENDER</label>
1814
- <sort_order>7</sort_order>
1815
- <frontend_type>text</frontend_type>
1816
- <config_path>payment/skrill_npy/sender</config_path>
1817
- <show_in_default>1</show_in_default>
1818
- <show_in_website>1</show_in_website>
1819
- <show_in_store>1</show_in_store>
1820
- </sender>
1821
- <login translate="label">
1822
- <label>BACKEND_CH_LOGIN</label>
1823
- <sort_order>8</sort_order>
1824
- <frontend_type>text</frontend_type>
1825
- <config_path>payment/skrill_npy/login</config_path>
1826
- <show_in_default>1</show_in_default>
1827
- <show_in_website>1</show_in_website>
1828
- <show_in_store>1</show_in_store>
1829
- </login>
1830
- <password translate="label">
1831
- <label>BACKEND_CH_PASSWORD</label>
1832
- <sort_order>9</sort_order>
1833
- <frontend_type>text</frontend_type>
1834
- <config_path>payment/skrill_npy/password</config_path>
1835
- <show_in_default>1</show_in_default>
1836
- <show_in_website>1</show_in_website>
1837
- <show_in_store>1</show_in_store>
1838
- </password>
1839
- <allowspecific translate="label">
1840
- <label>BACKEND_CH_COUNTRIES</label>
1841
- <sort_order>10</sort_order>
1842
- <frontend_type>allowspecific</frontend_type>
1843
- <config_path>payment/skrill_npy/allowspecific</config_path>
1844
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1845
- <show_in_default>1</show_in_default>
1846
- <show_in_website>1</show_in_website>
1847
- <show_in_store>1</show_in_store>
1848
- </allowspecific>
1849
- <specificcountry translate="label">
1850
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1851
- <sort_order>11</sort_order>
1852
- <frontend_type>multiselect</frontend_type>
1853
- <config_path>payment/skrill_npy/specificcountry</config_path>
1854
- <source_model>adminhtml/system_config_source_country</source_model>
1855
- <can_be_empty>1</can_be_empty>
1856
- <show_in_default>1</show_in_default>
1857
- <show_in_website>1</show_in_website>
1858
- <show_in_store>1</show_in_store>
1859
- </specificcountry> -->
1860
- <sort_order translate="label">
1861
- <label>BACKEND_CH_ORDER</label>
1862
- <frontend_type>text</frontend_type>
1863
- <config_path>payment/skrill_npy/sort_order</config_path>
1864
- <sort_order>12</sort_order>
1865
- <show_in_default>1</show_in_default>
1866
- <show_in_website>1</show_in_website>
1867
- <show_in_store>1</show_in_store>
1868
- </sort_order>
1869
- </fields>
1870
- </skrill_npy>
1871
- <skrill_pli translate="label">
1872
- <label>SKRILL_BACKEND_PM_PLI</label>
1873
- <frontend_type>text</frontend_type>
1874
- <sort_order>124</sort_order>
1875
- <show_in_default>1</show_in_default>
1876
- <show_in_website>1</show_in_website>
1877
- <show_in_store>1</show_in_store>
1878
- <fields>
1879
- <!-- <version>
1880
- <label>v1.0.31</label>
1881
- <sort_order>1</sort_order>
1882
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1883
- <frontend_type>label</frontend_type>
1884
- <show_in_default>1</show_in_default>
1885
- <show_in_website>1</show_in_website>
1886
- <show_in_store>1</show_in_store>
1887
- </version> -->
1888
- <active translate="label">
1889
- <label>BACKEND_CH_ACTIVE</label>
1890
- <comment>Australia</comment>
1891
- <sort_order>2</sort_order>
1892
- <frontend_type>select</frontend_type>
1893
- <config_path>payment/skrill_pli/active</config_path>
1894
- <source_model>adminhtml/system_config_source_yesno</source_model>
1895
- <show_in_default>1</show_in_default>
1896
- <show_in_website>1</show_in_website>
1897
- <show_in_store>1</show_in_store>
1898
- </active>
1899
- <show_separately translate="label">
1900
- <label>SKRILL_BACKEND_PM_MODE</label>
1901
- <sort_order>3</sort_order>
1902
- <frontend_type>select</frontend_type>
1903
- <config_path>payment/skrill_pli/show_separately</config_path>
1904
- <source_model>adminhtml/system_config_source_yesno</source_model>
1905
- <show_in_default>1</show_in_default>
1906
- <show_in_website>1</show_in_website>
1907
- <show_in_store>1</show_in_store>
1908
- </show_separately>
1909
- <sort_order translate="label">
1910
- <label>BACKEND_CH_ORDER</label>
1911
- <frontend_type>text</frontend_type>
1912
- <config_path>payment/skrill_pli/sort_order</config_path>
1913
- <sort_order>6</sort_order>
1914
- <show_in_default>1</show_in_default>
1915
- <show_in_website>1</show_in_website>
1916
- <show_in_store>1</show_in_store>
1917
- </sort_order>
1918
- </fields>
1919
- </skrill_pli>
1920
- <skrill_pwy translate="label">
1921
- <label>SKRILL_BACKEND_PM_PWY</label>
1922
- <frontend_type>text</frontend_type>
1923
- <sort_order>125</sort_order>
1924
- <show_in_default>1</show_in_default>
1925
- <show_in_website>1</show_in_website>
1926
- <show_in_store>1</show_in_store>
1927
- <fields>
1928
- <!-- <version>
1929
- <label>v1.0.31</label>
1930
- <sort_order>1</sort_order>
1931
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1932
- <frontend_type>label</frontend_type>
1933
- <show_in_default>1</show_in_default>
1934
- <show_in_website>1</show_in_website>
1935
- <show_in_store>1</show_in_store>
1936
- </version> -->
1937
- <active translate="label">
1938
- <label>BACKEND_CH_ACTIVE</label>
1939
- <comment>Poland</comment>
1940
- <sort_order>2</sort_order>
1941
- <frontend_type>select</frontend_type>
1942
- <config_path>payment/skrill_pwy/active</config_path>
1943
- <source_model>adminhtml/system_config_source_yesno</source_model>
1944
- <show_in_default>1</show_in_default>
1945
- <show_in_website>1</show_in_website>
1946
- <show_in_store>1</show_in_store>
1947
- </active>
1948
- <show_separately translate="label">
1949
- <label>SKRILL_BACKEND_PM_MODE</label>
1950
- <sort_order>3</sort_order>
1951
- <frontend_type>select</frontend_type>
1952
- <config_path>payment/skrill_pwy/show_separately</config_path>
1953
- <source_model>adminhtml/system_config_source_yesno</source_model>
1954
- <show_in_default>1</show_in_default>
1955
- <show_in_website>1</show_in_website>
1956
- <show_in_store>1</show_in_store>
1957
- </show_separately>
1958
- <sort_order translate="label">
1959
- <label>BACKEND_CH_ORDER</label>
1960
- <frontend_type>text</frontend_type>
1961
- <config_path>payment/skrill_pwy/sort_order</config_path>
1962
- <sort_order>6</sort_order>
1963
- <show_in_default>1</show_in_default>
1964
- <show_in_website>1</show_in_website>
1965
- <show_in_store>1</show_in_store>
1966
- </sort_order>
1967
- </fields>
1968
- </skrill_pwy>
1969
- <skrill_epy translate="label">
1970
- <label>SKRILL_BACKEND_PM_EPY</label>
1971
- <frontend_type>text</frontend_type>
1972
- <sort_order>126</sort_order>
1973
- <show_in_default>1</show_in_default>
1974
- <show_in_website>1</show_in_website>
1975
- <show_in_store>1</show_in_store>
1976
- <fields>
1977
- <!-- <version>
1978
- <label>v1.0.31</label>
1979
- <sort_order>1</sort_order>
1980
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1981
- <frontend_type>label</frontend_type>
1982
- <show_in_default>1</show_in_default>
1983
- <show_in_website>1</show_in_website>
1984
- <show_in_store>1</show_in_store>
1985
- </version> -->
1986
- <active translate="label">
1987
- <label>BACKEND_CH_ACTIVE</label>
1988
- <comment>Bulgaria</comment>
1989
- <sort_order>2</sort_order>
1990
- <frontend_type>select</frontend_type>
1991
- <config_path>payment/skrill_epy/active</config_path>
1992
- <source_model>adminhtml/system_config_source_yesno</source_model>
1993
- <show_in_default>1</show_in_default>
1994
- <show_in_website>1</show_in_website>
1995
- <show_in_store>1</show_in_store>
1996
- </active>
1997
- <show_separately translate="label">
1998
- <label>SKRILL_BACKEND_PM_MODE</label>
1999
- <sort_order>3</sort_order>
2000
- <frontend_type>select</frontend_type>
2001
- <config_path>payment/skrill_epy/show_separately</config_path>
2002
- <source_model>adminhtml/system_config_source_yesno</source_model>
2003
- <show_in_default>1</show_in_default>
2004
- <show_in_website>1</show_in_website>
2005
- <show_in_store>1</show_in_store>
2006
- </show_separately>
2007
- <sort_order translate="label">
2008
- <label>BACKEND_CH_ORDER</label>
2009
- <frontend_type>text</frontend_type>
2010
- <config_path>payment/skrill_epy/sort_order</config_path>
2011
- <sort_order>6</sort_order>
2012
- <show_in_default>1</show_in_default>
2013
- <show_in_website>1</show_in_website>
2014
- <show_in_store>1</show_in_store>
2015
- </sort_order>
2016
- </fields>
2017
- </skrill_epy>
2018
- <skrill_glu translate="label">
2019
- <label>SKRILL_BACKEND_PM_GLU</label>
2020
- <frontend_type>text</frontend_type>
2021
- <sort_order>127</sort_order>
2022
- <show_in_default>1</show_in_default>
2023
- <show_in_website>1</show_in_website>
2024
- <show_in_store>1</show_in_store>
2025
- <fields>
2026
- <!-- <version>
2027
- <label>v1.0.31</label>
2028
- <sort_order>1</sort_order>
2029
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2030
- <frontend_type>label</frontend_type>
2031
- <show_in_default>1</show_in_default>
2032
- <show_in_website>1</show_in_website>
2033
- <show_in_store>1</show_in_store>
2034
- </version> -->
2035
- <active translate="label">
2036
- <label>BACKEND_CH_ACTIVE</label>
2037
- <comment>Sweden, Finland, Estonia, Denmark, Spain, Poland, Italy, France, Germany, Portugal, Austria, Latvia, Lithuania, Netherlands, Czech Republic, Slovakia, United Kingdom, and Norway</comment>
2038
- <sort_order>2</sort_order>
2039
- <frontend_type>select</frontend_type>
2040
- <config_path>payment/skrill_glu/active</config_path>
2041
- <source_model>adminhtml/system_config_source_yesno</source_model>
2042
- <show_in_default>1</show_in_default>
2043
- <show_in_website>1</show_in_website>
2044
- <show_in_store>1</show_in_store>
2045
- </active>
2046
- <show_separately translate="label">
2047
- <label>SKRILL_BACKEND_PM_MODE</label>
2048
- <sort_order>3</sort_order>
2049
- <frontend_type>select</frontend_type>
2050
- <config_path>payment/skrill_glu/show_separately</config_path>
2051
- <source_model>adminhtml/system_config_source_yesno</source_model>
2052
- <show_in_default>1</show_in_default>
2053
- <show_in_website>1</show_in_website>
2054
- <show_in_store>1</show_in_store>
2055
- </show_separately>
2056
- <sort_order translate="label">
2057
- <label>BACKEND_CH_ORDER</label>
2058
- <frontend_type>text</frontend_type>
2059
- <config_path>payment/skrill_glu/sort_order</config_path>
2060
- <sort_order>6</sort_order>
2061
- <show_in_default>1</show_in_default>
2062
- <show_in_website>1</show_in_website>
2063
- <show_in_store>1</show_in_store>
2064
- </sort_order>
2065
- </fields>
2066
- </skrill_glu>
2067
- <skrill_ali translate="label">
2068
- <label>SKRILL_BACKEND_PM_ALI</label>
2069
- <frontend_type>text</frontend_type>
2070
- <sort_order>127</sort_order>
2071
- <show_in_default>1</show_in_default>
2072
- <show_in_website>1</show_in_website>
2073
- <show_in_store>1</show_in_store>
2074
- <fields>
2075
- <!-- <version>
2076
- <label>v1.0.31</label>
2077
- <sort_order>1</sort_order>
2078
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2079
- <frontend_type>label</frontend_type>
2080
- <show_in_default>1</show_in_default>
2081
- <show_in_website>1</show_in_website>
2082
- <show_in_store>1</show_in_store>
2083
- </version> -->
2084
- <active translate="label">
2085
- <label>BACKEND_CH_ACTIVE</label>
2086
- <comment>Consumer location: China only. Merchant location: This is available for merchants in all countries except China.</comment>
2087
- <sort_order>2</sort_order>
2088
- <frontend_type>select</frontend_type>
2089
- <config_path>payment/skrill_ali/active</config_path>
2090
- <source_model>adminhtml/system_config_source_yesno</source_model>
2091
- <show_in_default>1</show_in_default>
2092
- <show_in_website>1</show_in_website>
2093
- <show_in_store>1</show_in_store>
2094
- </active>
2095
- <show_separately translate="label">
2096
- <label>SKRILL_BACKEND_PM_MODE</label>
2097
- <sort_order>3</sort_order>
2098
- <frontend_type>select</frontend_type>
2099
- <config_path>payment/skrill_ali/show_separately</config_path>
2100
- <source_model>adminhtml/system_config_source_yesno</source_model>
2101
- <show_in_default>1</show_in_default>
2102
- <show_in_website>1</show_in_website>
2103
- <show_in_store>1</show_in_store>
2104
- </show_separately>
2105
- <sort_order translate="label">
2106
- <label>BACKEND_CH_ORDER</label>
2107
- <frontend_type>text</frontend_type>
2108
- <config_path>payment/skrill_ali/sort_order</config_path>
2109
- <sort_order>6</sort_order>
2110
- <show_in_default>1</show_in_default>
2111
- <show_in_website>1</show_in_website>
2112
- <show_in_store>1</show_in_store>
2113
- </sort_order>
2114
- </fields>
2115
- </skrill_ali>
2116
- <skrill_adb translate="label">
2117
- <label>SKRILL_BACKEND_PM_ADB</label>
2118
- <frontend_type>text</frontend_type>
2119
- <sort_order>128</sort_order>
2120
- <show_in_default>1</show_in_default>
2121
- <show_in_website>1</show_in_website>
2122
- <show_in_store>1</show_in_store>
2123
- <fields>
2124
- <!-- <version>
2125
- <label>v1.0.31</label>
2126
- <sort_order>1</sort_order>
2127
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2128
- <frontend_type>label</frontend_type>
2129
- <show_in_default>1</show_in_default>
2130
- <show_in_website>1</show_in_website>
2131
- <show_in_store>1</show_in_store>
2132
- </version> -->
2133
- <active translate="label">
2134
- <label>BACKEND_CH_ACTIVE</label>
2135
- <comment>Argentina, Brazil, China</comment>
2136
- <sort_order>2</sort_order>
2137
- <frontend_type>select</frontend_type>
2138
- <config_path>payment/skrill_adb/active</config_path>
2139
- <source_model>adminhtml/system_config_source_yesno</source_model>
2140
- <show_in_default>1</show_in_default>
2141
- <show_in_website>1</show_in_website>
2142
- <show_in_store>1</show_in_store>
2143
- </active>
2144
- <show_separately translate="label">
2145
- <label>SKRILL_BACKEND_PM_MODE</label>
2146
- <sort_order>3</sort_order>
2147
- <frontend_type>select</frontend_type>
2148
- <config_path>payment/skrill_adb/show_separately</config_path>
2149
- <source_model>adminhtml/system_config_source_yesno</source_model>
2150
- <show_in_default>1</show_in_default>
2151
- <show_in_website>1</show_in_website>
2152
- <show_in_store>1</show_in_store>
2153
- </show_separately>
2154
- <sort_order translate="label">
2155
- <label>BACKEND_CH_ORDER</label>
2156
- <frontend_type>text</frontend_type>
2157
- <config_path>payment/skrill_adb/sort_order</config_path>
2158
- <sort_order>6</sort_order>
2159
- <show_in_default>1</show_in_default>
2160
- <show_in_website>1</show_in_website>
2161
- <show_in_store>1</show_in_store>
2162
- </sort_order>
2163
- </fields>
2164
- </skrill_adb>
2165
- <skrill_aob translate="label">
2166
- <label>SKRILL_BACKEND_PM_AOB</label>
2167
- <frontend_type>text</frontend_type>
2168
- <sort_order>129</sort_order>
2169
- <show_in_default>1</show_in_default>
2170
- <show_in_website>1</show_in_website>
2171
- <show_in_store>1</show_in_store>
2172
- <fields>
2173
- <!-- <version>
2174
- <label>v1.0.31</label>
2175
- <sort_order>1</sort_order>
2176
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2177
- <frontend_type>label</frontend_type>
2178
- <show_in_default>1</show_in_default>
2179
- <show_in_website>1</show_in_website>
2180
- <show_in_store>1</show_in_store>
2181
- </version> -->
2182
- <active translate="label">
2183
- <label>BACKEND_CH_ACTIVE</label>
2184
- <comment>Brazil, Chile, Colombia</comment>
2185
- <sort_order>2</sort_order>
2186
- <frontend_type>select</frontend_type>
2187
- <config_path>payment/skrill_aob/active</config_path>
2188
- <source_model>adminhtml/system_config_source_yesno</source_model>
2189
- <show_in_default>1</show_in_default>
2190
- <show_in_website>1</show_in_website>
2191
- <show_in_store>1</show_in_store>
2192
- </active>
2193
- <show_separately translate="label">
2194
- <label>SKRILL_BACKEND_PM_MODE</label>
2195
- <sort_order>3</sort_order>
2196
- <frontend_type>select</frontend_type>
2197
- <config_path>payment/skrill_aob/show_separately</config_path>
2198
- <source_model>adminhtml/system_config_source_yesno</source_model>
2199
- <show_in_default>1</show_in_default>
2200
- <show_in_website>1</show_in_website>
2201
- <show_in_store>1</show_in_store>
2202
- </show_separately>
2203
- <sort_order translate="label">
2204
- <label>BACKEND_CH_ORDER</label>
2205
- <frontend_type>text</frontend_type>
2206
- <config_path>payment/skrill_aob/sort_order</config_path>
2207
- <sort_order>6</sort_order>
2208
- <show_in_default>1</show_in_default>
2209
- <show_in_website>1</show_in_website>
2210
- <show_in_store>1</show_in_store>
2211
- </sort_order>
2212
- </fields>
2213
- </skrill_aob>
2214
- <skrill_aci translate="label">
2215
- <label>SKRILL_BACKEND_PM_ACI</label>
2216
- <frontend_type>text</frontend_type>
2217
- <sort_order>130</sort_order>
2218
- <show_in_default>1</show_in_default>
2219
- <show_in_website>1</show_in_website>
2220
- <show_in_store>1</show_in_store>
2221
- <fields>
2222
- <!-- <version>
2223
- <label>v1.0.31</label>
2224
- <sort_order>1</sort_order>
2225
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2226
- <frontend_type>label</frontend_type>
2227
- <show_in_default>1</show_in_default>
2228
- <show_in_website>1</show_in_website>
2229
- <show_in_store>1</show_in_store>
2230
- </version> -->
2231
- <active translate="label">
2232
- <label>BACKEND_CH_ACTIVE</label>
2233
- <comment>Argentina, Brazil, Chile, Colombia, Mexico, Uruguay</comment>
2234
- <sort_order>2</sort_order>
2235
- <frontend_type>select</frontend_type>
2236
- <config_path>payment/skrill_aci/active</config_path>
2237
- <source_model>adminhtml/system_config_source_yesno</source_model>
2238
- <show_in_default>1</show_in_default>
2239
- <show_in_website>1</show_in_website>
2240
- <show_in_store>1</show_in_store>
2241
- </active>
2242
- <show_separately translate="label">
2243
- <label>SKRILL_BACKEND_PM_MODE</label>
2244
- <sort_order>3</sort_order>
2245
- <frontend_type>select</frontend_type>
2246
- <config_path>payment/skrill_aci/show_separately</config_path>
2247
- <source_model>adminhtml/system_config_source_yesno</source_model>
2248
- <show_in_default>1</show_in_default>
2249
- <show_in_website>1</show_in_website>
2250
- <show_in_store>1</show_in_store>
2251
- </show_separately>
2252
- <sort_order translate="label">
2253
- <label>BACKEND_CH_ORDER</label>
2254
- <frontend_type>text</frontend_type>
2255
- <config_path>payment/skrill_aci/sort_order</config_path>
2256
- <sort_order>6</sort_order>
2257
- <show_in_default>1</show_in_default>
2258
- <show_in_website>1</show_in_website>
2259
- <show_in_store>1</show_in_store>
2260
- </sort_order>
2261
- </fields>
2262
- </skrill_aci>
2263
- <skrill_aup translate="label">
2264
- <label>SKRILL_BACKEND_PM_AUP</label>
2265
- <frontend_type>text</frontend_type>
2266
- <sort_order>131</sort_order>
2267
- <show_in_default>1</show_in_default>
2268
- <show_in_website>1</show_in_website>
2269
- <show_in_store>1</show_in_store>
2270
- <fields>
2271
- <!-- <version>
2272
- <label>v1.0.31</label>
2273
- <sort_order>1</sort_order>
2274
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2275
- <frontend_type>label</frontend_type>
2276
- <show_in_default>1</show_in_default>
2277
- <show_in_website>1</show_in_website>
2278
- <show_in_store>1</show_in_store>
2279
- </version> -->
2280
- <active translate="label">
2281
- <label>BACKEND_CH_ACTIVE</label>
2282
- <comment>China</comment>
2283
- <sort_order>2</sort_order>
2284
- <frontend_type>select</frontend_type>
2285
- <config_path>payment/skrill_aup/active</config_path>
2286
- <source_model>adminhtml/system_config_source_yesno</source_model>
2287
- <show_in_default>1</show_in_default>
2288
- <show_in_website>1</show_in_website>
2289
- <show_in_store>1</show_in_store>
2290
- </active>
2291
- <show_separately translate="label">
2292
- <label>SKRILL_BACKEND_PM_MODE</label>
2293
- <sort_order>3</sort_order>
2294
- <frontend_type>select</frontend_type>
2295
- <config_path>payment/skrill_aup/show_separately</config_path>
2296
- <source_model>adminhtml/system_config_source_yesno</source_model>
2297
- <show_in_default>1</show_in_default>
2298
- <show_in_website>1</show_in_website>
2299
- <show_in_store>1</show_in_store>
2300
- </show_separately>
2301
- <sort_order translate="label">
2302
- <label>BACKEND_CH_ORDER</label>
2303
- <frontend_type>text</frontend_type>
2304
- <config_path>payment/skrill_aup/sort_order</config_path>
2305
- <sort_order>6</sort_order>
2306
- <show_in_default>1</show_in_default>
2307
- <show_in_website>1</show_in_website>
2308
- <show_in_store>1</show_in_store>
2309
- </sort_order>
2310
- </fields>
2311
- </skrill_aup>
2312
-
2313
- <!-- <skrill_paypal module="skrill" translate="label">
2314
- <label>SKRILL_BACKEND_PM_PAYPAL</label>
2315
- <show_in_default>1</show_in_default>
2316
- <show_in_website>1</show_in_website>
2317
- <show_in_store>1</show_in_store>
2318
- <sort_order>1600</sort_order>
2319
- <fields>
2320
- <version>
2321
- <label>v1.0.31</label>
2322
- <sort_order>1</sort_order>
2323
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2324
- <frontend_type>label</frontend_type>
2325
- <show_in_default>1</show_in_default>
2326
- <show_in_website>1</show_in_website>
2327
- <show_in_store>1</show_in_store>
2328
- </version>
2329
-
2330
- <active translate="label,comment">
2331
- <label>BACKEND_CH_ACTIVE</label>
2332
- <comment>SKRILL_BACKEND_TT_PAYPAL</comment>
2333
- <sort_order>2</sort_order>
2334
- <frontend_type>select</frontend_type>
2335
- <config_path>payment/skrill_paypal/active</config_path>
2336
- <source_model>adminhtml/system_config_source_yesno</source_model>
2337
- <show_in_default>1</show_in_default>
2338
- <show_in_website>1</show_in_website>
2339
- <show_in_store>1</show_in_store>
2340
- </active>
2341
-
2342
- <server_mode translate="label">
2343
- <label>BACKEND_CH_SERVER</label>
2344
- <frontend_type>select</frontend_type>
2345
- <config_path>payment/skrill_paypal/server_mode</config_path>
2346
- <sort_order>3</sort_order>
2347
- <source_model>skrill/source_mode</source_model>
2348
- <show_in_default>1</show_in_default>
2349
- <show_in_website>1</show_in_website>
2350
- <show_in_store>1</show_in_store>
2351
- </server_mode>
2352
-
2353
- <channel_id translate="label">
2354
- <label>BACKEND_CH_CHANNEL</label>
2355
- <sort_order>6</sort_order>
2356
- <frontend_type>text</frontend_type>
2357
- <config_path>payment/skrill_paypal/channel_id</config_path>
2358
- <show_in_default>1</show_in_default>
2359
- <show_in_website>1</show_in_website>
2360
- <show_in_store>1</show_in_store>
2361
- </channel_id>
2362
-
2363
- <sender translate="label">
2364
- <label>BACKEND_CH_SENDER</label>
2365
- <sort_order>7</sort_order>
2366
- <frontend_type>text</frontend_type>
2367
- <config_path>payment/skrill_paypal/sender</config_path>
2368
- <show_in_default>1</show_in_default>
2369
- <show_in_website>1</show_in_website>
2370
- <show_in_store>1</show_in_store>
2371
- </sender>
2372
-
2373
- <login translate="label">
2374
- <label>BACKEND_CH_LOGIN</label>
2375
- <sort_order>8</sort_order>
2376
- <frontend_type>text</frontend_type>
2377
- <config_path>payment/skrill_paypal/login</config_path>
2378
- <show_in_default>1</show_in_default>
2379
- <show_in_website>1</show_in_website>
2380
- <show_in_store>1</show_in_store>
2381
- </login>
2382
-
2383
- <password translate="label">
2384
- <label>BACKEND_CH_PASSWORD</label>
2385
- <sort_order>9</sort_order>
2386
- <frontend_type>text</frontend_type>
2387
- <config_path>payment/skrill_paypal/password</config_path>
2388
- <show_in_default>1</show_in_default>
2389
- <show_in_website>1</show_in_website>
2390
- <show_in_store>1</show_in_store>
2391
- </password>
2392
-
2393
- <allowspecific translate="label">
2394
- <label>BACKEND_CH_COUNTRIES</label>
2395
- <sort_order>10</sort_order>
2396
- <frontend_type>allowspecific</frontend_type>
2397
- <config_path>payment/skrill_paypal/allowspecific</config_path>
2398
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2399
- <show_in_default>1</show_in_default>
2400
- <show_in_website>1</show_in_website>
2401
- <show_in_store>1</show_in_store>
2402
- </allowspecific>
2403
-
2404
- <specificcountry translate="label">
2405
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2406
- <sort_order>11</sort_order>
2407
- <frontend_type>multiselect</frontend_type>
2408
- <config_path>payment/skrill_paypal/specificcountry</config_path>
2409
- <source_model>adminhtml/system_config_source_country</source_model>
2410
- <can_be_empty>1</can_be_empty>
2411
- <show_in_default>1</show_in_default>
2412
- <show_in_website>1</show_in_website>
2413
- <show_in_store>1</show_in_store>
2414
- </specificcountry>
2415
- <sort_order translate="label">
2416
- <label>BACKEND_CH_ORDER</label>
2417
- <frontend_type>text</frontend_type>
2418
- <config_path>payment/skrill_paypal/sort_order</config_path>
2419
- <sort_order>15</sort_order>
2420
- <show_in_default>1</show_in_default>
2421
- <show_in_website>1</show_in_website>
2422
- <show_in_store>1</show_in_store>
2423
- </sort_order>
2424
- </fields>
2425
- </skrill_paypal> -->
2426
-
2427
- <!-- <skrill_payolutioninv module="skrill" translate="label">
2428
- <label>SKRILL_BACKEND_PM_PAYOLUTIONINV</label>
2429
- <show_in_default>1</show_in_default>
2430
- <show_in_website>1</show_in_website>
2431
- <show_in_store>1</show_in_store>
2432
- <sort_order>1800</sort_order>
2433
- <fields>
2434
- <version>
2435
- <label>v1.0.31</label>
2436
- <sort_order>1</sort_order>
2437
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2438
- <frontend_type>label</frontend_type>
2439
- <show_in_default>1</show_in_default>
2440
- <show_in_website>1</show_in_website>
2441
- <show_in_store>1</show_in_store>
2442
- </version>
2443
-
2444
- <active translate="label,comment">
2445
- <label>BACKEND_CH_ACTIVE</label>
2446
- <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2447
- <sort_order>2</sort_order>
2448
- <frontend_type>select</frontend_type>
2449
- <config_path>payment/skrill_payolutioninv/active</config_path>
2450
- <source_model>adminhtml/system_config_source_yesno</source_model>
2451
- <show_in_default>1</show_in_default>
2452
- <show_in_website>1</show_in_website>
2453
- <show_in_store>1</show_in_store>
2454
- </active>
2455
-
2456
- <server_mode translate="label">
2457
- <label>BACKEND_CH_SERVER</label>
2458
- <frontend_type>select</frontend_type>
2459
- <config_path>payment/skrill_payolutioninv/server_mode</config_path>
2460
- <sort_order>3</sort_order>
2461
- <source_model>skrill/source_mode</source_model>
2462
- <show_in_default>1</show_in_default>
2463
- <show_in_website>1</show_in_website>
2464
- <show_in_store>1</show_in_store>
2465
- </server_mode>
2466
-
2467
- <channel_id translate="label">
2468
- <label>BACKEND_CH_CHANNEL</label>
2469
- <sort_order>6</sort_order>
2470
- <frontend_type>text</frontend_type>
2471
- <config_path>payment/skrill_payolutioninv/channel_id</config_path>
2472
- <show_in_default>1</show_in_default>
2473
- <show_in_website>1</show_in_website>
2474
- <show_in_store>1</show_in_store>
2475
- </channel_id>
2476
-
2477
- <sender translate="label">
2478
- <label>BACKEND_CH_SENDER</label>
2479
- <sort_order>7</sort_order>
2480
- <frontend_type>text</frontend_type>
2481
- <config_path>payment/skrill_payolutioninv/sender</config_path>
2482
- <show_in_default>1</show_in_default>
2483
- <show_in_website>1</show_in_website>
2484
- <show_in_store>1</show_in_store>
2485
- </sender>
2486
-
2487
- <login translate="label">
2488
- <label>BACKEND_CH_LOGIN</label>
2489
- <sort_order>8</sort_order>
2490
- <frontend_type>text</frontend_type>
2491
- <config_path>payment/skrill_payolutioninv/login</config_path>
2492
- <show_in_default>1</show_in_default>
2493
- <show_in_website>1</show_in_website>
2494
- <show_in_store>1</show_in_store>
2495
- </login>
2496
-
2497
- <password translate="label">
2498
- <label>BACKEND_CH_PASSWORD</label>
2499
- <sort_order>9</sort_order>
2500
- <frontend_type>text</frontend_type>
2501
- <config_path>payment/skrill_payolutioninv/password</config_path>
2502
- <show_in_default>1</show_in_default>
2503
- <show_in_website>1</show_in_website>
2504
- <show_in_store>1</show_in_store>
2505
- </password>
2506
-
2507
- <allowspecific translate="label">
2508
- <label>BACKEND_CH_COUNTRIES</label>
2509
- <sort_order>10</sort_order>
2510
- <frontend_type>allowspecific</frontend_type>
2511
- <config_path>payment/skrill_payolutioninv/allowspecific</config_path>
2512
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2513
- <show_in_default>1</show_in_default>
2514
- <show_in_website>1</show_in_website>
2515
- <show_in_store>1</show_in_store>
2516
- </allowspecific>
2517
-
2518
- <specificcountry translate="label">
2519
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2520
- <sort_order>11</sort_order>
2521
- <frontend_type>multiselect</frontend_type>
2522
- <config_path>payment/skrill_payolutioninv/specificcountry</config_path>
2523
- <source_model>adminhtml/system_config_source_country</source_model>
2524
- <can_be_empty>1</can_be_empty>
2525
- <show_in_default>1</show_in_default>
2526
- <show_in_website>1</show_in_website>
2527
- <show_in_store>1</show_in_store>
2528
- </specificcountry>
2529
- <sort_order translate="label">
2530
- <label>BACKEND_CH_ORDER</label>
2531
- <frontend_type>text</frontend_type>
2532
- <config_path>payment/skrill_payolutioninv/sort_order</config_path>
2533
- <sort_order>15</sort_order>
2534
- <show_in_default>1</show_in_default>
2535
- <show_in_website>1</show_in_website>
2536
- <show_in_store>1</show_in_store>
2537
- </sort_order>
2538
- </fields>
2539
- </skrill_payolutioninv>
2540
-
2541
- <skrill_payolutionins module="skrill" translate="label">
2542
- <label>SKRILL_BACKEND_PM_PAYOLUTIONINS</label>
2543
- <show_in_default>1</show_in_default>
2544
- <show_in_website>1</show_in_website>
2545
- <show_in_store>1</show_in_store>
2546
- <sort_order>1900</sort_order>
2547
- <fields>
2548
- <version>
2549
- <label>v1.0.31</label>
2550
- <sort_order>1</sort_order>
2551
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2552
- <frontend_type>label</frontend_type>
2553
- <show_in_default>1</show_in_default>
2554
- <show_in_website>1</show_in_website>
2555
- <show_in_store>1</show_in_store>
2556
- </version>
2557
-
2558
- <active translate="label,comment">
2559
- <label>BACKEND_CH_ACTIVE</label>
2560
- <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2561
- <sort_order>2</sort_order>
2562
- <frontend_type>select</frontend_type>
2563
- <config_path>payment/skrill_payolutionins/active</config_path>
2564
- <source_model>adminhtml/system_config_source_yesno</source_model>
2565
- <show_in_default>1</show_in_default>
2566
- <show_in_website>1</show_in_website>
2567
- <show_in_store>1</show_in_store>
2568
- </active>
2569
-
2570
- <server_mode translate="label">
2571
- <label>BACKEND_CH_SERVER</label>
2572
- <frontend_type>select</frontend_type>
2573
- <config_path>payment/skrill_payolutionins/server_mode</config_path>
2574
- <sort_order>3</sort_order>
2575
- <source_model>skrill/source_mode</source_model>
2576
- <show_in_default>1</show_in_default>
2577
- <show_in_website>1</show_in_website>
2578
- <show_in_store>1</show_in_store>
2579
- </server_mode>
2580
-
2581
- <channel_id translate="label">
2582
- <label>BACKEND_CH_CHANNEL</label>
2583
- <sort_order>6</sort_order>
2584
- <frontend_type>text</frontend_type>
2585
- <config_path>payment/skrill_payolutionins/channel_id</config_path>
2586
- <show_in_default>1</show_in_default>
2587
- <show_in_website>1</show_in_website>
2588
- <show_in_store>1</show_in_store>
2589
- </channel_id>
2590
-
2591
- <sender translate="label">
2592
- <label>BACKEND_CH_SENDER</label>
2593
- <sort_order>7</sort_order>
2594
- <frontend_type>text</frontend_type>
2595
- <config_path>payment/skrill_payolutionins/sender</config_path>
2596
- <show_in_default>1</show_in_default>
2597
- <show_in_website>1</show_in_website>
2598
- <show_in_store>1</show_in_store>
2599
- </sender>
2600
-
2601
- <login translate="label">
2602
- <label>BACKEND_CH_LOGIN</label>
2603
- <sort_order>8</sort_order>
2604
- <frontend_type>text</frontend_type>
2605
- <config_path>payment/skrill_payolutionins/login</config_path>
2606
- <show_in_default>1</show_in_default>
2607
- <show_in_website>1</show_in_website>
2608
- <show_in_store>1</show_in_store>
2609
- </login>
2610
-
2611
- <password translate="label">
2612
- <label>BACKEND_CH_PASSWORD</label>
2613
- <sort_order>9</sort_order>
2614
- <frontend_type>text</frontend_type>
2615
- <config_path>payment/skrill_payolutionins/password</config_path>
2616
- <show_in_default>1</show_in_default>
2617
- <show_in_website>1</show_in_website>
2618
- <show_in_store>1</show_in_store>
2619
- </password>
2620
-
2621
- <allowspecific translate="label">
2622
- <label>BACKEND_CH_COUNTRIES</label>
2623
- <sort_order>10</sort_order>
2624
- <frontend_type>allowspecific</frontend_type>
2625
- <config_path>payment/skrill_payolutionins/allowspecific</config_path>
2626
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2627
- <show_in_default>1</show_in_default>
2628
- <show_in_website>1</show_in_website>
2629
- <show_in_store>1</show_in_store>
2630
- </allowspecific>
2631
-
2632
- <specificcountry translate="label">
2633
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2634
- <sort_order>11</sort_order>
2635
- <frontend_type>multiselect</frontend_type>
2636
- <config_path>payment/skrill_payolutionins/specificcountry</config_path>
2637
- <source_model>adminhtml/system_config_source_country</source_model>
2638
- <can_be_empty>1</can_be_empty>
2639
- <show_in_default>1</show_in_default>
2640
- <show_in_website>1</show_in_website>
2641
- <show_in_store>1</show_in_store>
2642
- </specificcountry>
2643
- <sort_order translate="label">
2644
- <label>BACKEND_CH_ORDER</label>
2645
- <frontend_type>text</frontend_type>
2646
- <config_path>payment/skrill_payolutionins/sort_order</config_path>
2647
- <sort_order>15</sort_order>
2648
- <show_in_default>1</show_in_default>
2649
- <show_in_website>1</show_in_website>
2650
- <show_in_store>1</show_in_store>
2651
- </sort_order>
2652
- </fields>
2653
- </skrill_payolutionins> -->
2654
-
2655
- <!-- <skrill_paytrail module="skrill" translate="label">
2656
- <label>SKRILL_BACKEND_PM_PAYTRAIL</label>
2657
- <show_in_default>1</show_in_default>
2658
- <show_in_website>1</show_in_website>
2659
- <show_in_store>1</show_in_store>
2660
- <sort_order>2000</sort_order>
2661
- <fields>
2662
- <version>
2663
- <label>v1.0.31</label>
2664
- <sort_order>1</sort_order>
2665
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2666
- <frontend_type>label</frontend_type>
2667
- <show_in_default>1</show_in_default>
2668
- <show_in_website>1</show_in_website>
2669
- <show_in_store>1</show_in_store>
2670
- </version>
2671
-
2672
- <active translate="label">
2673
- <label>BACKEND_CH_ACTIVE</label>
2674
- <sort_order>2</sort_order>
2675
- <frontend_type>select</frontend_type>
2676
- <config_path>payment/skrill_paytrail/active</config_path>
2677
- <source_model>adminhtml/system_config_source_yesno</source_model>
2678
- <show_in_default>1</show_in_default>
2679
- <show_in_website>1</show_in_website>
2680
- <show_in_store>1</show_in_store>
2681
- </active>
2682
-
2683
- <server_mode translate="label">
2684
- <label>BACKEND_CH_SERVER</label>
2685
- <frontend_type>select</frontend_type>
2686
- <config_path>payment/skrill_paytrail/server_mode</config_path>
2687
- <sort_order>3</sort_order>
2688
- <source_model>skrill/source_mode</source_model>
2689
- <show_in_default>1</show_in_default>
2690
- <show_in_website>1</show_in_website>
2691
- <show_in_store>1</show_in_store>
2692
- </server_mode>
2693
-
2694
- <channel_id translate="label">
2695
- <label>BACKEND_CH_CHANNEL</label>
2696
- <sort_order>6</sort_order>
2697
- <frontend_type>text</frontend_type>
2698
- <config_path>payment/skrill_paytrail/channel_id</config_path>
2699
- <show_in_default>1</show_in_default>
2700
- <show_in_website>1</show_in_website>
2701
- <show_in_store>1</show_in_store>
2702
- </channel_id>
2703
-
2704
- <sender translate="label">
2705
- <label>BACKEND_CH_SENDER</label>
2706
- <sort_order>7</sort_order>
2707
- <frontend_type>text</frontend_type>
2708
- <config_path>payment/skrill_paytrail/sender</config_path>
2709
- <show_in_default>1</show_in_default>
2710
- <show_in_website>1</show_in_website>
2711
- <show_in_store>1</show_in_store>
2712
- </sender>
2713
-
2714
- <login translate="label">
2715
- <label>BACKEND_CH_LOGIN</label>
2716
- <sort_order>8</sort_order>
2717
- <frontend_type>text</frontend_type>
2718
- <config_path>payment/skrill_paytrail/login</config_path>
2719
- <show_in_default>1</show_in_default>
2720
- <show_in_website>1</show_in_website>
2721
- <show_in_store>1</show_in_store>
2722
- </login>
2723
-
2724
- <password translate="label">
2725
- <label>BACKEND_CH_PASSWORD</label>
2726
- <sort_order>9</sort_order>
2727
- <frontend_type>text</frontend_type>
2728
- <config_path>payment/skrill_paytrail/password</config_path>
2729
- <show_in_default>1</show_in_default>
2730
- <show_in_website>1</show_in_website>
2731
- <show_in_store>1</show_in_store>
2732
- </password>
2733
-
2734
- <allowspecific translate="label">
2735
- <label>BACKEND_CH_COUNTRIES</label>
2736
- <sort_order>10</sort_order>
2737
- <frontend_type>allowspecific</frontend_type>
2738
- <config_path>payment/skrill_paytrail/allowspecific</config_path>
2739
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2740
- <show_in_default>1</show_in_default>
2741
- <show_in_website>1</show_in_website>
2742
- <show_in_store>1</show_in_store>
2743
- </allowspecific>
2744
-
2745
- <specificcountry translate="label">
2746
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2747
- <sort_order>11</sort_order>
2748
- <frontend_type>multiselect</frontend_type>
2749
- <config_path>payment/skrill_paytrail/specificcountry</config_path>
2750
- <source_model>adminhtml/system_config_source_country</source_model>
2751
- <can_be_empty>1</can_be_empty>
2752
- <show_in_default>1</show_in_default>
2753
- <show_in_website>1</show_in_website>
2754
- <show_in_store>1</show_in_store>
2755
- </specificcountry>
2756
- <sort_order translate="label">
2757
- <label>BACKEND_CH_ORDER</label>
2758
- <frontend_type>text</frontend_type>
2759
- <config_path>payment/skrill_paytrail/sort_order</config_path>
2760
- <sort_order>15</sort_order>
2761
- <show_in_default>1</show_in_default>
2762
- <show_in_website>1</show_in_website>
2763
- <show_in_store>1</show_in_store>
2764
- </sort_order>
2765
- </fields>
2766
- </skrill_paytrail> -->
2767
-
2768
- <!-- <skrill_yandex module="skrill" translate="label">
2769
- <label>SKRILL_BACKEND_PM_YANDEX</label>
2770
- <show_in_default>1</show_in_default>
2771
- <show_in_website>1</show_in_website>
2772
- <show_in_store>1</show_in_store>
2773
- <sort_order>2100</sort_order>
2774
- <fields>
2775
- <version>
2776
- <label>v1.0.31</label>
2777
- <sort_order>1</sort_order>
2778
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2779
- <frontend_type>label</frontend_type>
2780
- <show_in_default>1</show_in_default>
2781
- <show_in_website>1</show_in_website>
2782
- <show_in_store>1</show_in_store>
2783
- </version>
2784
-
2785
- <active translate="label">
2786
- <label>BACKEND_CH_ACTIVE</label>
2787
- <sort_order>2</sort_order>
2788
- <frontend_type>select</frontend_type>
2789
- <config_path>payment/skrill_yandex/active</config_path>
2790
- <source_model>adminhtml/system_config_source_yesno</source_model>
2791
- <show_in_default>1</show_in_default>
2792
- <show_in_website>1</show_in_website>
2793
- <show_in_store>1</show_in_store>
2794
- </active>
2795
-
2796
- <server_mode translate="label">
2797
- <label>BACKEND_CH_SERVER</label>
2798
- <frontend_type>select</frontend_type>
2799
- <config_path>payment/skrill_yandex/server_mode</config_path>
2800
- <sort_order>3</sort_order>
2801
- <source_model>skrill/source_mode</source_model>
2802
- <show_in_default>1</show_in_default>
2803
- <show_in_website>1</show_in_website>
2804
- <show_in_store>1</show_in_store>
2805
- </server_mode>
2806
-
2807
- <channel_id translate="label">
2808
- <label>BACKEND_CH_CHANNEL</label>
2809
- <sort_order>6</sort_order>
2810
- <frontend_type>text</frontend_type>
2811
- <config_path>payment/skrill_yandex/channel_id</config_path>
2812
- <show_in_default>1</show_in_default>
2813
- <show_in_website>1</show_in_website>
2814
- <show_in_store>1</show_in_store>
2815
- </channel_id>
2816
-
2817
- <sender translate="label">
2818
- <label>BACKEND_CH_SENDER</label>
2819
- <sort_order>7</sort_order>
2820
- <frontend_type>text</frontend_type>
2821
- <config_path>payment/skrill_yandex/sender</config_path>
2822
- <show_in_default>1</show_in_default>
2823
- <show_in_website>1</show_in_website>
2824
- <show_in_store>1</show_in_store>
2825
- </sender>
2826
-
2827
- <login translate="label">
2828
- <label>BACKEND_CH_LOGIN</label>
2829
- <sort_order>8</sort_order>
2830
- <frontend_type>text</frontend_type>
2831
- <config_path>payment/skrill_yandex/login</config_path>
2832
- <show_in_default>1</show_in_default>
2833
- <show_in_website>1</show_in_website>
2834
- <show_in_store>1</show_in_store>
2835
- </login>
2836
-
2837
- <password translate="label">
2838
- <label>BACKEND_CH_PASSWORD</label>
2839
- <sort_order>9</sort_order>
2840
- <frontend_type>text</frontend_type>
2841
- <config_path>payment/skrill_yandex/password</config_path>
2842
- <show_in_default>1</show_in_default>
2843
- <show_in_website>1</show_in_website>
2844
- <show_in_store>1</show_in_store>
2845
- </password>
2846
-
2847
- <allowspecific translate="label">
2848
- <label>BACKEND_CH_COUNTRIES</label>
2849
- <sort_order>10</sort_order>
2850
- <frontend_type>allowspecific</frontend_type>
2851
- <config_path>payment/skrill_yandex/allowspecific</config_path>
2852
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2853
- <show_in_default>1</show_in_default>
2854
- <show_in_website>1</show_in_website>
2855
- <show_in_store>1</show_in_store>
2856
- </allowspecific>
2857
-
2858
- <specificcountry translate="label">
2859
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2860
- <sort_order>11</sort_order>
2861
- <frontend_type>multiselect</frontend_type>
2862
- <config_path>payment/skrill_yandex/specificcountry</config_path>
2863
- <source_model>adminhtml/system_config_source_country</source_model>
2864
- <can_be_empty>1</can_be_empty>
2865
- <show_in_default>1</show_in_default>
2866
- <show_in_website>1</show_in_website>
2867
- <show_in_store>1</show_in_store>
2868
- </specificcountry>
2869
- <sort_order translate="label">
2870
- <label>BACKEND_CH_ORDER</label>
2871
- <frontend_type>text</frontend_type>
2872
- <config_path>payment/skrill_yandex/sort_order</config_path>
2873
- <sort_order>15</sort_order>
2874
- <show_in_default>1</show_in_default>
2875
- <show_in_website>1</show_in_website>
2876
- <show_in_store>1</show_in_store>
2877
- </sort_order>
2878
- </fields>
2879
- </skrill_yandex> -->
2880
-
2881
- </groups>
2882
- </skrill>
2883
- </sections>
2884
- </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <config>
23
+ <sections>
24
+ <skrill translate="label" module="skrill">
25
+ <label>SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME</label>
26
+ <tab>sales</tab>
27
+ <frontend_type>text</frontend_type>
28
+ <sort_order>1000</sort_order>
29
+ <show_in_default>1</show_in_default>
30
+ <show_in_website>1</show_in_website>
31
+ <show_in_store>1</show_in_store>
32
+ <groups>
33
+ <skrill_settings translate="label">
34
+ <label>SKRILL_BACKEND_PM_SETTINGS</label>
35
+ <frontend_type>text</frontend_type>
36
+ <sort_order>98</sort_order>
37
+ <show_in_default>1</show_in_default>
38
+ <show_in_website>1</show_in_website>
39
+ <show_in_store>1</show_in_store>
40
+ <fields>
41
+ <version>
42
+ <label>v1.0.32</label>
43
+ <sort_order>1</sort_order>
44
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
45
+ <frontend_type>label</frontend_type>
46
+ <show_in_default>1</show_in_default>
47
+ <show_in_website>1</show_in_website>
48
+ <show_in_store>1</show_in_store>
49
+ </version>
50
+ <merchant_id translate="label,comment">
51
+ <label>SKRILL_BACKEND_MID</label>
52
+ <comment>SKRILL_BACKEND_TT_MID</comment>
53
+ <frontend_type>text</frontend_type>
54
+ <config_path>payment/skrill_settings/merchant_id</config_path>
55
+ <sort_order>2</sort_order>
56
+ <validate>required-entry</validate>
57
+ <show_in_default>1</show_in_default>
58
+ <show_in_website>1</show_in_website>
59
+ <show_in_store>1</show_in_store>
60
+ </merchant_id>
61
+ <merchant_account translate="label,comment">
62
+ <label>SKRILL_BACKEND_MERCHANT</label>
63
+ <comment>SKRILL_BACKEND_TT_MEMAIL</comment>
64
+ <frontend_type>text</frontend_type>
65
+ <config_path>payment/skrill_settings/merchant_account</config_path>
66
+ <sort_order>3</sort_order>
67
+ <validate>required-entry</validate>
68
+ <show_in_default>1</show_in_default>
69
+ <show_in_website>1</show_in_website>
70
+ <show_in_store>1</show_in_store>
71
+ </merchant_account>
72
+ <recipient_desc translate="label,comment">
73
+ <label>SKRILL_BACKEND_RECIPIENT</label>
74
+ <comment>SKRILL_BACKEND_TT_RECIPIENT</comment>
75
+ <frontend_type>text</frontend_type>
76
+ <config_path>payment/skrill_settings/recipient_desc</config_path>
77
+ <sort_order>4</sort_order>
78
+ <show_in_default>1</show_in_default>
79
+ <show_in_website>1</show_in_website>
80
+ <show_in_store>1</show_in_store>
81
+ </recipient_desc>
82
+ <logo_url translate="label,comment">
83
+ <label>SKRILL_BACKEND_LOGO</label>
84
+ <comment>SKRILL_BACKEND_TT_LOGO</comment>
85
+ <frontend_type>text</frontend_type>
86
+ <config_path>payment/skrill_settings/logo_url</config_path>
87
+ <sort_order>5</sort_order>
88
+ <show_in_default>1</show_in_default>
89
+ <show_in_website>1</show_in_website>
90
+ <show_in_store>1</show_in_store>
91
+ </logo_url>
92
+ <shop_url translate="label,comment">
93
+ <label>SKRILL_BACKEND_SHOPURL</label>
94
+ <frontend_type>text</frontend_type>
95
+ <config_path>payment/skrill_settings/shop_url</config_path>
96
+ <sort_order>6</sort_order>
97
+ <show_in_default>1</show_in_default>
98
+ <show_in_website>1</show_in_website>
99
+ <show_in_store>1</show_in_store>
100
+ </shop_url>
101
+ <api_passwd translate="label,comment">
102
+ <label>SKRILL_BACKEND_APIPASS</label>
103
+ <comment>SKRILL_BACKEND_TT_APIPW</comment>
104
+ <frontend_type>obscure</frontend_type>
105
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
106
+ <config_path>payment/skrill_settings/api_passwd</config_path>
107
+ <sort_order>7</sort_order>
108
+ <validate>required-entry</validate>
109
+ <show_in_default>1</show_in_default>
110
+ <show_in_website>1</show_in_website>
111
+ <show_in_store>1</show_in_store>
112
+ </api_passwd>
113
+ <secret_word translate="label,comment">
114
+ <label>SKRILL_BACKEND_SECRETWORD</label>
115
+ <comment>SKRILL_BACKEND_TT_SECRET</comment>
116
+ <frontend_type>obscure</frontend_type>
117
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
118
+ <config_path>payment/skrill_settings/secret_word</config_path>
119
+ <sort_order>8</sort_order>
120
+ <validate>required-entry</validate>
121
+ <show_in_default>1</show_in_default>
122
+ <show_in_website>1</show_in_website>
123
+ <show_in_store>1</show_in_store>
124
+ </secret_word>
125
+ <display translate="label,comment">
126
+ <label>SKRILL_BACKEND_DISPLAY</label>
127
+ <comment>SKRILL_BACKEND_TT_DISPLAY</comment>
128
+ <frontend_type>select</frontend_type>
129
+ <config_path>payment/skrill_settings/display</config_path>
130
+ <sort_order>9</sort_order>
131
+ <source_model>skrill/source_display</source_model>
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
+ </display>
136
+ <merchant_email translate="label,comment">
137
+ <label>SKRILL_BACKEND_MERCHANTEMAIL</label>
138
+ <comment>SKRILL_BACKEND_TT_MERCHANTEMAIL</comment>
139
+ <frontend_type>text</frontend_type>
140
+ <config_path>payment/skrill_settings/merchant_email</config_path>
141
+ <sort_order>10</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
+ </merchant_email>
146
+ </fields>
147
+ </skrill_settings>
148
+ <!-- <skrill_general module="skrill" translate="label">
149
+ <label>SKRILL_BACKEND_PM_PAYONSETTING</label>
150
+ <show_in_default>1</show_in_default>
151
+ <show_in_website>1</show_in_website>
152
+ <show_in_store>1</show_in_store>
153
+ <sort_order>99</sort_order>
154
+ <fields>
155
+ <version>
156
+ <label>v1.0.32</label>
157
+ <sort_order>1</sort_order>
158
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
159
+ <frontend_type>label</frontend_type>
160
+ <show_in_default>1</show_in_default>
161
+ <show_in_website>1</show_in_website>
162
+ <show_in_store>1</show_in_store>
163
+ </version>
164
+ <active translate="label">
165
+ <label>BACKEND_CH_ACTIVE</label>
166
+ <sort_order>2</sort_order>
167
+ <config_path>payment/skrill_general/active</config_path>
168
+ <frontend_type>select</frontend_type>
169
+ <source_model>adminhtml/system_config_source_yesno</source_model>
170
+ <show_in_default>1</show_in_default>
171
+ <show_in_website>1</show_in_website>
172
+ <show_in_store>1</show_in_store>
173
+ </active>
174
+ <sender translate="label">
175
+ <label>BACKEND_CH_SENDER</label>
176
+ <sort_order>3</sort_order>
177
+ <config_path>payment/skrill_general/sender</config_path>
178
+ <frontend_type>text</frontend_type>
179
+ <show_in_default>1</show_in_default>
180
+ <show_in_website>1</show_in_website>
181
+ <show_in_store>1</show_in_store>
182
+ </sender>
183
+ <login translate="label">
184
+ <label>BACKEND_CH_LOGIN</label>
185
+ <sort_order>4</sort_order>
186
+ <config_path>payment/skrill_general/login</config_path>
187
+ <frontend_type>text</frontend_type>
188
+ <show_in_default>1</show_in_default>
189
+ <show_in_website>1</show_in_website>
190
+ <show_in_store>1</show_in_store>
191
+ </login>
192
+ <password translate="label">
193
+ <label>BACKEND_CH_PASSWORD</label>
194
+ <sort_order>5</sort_order>
195
+ <config_path>payment/skrill_general/password</config_path>
196
+ <frontend_type>text</frontend_type>
197
+ <show_in_default>1</show_in_default>
198
+ <show_in_website>1</show_in_website>
199
+ <show_in_store>1</show_in_store>
200
+ </password>
201
+ </fields>
202
+ </skrill_general> -->
203
+ <skrill_flexible translate="label,comment">
204
+ <label>SKRILL_BACKEND_PM_FLEXIBLE</label>
205
+ <comment>SKRILL_BACKEND_TT_APM</comment>
206
+ <frontend_type>text</frontend_type>
207
+ <sort_order>100</sort_order>
208
+ <show_in_default>1</show_in_default>
209
+ <show_in_website>1</show_in_website>
210
+ <show_in_store>1</show_in_store>
211
+ <fields>
212
+ <!-- <version>
213
+ <label>v1.0.32</label>
214
+ <sort_order>1</sort_order>
215
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
216
+ <frontend_type>label</frontend_type>
217
+ <show_in_default>1</show_in_default>
218
+ <show_in_website>1</show_in_website>
219
+ <show_in_store>1</show_in_store>
220
+ </version> -->
221
+ <active translate="label">
222
+ <label>BACKEND_CH_ACTIVE</label>
223
+ <comment>All Countries</comment>
224
+ <sort_order>2</sort_order>
225
+ <frontend_type>select</frontend_type>
226
+ <config_path>payment/skrill_flexible/active</config_path>
227
+ <source_model>adminhtml/system_config_source_yesno</source_model>
228
+ <show_in_default>1</show_in_default>
229
+ <show_in_website>1</show_in_website>
230
+ <show_in_store>1</show_in_store>
231
+ </active>
232
+ <sort_order translate="label">
233
+ <label>BACKEND_CH_ORDER</label>
234
+ <frontend_type>text</frontend_type>
235
+ <config_path>payment/skrill_flexible/sort_order</config_path>
236
+ <sort_order>6</sort_order>
237
+ <show_in_default>1</show_in_default>
238
+ <show_in_website>1</show_in_website>
239
+ <show_in_store>1</show_in_store>
240
+ </sort_order>
241
+ </fields>
242
+ </skrill_flexible>
243
+ <skrill_wlt translate="label">
244
+ <label>SKRILL_BACKEND_PM_WLT</label>
245
+ <frontend_type>text</frontend_type>
246
+ <sort_order>101</sort_order>
247
+ <show_in_default>1</show_in_default>
248
+ <show_in_website>1</show_in_website>
249
+ <show_in_store>1</show_in_store>
250
+ <fields>
251
+ <!-- <version>
252
+ <label>v1.0.32</label>
253
+ <sort_order>1</sort_order>
254
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
255
+ <frontend_type>label</frontend_type>
256
+ <show_in_default>1</show_in_default>
257
+ <show_in_website>1</show_in_website>
258
+ <show_in_store>1</show_in_store>
259
+ </version> -->
260
+ <active translate="label">
261
+ <label>BACKEND_CH_ACTIVE</label>
262
+ <comment>All Countries</comment>
263
+ <sort_order>2</sort_order>
264
+ <frontend_type>select</frontend_type>
265
+ <config_path>payment/skrill_wlt/active</config_path>
266
+ <source_model>adminhtml/system_config_source_yesno</source_model>
267
+ <show_in_default>1</show_in_default>
268
+ <show_in_website>1</show_in_website>
269
+ <show_in_store>1</show_in_store>
270
+ </active>
271
+ <show_separately translate="label">
272
+ <label>SKRILL_BACKEND_PM_MODE</label>
273
+ <sort_order>3</sort_order>
274
+ <frontend_type>select</frontend_type>
275
+ <config_path>payment/skrill_wlt/show_separately</config_path>
276
+ <source_model>adminhtml/system_config_source_yesno</source_model>
277
+ <show_in_default>1</show_in_default>
278
+ <show_in_website>1</show_in_website>
279
+ <show_in_store>1</show_in_store>
280
+ </show_separately>
281
+ <sort_order translate="label">
282
+ <label>BACKEND_CH_ORDER</label>
283
+ <frontend_type>text</frontend_type>
284
+ <config_path>payment/skrill_wlt/sort_order</config_path>
285
+ <sort_order>6</sort_order>
286
+ <show_in_default>1</show_in_default>
287
+ <show_in_website>1</show_in_website>
288
+ <show_in_store>1</show_in_store>
289
+ </sort_order>
290
+ </fields>
291
+ </skrill_wlt>
292
+ <skrill_psc translate="label">
293
+ <label>SKRILL_BACKEND_PM_PSC</label>
294
+ <frontend_type>text</frontend_type>
295
+ <sort_order>102</sort_order>
296
+ <show_in_default>1</show_in_default>
297
+ <show_in_website>1</show_in_website>
298
+ <show_in_store>1</show_in_store>
299
+ <fields>
300
+ <!-- <version>
301
+ <label>v1.0.32</label>
302
+ <sort_order>1</sort_order>
303
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
304
+ <frontend_type>label</frontend_type>
305
+ <show_in_default>1</show_in_default>
306
+ <show_in_website>1</show_in_website>
307
+ <show_in_store>1</show_in_store>
308
+ </version> -->
309
+ <active translate="label">
310
+ <label>BACKEND_CH_ACTIVE</label>
311
+ <comment>American Samoa, Austria, Belgium, Canada, Croatia, Cyprus, Czech Republic, Denmark, Finland, France, Germany, Guam, Hungary, Ireland, Italy, Latvia, Luxembourg, Malta, Mexico, Netherlands, Northern Mariana Islands, Norway, Poland, Portugal, Puerto Rico, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, United Kingdom, United States Of America and US Virgin Islands</comment>
312
+ <sort_order>2</sort_order>
313
+ <frontend_type>select</frontend_type>
314
+ <config_path>payment/skrill_psc/active</config_path>
315
+ <source_model>adminhtml/system_config_source_yesno</source_model>
316
+ <show_in_default>1</show_in_default>
317
+ <show_in_website>1</show_in_website>
318
+ <show_in_store>1</show_in_store>
319
+ </active>
320
+ <!-- <gateway translate="label">
321
+ <label>SKRILL_BACKEND_GATE</label>
322
+ <sort_order>3</sort_order>
323
+ <frontend_type>select</frontend_type>
324
+ <config_path>payment/skrill_psc/gateway</config_path>
325
+ <source_model>skrill/source_gateway</source_model>
326
+ <show_in_default>1</show_in_default>
327
+ <show_in_website>1</show_in_website>
328
+ <show_in_store>1</show_in_store>
329
+ </gateway> -->
330
+ <show_separately translate="label">
331
+ <label>SKRILL_BACKEND_PM_MODE</label>
332
+ <sort_order>4</sort_order>
333
+ <frontend_type>select</frontend_type>
334
+ <config_path>payment/skrill_psc/show_separately</config_path>
335
+ <source_model>adminhtml/system_config_source_yesno</source_model>
336
+ <show_in_default>1</show_in_default>
337
+ <show_in_website>1</show_in_website>
338
+ <show_in_store>1</show_in_store>
339
+ </show_separately>
340
+ <!-- <server_mode translate="label">
341
+ <label>BACKEND_CH_SERVER</label>
342
+ <frontend_type>select</frontend_type>
343
+ <config_path>payment/skrill_psc/server_mode</config_path>
344
+ <sort_order>5</sort_order>
345
+ <source_model>skrill/source_mode</source_model>
346
+ <show_in_default>1</show_in_default>
347
+ <show_in_website>1</show_in_website>
348
+ <show_in_store>1</show_in_store>
349
+ </server_mode>
350
+ <channel_id translate="label">
351
+ <label>BACKEND_CH_CHANNEL</label>
352
+ <sort_order>6</sort_order>
353
+ <frontend_type>text</frontend_type>
354
+ <config_path>payment/skrill_psc/channel_id</config_path>
355
+ <show_in_default>1</show_in_default>
356
+ <show_in_website>1</show_in_website>
357
+ <show_in_store>1</show_in_store>
358
+ </channel_id>
359
+ <sender translate="label">
360
+ <label>BACKEND_CH_SENDER</label>
361
+ <sort_order>7</sort_order>
362
+ <frontend_type>text</frontend_type>
363
+ <config_path>payment/skrill_psc/sender</config_path>
364
+ <show_in_default>1</show_in_default>
365
+ <show_in_website>1</show_in_website>
366
+ <show_in_store>1</show_in_store>
367
+ </sender>
368
+ <login translate="label">
369
+ <label>BACKEND_CH_LOGIN</label>
370
+ <sort_order>8</sort_order>
371
+ <frontend_type>text</frontend_type>
372
+ <config_path>payment/skrill_psc/login</config_path>
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
+ </login>
377
+ <password translate="label">
378
+ <label>BACKEND_CH_PASSWORD</label>
379
+ <sort_order>9</sort_order>
380
+ <frontend_type>text</frontend_type>
381
+ <config_path>payment/skrill_psc/password</config_path>
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
+ </password>
386
+ <allowspecific translate="label">
387
+ <label>BACKEND_CH_COUNTRIES</label>
388
+ <sort_order>10</sort_order>
389
+ <frontend_type>allowspecific</frontend_type>
390
+ <config_path>payment/skrill_psc/allowspecific</config_path>
391
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
392
+ <show_in_default>1</show_in_default>
393
+ <show_in_website>1</show_in_website>
394
+ <show_in_store>1</show_in_store>
395
+ </allowspecific>
396
+ <specificcountry translate="label">
397
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
398
+ <sort_order>11</sort_order>
399
+ <frontend_type>multiselect</frontend_type>
400
+ <config_path>payment/skrill_psc/specificcountry</config_path>
401
+ <source_model>adminhtml/system_config_source_country</source_model>
402
+ <can_be_empty>1</can_be_empty>
403
+ <show_in_default>1</show_in_default>
404
+ <show_in_website>1</show_in_website>
405
+ <show_in_store>1</show_in_store>
406
+ </specificcountry> -->
407
+ <sort_order translate="label">
408
+ <label>BACKEND_CH_ORDER</label>
409
+ <frontend_type>text</frontend_type>
410
+ <config_path>payment/skrill_psc/sort_order</config_path>
411
+ <sort_order>12</sort_order>
412
+ <show_in_default>1</show_in_default>
413
+ <show_in_website>1</show_in_website>
414
+ <show_in_store>1</show_in_store>
415
+ </sort_order>
416
+ </fields>
417
+ </skrill_psc>
418
+ <skrill_acc translate="label,comment">
419
+ <label>SKRILL_BACKEND_PM_ACC</label>
420
+ <comment>SKRILL_BACKEND_TT_APM</comment>
421
+ <frontend_type>text</frontend_type>
422
+ <sort_order>103</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
+ <!-- <version>
428
+ <label>v1.0.32</label>
429
+ <sort_order>1</sort_order>
430
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
431
+ <frontend_type>label</frontend_type>
432
+ <show_in_default>1</show_in_default>
433
+ <show_in_website>1</show_in_website>
434
+ <show_in_store>1</show_in_store>
435
+ </version> -->
436
+ <active translate="label">
437
+ <label>BACKEND_CH_ACTIVE</label>
438
+ <comment>All Countries</comment>
439
+ <sort_order>2</sort_order>
440
+ <frontend_type>select</frontend_type>
441
+ <config_path>payment/skrill_acc/active</config_path>
442
+ <source_model>adminhtml/system_config_source_yesno</source_model>
443
+ <show_in_default>1</show_in_default>
444
+ <show_in_website>1</show_in_website>
445
+ <show_in_store>1</show_in_store>
446
+ </active>
447
+ <!-- <gateway translate="label">
448
+ <label>SKRILL_BACKEND_GATE</label>
449
+ <sort_order>3</sort_order>
450
+ <frontend_type>select</frontend_type>
451
+ <config_path>payment/skrill_acc/gateway</config_path>
452
+ <source_model>skrill/source_gateway</source_model>
453
+ <show_in_default>1</show_in_default>
454
+ <show_in_website>1</show_in_website>
455
+ <show_in_store>1</show_in_store>
456
+ </gateway> -->
457
+ <show_separately translate="label">
458
+ <label>SKRILL_BACKEND_PM_MODE</label>
459
+ <sort_order>4</sort_order>
460
+ <frontend_type>select</frontend_type>
461
+ <config_path>payment/skrill_acc/show_separately</config_path>
462
+ <source_model>adminhtml/system_config_source_yesno</source_model>
463
+ <show_in_default>1</show_in_default>
464
+ <show_in_website>1</show_in_website>
465
+ <show_in_store>1</show_in_store>
466
+ </show_separately>
467
+ <!-- <server_mode translate="label">
468
+ <label>BACKEND_CH_SERVER</label>
469
+ <frontend_type>select</frontend_type>
470
+ <config_path>payment/skrill_acc/server_mode</config_path>
471
+ <sort_order>5</sort_order>
472
+ <source_model>skrill/source_mode</source_model>
473
+ <show_in_default>1</show_in_default>
474
+ <show_in_website>1</show_in_website>
475
+ <show_in_store>1</show_in_store>
476
+ </server_mode>
477
+ <transaction_mode translate="label">
478
+ <label>BACKEND_CH_MODE</label>
479
+ <frontend_type>select</frontend_type>
480
+ <config_path>payment/skrill_acc/transaction_mode</config_path>
481
+ <sort_order>6</sort_order>
482
+ <source_model>skrill/source_transaction</source_model>
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
+ </transaction_mode>
487
+ <channel_id translate="label">
488
+ <label>BACKEND_CH_CHANNEL</label>
489
+ <sort_order>7</sort_order>
490
+ <frontend_type>text</frontend_type>
491
+ <config_path>payment/skrill_acc/channel_id</config_path>
492
+ <show_in_default>1</show_in_default>
493
+ <show_in_website>1</show_in_website>
494
+ <show_in_store>1</show_in_store>
495
+ </channel_id>
496
+ <sender translate="label">
497
+ <label>BACKEND_CH_SENDER</label>
498
+ <sort_order>8</sort_order>
499
+ <frontend_type>text</frontend_type>
500
+ <config_path>payment/skrill_acc/sender</config_path>
501
+ <show_in_default>1</show_in_default>
502
+ <show_in_website>1</show_in_website>
503
+ <show_in_store>1</show_in_store>
504
+ </sender>
505
+ <login translate="label">
506
+ <label>BACKEND_CH_LOGIN</label>
507
+ <sort_order>9</sort_order>
508
+ <frontend_type>text</frontend_type>
509
+ <config_path>payment/skrill_acc/login</config_path>
510
+ <show_in_default>1</show_in_default>
511
+ <show_in_website>1</show_in_website>
512
+ <show_in_store>1</show_in_store>
513
+ </login>
514
+ <password translate="label">
515
+ <label>BACKEND_CH_PASSWORD</label>
516
+ <sort_order>10</sort_order>
517
+ <frontend_type>text</frontend_type>
518
+ <config_path>payment/skrill_acc/password</config_path>
519
+ <show_in_default>1</show_in_default>
520
+ <show_in_website>1</show_in_website>
521
+ <show_in_store>1</show_in_store>
522
+ </password>
523
+ <allowspecific translate="label">
524
+ <label>BACKEND_CH_COUNTRIES</label>
525
+ <sort_order>11</sort_order>
526
+ <frontend_type>allowspecific</frontend_type>
527
+ <config_path>payment/skrill_acc/allowspecific</config_path>
528
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
529
+ <show_in_default>1</show_in_default>
530
+ <show_in_website>1</show_in_website>
531
+ <show_in_store>1</show_in_store>
532
+ </allowspecific>
533
+ <specificcountry translate="label">
534
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
535
+ <sort_order>12</sort_order>
536
+ <frontend_type>multiselect</frontend_type>
537
+ <config_path>payment/skrill_acc/specificcountry</config_path>
538
+ <source_model>adminhtml/system_config_source_country</source_model>
539
+ <can_be_empty>1</can_be_empty>
540
+ <show_in_default>1</show_in_default>
541
+ <show_in_website>1</show_in_website>
542
+ <show_in_store>1</show_in_store>
543
+ </specificcountry> -->
544
+ <sort_order translate="label">
545
+ <label>BACKEND_CH_ORDER</label>
546
+ <frontend_type>text</frontend_type>
547
+ <config_path>payment/skrill_acc/sort_order</config_path>
548
+ <sort_order>13</sort_order>
549
+ <show_in_default>1</show_in_default>
550
+ <show_in_website>1</show_in_website>
551
+ <show_in_store>1</show_in_store>
552
+ </sort_order>
553
+ </fields>
554
+ </skrill_acc>
555
+ <skrill_vsa translate="label">
556
+ <label>SKRILL_BACKEND_PM_VSA</label>
557
+ <frontend_type>text</frontend_type>
558
+ <sort_order>104</sort_order>
559
+ <show_in_default>1</show_in_default>
560
+ <show_in_website>1</show_in_website>
561
+ <show_in_store>1</show_in_store>
562
+ <fields>
563
+ <!-- <version>
564
+ <label>v1.0.32</label>
565
+ <sort_order>1</sort_order>
566
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
567
+ <frontend_type>label</frontend_type>
568
+ <show_in_default>1</show_in_default>
569
+ <show_in_website>1</show_in_website>
570
+ <show_in_store>1</show_in_store>
571
+ </version> -->
572
+ <active translate="label">
573
+ <label>BACKEND_CH_ACTIVE</label>
574
+ <comment>All Countries</comment>
575
+ <sort_order>2</sort_order>
576
+ <frontend_type>select</frontend_type>
577
+ <config_path>payment/skrill_vsa/active</config_path>
578
+ <source_model>adminhtml/system_config_source_yesno</source_model>
579
+ <show_in_default>1</show_in_default>
580
+ <show_in_website>1</show_in_website>
581
+ <show_in_store>1</show_in_store>
582
+ </active>
583
+ <show_separately translate="label">
584
+ <label>SKRILL_BACKEND_PM_MODE</label>
585
+ <sort_order>3</sort_order>
586
+ <frontend_type>select</frontend_type>
587
+ <config_path>payment/skrill_vsa/show_separately</config_path>
588
+ <source_model>adminhtml/system_config_source_yesno</source_model>
589
+ <show_in_default>1</show_in_default>
590
+ <show_in_website>1</show_in_website>
591
+ <show_in_store>1</show_in_store>
592
+ </show_separately>
593
+ <sort_order translate="label">
594
+ <label>BACKEND_CH_ORDER</label>
595
+ <frontend_type>text</frontend_type>
596
+ <config_path>payment/skrill_vsa/sort_order</config_path>
597
+ <sort_order>6</sort_order>
598
+ <show_in_default>1</show_in_default>
599
+ <show_in_website>1</show_in_website>
600
+ <show_in_store>1</show_in_store>
601
+ </sort_order>
602
+ </fields>
603
+ </skrill_vsa>
604
+ <skrill_msc translate="label">
605
+ <label>SKRILL_BACKEND_PM_MSC</label>
606
+ <frontend_type>text</frontend_type>
607
+ <sort_order>105</sort_order>
608
+ <show_in_default>1</show_in_default>
609
+ <show_in_website>1</show_in_website>
610
+ <show_in_store>1</show_in_store>
611
+ <fields>
612
+ <!-- <version>
613
+ <label>v1.0.32</label>
614
+ <sort_order>1</sort_order>
615
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
616
+ <frontend_type>label</frontend_type>
617
+ <show_in_default>1</show_in_default>
618
+ <show_in_website>1</show_in_website>
619
+ <show_in_store>1</show_in_store>
620
+ </version> -->
621
+ <active translate="label">
622
+ <label>BACKEND_CH_ACTIVE</label>
623
+ <comment>All Countries</comment>
624
+ <sort_order>2</sort_order>
625
+ <frontend_type>select</frontend_type>
626
+ <config_path>payment/skrill_msc/active</config_path>
627
+ <source_model>adminhtml/system_config_source_yesno</source_model>
628
+ <show_in_default>1</show_in_default>
629
+ <show_in_website>1</show_in_website>
630
+ <show_in_store>1</show_in_store>
631
+ </active>
632
+ <show_separately translate="label">
633
+ <label>SKRILL_BACKEND_PM_MODE</label>
634
+ <sort_order>3</sort_order>
635
+ <frontend_type>select</frontend_type>
636
+ <config_path>payment/skrill_msc/show_separately</config_path>
637
+ <source_model>adminhtml/system_config_source_yesno</source_model>
638
+ <show_in_default>1</show_in_default>
639
+ <show_in_website>1</show_in_website>
640
+ <show_in_store>1</show_in_store>
641
+ </show_separately>
642
+ <sort_order translate="label">
643
+ <label>BACKEND_CH_ORDER</label>
644
+ <frontend_type>text</frontend_type>
645
+ <config_path>payment/skrill_msc/sort_order</config_path>
646
+ <sort_order>6</sort_order>
647
+ <show_in_default>1</show_in_default>
648
+ <show_in_website>1</show_in_website>
649
+ <show_in_store>1</show_in_store>
650
+ </sort_order>
651
+ </fields>
652
+ </skrill_msc>
653
+ <skrill_vse translate="label">
654
+ <label>SKRILL_BACKEND_PM_VSE</label>
655
+ <frontend_type>text</frontend_type>
656
+ <sort_order>107</sort_order>
657
+ <show_in_default>1</show_in_default>
658
+ <show_in_website>1</show_in_website>
659
+ <show_in_store>1</show_in_store>
660
+ <fields>
661
+ <!-- <version>
662
+ <label>v1.0.32</label>
663
+ <sort_order>1</sort_order>
664
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
665
+ <frontend_type>label</frontend_type>
666
+ <show_in_default>1</show_in_default>
667
+ <show_in_website>1</show_in_website>
668
+ <show_in_store>1</show_in_store>
669
+ </version> -->
670
+ <active translate="label">
671
+ <label>BACKEND_CH_ACTIVE</label>
672
+ <comment>All Countries (excluding United States Of America)</comment>
673
+ <sort_order>2</sort_order>
674
+ <frontend_type>select</frontend_type>
675
+ <config_path>payment/skrill_vse/active</config_path>
676
+ <source_model>adminhtml/system_config_source_yesno</source_model>
677
+ <show_in_default>1</show_in_default>
678
+ <show_in_website>1</show_in_website>
679
+ <show_in_store>1</show_in_store>
680
+ </active>
681
+ <show_separately translate="label">
682
+ <label>SKRILL_BACKEND_PM_MODE</label>
683
+ <sort_order>3</sort_order>
684
+ <frontend_type>select</frontend_type>
685
+ <config_path>payment/skrill_vse/show_separately</config_path>
686
+ <source_model>adminhtml/system_config_source_yesno</source_model>
687
+ <show_in_default>1</show_in_default>
688
+ <show_in_website>1</show_in_website>
689
+ <show_in_store>1</show_in_store>
690
+ </show_separately>
691
+ <sort_order translate="label">
692
+ <label>BACKEND_CH_ORDER</label>
693
+ <frontend_type>text</frontend_type>
694
+ <config_path>payment/skrill_vse/sort_order</config_path>
695
+ <sort_order>6</sort_order>
696
+ <show_in_default>1</show_in_default>
697
+ <show_in_website>1</show_in_website>
698
+ <show_in_store>1</show_in_store>
699
+ </sort_order>
700
+ </fields>
701
+ </skrill_vse>
702
+ <skrill_mae translate="label">
703
+ <label>SKRILL_BACKEND_PM_MAE</label>
704
+ <frontend_type>text</frontend_type>
705
+ <sort_order>108</sort_order>
706
+ <show_in_default>1</show_in_default>
707
+ <show_in_website>1</show_in_website>
708
+ <show_in_store>1</show_in_store>
709
+ <fields>
710
+ <!-- <version>
711
+ <label>v1.0.32</label>
712
+ <sort_order>1</sort_order>
713
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
714
+ <frontend_type>label</frontend_type>
715
+ <show_in_default>1</show_in_default>
716
+ <show_in_website>1</show_in_website>
717
+ <show_in_store>1</show_in_store>
718
+ </version> -->
719
+ <active translate="label">
720
+ <label>BACKEND_CH_ACTIVE</label>
721
+ <comment>United Kingdom, Spain, Ireland and Austria</comment>
722
+ <sort_order>2</sort_order>
723
+ <frontend_type>select</frontend_type>
724
+ <config_path>payment/skrill_mae/active</config_path>
725
+ <source_model>adminhtml/system_config_source_yesno</source_model>
726
+ <show_in_default>1</show_in_default>
727
+ <show_in_website>1</show_in_website>
728
+ <show_in_store>1</show_in_store>
729
+ </active>
730
+ <show_separately translate="label">
731
+ <label>SKRILL_BACKEND_PM_MODE</label>
732
+ <sort_order>3</sort_order>
733
+ <frontend_type>select</frontend_type>
734
+ <config_path>payment/skrill_mae/show_separately</config_path>
735
+ <source_model>adminhtml/system_config_source_yesno</source_model>
736
+ <show_in_default>1</show_in_default>
737
+ <show_in_website>1</show_in_website>
738
+ <show_in_store>1</show_in_store>
739
+ </show_separately>
740
+ <sort_order translate="label">
741
+ <label>BACKEND_CH_ORDER</label>
742
+ <frontend_type>text</frontend_type>
743
+ <config_path>payment/skrill_mae/sort_order</config_path>
744
+ <sort_order>6</sort_order>
745
+ <show_in_default>1</show_in_default>
746
+ <show_in_website>1</show_in_website>
747
+ <show_in_store>1</show_in_store>
748
+ </sort_order>
749
+ </fields>
750
+ </skrill_mae>
751
+ <skrill_amx translate="label">
752
+ <label>SKRILL_BACKEND_PM_AMX</label>
753
+ <frontend_type>text</frontend_type>
754
+ <sort_order>109</sort_order>
755
+ <show_in_default>1</show_in_default>
756
+ <show_in_website>1</show_in_website>
757
+ <show_in_store>1</show_in_store>
758
+ <fields>
759
+ <!-- <version>
760
+ <label>v1.0.32</label>
761
+ <sort_order>1</sort_order>
762
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
763
+ <frontend_type>label</frontend_type>
764
+ <show_in_default>1</show_in_default>
765
+ <show_in_website>1</show_in_website>
766
+ <show_in_store>1</show_in_store>
767
+ </version> -->
768
+ <active translate="label">
769
+ <label>BACKEND_CH_ACTIVE</label>
770
+ <comment>All Countries</comment>
771
+ <sort_order>2</sort_order>
772
+ <frontend_type>select</frontend_type>
773
+ <config_path>payment/skrill_amx/active</config_path>
774
+ <source_model>adminhtml/system_config_source_yesno</source_model>
775
+ <show_in_default>1</show_in_default>
776
+ <show_in_website>1</show_in_website>
777
+ <show_in_store>1</show_in_store>
778
+ </active>
779
+ <show_separately translate="label">
780
+ <label>SKRILL_BACKEND_PM_MODE</label>
781
+ <sort_order>3</sort_order>
782
+ <frontend_type>select</frontend_type>
783
+ <config_path>payment/skrill_amx/show_separately</config_path>
784
+ <source_model>adminhtml/system_config_source_yesno</source_model>
785
+ <show_in_default>1</show_in_default>
786
+ <show_in_website>1</show_in_website>
787
+ <show_in_store>1</show_in_store>
788
+ </show_separately>
789
+ <sort_order translate="label">
790
+ <label>BACKEND_CH_ORDER</label>
791
+ <frontend_type>text</frontend_type>
792
+ <config_path>payment/skrill_amx/sort_order</config_path>
793
+ <sort_order>6</sort_order>
794
+ <show_in_default>1</show_in_default>
795
+ <show_in_website>1</show_in_website>
796
+ <show_in_store>1</show_in_store>
797
+ </sort_order>
798
+ </fields>
799
+ </skrill_amx>
800
+ <skrill_din translate="label">
801
+ <label>SKRILL_BACKEND_PM_DIN</label>
802
+ <frontend_type>text</frontend_type>
803
+ <sort_order>110</sort_order>
804
+ <show_in_default>1</show_in_default>
805
+ <show_in_website>1</show_in_website>
806
+ <show_in_store>1</show_in_store>
807
+ <fields>
808
+ <!-- <version>
809
+ <label>v1.0.32</label>
810
+ <sort_order>1</sort_order>
811
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
812
+ <frontend_type>label</frontend_type>
813
+ <show_in_default>1</show_in_default>
814
+ <show_in_website>1</show_in_website>
815
+ <show_in_store>1</show_in_store>
816
+ </version> -->
817
+ <active translate="label">
818
+ <label>BACKEND_CH_ACTIVE</label>
819
+ <comment>All Countries</comment>
820
+ <sort_order>2</sort_order>
821
+ <frontend_type>select</frontend_type>
822
+ <config_path>payment/skrill_din/active</config_path>
823
+ <source_model>adminhtml/system_config_source_yesno</source_model>
824
+ <show_in_default>1</show_in_default>
825
+ <show_in_website>1</show_in_website>
826
+ <show_in_store>1</show_in_store>
827
+ </active>
828
+ <show_separately translate="label">
829
+ <label>SKRILL_BACKEND_PM_MODE</label>
830
+ <sort_order>3</sort_order>
831
+ <frontend_type>select</frontend_type>
832
+ <config_path>payment/skrill_din/show_separately</config_path>
833
+ <source_model>adminhtml/system_config_source_yesno</source_model>
834
+ <show_in_default>1</show_in_default>
835
+ <show_in_website>1</show_in_website>
836
+ <show_in_store>1</show_in_store>
837
+ </show_separately>
838
+ <sort_order translate="label">
839
+ <label>BACKEND_CH_ORDER</label>
840
+ <frontend_type>text</frontend_type>
841
+ <config_path>payment/skrill_din/sort_order</config_path>
842
+ <sort_order>6</sort_order>
843
+ <show_in_default>1</show_in_default>
844
+ <show_in_website>1</show_in_website>
845
+ <show_in_store>1</show_in_store>
846
+ </sort_order>
847
+ </fields>
848
+ </skrill_din>
849
+ <skrill_jcb translate="label">
850
+ <label>SKRILL_BACKEND_PM_JCB</label>
851
+ <frontend_type>text</frontend_type>
852
+ <sort_order>111</sort_order>
853
+ <show_in_default>1</show_in_default>
854
+ <show_in_website>1</show_in_website>
855
+ <show_in_store>1</show_in_store>
856
+ <fields>
857
+ <!-- <version>
858
+ <label>v1.0.32</label>
859
+ <sort_order>1</sort_order>
860
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
861
+ <frontend_type>label</frontend_type>
862
+ <show_in_default>1</show_in_default>
863
+ <show_in_website>1</show_in_website>
864
+ <show_in_store>1</show_in_store>
865
+ </version> -->
866
+ <active translate="label">
867
+ <label>BACKEND_CH_ACTIVE</label>
868
+ <comment>All Countries</comment>
869
+ <sort_order>2</sort_order>
870
+ <frontend_type>select</frontend_type>
871
+ <config_path>payment/skrill_jcb/active</config_path>
872
+ <source_model>adminhtml/system_config_source_yesno</source_model>
873
+ <show_in_default>1</show_in_default>
874
+ <show_in_website>1</show_in_website>
875
+ <show_in_store>1</show_in_store>
876
+ </active>
877
+ <show_separately translate="label">
878
+ <label>SKRILL_BACKEND_PM_MODE</label>
879
+ <sort_order>3</sort_order>
880
+ <frontend_type>select</frontend_type>
881
+ <config_path>payment/skrill_jcb/show_separately</config_path>
882
+ <source_model>adminhtml/system_config_source_yesno</source_model>
883
+ <show_in_default>1</show_in_default>
884
+ <show_in_website>1</show_in_website>
885
+ <show_in_store>1</show_in_store>
886
+ </show_separately>
887
+ <sort_order translate="label">
888
+ <label>BACKEND_CH_ORDER</label>
889
+ <frontend_type>text</frontend_type>
890
+ <config_path>payment/skrill_jcb/sort_order</config_path>
891
+ <sort_order>6</sort_order>
892
+ <show_in_default>1</show_in_default>
893
+ <show_in_website>1</show_in_website>
894
+ <show_in_store>1</show_in_store>
895
+ </sort_order>
896
+ </fields>
897
+ </skrill_jcb>
898
+ <skrill_gcb translate="label">
899
+ <label>SKRILL_BACKEND_PM_GCB</label>
900
+ <frontend_type>text</frontend_type>
901
+ <sort_order>112</sort_order>
902
+ <show_in_default>1</show_in_default>
903
+ <show_in_website>1</show_in_website>
904
+ <show_in_store>1</show_in_store>
905
+ <fields>
906
+ <!-- <version>
907
+ <label>v1.0.32</label>
908
+ <sort_order>1</sort_order>
909
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
910
+ <frontend_type>label</frontend_type>
911
+ <show_in_default>1</show_in_default>
912
+ <show_in_website>1</show_in_website>
913
+ <show_in_store>1</show_in_store>
914
+ </version> -->
915
+ <active translate="label">
916
+ <label>BACKEND_CH_ACTIVE</label>
917
+ <comment>France</comment>
918
+ <sort_order>2</sort_order>
919
+ <frontend_type>select</frontend_type>
920
+ <config_path>payment/skrill_gcb/active</config_path>
921
+ <source_model>adminhtml/system_config_source_yesno</source_model>
922
+ <show_in_default>1</show_in_default>
923
+ <show_in_website>1</show_in_website>
924
+ <show_in_store>1</show_in_store>
925
+ </active>
926
+ <show_separately translate="label">
927
+ <label>SKRILL_BACKEND_PM_MODE</label>
928
+ <sort_order>3</sort_order>
929
+ <frontend_type>select</frontend_type>
930
+ <config_path>payment/skrill_gcb/show_separately</config_path>
931
+ <source_model>adminhtml/system_config_source_yesno</source_model>
932
+ <show_in_default>1</show_in_default>
933
+ <show_in_website>1</show_in_website>
934
+ <show_in_store>1</show_in_store>
935
+ </show_separately>
936
+ <sort_order translate="label">
937
+ <label>BACKEND_CH_ORDER</label>
938
+ <frontend_type>text</frontend_type>
939
+ <config_path>payment/skrill_gcb/sort_order</config_path>
940
+ <sort_order>6</sort_order>
941
+ <show_in_default>1</show_in_default>
942
+ <show_in_website>1</show_in_website>
943
+ <show_in_store>1</show_in_store>
944
+ </sort_order>
945
+ </fields>
946
+ </skrill_gcb>
947
+ <skrill_dnk translate="label">
948
+ <label>SKRILL_BACKEND_PM_DNK</label>
949
+ <frontend_type>text</frontend_type>
950
+ <sort_order>113</sort_order>
951
+ <show_in_default>1</show_in_default>
952
+ <show_in_website>1</show_in_website>
953
+ <show_in_store>1</show_in_store>
954
+ <fields>
955
+ <!-- <version>
956
+ <label>v1.0.32</label>
957
+ <sort_order>1</sort_order>
958
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
959
+ <frontend_type>label</frontend_type>
960
+ <show_in_default>1</show_in_default>
961
+ <show_in_website>1</show_in_website>
962
+ <show_in_store>1</show_in_store>
963
+ </version> -->
964
+ <active translate="label">
965
+ <label>BACKEND_CH_ACTIVE</label>
966
+ <comment>Denmark</comment>
967
+ <sort_order>2</sort_order>
968
+ <frontend_type>select</frontend_type>
969
+ <config_path>payment/skrill_dnk/active</config_path>
970
+ <source_model>adminhtml/system_config_source_yesno</source_model>
971
+ <show_in_default>1</show_in_default>
972
+ <show_in_website>1</show_in_website>
973
+ <show_in_store>1</show_in_store>
974
+ </active>
975
+ <show_separately translate="label">
976
+ <label>SKRILL_BACKEND_PM_MODE</label>
977
+ <sort_order>3</sort_order>
978
+ <frontend_type>select</frontend_type>
979
+ <config_path>payment/skrill_dnk/show_separately</config_path>
980
+ <source_model>adminhtml/system_config_source_yesno</source_model>
981
+ <show_in_default>1</show_in_default>
982
+ <show_in_website>1</show_in_website>
983
+ <show_in_store>1</show_in_store>
984
+ </show_separately>
985
+ <sort_order translate="label">
986
+ <label>BACKEND_CH_ORDER</label>
987
+ <frontend_type>text</frontend_type>
988
+ <config_path>payment/skrill_dnk/sort_order</config_path>
989
+ <sort_order>6</sort_order>
990
+ <show_in_default>1</show_in_default>
991
+ <show_in_website>1</show_in_website>
992
+ <show_in_store>1</show_in_store>
993
+ </sort_order>
994
+ </fields>
995
+ </skrill_dnk>
996
+ <skrill_psp translate="label">
997
+ <label>SKRILL_BACKEND_PM_PSP</label>
998
+ <frontend_type>text</frontend_type>
999
+ <sort_order>114</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
+ <fields>
1004
+ <!-- <version>
1005
+ <label>v1.0.32</label>
1006
+ <sort_order>1</sort_order>
1007
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1008
+ <frontend_type>label</frontend_type>
1009
+ <show_in_default>1</show_in_default>
1010
+ <show_in_website>1</show_in_website>
1011
+ <show_in_store>1</show_in_store>
1012
+ </version> -->
1013
+ <active translate="label">
1014
+ <label>BACKEND_CH_ACTIVE</label>
1015
+ <comment>Italy</comment>
1016
+ <sort_order>2</sort_order>
1017
+ <frontend_type>select</frontend_type>
1018
+ <config_path>payment/skrill_psp/active</config_path>
1019
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1020
+ <show_in_default>1</show_in_default>
1021
+ <show_in_website>1</show_in_website>
1022
+ <show_in_store>1</show_in_store>
1023
+ </active>
1024
+ <show_separately translate="label">
1025
+ <label>SKRILL_BACKEND_PM_MODE</label>
1026
+ <sort_order>3</sort_order>
1027
+ <frontend_type>select</frontend_type>
1028
+ <config_path>payment/skrill_psp/show_separately</config_path>
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>1</show_in_store>
1033
+ </show_separately>
1034
+ <sort_order translate="label">
1035
+ <label>BACKEND_CH_ORDER</label>
1036
+ <frontend_type>text</frontend_type>
1037
+ <config_path>payment/skrill_psp/sort_order</config_path>
1038
+ <sort_order>6</sort_order>
1039
+ <show_in_default>1</show_in_default>
1040
+ <show_in_website>1</show_in_website>
1041
+ <show_in_store>1</show_in_store>
1042
+ </sort_order>
1043
+ </fields>
1044
+ </skrill_psp>
1045
+ <skrill_csi translate="label">
1046
+ <label>SKRILL_BACKEND_PM_CSI</label>
1047
+ <frontend_type>text</frontend_type>
1048
+ <sort_order>115</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
+ <fields>
1053
+ <!-- <version>
1054
+ <label>v1.0.32</label>
1055
+ <sort_order>1</sort_order>
1056
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1057
+ <frontend_type>label</frontend_type>
1058
+ <show_in_default>1</show_in_default>
1059
+ <show_in_website>1</show_in_website>
1060
+ <show_in_store>1</show_in_store>
1061
+ </version> -->
1062
+ <active translate="label">
1063
+ <label>BACKEND_CH_ACTIVE</label>
1064
+ <comment>Italy</comment>
1065
+ <sort_order>2</sort_order>
1066
+ <frontend_type>select</frontend_type>
1067
+ <config_path>payment/skrill_csi/active</config_path>
1068
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1069
+ <show_in_default>1</show_in_default>
1070
+ <show_in_website>1</show_in_website>
1071
+ <show_in_store>1</show_in_store>
1072
+ </active>
1073
+ <show_separately translate="label">
1074
+ <label>SKRILL_BACKEND_PM_MODE</label>
1075
+ <sort_order>3</sort_order>
1076
+ <frontend_type>select</frontend_type>
1077
+ <config_path>payment/skrill_csi/show_separately</config_path>
1078
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1079
+ <show_in_default>1</show_in_default>
1080
+ <show_in_website>1</show_in_website>
1081
+ <show_in_store>1</show_in_store>
1082
+ </show_separately>
1083
+ <sort_order translate="label">
1084
+ <label>BACKEND_CH_ORDER</label>
1085
+ <frontend_type>text</frontend_type>
1086
+ <config_path>payment/skrill_csi/sort_order</config_path>
1087
+ <sort_order>6</sort_order>
1088
+ <show_in_default>1</show_in_default>
1089
+ <show_in_website>1</show_in_website>
1090
+ <show_in_store>1</show_in_store>
1091
+ </sort_order>
1092
+ </fields>
1093
+ </skrill_csi>
1094
+ <skrill_obt translate="label">
1095
+ <label>SKRILL_BACKEND_PM_OBT</label>
1096
+ <frontend_type>text</frontend_type>
1097
+ <sort_order>116</sort_order>
1098
+ <show_in_default>1</show_in_default>
1099
+ <show_in_website>1</show_in_website>
1100
+ <show_in_store>1</show_in_store>
1101
+ <fields>
1102
+ <!-- <version>
1103
+ <label>v1.0.32</label>
1104
+ <sort_order>1</sort_order>
1105
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1106
+ <frontend_type>label</frontend_type>
1107
+ <show_in_default>1</show_in_default>
1108
+ <show_in_website>1</show_in_website>
1109
+ <show_in_store>1</show_in_store>
1110
+ </version> -->
1111
+ <active translate="label">
1112
+ <label>BACKEND_CH_ACTIVE</label>
1113
+ <comment>Germany, United Kingdom, France, Italy, Spain, Hungary, Austria, Sweden, Finland, and Denmark</comment>
1114
+ <sort_order>2</sort_order>
1115
+ <frontend_type>select</frontend_type>
1116
+ <config_path>payment/skrill_obt/active</config_path>
1117
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1118
+ <show_in_default>1</show_in_default>
1119
+ <show_in_website>1</show_in_website>
1120
+ <show_in_store>1</show_in_store>
1121
+ </active>
1122
+ <show_separately translate="label">
1123
+ <label>SKRILL_BACKEND_PM_MODE</label>
1124
+ <sort_order>3</sort_order>
1125
+ <frontend_type>select</frontend_type>
1126
+ <config_path>payment/skrill_obt/show_separately</config_path>
1127
+ <source_model>adminhtml/system_config_source_yesno</source_model>
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
+ </show_separately>
1132
+ <sort_order translate="label">
1133
+ <label>BACKEND_CH_ORDER</label>
1134
+ <frontend_type>text</frontend_type>
1135
+ <config_path>payment/skrill_obt/sort_order</config_path>
1136
+ <sort_order>6</sort_order>
1137
+ <show_in_default>1</show_in_default>
1138
+ <show_in_website>1</show_in_website>
1139
+ <show_in_store>1</show_in_store>
1140
+ </sort_order>
1141
+ </fields>
1142
+ </skrill_obt>
1143
+ <skrill_ntl translate="label">
1144
+ <label>SKRILL_BACKEND_PM_NTL</label>
1145
+ <frontend_type>text</frontend_type>
1146
+ <sort_order>127</sort_order>
1147
+ <show_in_default>1</show_in_default>
1148
+ <show_in_website>1</show_in_website>
1149
+ <show_in_store>1</show_in_store>
1150
+ <fields>
1151
+ <!-- <version>
1152
+ <label>v1.0.6</label>
1153
+ <sort_order>1</sort_order>
1154
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1155
+ <frontend_type>label</frontend_type>
1156
+ <show_in_default>1</show_in_default>
1157
+ <show_in_website>1</show_in_website>
1158
+ <show_in_store>1</show_in_store>
1159
+ </version> -->
1160
+ <active translate="label">
1161
+ <label>BACKEND_CH_ACTIVE</label>
1162
+ <comment>All except for Afghanistan, Armenia, Bhutan, Bouvet Island, Myanmar, China, (Keeling) Islands, Democratic Republic of Congo, Cook Islands, Cuba, Eritrea, South Georgia and the South Sandwich Islands, Guam, Guinea, Territory of Heard Island and McDonald Islands, Iran, Iraq, Cote d'Ivoire, Kazakhstan, North Korea, Kyrgyzstan, Liberia, Libya, Mongolia, Northern Mariana Islands, Federated States of Micronesia, Marshall Islands, Palau, Pakistan, East Timor, Puerto Rico, Sierra Leone, Somalia, Zimbabwe, Sudan, Syria, Tajikistan, Turkmenistan, Uganda, United States, US Virgin Islands, Uzbekistan, and Yemen</comment>
1163
+ <sort_order>2</sort_order>
1164
+ <frontend_type>select</frontend_type>
1165
+ <config_path>payment/skrill_ntl/active</config_path>
1166
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1167
+ <show_in_default>1</show_in_default>
1168
+ <show_in_website>1</show_in_website>
1169
+ <show_in_store>1</show_in_store>
1170
+ </active>
1171
+ <show_separately translate="label">
1172
+ <label>SKRILL_BACKEND_PM_MODE</label>
1173
+ <sort_order>3</sort_order>
1174
+ <frontend_type>select</frontend_type>
1175
+ <config_path>payment/skrill_ntl/show_separately</config_path>
1176
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1177
+ <show_in_default>1</show_in_default>
1178
+ <show_in_website>1</show_in_website>
1179
+ <show_in_store>1</show_in_store>
1180
+ </show_separately>
1181
+ <sort_order translate="label">
1182
+ <label>BACKEND_CH_ORDER</label>
1183
+ <frontend_type>text</frontend_type>
1184
+ <config_path>payment/skrill_ntl/sort_order</config_path>
1185
+ <sort_order>6</sort_order>
1186
+ <show_in_default>1</show_in_default>
1187
+ <show_in_website>1</show_in_website>
1188
+ <show_in_store>1</show_in_store>
1189
+ </sort_order>
1190
+ </fields>
1191
+ </skrill_ntl>
1192
+ <skrill_gir translate="label">
1193
+ <label>SKRILL_BACKEND_PM_GIR</label>
1194
+ <frontend_type>text</frontend_type>
1195
+ <sort_order>117</sort_order>
1196
+ <show_in_default>1</show_in_default>
1197
+ <show_in_website>1</show_in_website>
1198
+ <show_in_store>1</show_in_store>
1199
+ <fields>
1200
+ <!-- <version>
1201
+ <label>v1.0.32</label>
1202
+ <sort_order>1</sort_order>
1203
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1204
+ <frontend_type>label</frontend_type>
1205
+ <show_in_default>1</show_in_default>
1206
+ <show_in_website>1</show_in_website>
1207
+ <show_in_store>1</show_in_store>
1208
+ </version> -->
1209
+ <active translate="label">
1210
+ <label>BACKEND_CH_ACTIVE</label>
1211
+ <comment>Germany</comment>
1212
+ <sort_order>2</sort_order>
1213
+ <frontend_type>select</frontend_type>
1214
+ <config_path>payment/skrill_gir/active</config_path>
1215
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1216
+ <show_in_default>1</show_in_default>
1217
+ <show_in_website>1</show_in_website>
1218
+ <show_in_store>1</show_in_store>
1219
+ </active>
1220
+ <!-- <gateway translate="label">
1221
+ <label>SKRILL_BACKEND_GATE</label>
1222
+ <sort_order>3</sort_order>
1223
+ <frontend_type>select</frontend_type>
1224
+ <config_path>payment/skrill_gir/gateway</config_path>
1225
+ <source_model>skrill/source_gateway</source_model>
1226
+ <show_in_default>1</show_in_default>
1227
+ <show_in_website>1</show_in_website>
1228
+ <show_in_store>1</show_in_store>
1229
+ </gateway> -->
1230
+ <show_separately translate="label">
1231
+ <label>SKRILL_BACKEND_PM_MODE</label>
1232
+ <sort_order>4</sort_order>
1233
+ <frontend_type>select</frontend_type>
1234
+ <config_path>payment/skrill_gir/show_separately</config_path>
1235
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1236
+ <show_in_default>1</show_in_default>
1237
+ <show_in_website>1</show_in_website>
1238
+ <show_in_store>1</show_in_store>
1239
+ </show_separately>
1240
+ <!-- <server_mode translate="label">
1241
+ <label>BACKEND_CH_SERVER</label>
1242
+ <frontend_type>select</frontend_type>
1243
+ <config_path>payment/skrill_gir/server_mode</config_path>
1244
+ <sort_order>5</sort_order>
1245
+ <source_model>skrill/source_mode</source_model>
1246
+ <show_in_default>1</show_in_default>
1247
+ <show_in_website>1</show_in_website>
1248
+ <show_in_store>1</show_in_store>
1249
+ </server_mode>
1250
+ <channel_id translate="label">
1251
+ <label>BACKEND_CH_CHANNEL</label>
1252
+ <sort_order>6</sort_order>
1253
+ <frontend_type>text</frontend_type>
1254
+ <config_path>payment/skrill_gir/channel_id</config_path>
1255
+ <show_in_default>1</show_in_default>
1256
+ <show_in_website>1</show_in_website>
1257
+ <show_in_store>1</show_in_store>
1258
+ </channel_id>
1259
+ <sender translate="label">
1260
+ <label>BACKEND_CH_SENDER</label>
1261
+ <sort_order>7</sort_order>
1262
+ <frontend_type>text</frontend_type>
1263
+ <config_path>payment/skrill_gir/sender</config_path>
1264
+ <show_in_default>1</show_in_default>
1265
+ <show_in_website>1</show_in_website>
1266
+ <show_in_store>1</show_in_store>
1267
+ </sender>
1268
+ <login translate="label">
1269
+ <label>BACKEND_CH_LOGIN</label>
1270
+ <sort_order>8</sort_order>
1271
+ <frontend_type>text</frontend_type>
1272
+ <config_path>payment/skrill_gir/login</config_path>
1273
+ <show_in_default>1</show_in_default>
1274
+ <show_in_website>1</show_in_website>
1275
+ <show_in_store>1</show_in_store>
1276
+ </login>
1277
+ <password translate="label">
1278
+ <label>BACKEND_CH_PASSWORD</label>
1279
+ <sort_order>9</sort_order>
1280
+ <frontend_type>text</frontend_type>
1281
+ <config_path>payment/skrill_gir/password</config_path>
1282
+ <show_in_default>1</show_in_default>
1283
+ <show_in_website>1</show_in_website>
1284
+ <show_in_store>1</show_in_store>
1285
+ </password>
1286
+ <allowspecific translate="label">
1287
+ <label>BACKEND_CH_COUNTRIES</label>
1288
+ <sort_order>10</sort_order>
1289
+ <frontend_type>allowspecific</frontend_type>
1290
+ <config_path>payment/skrill_gir/allowspecific</config_path>
1291
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1292
+ <show_in_default>1</show_in_default>
1293
+ <show_in_website>1</show_in_website>
1294
+ <show_in_store>1</show_in_store>
1295
+ </allowspecific>
1296
+ <specificcountry translate="label">
1297
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1298
+ <sort_order>11</sort_order>
1299
+ <frontend_type>multiselect</frontend_type>
1300
+ <config_path>payment/skrill_gir/specificcountry</config_path>
1301
+ <source_model>adminhtml/system_config_source_country</source_model>
1302
+ <can_be_empty>1</can_be_empty>
1303
+ <show_in_default>1</show_in_default>
1304
+ <show_in_website>1</show_in_website>
1305
+ <show_in_store>1</show_in_store>
1306
+ </specificcountry> -->
1307
+ <sort_order translate="label">
1308
+ <label>BACKEND_CH_ORDER</label>
1309
+ <frontend_type>text</frontend_type>
1310
+ <config_path>payment/skrill_gir/sort_order</config_path>
1311
+ <sort_order>12</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
+ </sort_order>
1316
+ </fields>
1317
+ </skrill_gir>
1318
+ <skrill_did translate="label">
1319
+ <label>SKRILL_BACKEND_PM_DID</label>
1320
+ <frontend_type>text</frontend_type>
1321
+ <sort_order>118</sort_order>
1322
+ <show_in_default>1</show_in_default>
1323
+ <show_in_website>1</show_in_website>
1324
+ <show_in_store>1</show_in_store>
1325
+ <fields>
1326
+ <!-- <version>
1327
+ <label>v1.0.32</label>
1328
+ <sort_order>1</sort_order>
1329
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1330
+ <frontend_type>label</frontend_type>
1331
+ <show_in_default>1</show_in_default>
1332
+ <show_in_website>1</show_in_website>
1333
+ <show_in_store>1</show_in_store>
1334
+ </version> -->
1335
+ <active translate="label">
1336
+ <label>BACKEND_CH_ACTIVE</label>
1337
+ <comment>Germany</comment>
1338
+ <sort_order>2</sort_order>
1339
+ <frontend_type>select</frontend_type>
1340
+ <config_path>payment/skrill_did/active</config_path>
1341
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1342
+ <show_in_default>1</show_in_default>
1343
+ <show_in_website>1</show_in_website>
1344
+ <show_in_store>1</show_in_store>
1345
+ </active>
1346
+ <!-- <gateway translate="label">
1347
+ <label>SKRILL_BACKEND_GATE</label>
1348
+ <sort_order>3</sort_order>
1349
+ <frontend_type>select</frontend_type>
1350
+ <config_path>payment/skrill_did/gateway</config_path>
1351
+ <source_model>skrill/source_gateway</source_model>
1352
+ <show_in_default>1</show_in_default>
1353
+ <show_in_website>1</show_in_website>
1354
+ <show_in_store>1</show_in_store>
1355
+ </gateway> -->
1356
+ <show_separately translate="label">
1357
+ <label>SKRILL_BACKEND_PM_MODE</label>
1358
+ <sort_order>4</sort_order>
1359
+ <frontend_type>select</frontend_type>
1360
+ <config_path>payment/skrill_did/show_separately</config_path>
1361
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1362
+ <show_in_default>1</show_in_default>
1363
+ <show_in_website>1</show_in_website>
1364
+ <show_in_store>1</show_in_store>
1365
+ </show_separately>
1366
+ <!-- <server_mode translate="label">
1367
+ <label>BACKEND_CH_SERVER</label>
1368
+ <frontend_type>select</frontend_type>
1369
+ <config_path>payment/skrill_did/server_mode</config_path>
1370
+ <sort_order>5</sort_order>
1371
+ <source_model>skrill/source_mode</source_model>
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
+ </server_mode>
1376
+ <channel_id translate="label">
1377
+ <label>BACKEND_CH_CHANNEL</label>
1378
+ <sort_order>6</sort_order>
1379
+ <frontend_type>text</frontend_type>
1380
+ <config_path>payment/skrill_did/channel_id</config_path>
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
+ </channel_id>
1385
+ <sender translate="label">
1386
+ <label>BACKEND_CH_SENDER</label>
1387
+ <sort_order>7</sort_order>
1388
+ <frontend_type>text</frontend_type>
1389
+ <config_path>payment/skrill_did/sender</config_path>
1390
+ <show_in_default>1</show_in_default>
1391
+ <show_in_website>1</show_in_website>
1392
+ <show_in_store>1</show_in_store>
1393
+ </sender>
1394
+ <login translate="label">
1395
+ <label>BACKEND_CH_LOGIN</label>
1396
+ <sort_order>8</sort_order>
1397
+ <frontend_type>text</frontend_type>
1398
+ <config_path>payment/skrill_did/login</config_path>
1399
+ <show_in_default>1</show_in_default>
1400
+ <show_in_website>1</show_in_website>
1401
+ <show_in_store>1</show_in_store>
1402
+ </login>
1403
+ <password translate="label">
1404
+ <label>BACKEND_CH_PASSWORD</label>
1405
+ <sort_order>9</sort_order>
1406
+ <frontend_type>text</frontend_type>
1407
+ <config_path>payment/skrill_did/password</config_path>
1408
+ <show_in_default>1</show_in_default>
1409
+ <show_in_website>1</show_in_website>
1410
+ <show_in_store>1</show_in_store>
1411
+ </password>
1412
+ <allowspecific translate="label">
1413
+ <label>BACKEND_CH_COUNTRIES</label>
1414
+ <sort_order>10</sort_order>
1415
+ <frontend_type>allowspecific</frontend_type>
1416
+ <config_path>payment/skrill_did/allowspecific</config_path>
1417
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1418
+ <show_in_default>1</show_in_default>
1419
+ <show_in_website>1</show_in_website>
1420
+ <show_in_store>1</show_in_store>
1421
+ </allowspecific>
1422
+ <specificcountry translate="label">
1423
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1424
+ <sort_order>11</sort_order>
1425
+ <frontend_type>multiselect</frontend_type>
1426
+ <config_path>payment/skrill_did/specificcountry</config_path>
1427
+ <source_model>adminhtml/system_config_source_country</source_model>
1428
+ <can_be_empty>1</can_be_empty>
1429
+ <show_in_default>1</show_in_default>
1430
+ <show_in_website>1</show_in_website>
1431
+ <show_in_store>1</show_in_store>
1432
+ </specificcountry> -->
1433
+ <sort_order translate="label">
1434
+ <label>BACKEND_CH_ORDER</label>
1435
+ <frontend_type>text</frontend_type>
1436
+ <config_path>payment/skrill_did/sort_order</config_path>
1437
+ <sort_order>12</sort_order>
1438
+ <show_in_default>1</show_in_default>
1439
+ <show_in_website>1</show_in_website>
1440
+ <show_in_store>1</show_in_store>
1441
+ </sort_order>
1442
+ </fields>
1443
+ </skrill_did>
1444
+ <skrill_sft translate="label">
1445
+ <label>SKRILL_BACKEND_PM_SFT</label>
1446
+ <frontend_type>text</frontend_type>
1447
+ <sort_order>119</sort_order>
1448
+ <show_in_default>1</show_in_default>
1449
+ <show_in_website>1</show_in_website>
1450
+ <show_in_store>1</show_in_store>
1451
+ <fields>
1452
+ <!-- <version>
1453
+ <label>v1.0.32</label>
1454
+ <sort_order>1</sort_order>
1455
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1456
+ <frontend_type>label</frontend_type>
1457
+ <show_in_default>1</show_in_default>
1458
+ <show_in_website>1</show_in_website>
1459
+ <show_in_store>1</show_in_store>
1460
+ </version> -->
1461
+ <active translate="label">
1462
+ <label>BACKEND_CH_ACTIVE</label>
1463
+ <comment>Germany, Austria, Belgium, Netherlands, Italy, France, Poland and United Kingdom</comment>
1464
+ <sort_order>2</sort_order>
1465
+ <frontend_type>select</frontend_type>
1466
+ <config_path>payment/skrill_sft/active</config_path>
1467
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1468
+ <show_in_default>1</show_in_default>
1469
+ <show_in_website>1</show_in_website>
1470
+ <show_in_store>1</show_in_store>
1471
+ </active>
1472
+ <!-- <gateway translate="label">
1473
+ <label>SKRILL_BACKEND_GATE</label>
1474
+ <sort_order>3</sort_order>
1475
+ <frontend_type>select</frontend_type>
1476
+ <config_path>payment/skrill_sft/gateway</config_path>
1477
+ <source_model>skrill/source_gateway</source_model>
1478
+ <show_in_default>1</show_in_default>
1479
+ <show_in_website>1</show_in_website>
1480
+ <show_in_store>1</show_in_store>
1481
+ </gateway> -->
1482
+ <show_separately translate="label">
1483
+ <label>SKRILL_BACKEND_PM_MODE</label>
1484
+ <sort_order>4</sort_order>
1485
+ <frontend_type>select</frontend_type>
1486
+ <config_path>payment/skrill_sft/show_separately</config_path>
1487
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1488
+ <show_in_default>1</show_in_default>
1489
+ <show_in_website>1</show_in_website>
1490
+ <show_in_store>1</show_in_store>
1491
+ </show_separately>
1492
+ <!-- <server_mode translate="label">
1493
+ <label>BACKEND_CH_SERVER</label>
1494
+ <frontend_type>select</frontend_type>
1495
+ <config_path>payment/skrill_sft/server_mode</config_path>
1496
+ <sort_order>5</sort_order>
1497
+ <source_model>skrill/source_mode</source_model>
1498
+ <show_in_default>1</show_in_default>
1499
+ <show_in_website>1</show_in_website>
1500
+ <show_in_store>1</show_in_store>
1501
+ </server_mode>
1502
+ <channel_id translate="label">
1503
+ <label>BACKEND_CH_CHANNEL</label>
1504
+ <sort_order>6</sort_order>
1505
+ <frontend_type>text</frontend_type>
1506
+ <config_path>payment/skrill_sft/channel_id</config_path>
1507
+ <show_in_default>1</show_in_default>
1508
+ <show_in_website>1</show_in_website>
1509
+ <show_in_store>1</show_in_store>
1510
+ </channel_id>
1511
+ <sender translate="label">
1512
+ <label>BACKEND_CH_SENDER</label>
1513
+ <sort_order>7</sort_order>
1514
+ <frontend_type>text</frontend_type>
1515
+ <config_path>payment/skrill_sft/sender</config_path>
1516
+ <show_in_default>1</show_in_default>
1517
+ <show_in_website>1</show_in_website>
1518
+ <show_in_store>1</show_in_store>
1519
+ </sender>
1520
+ <login translate="label">
1521
+ <label>BACKEND_CH_LOGIN</label>
1522
+ <sort_order>8</sort_order>
1523
+ <frontend_type>text</frontend_type>
1524
+ <config_path>payment/skrill_sft/login</config_path>
1525
+ <show_in_default>1</show_in_default>
1526
+ <show_in_website>1</show_in_website>
1527
+ <show_in_store>1</show_in_store>
1528
+ </login>
1529
+ <password translate="label">
1530
+ <label>BACKEND_CH_PASSWORD</label>
1531
+ <sort_order>9</sort_order>
1532
+ <frontend_type>text</frontend_type>
1533
+ <config_path>payment/skrill_sft/password</config_path>
1534
+ <show_in_default>1</show_in_default>
1535
+ <show_in_website>1</show_in_website>
1536
+ <show_in_store>1</show_in_store>
1537
+ </password>
1538
+ <allowspecific translate="label">
1539
+ <label>BACKEND_CH_COUNTRIES</label>
1540
+ <sort_order>10</sort_order>
1541
+ <frontend_type>allowspecific</frontend_type>
1542
+ <config_path>payment/skrill_sft/allowspecific</config_path>
1543
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1544
+ <show_in_default>1</show_in_default>
1545
+ <show_in_website>1</show_in_website>
1546
+ <show_in_store>1</show_in_store>
1547
+ </allowspecific>
1548
+ <specificcountry translate="label">
1549
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1550
+ <sort_order>11</sort_order>
1551
+ <frontend_type>multiselect</frontend_type>
1552
+ <config_path>payment/skrill_sft/specificcountry</config_path>
1553
+ <source_model>adminhtml/system_config_source_country</source_model>
1554
+ <can_be_empty>1</can_be_empty>
1555
+ <show_in_default>1</show_in_default>
1556
+ <show_in_website>1</show_in_website>
1557
+ <show_in_store>1</show_in_store>
1558
+ </specificcountry> -->
1559
+ <sort_order translate="label">
1560
+ <label>BACKEND_CH_ORDER</label>
1561
+ <frontend_type>text</frontend_type>
1562
+ <config_path>payment/skrill_sft/sort_order</config_path>
1563
+ <sort_order>12</sort_order>
1564
+ <show_in_default>1</show_in_default>
1565
+ <show_in_website>1</show_in_website>
1566
+ <show_in_store>1</show_in_store>
1567
+ </sort_order>
1568
+ </fields>
1569
+ </skrill_sft>
1570
+ <skrill_ebt translate="label">
1571
+ <label>SKRILL_BACKEND_PM_EBT</label>
1572
+ <frontend_type>text</frontend_type>
1573
+ <sort_order>121</sort_order>
1574
+ <show_in_default>1</show_in_default>
1575
+ <show_in_website>1</show_in_website>
1576
+ <show_in_store>1</show_in_store>
1577
+ <fields>
1578
+ <!-- <version>
1579
+ <label>v1.0.32</label>
1580
+ <sort_order>1</sort_order>
1581
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1582
+ <frontend_type>label</frontend_type>
1583
+ <show_in_default>1</show_in_default>
1584
+ <show_in_website>1</show_in_website>
1585
+ <show_in_store>1</show_in_store>
1586
+ </version> -->
1587
+ <active translate="label">
1588
+ <label>BACKEND_CH_ACTIVE</label>
1589
+ <comment>Sweden</comment>
1590
+ <sort_order>2</sort_order>
1591
+ <frontend_type>select</frontend_type>
1592
+ <config_path>payment/skrill_ebt/active</config_path>
1593
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1594
+ <show_in_default>1</show_in_default>
1595
+ <show_in_website>1</show_in_website>
1596
+ <show_in_store>1</show_in_store>
1597
+ </active>
1598
+ <show_separately translate="label">
1599
+ <label>SKRILL_BACKEND_PM_MODE</label>
1600
+ <sort_order>3</sort_order>
1601
+ <frontend_type>select</frontend_type>
1602
+ <config_path>payment/skrill_ebt/show_separately</config_path>
1603
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1604
+ <show_in_default>1</show_in_default>
1605
+ <show_in_website>1</show_in_website>
1606
+ <show_in_store>1</show_in_store>
1607
+ </show_separately>
1608
+ <sort_order translate="label">
1609
+ <label>BACKEND_CH_ORDER</label>
1610
+ <frontend_type>text</frontend_type>
1611
+ <config_path>payment/skrill_ebt/sort_order</config_path>
1612
+ <sort_order>6</sort_order>
1613
+ <show_in_default>1</show_in_default>
1614
+ <show_in_website>1</show_in_website>
1615
+ <show_in_store>1</show_in_store>
1616
+ </sort_order>
1617
+ </fields>
1618
+ </skrill_ebt>
1619
+ <skrill_idl translate="label">
1620
+ <label>SKRILL_BACKEND_PM_IDL</label>
1621
+ <frontend_type>text</frontend_type>
1622
+ <sort_order>122</sort_order>
1623
+ <show_in_default>1</show_in_default>
1624
+ <show_in_website>1</show_in_website>
1625
+ <show_in_store>1</show_in_store>
1626
+ <fields>
1627
+ <!-- <version>
1628
+ <label>v1.0.32</label>
1629
+ <sort_order>1</sort_order>
1630
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1631
+ <frontend_type>label</frontend_type>
1632
+ <show_in_default>1</show_in_default>
1633
+ <show_in_website>1</show_in_website>
1634
+ <show_in_store>1</show_in_store>
1635
+ </version> -->
1636
+ <active translate="label">
1637
+ <label>BACKEND_CH_ACTIVE</label>
1638
+ <comment>Netherlands</comment>
1639
+ <sort_order>2</sort_order>
1640
+ <frontend_type>select</frontend_type>
1641
+ <config_path>payment/skrill_idl/active</config_path>
1642
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1643
+ <show_in_default>1</show_in_default>
1644
+ <show_in_website>1</show_in_website>
1645
+ <show_in_store>1</show_in_store>
1646
+ </active>
1647
+ <!-- <gateway translate="label">
1648
+ <label>SKRILL_BACKEND_GATE</label>
1649
+ <sort_order>3</sort_order>
1650
+ <frontend_type>select</frontend_type>
1651
+ <config_path>payment/skrill_idl/gateway</config_path>
1652
+ <source_model>skrill/source_gateway</source_model>
1653
+ <show_in_default>1</show_in_default>
1654
+ <show_in_website>1</show_in_website>
1655
+ <show_in_store>1</show_in_store>
1656
+ </gateway> -->
1657
+ <show_separately translate="label">
1658
+ <label>SKRILL_BACKEND_PM_MODE</label>
1659
+ <sort_order>4</sort_order>
1660
+ <frontend_type>select</frontend_type>
1661
+ <config_path>payment/skrill_idl/show_separately</config_path>
1662
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1663
+ <show_in_default>1</show_in_default>
1664
+ <show_in_website>1</show_in_website>
1665
+ <show_in_store>1</show_in_store>
1666
+ </show_separately>
1667
+ <!-- <server_mode translate="label">
1668
+ <label>BACKEND_CH_SERVER</label>
1669
+ <frontend_type>select</frontend_type>
1670
+ <config_path>payment/skrill_idl/server_mode</config_path>
1671
+ <sort_order>5</sort_order>
1672
+ <source_model>skrill/source_mode</source_model>
1673
+ <show_in_default>1</show_in_default>
1674
+ <show_in_website>1</show_in_website>
1675
+ <show_in_store>1</show_in_store>
1676
+ </server_mode>
1677
+ <channel_id translate="label">
1678
+ <label>BACKEND_CH_CHANNEL</label>
1679
+ <sort_order>6</sort_order>
1680
+ <frontend_type>text</frontend_type>
1681
+ <config_path>payment/skrill_idl/channel_id</config_path>
1682
+ <show_in_default>1</show_in_default>
1683
+ <show_in_website>1</show_in_website>
1684
+ <show_in_store>1</show_in_store>
1685
+ </channel_id>
1686
+ <sender translate="label">
1687
+ <label>BACKEND_CH_SENDER</label>
1688
+ <sort_order>7</sort_order>
1689
+ <frontend_type>text</frontend_type>
1690
+ <config_path>payment/skrill_idl/sender</config_path>
1691
+ <show_in_default>1</show_in_default>
1692
+ <show_in_website>1</show_in_website>
1693
+ <show_in_store>1</show_in_store>
1694
+ </sender>
1695
+ <login translate="label">
1696
+ <label>BACKEND_CH_LOGIN</label>
1697
+ <sort_order>8</sort_order>
1698
+ <frontend_type>text</frontend_type>
1699
+ <config_path>payment/skrill_idl/login</config_path>
1700
+ <show_in_default>1</show_in_default>
1701
+ <show_in_website>1</show_in_website>
1702
+ <show_in_store>1</show_in_store>
1703
+ </login>
1704
+ <password translate="label">
1705
+ <label>BACKEND_CH_PASSWORD</label>
1706
+ <sort_order>9</sort_order>
1707
+ <frontend_type>text</frontend_type>
1708
+ <config_path>payment/skrill_idl/password</config_path>
1709
+ <show_in_default>1</show_in_default>
1710
+ <show_in_website>1</show_in_website>
1711
+ <show_in_store>1</show_in_store>
1712
+ </password>
1713
+ <allowspecific translate="label">
1714
+ <label>BACKEND_CH_COUNTRIES</label>
1715
+ <sort_order>10</sort_order>
1716
+ <frontend_type>allowspecific</frontend_type>
1717
+ <config_path>payment/skrill_idl/allowspecific</config_path>
1718
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1719
+ <show_in_default>1</show_in_default>
1720
+ <show_in_website>1</show_in_website>
1721
+ <show_in_store>1</show_in_store>
1722
+ </allowspecific>
1723
+ <specificcountry translate="label">
1724
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1725
+ <sort_order>11</sort_order>
1726
+ <frontend_type>multiselect</frontend_type>
1727
+ <config_path>payment/skrill_idl/specificcountry</config_path>
1728
+ <source_model>adminhtml/system_config_source_country</source_model>
1729
+ <can_be_empty>1</can_be_empty>
1730
+ <show_in_default>1</show_in_default>
1731
+ <show_in_website>1</show_in_website>
1732
+ <show_in_store>1</show_in_store>
1733
+ </specificcountry> -->
1734
+ <sort_order translate="label">
1735
+ <label>BACKEND_CH_ORDER</label>
1736
+ <frontend_type>text</frontend_type>
1737
+ <config_path>payment/skrill_idl/sort_order</config_path>
1738
+ <sort_order>12</sort_order>
1739
+ <show_in_default>1</show_in_default>
1740
+ <show_in_website>1</show_in_website>
1741
+ <show_in_store>1</show_in_store>
1742
+ </sort_order>
1743
+ </fields>
1744
+ </skrill_idl>
1745
+ <skrill_npy translate="label">
1746
+ <label>SKRILL_BACKEND_PM_NPY</label>
1747
+ <frontend_type>text</frontend_type>
1748
+ <sort_order>123</sort_order>
1749
+ <show_in_default>1</show_in_default>
1750
+ <show_in_website>1</show_in_website>
1751
+ <show_in_store>1</show_in_store>
1752
+ <fields>
1753
+ <!-- <version>
1754
+ <label>v1.0.32</label>
1755
+ <sort_order>1</sort_order>
1756
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1757
+ <frontend_type>label</frontend_type>
1758
+ <show_in_default>1</show_in_default>
1759
+ <show_in_website>1</show_in_website>
1760
+ <show_in_store>1</show_in_store>
1761
+ </version> -->
1762
+ <active translate="label">
1763
+ <label>BACKEND_CH_ACTIVE</label>
1764
+ <comment>Austria</comment>
1765
+ <sort_order>2</sort_order>
1766
+ <frontend_type>select</frontend_type>
1767
+ <config_path>payment/skrill_npy/active</config_path>
1768
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1769
+ <show_in_default>1</show_in_default>
1770
+ <show_in_website>1</show_in_website>
1771
+ <show_in_store>1</show_in_store>
1772
+ </active>
1773
+ <!-- <gateway translate="label">
1774
+ <label>SKRILL_BACKEND_GATE</label>
1775
+ <sort_order>3</sort_order>
1776
+ <frontend_type>select</frontend_type>
1777
+ <config_path>payment/skrill_npy/gateway</config_path>
1778
+ <source_model>skrill/source_gateway</source_model>
1779
+ <show_in_default>1</show_in_default>
1780
+ <show_in_website>1</show_in_website>
1781
+ <show_in_store>1</show_in_store>
1782
+ </gateway> -->
1783
+ <show_separately translate="label">
1784
+ <label>SKRILL_BACKEND_PM_MODE</label>
1785
+ <sort_order>4</sort_order>
1786
+ <frontend_type>select</frontend_type>
1787
+ <config_path>payment/skrill_npy/show_separately</config_path>
1788
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1789
+ <show_in_default>1</show_in_default>
1790
+ <show_in_website>1</show_in_website>
1791
+ <show_in_store>1</show_in_store>
1792
+ </show_separately>
1793
+ <!-- <server_mode translate="label">
1794
+ <label>BACKEND_CH_SERVER</label>
1795
+ <frontend_type>select</frontend_type>
1796
+ <config_path>payment/skrill_npy/server_mode</config_path>
1797
+ <sort_order>5</sort_order>
1798
+ <source_model>skrill/source_mode</source_model>
1799
+ <show_in_default>1</show_in_default>
1800
+ <show_in_website>1</show_in_website>
1801
+ <show_in_store>1</show_in_store>
1802
+ </server_mode>
1803
+ <channel_id translate="label">
1804
+ <label>BACKEND_CH_CHANNEL</label>
1805
+ <sort_order>6</sort_order>
1806
+ <frontend_type>text</frontend_type>
1807
+ <config_path>payment/skrill_npy/channel_id</config_path>
1808
+ <show_in_default>1</show_in_default>
1809
+ <show_in_website>1</show_in_website>
1810
+ <show_in_store>1</show_in_store>
1811
+ </channel_id>
1812
+ <sender translate="label">
1813
+ <label>BACKEND_CH_SENDER</label>
1814
+ <sort_order>7</sort_order>
1815
+ <frontend_type>text</frontend_type>
1816
+ <config_path>payment/skrill_npy/sender</config_path>
1817
+ <show_in_default>1</show_in_default>
1818
+ <show_in_website>1</show_in_website>
1819
+ <show_in_store>1</show_in_store>
1820
+ </sender>
1821
+ <login translate="label">
1822
+ <label>BACKEND_CH_LOGIN</label>
1823
+ <sort_order>8</sort_order>
1824
+ <frontend_type>text</frontend_type>
1825
+ <config_path>payment/skrill_npy/login</config_path>
1826
+ <show_in_default>1</show_in_default>
1827
+ <show_in_website>1</show_in_website>
1828
+ <show_in_store>1</show_in_store>
1829
+ </login>
1830
+ <password translate="label">
1831
+ <label>BACKEND_CH_PASSWORD</label>
1832
+ <sort_order>9</sort_order>
1833
+ <frontend_type>text</frontend_type>
1834
+ <config_path>payment/skrill_npy/password</config_path>
1835
+ <show_in_default>1</show_in_default>
1836
+ <show_in_website>1</show_in_website>
1837
+ <show_in_store>1</show_in_store>
1838
+ </password>
1839
+ <allowspecific translate="label">
1840
+ <label>BACKEND_CH_COUNTRIES</label>
1841
+ <sort_order>10</sort_order>
1842
+ <frontend_type>allowspecific</frontend_type>
1843
+ <config_path>payment/skrill_npy/allowspecific</config_path>
1844
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1845
+ <show_in_default>1</show_in_default>
1846
+ <show_in_website>1</show_in_website>
1847
+ <show_in_store>1</show_in_store>
1848
+ </allowspecific>
1849
+ <specificcountry translate="label">
1850
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1851
+ <sort_order>11</sort_order>
1852
+ <frontend_type>multiselect</frontend_type>
1853
+ <config_path>payment/skrill_npy/specificcountry</config_path>
1854
+ <source_model>adminhtml/system_config_source_country</source_model>
1855
+ <can_be_empty>1</can_be_empty>
1856
+ <show_in_default>1</show_in_default>
1857
+ <show_in_website>1</show_in_website>
1858
+ <show_in_store>1</show_in_store>
1859
+ </specificcountry> -->
1860
+ <sort_order translate="label">
1861
+ <label>BACKEND_CH_ORDER</label>
1862
+ <frontend_type>text</frontend_type>
1863
+ <config_path>payment/skrill_npy/sort_order</config_path>
1864
+ <sort_order>12</sort_order>
1865
+ <show_in_default>1</show_in_default>
1866
+ <show_in_website>1</show_in_website>
1867
+ <show_in_store>1</show_in_store>
1868
+ </sort_order>
1869
+ </fields>
1870
+ </skrill_npy>
1871
+ <skrill_pli translate="label">
1872
+ <label>SKRILL_BACKEND_PM_PLI</label>
1873
+ <frontend_type>text</frontend_type>
1874
+ <sort_order>124</sort_order>
1875
+ <show_in_default>1</show_in_default>
1876
+ <show_in_website>1</show_in_website>
1877
+ <show_in_store>1</show_in_store>
1878
+ <fields>
1879
+ <!-- <version>
1880
+ <label>v1.0.32</label>
1881
+ <sort_order>1</sort_order>
1882
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1883
+ <frontend_type>label</frontend_type>
1884
+ <show_in_default>1</show_in_default>
1885
+ <show_in_website>1</show_in_website>
1886
+ <show_in_store>1</show_in_store>
1887
+ </version> -->
1888
+ <active translate="label">
1889
+ <label>BACKEND_CH_ACTIVE</label>
1890
+ <comment>Australia</comment>
1891
+ <sort_order>2</sort_order>
1892
+ <frontend_type>select</frontend_type>
1893
+ <config_path>payment/skrill_pli/active</config_path>
1894
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1895
+ <show_in_default>1</show_in_default>
1896
+ <show_in_website>1</show_in_website>
1897
+ <show_in_store>1</show_in_store>
1898
+ </active>
1899
+ <show_separately translate="label">
1900
+ <label>SKRILL_BACKEND_PM_MODE</label>
1901
+ <sort_order>3</sort_order>
1902
+ <frontend_type>select</frontend_type>
1903
+ <config_path>payment/skrill_pli/show_separately</config_path>
1904
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1905
+ <show_in_default>1</show_in_default>
1906
+ <show_in_website>1</show_in_website>
1907
+ <show_in_store>1</show_in_store>
1908
+ </show_separately>
1909
+ <sort_order translate="label">
1910
+ <label>BACKEND_CH_ORDER</label>
1911
+ <frontend_type>text</frontend_type>
1912
+ <config_path>payment/skrill_pli/sort_order</config_path>
1913
+ <sort_order>6</sort_order>
1914
+ <show_in_default>1</show_in_default>
1915
+ <show_in_website>1</show_in_website>
1916
+ <show_in_store>1</show_in_store>
1917
+ </sort_order>
1918
+ </fields>
1919
+ </skrill_pli>
1920
+ <skrill_pwy translate="label">
1921
+ <label>SKRILL_BACKEND_PM_PWY</label>
1922
+ <frontend_type>text</frontend_type>
1923
+ <sort_order>125</sort_order>
1924
+ <show_in_default>1</show_in_default>
1925
+ <show_in_website>1</show_in_website>
1926
+ <show_in_store>1</show_in_store>
1927
+ <fields>
1928
+ <!-- <version>
1929
+ <label>v1.0.32</label>
1930
+ <sort_order>1</sort_order>
1931
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1932
+ <frontend_type>label</frontend_type>
1933
+ <show_in_default>1</show_in_default>
1934
+ <show_in_website>1</show_in_website>
1935
+ <show_in_store>1</show_in_store>
1936
+ </version> -->
1937
+ <active translate="label">
1938
+ <label>BACKEND_CH_ACTIVE</label>
1939
+ <comment>Poland</comment>
1940
+ <sort_order>2</sort_order>
1941
+ <frontend_type>select</frontend_type>
1942
+ <config_path>payment/skrill_pwy/active</config_path>
1943
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1944
+ <show_in_default>1</show_in_default>
1945
+ <show_in_website>1</show_in_website>
1946
+ <show_in_store>1</show_in_store>
1947
+ </active>
1948
+ <show_separately translate="label">
1949
+ <label>SKRILL_BACKEND_PM_MODE</label>
1950
+ <sort_order>3</sort_order>
1951
+ <frontend_type>select</frontend_type>
1952
+ <config_path>payment/skrill_pwy/show_separately</config_path>
1953
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1954
+ <show_in_default>1</show_in_default>
1955
+ <show_in_website>1</show_in_website>
1956
+ <show_in_store>1</show_in_store>
1957
+ </show_separately>
1958
+ <sort_order translate="label">
1959
+ <label>BACKEND_CH_ORDER</label>
1960
+ <frontend_type>text</frontend_type>
1961
+ <config_path>payment/skrill_pwy/sort_order</config_path>
1962
+ <sort_order>6</sort_order>
1963
+ <show_in_default>1</show_in_default>
1964
+ <show_in_website>1</show_in_website>
1965
+ <show_in_store>1</show_in_store>
1966
+ </sort_order>
1967
+ </fields>
1968
+ </skrill_pwy>
1969
+ <skrill_epy translate="label">
1970
+ <label>SKRILL_BACKEND_PM_EPY</label>
1971
+ <frontend_type>text</frontend_type>
1972
+ <sort_order>126</sort_order>
1973
+ <show_in_default>1</show_in_default>
1974
+ <show_in_website>1</show_in_website>
1975
+ <show_in_store>1</show_in_store>
1976
+ <fields>
1977
+ <!-- <version>
1978
+ <label>v1.0.32</label>
1979
+ <sort_order>1</sort_order>
1980
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1981
+ <frontend_type>label</frontend_type>
1982
+ <show_in_default>1</show_in_default>
1983
+ <show_in_website>1</show_in_website>
1984
+ <show_in_store>1</show_in_store>
1985
+ </version> -->
1986
+ <active translate="label">
1987
+ <label>BACKEND_CH_ACTIVE</label>
1988
+ <comment>Bulgaria</comment>
1989
+ <sort_order>2</sort_order>
1990
+ <frontend_type>select</frontend_type>
1991
+ <config_path>payment/skrill_epy/active</config_path>
1992
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1993
+ <show_in_default>1</show_in_default>
1994
+ <show_in_website>1</show_in_website>
1995
+ <show_in_store>1</show_in_store>
1996
+ </active>
1997
+ <show_separately translate="label">
1998
+ <label>SKRILL_BACKEND_PM_MODE</label>
1999
+ <sort_order>3</sort_order>
2000
+ <frontend_type>select</frontend_type>
2001
+ <config_path>payment/skrill_epy/show_separately</config_path>
2002
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2003
+ <show_in_default>1</show_in_default>
2004
+ <show_in_website>1</show_in_website>
2005
+ <show_in_store>1</show_in_store>
2006
+ </show_separately>
2007
+ <sort_order translate="label">
2008
+ <label>BACKEND_CH_ORDER</label>
2009
+ <frontend_type>text</frontend_type>
2010
+ <config_path>payment/skrill_epy/sort_order</config_path>
2011
+ <sort_order>6</sort_order>
2012
+ <show_in_default>1</show_in_default>
2013
+ <show_in_website>1</show_in_website>
2014
+ <show_in_store>1</show_in_store>
2015
+ </sort_order>
2016
+ </fields>
2017
+ </skrill_epy>
2018
+ <skrill_glu translate="label">
2019
+ <label>SKRILL_BACKEND_PM_GLU</label>
2020
+ <frontend_type>text</frontend_type>
2021
+ <sort_order>127</sort_order>
2022
+ <show_in_default>1</show_in_default>
2023
+ <show_in_website>1</show_in_website>
2024
+ <show_in_store>1</show_in_store>
2025
+ <fields>
2026
+ <!-- <version>
2027
+ <label>v1.0.32</label>
2028
+ <sort_order>1</sort_order>
2029
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2030
+ <frontend_type>label</frontend_type>
2031
+ <show_in_default>1</show_in_default>
2032
+ <show_in_website>1</show_in_website>
2033
+ <show_in_store>1</show_in_store>
2034
+ </version> -->
2035
+ <active translate="label">
2036
+ <label>BACKEND_CH_ACTIVE</label>
2037
+ <comment>Sweden, Finland, Estonia, Denmark, Spain, Poland, Italy, France, Germany, Portugal, Austria, Latvia, Lithuania, Netherlands, Czech Republic, Slovakia, United Kingdom, and Norway</comment>
2038
+ <sort_order>2</sort_order>
2039
+ <frontend_type>select</frontend_type>
2040
+ <config_path>payment/skrill_glu/active</config_path>
2041
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2042
+ <show_in_default>1</show_in_default>
2043
+ <show_in_website>1</show_in_website>
2044
+ <show_in_store>1</show_in_store>
2045
+ </active>
2046
+ <show_separately translate="label">
2047
+ <label>SKRILL_BACKEND_PM_MODE</label>
2048
+ <sort_order>3</sort_order>
2049
+ <frontend_type>select</frontend_type>
2050
+ <config_path>payment/skrill_glu/show_separately</config_path>
2051
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2052
+ <show_in_default>1</show_in_default>
2053
+ <show_in_website>1</show_in_website>
2054
+ <show_in_store>1</show_in_store>
2055
+ </show_separately>
2056
+ <sort_order translate="label">
2057
+ <label>BACKEND_CH_ORDER</label>
2058
+ <frontend_type>text</frontend_type>
2059
+ <config_path>payment/skrill_glu/sort_order</config_path>
2060
+ <sort_order>6</sort_order>
2061
+ <show_in_default>1</show_in_default>
2062
+ <show_in_website>1</show_in_website>
2063
+ <show_in_store>1</show_in_store>
2064
+ </sort_order>
2065
+ </fields>
2066
+ </skrill_glu>
2067
+ <skrill_ali translate="label">
2068
+ <label>SKRILL_BACKEND_PM_ALI</label>
2069
+ <frontend_type>text</frontend_type>
2070
+ <sort_order>127</sort_order>
2071
+ <show_in_default>1</show_in_default>
2072
+ <show_in_website>1</show_in_website>
2073
+ <show_in_store>1</show_in_store>
2074
+ <fields>
2075
+ <!-- <version>
2076
+ <label>v1.0.32</label>
2077
+ <sort_order>1</sort_order>
2078
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2079
+ <frontend_type>label</frontend_type>
2080
+ <show_in_default>1</show_in_default>
2081
+ <show_in_website>1</show_in_website>
2082
+ <show_in_store>1</show_in_store>
2083
+ </version> -->
2084
+ <active translate="label">
2085
+ <label>BACKEND_CH_ACTIVE</label>
2086
+ <comment>Consumer location: China only. Merchant location: This is available for merchants in all countries except China.</comment>
2087
+ <sort_order>2</sort_order>
2088
+ <frontend_type>select</frontend_type>
2089
+ <config_path>payment/skrill_ali/active</config_path>
2090
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2091
+ <show_in_default>1</show_in_default>
2092
+ <show_in_website>1</show_in_website>
2093
+ <show_in_store>1</show_in_store>
2094
+ </active>
2095
+ <show_separately translate="label">
2096
+ <label>SKRILL_BACKEND_PM_MODE</label>
2097
+ <sort_order>3</sort_order>
2098
+ <frontend_type>select</frontend_type>
2099
+ <config_path>payment/skrill_ali/show_separately</config_path>
2100
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2101
+ <show_in_default>1</show_in_default>
2102
+ <show_in_website>1</show_in_website>
2103
+ <show_in_store>1</show_in_store>
2104
+ </show_separately>
2105
+ <sort_order translate="label">
2106
+ <label>BACKEND_CH_ORDER</label>
2107
+ <frontend_type>text</frontend_type>
2108
+ <config_path>payment/skrill_ali/sort_order</config_path>
2109
+ <sort_order>6</sort_order>
2110
+ <show_in_default>1</show_in_default>
2111
+ <show_in_website>1</show_in_website>
2112
+ <show_in_store>1</show_in_store>
2113
+ </sort_order>
2114
+ </fields>
2115
+ </skrill_ali>
2116
+ <skrill_adb translate="label">
2117
+ <label>SKRILL_BACKEND_PM_ADB</label>
2118
+ <frontend_type>text</frontend_type>
2119
+ <sort_order>128</sort_order>
2120
+ <show_in_default>1</show_in_default>
2121
+ <show_in_website>1</show_in_website>
2122
+ <show_in_store>1</show_in_store>
2123
+ <fields>
2124
+ <!-- <version>
2125
+ <label>v1.0.32</label>
2126
+ <sort_order>1</sort_order>
2127
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2128
+ <frontend_type>label</frontend_type>
2129
+ <show_in_default>1</show_in_default>
2130
+ <show_in_website>1</show_in_website>
2131
+ <show_in_store>1</show_in_store>
2132
+ </version> -->
2133
+ <active translate="label">
2134
+ <label>BACKEND_CH_ACTIVE</label>
2135
+ <comment>Argentina, Brazil, China</comment>
2136
+ <sort_order>2</sort_order>
2137
+ <frontend_type>select</frontend_type>
2138
+ <config_path>payment/skrill_adb/active</config_path>
2139
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2140
+ <show_in_default>1</show_in_default>
2141
+ <show_in_website>1</show_in_website>
2142
+ <show_in_store>1</show_in_store>
2143
+ </active>
2144
+ <show_separately translate="label">
2145
+ <label>SKRILL_BACKEND_PM_MODE</label>
2146
+ <sort_order>3</sort_order>
2147
+ <frontend_type>select</frontend_type>
2148
+ <config_path>payment/skrill_adb/show_separately</config_path>
2149
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2150
+ <show_in_default>1</show_in_default>
2151
+ <show_in_website>1</show_in_website>
2152
+ <show_in_store>1</show_in_store>
2153
+ </show_separately>
2154
+ <sort_order translate="label">
2155
+ <label>BACKEND_CH_ORDER</label>
2156
+ <frontend_type>text</frontend_type>
2157
+ <config_path>payment/skrill_adb/sort_order</config_path>
2158
+ <sort_order>6</sort_order>
2159
+ <show_in_default>1</show_in_default>
2160
+ <show_in_website>1</show_in_website>
2161
+ <show_in_store>1</show_in_store>
2162
+ </sort_order>
2163
+ </fields>
2164
+ </skrill_adb>
2165
+ <skrill_aob translate="label">
2166
+ <label>SKRILL_BACKEND_PM_AOB</label>
2167
+ <frontend_type>text</frontend_type>
2168
+ <sort_order>129</sort_order>
2169
+ <show_in_default>1</show_in_default>
2170
+ <show_in_website>1</show_in_website>
2171
+ <show_in_store>1</show_in_store>
2172
+ <fields>
2173
+ <!-- <version>
2174
+ <label>v1.0.32</label>
2175
+ <sort_order>1</sort_order>
2176
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2177
+ <frontend_type>label</frontend_type>
2178
+ <show_in_default>1</show_in_default>
2179
+ <show_in_website>1</show_in_website>
2180
+ <show_in_store>1</show_in_store>
2181
+ </version> -->
2182
+ <active translate="label">
2183
+ <label>BACKEND_CH_ACTIVE</label>
2184
+ <comment>Brazil, Chile, Colombia</comment>
2185
+ <sort_order>2</sort_order>
2186
+ <frontend_type>select</frontend_type>
2187
+ <config_path>payment/skrill_aob/active</config_path>
2188
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2189
+ <show_in_default>1</show_in_default>
2190
+ <show_in_website>1</show_in_website>
2191
+ <show_in_store>1</show_in_store>
2192
+ </active>
2193
+ <show_separately translate="label">
2194
+ <label>SKRILL_BACKEND_PM_MODE</label>
2195
+ <sort_order>3</sort_order>
2196
+ <frontend_type>select</frontend_type>
2197
+ <config_path>payment/skrill_aob/show_separately</config_path>
2198
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2199
+ <show_in_default>1</show_in_default>
2200
+ <show_in_website>1</show_in_website>
2201
+ <show_in_store>1</show_in_store>
2202
+ </show_separately>
2203
+ <sort_order translate="label">
2204
+ <label>BACKEND_CH_ORDER</label>
2205
+ <frontend_type>text</frontend_type>
2206
+ <config_path>payment/skrill_aob/sort_order</config_path>
2207
+ <sort_order>6</sort_order>
2208
+ <show_in_default>1</show_in_default>
2209
+ <show_in_website>1</show_in_website>
2210
+ <show_in_store>1</show_in_store>
2211
+ </sort_order>
2212
+ </fields>
2213
+ </skrill_aob>
2214
+ <skrill_aci translate="label">
2215
+ <label>SKRILL_BACKEND_PM_ACI</label>
2216
+ <frontend_type>text</frontend_type>
2217
+ <sort_order>130</sort_order>
2218
+ <show_in_default>1</show_in_default>
2219
+ <show_in_website>1</show_in_website>
2220
+ <show_in_store>1</show_in_store>
2221
+ <fields>
2222
+ <!-- <version>
2223
+ <label>v1.0.32</label>
2224
+ <sort_order>1</sort_order>
2225
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2226
+ <frontend_type>label</frontend_type>
2227
+ <show_in_default>1</show_in_default>
2228
+ <show_in_website>1</show_in_website>
2229
+ <show_in_store>1</show_in_store>
2230
+ </version> -->
2231
+ <active translate="label">
2232
+ <label>BACKEND_CH_ACTIVE</label>
2233
+ <comment>Argentina, Brazil, Chile, Colombia, Mexico, Peru, and Uruguay</comment>
2234
+ <sort_order>2</sort_order>
2235
+ <frontend_type>select</frontend_type>
2236
+ <config_path>payment/skrill_aci/active</config_path>
2237
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2238
+ <show_in_default>1</show_in_default>
2239
+ <show_in_website>1</show_in_website>
2240
+ <show_in_store>1</show_in_store>
2241
+ </active>
2242
+ <show_separately translate="label">
2243
+ <label>SKRILL_BACKEND_PM_MODE</label>
2244
+ <sort_order>3</sort_order>
2245
+ <frontend_type>select</frontend_type>
2246
+ <config_path>payment/skrill_aci/show_separately</config_path>
2247
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2248
+ <show_in_default>1</show_in_default>
2249
+ <show_in_website>1</show_in_website>
2250
+ <show_in_store>1</show_in_store>
2251
+ </show_separately>
2252
+ <sort_order translate="label">
2253
+ <label>BACKEND_CH_ORDER</label>
2254
+ <frontend_type>text</frontend_type>
2255
+ <config_path>payment/skrill_aci/sort_order</config_path>
2256
+ <sort_order>6</sort_order>
2257
+ <show_in_default>1</show_in_default>
2258
+ <show_in_website>1</show_in_website>
2259
+ <show_in_store>1</show_in_store>
2260
+ </sort_order>
2261
+ </fields>
2262
+ </skrill_aci>
2263
+ <skrill_aup translate="label">
2264
+ <label>SKRILL_BACKEND_PM_AUP</label>
2265
+ <frontend_type>text</frontend_type>
2266
+ <sort_order>131</sort_order>
2267
+ <show_in_default>1</show_in_default>
2268
+ <show_in_website>1</show_in_website>
2269
+ <show_in_store>1</show_in_store>
2270
+ <fields>
2271
+ <!-- <version>
2272
+ <label>v1.0.32</label>
2273
+ <sort_order>1</sort_order>
2274
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2275
+ <frontend_type>label</frontend_type>
2276
+ <show_in_default>1</show_in_default>
2277
+ <show_in_website>1</show_in_website>
2278
+ <show_in_store>1</show_in_store>
2279
+ </version> -->
2280
+ <active translate="label">
2281
+ <label>BACKEND_CH_ACTIVE</label>
2282
+ <comment>China</comment>
2283
+ <sort_order>2</sort_order>
2284
+ <frontend_type>select</frontend_type>
2285
+ <config_path>payment/skrill_aup/active</config_path>
2286
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2287
+ <show_in_default>1</show_in_default>
2288
+ <show_in_website>1</show_in_website>
2289
+ <show_in_store>1</show_in_store>
2290
+ </active>
2291
+ <show_separately translate="label">
2292
+ <label>SKRILL_BACKEND_PM_MODE</label>
2293
+ <sort_order>3</sort_order>
2294
+ <frontend_type>select</frontend_type>
2295
+ <config_path>payment/skrill_aup/show_separately</config_path>
2296
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2297
+ <show_in_default>1</show_in_default>
2298
+ <show_in_website>1</show_in_website>
2299
+ <show_in_store>1</show_in_store>
2300
+ </show_separately>
2301
+ <sort_order translate="label">
2302
+ <label>BACKEND_CH_ORDER</label>
2303
+ <frontend_type>text</frontend_type>
2304
+ <config_path>payment/skrill_aup/sort_order</config_path>
2305
+ <sort_order>6</sort_order>
2306
+ <show_in_default>1</show_in_default>
2307
+ <show_in_website>1</show_in_website>
2308
+ <show_in_store>1</show_in_store>
2309
+ </sort_order>
2310
+ </fields>
2311
+ </skrill_aup>
2312
+
2313
+ <!-- <skrill_paypal module="skrill" translate="label">
2314
+ <label>SKRILL_BACKEND_PM_PAYPAL</label>
2315
+ <show_in_default>1</show_in_default>
2316
+ <show_in_website>1</show_in_website>
2317
+ <show_in_store>1</show_in_store>
2318
+ <sort_order>1600</sort_order>
2319
+ <fields>
2320
+ <version>
2321
+ <label>v1.0.32</label>
2322
+ <sort_order>1</sort_order>
2323
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2324
+ <frontend_type>label</frontend_type>
2325
+ <show_in_default>1</show_in_default>
2326
+ <show_in_website>1</show_in_website>
2327
+ <show_in_store>1</show_in_store>
2328
+ </version>
2329
+
2330
+ <active translate="label,comment">
2331
+ <label>BACKEND_CH_ACTIVE</label>
2332
+ <comment>SKRILL_BACKEND_TT_PAYPAL</comment>
2333
+ <sort_order>2</sort_order>
2334
+ <frontend_type>select</frontend_type>
2335
+ <config_path>payment/skrill_paypal/active</config_path>
2336
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2337
+ <show_in_default>1</show_in_default>
2338
+ <show_in_website>1</show_in_website>
2339
+ <show_in_store>1</show_in_store>
2340
+ </active>
2341
+
2342
+ <server_mode translate="label">
2343
+ <label>BACKEND_CH_SERVER</label>
2344
+ <frontend_type>select</frontend_type>
2345
+ <config_path>payment/skrill_paypal/server_mode</config_path>
2346
+ <sort_order>3</sort_order>
2347
+ <source_model>skrill/source_mode</source_model>
2348
+ <show_in_default>1</show_in_default>
2349
+ <show_in_website>1</show_in_website>
2350
+ <show_in_store>1</show_in_store>
2351
+ </server_mode>
2352
+
2353
+ <channel_id translate="label">
2354
+ <label>BACKEND_CH_CHANNEL</label>
2355
+ <sort_order>6</sort_order>
2356
+ <frontend_type>text</frontend_type>
2357
+ <config_path>payment/skrill_paypal/channel_id</config_path>
2358
+ <show_in_default>1</show_in_default>
2359
+ <show_in_website>1</show_in_website>
2360
+ <show_in_store>1</show_in_store>
2361
+ </channel_id>
2362
+
2363
+ <sender translate="label">
2364
+ <label>BACKEND_CH_SENDER</label>
2365
+ <sort_order>7</sort_order>
2366
+ <frontend_type>text</frontend_type>
2367
+ <config_path>payment/skrill_paypal/sender</config_path>
2368
+ <show_in_default>1</show_in_default>
2369
+ <show_in_website>1</show_in_website>
2370
+ <show_in_store>1</show_in_store>
2371
+ </sender>
2372
+
2373
+ <login translate="label">
2374
+ <label>BACKEND_CH_LOGIN</label>
2375
+ <sort_order>8</sort_order>
2376
+ <frontend_type>text</frontend_type>
2377
+ <config_path>payment/skrill_paypal/login</config_path>
2378
+ <show_in_default>1</show_in_default>
2379
+ <show_in_website>1</show_in_website>
2380
+ <show_in_store>1</show_in_store>
2381
+ </login>
2382
+
2383
+ <password translate="label">
2384
+ <label>BACKEND_CH_PASSWORD</label>
2385
+ <sort_order>9</sort_order>
2386
+ <frontend_type>text</frontend_type>
2387
+ <config_path>payment/skrill_paypal/password</config_path>
2388
+ <show_in_default>1</show_in_default>
2389
+ <show_in_website>1</show_in_website>
2390
+ <show_in_store>1</show_in_store>
2391
+ </password>
2392
+
2393
+ <allowspecific translate="label">
2394
+ <label>BACKEND_CH_COUNTRIES</label>
2395
+ <sort_order>10</sort_order>
2396
+ <frontend_type>allowspecific</frontend_type>
2397
+ <config_path>payment/skrill_paypal/allowspecific</config_path>
2398
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2399
+ <show_in_default>1</show_in_default>
2400
+ <show_in_website>1</show_in_website>
2401
+ <show_in_store>1</show_in_store>
2402
+ </allowspecific>
2403
+
2404
+ <specificcountry translate="label">
2405
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2406
+ <sort_order>11</sort_order>
2407
+ <frontend_type>multiselect</frontend_type>
2408
+ <config_path>payment/skrill_paypal/specificcountry</config_path>
2409
+ <source_model>adminhtml/system_config_source_country</source_model>
2410
+ <can_be_empty>1</can_be_empty>
2411
+ <show_in_default>1</show_in_default>
2412
+ <show_in_website>1</show_in_website>
2413
+ <show_in_store>1</show_in_store>
2414
+ </specificcountry>
2415
+ <sort_order translate="label">
2416
+ <label>BACKEND_CH_ORDER</label>
2417
+ <frontend_type>text</frontend_type>
2418
+ <config_path>payment/skrill_paypal/sort_order</config_path>
2419
+ <sort_order>15</sort_order>
2420
+ <show_in_default>1</show_in_default>
2421
+ <show_in_website>1</show_in_website>
2422
+ <show_in_store>1</show_in_store>
2423
+ </sort_order>
2424
+ </fields>
2425
+ </skrill_paypal> -->
2426
+
2427
+ <!-- <skrill_payolutioninv module="skrill" translate="label">
2428
+ <label>SKRILL_BACKEND_PM_PAYOLUTIONINV</label>
2429
+ <show_in_default>1</show_in_default>
2430
+ <show_in_website>1</show_in_website>
2431
+ <show_in_store>1</show_in_store>
2432
+ <sort_order>1800</sort_order>
2433
+ <fields>
2434
+ <version>
2435
+ <label>v1.0.32</label>
2436
+ <sort_order>1</sort_order>
2437
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2438
+ <frontend_type>label</frontend_type>
2439
+ <show_in_default>1</show_in_default>
2440
+ <show_in_website>1</show_in_website>
2441
+ <show_in_store>1</show_in_store>
2442
+ </version>
2443
+
2444
+ <active translate="label,comment">
2445
+ <label>BACKEND_CH_ACTIVE</label>
2446
+ <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2447
+ <sort_order>2</sort_order>
2448
+ <frontend_type>select</frontend_type>
2449
+ <config_path>payment/skrill_payolutioninv/active</config_path>
2450
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2451
+ <show_in_default>1</show_in_default>
2452
+ <show_in_website>1</show_in_website>
2453
+ <show_in_store>1</show_in_store>
2454
+ </active>
2455
+
2456
+ <server_mode translate="label">
2457
+ <label>BACKEND_CH_SERVER</label>
2458
+ <frontend_type>select</frontend_type>
2459
+ <config_path>payment/skrill_payolutioninv/server_mode</config_path>
2460
+ <sort_order>3</sort_order>
2461
+ <source_model>skrill/source_mode</source_model>
2462
+ <show_in_default>1</show_in_default>
2463
+ <show_in_website>1</show_in_website>
2464
+ <show_in_store>1</show_in_store>
2465
+ </server_mode>
2466
+
2467
+ <channel_id translate="label">
2468
+ <label>BACKEND_CH_CHANNEL</label>
2469
+ <sort_order>6</sort_order>
2470
+ <frontend_type>text</frontend_type>
2471
+ <config_path>payment/skrill_payolutioninv/channel_id</config_path>
2472
+ <show_in_default>1</show_in_default>
2473
+ <show_in_website>1</show_in_website>
2474
+ <show_in_store>1</show_in_store>
2475
+ </channel_id>
2476
+
2477
+ <sender translate="label">
2478
+ <label>BACKEND_CH_SENDER</label>
2479
+ <sort_order>7</sort_order>
2480
+ <frontend_type>text</frontend_type>
2481
+ <config_path>payment/skrill_payolutioninv/sender</config_path>
2482
+ <show_in_default>1</show_in_default>
2483
+ <show_in_website>1</show_in_website>
2484
+ <show_in_store>1</show_in_store>
2485
+ </sender>
2486
+
2487
+ <login translate="label">
2488
+ <label>BACKEND_CH_LOGIN</label>
2489
+ <sort_order>8</sort_order>
2490
+ <frontend_type>text</frontend_type>
2491
+ <config_path>payment/skrill_payolutioninv/login</config_path>
2492
+ <show_in_default>1</show_in_default>
2493
+ <show_in_website>1</show_in_website>
2494
+ <show_in_store>1</show_in_store>
2495
+ </login>
2496
+
2497
+ <password translate="label">
2498
+ <label>BACKEND_CH_PASSWORD</label>
2499
+ <sort_order>9</sort_order>
2500
+ <frontend_type>text</frontend_type>
2501
+ <config_path>payment/skrill_payolutioninv/password</config_path>
2502
+ <show_in_default>1</show_in_default>
2503
+ <show_in_website>1</show_in_website>
2504
+ <show_in_store>1</show_in_store>
2505
+ </password>
2506
+
2507
+ <allowspecific translate="label">
2508
+ <label>BACKEND_CH_COUNTRIES</label>
2509
+ <sort_order>10</sort_order>
2510
+ <frontend_type>allowspecific</frontend_type>
2511
+ <config_path>payment/skrill_payolutioninv/allowspecific</config_path>
2512
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2513
+ <show_in_default>1</show_in_default>
2514
+ <show_in_website>1</show_in_website>
2515
+ <show_in_store>1</show_in_store>
2516
+ </allowspecific>
2517
+
2518
+ <specificcountry translate="label">
2519
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2520
+ <sort_order>11</sort_order>
2521
+ <frontend_type>multiselect</frontend_type>
2522
+ <config_path>payment/skrill_payolutioninv/specificcountry</config_path>
2523
+ <source_model>adminhtml/system_config_source_country</source_model>
2524
+ <can_be_empty>1</can_be_empty>
2525
+ <show_in_default>1</show_in_default>
2526
+ <show_in_website>1</show_in_website>
2527
+ <show_in_store>1</show_in_store>
2528
+ </specificcountry>
2529
+ <sort_order translate="label">
2530
+ <label>BACKEND_CH_ORDER</label>
2531
+ <frontend_type>text</frontend_type>
2532
+ <config_path>payment/skrill_payolutioninv/sort_order</config_path>
2533
+ <sort_order>15</sort_order>
2534
+ <show_in_default>1</show_in_default>
2535
+ <show_in_website>1</show_in_website>
2536
+ <show_in_store>1</show_in_store>
2537
+ </sort_order>
2538
+ </fields>
2539
+ </skrill_payolutioninv>
2540
+
2541
+ <skrill_payolutionins module="skrill" translate="label">
2542
+ <label>SKRILL_BACKEND_PM_PAYOLUTIONINS</label>
2543
+ <show_in_default>1</show_in_default>
2544
+ <show_in_website>1</show_in_website>
2545
+ <show_in_store>1</show_in_store>
2546
+ <sort_order>1900</sort_order>
2547
+ <fields>
2548
+ <version>
2549
+ <label>v1.0.32</label>
2550
+ <sort_order>1</sort_order>
2551
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2552
+ <frontend_type>label</frontend_type>
2553
+ <show_in_default>1</show_in_default>
2554
+ <show_in_website>1</show_in_website>
2555
+ <show_in_store>1</show_in_store>
2556
+ </version>
2557
+
2558
+ <active translate="label,comment">
2559
+ <label>BACKEND_CH_ACTIVE</label>
2560
+ <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2561
+ <sort_order>2</sort_order>
2562
+ <frontend_type>select</frontend_type>
2563
+ <config_path>payment/skrill_payolutionins/active</config_path>
2564
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2565
+ <show_in_default>1</show_in_default>
2566
+ <show_in_website>1</show_in_website>
2567
+ <show_in_store>1</show_in_store>
2568
+ </active>
2569
+
2570
+ <server_mode translate="label">
2571
+ <label>BACKEND_CH_SERVER</label>
2572
+ <frontend_type>select</frontend_type>
2573
+ <config_path>payment/skrill_payolutionins/server_mode</config_path>
2574
+ <sort_order>3</sort_order>
2575
+ <source_model>skrill/source_mode</source_model>
2576
+ <show_in_default>1</show_in_default>
2577
+ <show_in_website>1</show_in_website>
2578
+ <show_in_store>1</show_in_store>
2579
+ </server_mode>
2580
+
2581
+ <channel_id translate="label">
2582
+ <label>BACKEND_CH_CHANNEL</label>
2583
+ <sort_order>6</sort_order>
2584
+ <frontend_type>text</frontend_type>
2585
+ <config_path>payment/skrill_payolutionins/channel_id</config_path>
2586
+ <show_in_default>1</show_in_default>
2587
+ <show_in_website>1</show_in_website>
2588
+ <show_in_store>1</show_in_store>
2589
+ </channel_id>
2590
+
2591
+ <sender translate="label">
2592
+ <label>BACKEND_CH_SENDER</label>
2593
+ <sort_order>7</sort_order>
2594
+ <frontend_type>text</frontend_type>
2595
+ <config_path>payment/skrill_payolutionins/sender</config_path>
2596
+ <show_in_default>1</show_in_default>
2597
+ <show_in_website>1</show_in_website>
2598
+ <show_in_store>1</show_in_store>
2599
+ </sender>
2600
+
2601
+ <login translate="label">
2602
+ <label>BACKEND_CH_LOGIN</label>
2603
+ <sort_order>8</sort_order>
2604
+ <frontend_type>text</frontend_type>
2605
+ <config_path>payment/skrill_payolutionins/login</config_path>
2606
+ <show_in_default>1</show_in_default>
2607
+ <show_in_website>1</show_in_website>
2608
+ <show_in_store>1</show_in_store>
2609
+ </login>
2610
+
2611
+ <password translate="label">
2612
+ <label>BACKEND_CH_PASSWORD</label>
2613
+ <sort_order>9</sort_order>
2614
+ <frontend_type>text</frontend_type>
2615
+ <config_path>payment/skrill_payolutionins/password</config_path>
2616
+ <show_in_default>1</show_in_default>
2617
+ <show_in_website>1</show_in_website>
2618
+ <show_in_store>1</show_in_store>
2619
+ </password>
2620
+
2621
+ <allowspecific translate="label">
2622
+ <label>BACKEND_CH_COUNTRIES</label>
2623
+ <sort_order>10</sort_order>
2624
+ <frontend_type>allowspecific</frontend_type>
2625
+ <config_path>payment/skrill_payolutionins/allowspecific</config_path>
2626
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2627
+ <show_in_default>1</show_in_default>
2628
+ <show_in_website>1</show_in_website>
2629
+ <show_in_store>1</show_in_store>
2630
+ </allowspecific>
2631
+
2632
+ <specificcountry translate="label">
2633
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2634
+ <sort_order>11</sort_order>
2635
+ <frontend_type>multiselect</frontend_type>
2636
+ <config_path>payment/skrill_payolutionins/specificcountry</config_path>
2637
+ <source_model>adminhtml/system_config_source_country</source_model>
2638
+ <can_be_empty>1</can_be_empty>
2639
+ <show_in_default>1</show_in_default>
2640
+ <show_in_website>1</show_in_website>
2641
+ <show_in_store>1</show_in_store>
2642
+ </specificcountry>
2643
+ <sort_order translate="label">
2644
+ <label>BACKEND_CH_ORDER</label>
2645
+ <frontend_type>text</frontend_type>
2646
+ <config_path>payment/skrill_payolutionins/sort_order</config_path>
2647
+ <sort_order>15</sort_order>
2648
+ <show_in_default>1</show_in_default>
2649
+ <show_in_website>1</show_in_website>
2650
+ <show_in_store>1</show_in_store>
2651
+ </sort_order>
2652
+ </fields>
2653
+ </skrill_payolutionins> -->
2654
+
2655
+ <!-- <skrill_paytrail module="skrill" translate="label">
2656
+ <label>SKRILL_BACKEND_PM_PAYTRAIL</label>
2657
+ <show_in_default>1</show_in_default>
2658
+ <show_in_website>1</show_in_website>
2659
+ <show_in_store>1</show_in_store>
2660
+ <sort_order>2000</sort_order>
2661
+ <fields>
2662
+ <version>
2663
+ <label>v1.0.32</label>
2664
+ <sort_order>1</sort_order>
2665
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2666
+ <frontend_type>label</frontend_type>
2667
+ <show_in_default>1</show_in_default>
2668
+ <show_in_website>1</show_in_website>
2669
+ <show_in_store>1</show_in_store>
2670
+ </version>
2671
+
2672
+ <active translate="label">
2673
+ <label>BACKEND_CH_ACTIVE</label>
2674
+ <sort_order>2</sort_order>
2675
+ <frontend_type>select</frontend_type>
2676
+ <config_path>payment/skrill_paytrail/active</config_path>
2677
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2678
+ <show_in_default>1</show_in_default>
2679
+ <show_in_website>1</show_in_website>
2680
+ <show_in_store>1</show_in_store>
2681
+ </active>
2682
+
2683
+ <server_mode translate="label">
2684
+ <label>BACKEND_CH_SERVER</label>
2685
+ <frontend_type>select</frontend_type>
2686
+ <config_path>payment/skrill_paytrail/server_mode</config_path>
2687
+ <sort_order>3</sort_order>
2688
+ <source_model>skrill/source_mode</source_model>
2689
+ <show_in_default>1</show_in_default>
2690
+ <show_in_website>1</show_in_website>
2691
+ <show_in_store>1</show_in_store>
2692
+ </server_mode>
2693
+
2694
+ <channel_id translate="label">
2695
+ <label>BACKEND_CH_CHANNEL</label>
2696
+ <sort_order>6</sort_order>
2697
+ <frontend_type>text</frontend_type>
2698
+ <config_path>payment/skrill_paytrail/channel_id</config_path>
2699
+ <show_in_default>1</show_in_default>
2700
+ <show_in_website>1</show_in_website>
2701
+ <show_in_store>1</show_in_store>
2702
+ </channel_id>
2703
+
2704
+ <sender translate="label">
2705
+ <label>BACKEND_CH_SENDER</label>
2706
+ <sort_order>7</sort_order>
2707
+ <frontend_type>text</frontend_type>
2708
+ <config_path>payment/skrill_paytrail/sender</config_path>
2709
+ <show_in_default>1</show_in_default>
2710
+ <show_in_website>1</show_in_website>
2711
+ <show_in_store>1</show_in_store>
2712
+ </sender>
2713
+
2714
+ <login translate="label">
2715
+ <label>BACKEND_CH_LOGIN</label>
2716
+ <sort_order>8</sort_order>
2717
+ <frontend_type>text</frontend_type>
2718
+ <config_path>payment/skrill_paytrail/login</config_path>
2719
+ <show_in_default>1</show_in_default>
2720
+ <show_in_website>1</show_in_website>
2721
+ <show_in_store>1</show_in_store>
2722
+ </login>
2723
+
2724
+ <password translate="label">
2725
+ <label>BACKEND_CH_PASSWORD</label>
2726
+ <sort_order>9</sort_order>
2727
+ <frontend_type>text</frontend_type>
2728
+ <config_path>payment/skrill_paytrail/password</config_path>
2729
+ <show_in_default>1</show_in_default>
2730
+ <show_in_website>1</show_in_website>
2731
+ <show_in_store>1</show_in_store>
2732
+ </password>
2733
+
2734
+ <allowspecific translate="label">
2735
+ <label>BACKEND_CH_COUNTRIES</label>
2736
+ <sort_order>10</sort_order>
2737
+ <frontend_type>allowspecific</frontend_type>
2738
+ <config_path>payment/skrill_paytrail/allowspecific</config_path>
2739
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2740
+ <show_in_default>1</show_in_default>
2741
+ <show_in_website>1</show_in_website>
2742
+ <show_in_store>1</show_in_store>
2743
+ </allowspecific>
2744
+
2745
+ <specificcountry translate="label">
2746
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2747
+ <sort_order>11</sort_order>
2748
+ <frontend_type>multiselect</frontend_type>
2749
+ <config_path>payment/skrill_paytrail/specificcountry</config_path>
2750
+ <source_model>adminhtml/system_config_source_country</source_model>
2751
+ <can_be_empty>1</can_be_empty>
2752
+ <show_in_default>1</show_in_default>
2753
+ <show_in_website>1</show_in_website>
2754
+ <show_in_store>1</show_in_store>
2755
+ </specificcountry>
2756
+ <sort_order translate="label">
2757
+ <label>BACKEND_CH_ORDER</label>
2758
+ <frontend_type>text</frontend_type>
2759
+ <config_path>payment/skrill_paytrail/sort_order</config_path>
2760
+ <sort_order>15</sort_order>
2761
+ <show_in_default>1</show_in_default>
2762
+ <show_in_website>1</show_in_website>
2763
+ <show_in_store>1</show_in_store>
2764
+ </sort_order>
2765
+ </fields>
2766
+ </skrill_paytrail> -->
2767
+
2768
+ <!-- <skrill_yandex module="skrill" translate="label">
2769
+ <label>SKRILL_BACKEND_PM_YANDEX</label>
2770
+ <show_in_default>1</show_in_default>
2771
+ <show_in_website>1</show_in_website>
2772
+ <show_in_store>1</show_in_store>
2773
+ <sort_order>2100</sort_order>
2774
+ <fields>
2775
+ <version>
2776
+ <label>v1.0.32</label>
2777
+ <sort_order>1</sort_order>
2778
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2779
+ <frontend_type>label</frontend_type>
2780
+ <show_in_default>1</show_in_default>
2781
+ <show_in_website>1</show_in_website>
2782
+ <show_in_store>1</show_in_store>
2783
+ </version>
2784
+
2785
+ <active translate="label">
2786
+ <label>BACKEND_CH_ACTIVE</label>
2787
+ <sort_order>2</sort_order>
2788
+ <frontend_type>select</frontend_type>
2789
+ <config_path>payment/skrill_yandex/active</config_path>
2790
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2791
+ <show_in_default>1</show_in_default>
2792
+ <show_in_website>1</show_in_website>
2793
+ <show_in_store>1</show_in_store>
2794
+ </active>
2795
+
2796
+ <server_mode translate="label">
2797
+ <label>BACKEND_CH_SERVER</label>
2798
+ <frontend_type>select</frontend_type>
2799
+ <config_path>payment/skrill_yandex/server_mode</config_path>
2800
+ <sort_order>3</sort_order>
2801
+ <source_model>skrill/source_mode</source_model>
2802
+ <show_in_default>1</show_in_default>
2803
+ <show_in_website>1</show_in_website>
2804
+ <show_in_store>1</show_in_store>
2805
+ </server_mode>
2806
+
2807
+ <channel_id translate="label">
2808
+ <label>BACKEND_CH_CHANNEL</label>
2809
+ <sort_order>6</sort_order>
2810
+ <frontend_type>text</frontend_type>
2811
+ <config_path>payment/skrill_yandex/channel_id</config_path>
2812
+ <show_in_default>1</show_in_default>
2813
+ <show_in_website>1</show_in_website>
2814
+ <show_in_store>1</show_in_store>
2815
+ </channel_id>
2816
+
2817
+ <sender translate="label">
2818
+ <label>BACKEND_CH_SENDER</label>
2819
+ <sort_order>7</sort_order>
2820
+ <frontend_type>text</frontend_type>
2821
+ <config_path>payment/skrill_yandex/sender</config_path>
2822
+ <show_in_default>1</show_in_default>
2823
+ <show_in_website>1</show_in_website>
2824
+ <show_in_store>1</show_in_store>
2825
+ </sender>
2826
+
2827
+ <login translate="label">
2828
+ <label>BACKEND_CH_LOGIN</label>
2829
+ <sort_order>8</sort_order>
2830
+ <frontend_type>text</frontend_type>
2831
+ <config_path>payment/skrill_yandex/login</config_path>
2832
+ <show_in_default>1</show_in_default>
2833
+ <show_in_website>1</show_in_website>
2834
+ <show_in_store>1</show_in_store>
2835
+ </login>
2836
+
2837
+ <password translate="label">
2838
+ <label>BACKEND_CH_PASSWORD</label>
2839
+ <sort_order>9</sort_order>
2840
+ <frontend_type>text</frontend_type>
2841
+ <config_path>payment/skrill_yandex/password</config_path>
2842
+ <show_in_default>1</show_in_default>
2843
+ <show_in_website>1</show_in_website>
2844
+ <show_in_store>1</show_in_store>
2845
+ </password>
2846
+
2847
+ <allowspecific translate="label">
2848
+ <label>BACKEND_CH_COUNTRIES</label>
2849
+ <sort_order>10</sort_order>
2850
+ <frontend_type>allowspecific</frontend_type>
2851
+ <config_path>payment/skrill_yandex/allowspecific</config_path>
2852
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2853
+ <show_in_default>1</show_in_default>
2854
+ <show_in_website>1</show_in_website>
2855
+ <show_in_store>1</show_in_store>
2856
+ </allowspecific>
2857
+
2858
+ <specificcountry translate="label">
2859
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2860
+ <sort_order>11</sort_order>
2861
+ <frontend_type>multiselect</frontend_type>
2862
+ <config_path>payment/skrill_yandex/specificcountry</config_path>
2863
+ <source_model>adminhtml/system_config_source_country</source_model>
2864
+ <can_be_empty>1</can_be_empty>
2865
+ <show_in_default>1</show_in_default>
2866
+ <show_in_website>1</show_in_website>
2867
+ <show_in_store>1</show_in_store>
2868
+ </specificcountry>
2869
+ <sort_order translate="label">
2870
+ <label>BACKEND_CH_ORDER</label>
2871
+ <frontend_type>text</frontend_type>
2872
+ <config_path>payment/skrill_yandex/sort_order</config_path>
2873
+ <sort_order>15</sort_order>
2874
+ <show_in_default>1</show_in_default>
2875
+ <show_in_website>1</show_in_website>
2876
+ <show_in_store>1</show_in_store>
2877
+ </sort_order>
2878
+ </fields>
2879
+ </skrill_yandex> -->
2880
+
2881
+ </groups>
2882
+ </skrill>
2883
+ </sections>
2884
+ </config>
app/code/community/Skrill/sql/skrill_setup/mysql4-install-1.0.0.php CHANGED
@@ -1,44 +1,44 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @package Skrill
16
- * @copyright Copyright (c) 2013 Skrill
17
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
- */
19
-
20
- /* @var $installer Mage_Core_Model_Resource_Setup */
21
-
22
- $installer = $this;
23
- $installer->startSetup();
24
- $installer->run("
25
- INSERT INTO `{$this->getTable('sales/order_status')}` (
26
- `status` ,
27
- `label`
28
- ) SELECT 'payment_accepted','Payment Accepted' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status')}` WHERE `status` = 'payment_accepted' AND `label` = 'Payment Accepted');
29
- INSERT INTO `{$this->getTable('sales/order_status')}` (
30
- `status` ,
31
- `label`
32
- ) SELECT 'payment_pa','Pre-Authorization of Payment' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status')}` WHERE `status` = 'payment_pa' AND `label` = 'Pre-Authorization of Payment');
33
- INSERT INTO `{$this->getTable('sales/order_status_state')}` (
34
- `status` ,
35
- `state` ,
36
- `is_default`
37
- ) SELECT 'payment_accepted','processing','0' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status_state')}` WHERE `status` = 'payment_accepted' AND `state` = 'processing');
38
- INSERT INTO `{$this->getTable('sales/order_status_state')}` (
39
- `status` ,
40
- `state` ,
41
- `is_default`
42
- ) SELECT 'payment_pa','new','1' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status_state')}` WHERE `status` = 'payment_pa' AND `state` = 'new');
43
- ");
44
- $installer->endSetup();
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @package Skrill
16
+ * @copyright Copyright (c) 2013 Skrill
17
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
+ */
19
+
20
+ /* @var $installer Mage_Core_Model_Resource_Setup */
21
+
22
+ $installer = $this;
23
+ $installer->startSetup();
24
+ $installer->run("
25
+ INSERT INTO `{$this->getTable('sales/order_status')}` (
26
+ `status` ,
27
+ `label`
28
+ ) SELECT 'payment_accepted','Payment Accepted' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status')}` WHERE `status` = 'payment_accepted' AND `label` = 'Payment Accepted');
29
+ INSERT INTO `{$this->getTable('sales/order_status')}` (
30
+ `status` ,
31
+ `label`
32
+ ) SELECT 'payment_pa','Pre-Authorization of Payment' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status')}` WHERE `status` = 'payment_pa' AND `label` = 'Pre-Authorization of Payment');
33
+ INSERT INTO `{$this->getTable('sales/order_status_state')}` (
34
+ `status` ,
35
+ `state` ,
36
+ `is_default`
37
+ ) SELECT 'payment_accepted','processing','0' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status_state')}` WHERE `status` = 'payment_accepted' AND `state` = 'processing');
38
+ INSERT INTO `{$this->getTable('sales/order_status_state')}` (
39
+ `status` ,
40
+ `state` ,
41
+ `is_default`
42
+ ) SELECT 'payment_pa','new','1' FROM dual WHERE NOT EXISTS (SELECT * FROM `{$this->getTable('sales/order_status_state')}` WHERE `status` = 'payment_pa' AND `state` = 'new');
43
+ ");
44
+ $installer->endSetup();
app/code/community/Skrill/sql/skrill_setup/mysql4-upgrade-1.0.16-1.0.17.php CHANGED
@@ -1,6 +1,6 @@
1
- <?php
2
-
3
- $installer = $this;
4
- $installer->startSetup();
5
- $installer->run("UPDATE {$this->getTable('sales/order_status_state')} SET is_default ='0' WHERE status = 'payment_accepted' ");
6
- $installer->endSetup();
1
+ <?php
2
+
3
+ $installer = $this;
4
+ $installer->startSetup();
5
+ $installer->run("UPDATE {$this->getTable('sales/order_status_state')} SET is_default ='0' WHERE status = 'payment_accepted' ");
6
+ $installer->endSetup();
app/design/adminhtml/default/default/template/skrill/payoninfo.phtml CHANGED
@@ -1,37 +1,37 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category design
16
- * @package default_default
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- ?>
21
- <?php echo $this->escapeHtml($this->getMethod()->getTitle())." ".Mage::helper('skrill')->__('BACKEND_TT_BY_PAYON'); ?>
22
- <br />
23
- <?php
24
- $ip_country = $this->getInfo()->getAdditionalInformation('skrill_ip_country');
25
- if ( $ip_country )
26
- echo Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_ORIGIN')." : ".Mage::app()->getLocale()->getCountryTranslation($ip_country)."<br />";
27
- ?>
28
- <?php
29
- $status = $this->getInfo()->getAdditionalInformation('skrill_status');
30
- $payment_type = $this->getInfo()->getAdditionalInformation('skrill_transaction_code');
31
- $payment_brand = $this->getInfo()->getAdditionalInformation('skrill_payment_brand');
32
- $bin = $this->getInfo()->getAdditionalInformation('skrill_bin');
33
-
34
- $separator_type = 'info';
35
- $comment = Mage::helper('skrill')->getPayonComment($status, $payment_type, $payment_brand, $bin, $separator_type);
36
- echo $comment;
37
- ?>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category design
16
+ * @package default_default
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ ?>
21
+ <?php echo $this->escapeHtml($this->getMethod()->getTitle())." ".Mage::helper('skrill')->__('BACKEND_TT_BY_PAYON'); ?>
22
+ <br />
23
+ <?php
24
+ $ip_country = $this->getInfo()->getAdditionalInformation('skrill_ip_country');
25
+ if ( $ip_country )
26
+ echo Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_ORIGIN')." : ".Mage::app()->getLocale()->getCountryTranslation($ip_country)."<br />";
27
+ ?>
28
+ <?php
29
+ $status = $this->getInfo()->getAdditionalInformation('skrill_status');
30
+ $payment_type = $this->getInfo()->getAdditionalInformation('skrill_transaction_code');
31
+ $payment_brand = $this->getInfo()->getAdditionalInformation('skrill_payment_brand');
32
+ $bin = $this->getInfo()->getAdditionalInformation('skrill_bin');
33
+
34
+ $separator_type = 'info';
35
+ $comment = Mage::helper('skrill')->getPayonComment($status, $payment_type, $payment_brand, $bin, $separator_type);
36
+ echo $comment;
37
+ ?>
app/design/adminhtml/default/default/template/skrill/skrillinfo.phtml CHANGED
@@ -1,55 +1,55 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category design
16
- * @package default_default
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- ?>
21
- <?php
22
- echo $this->escapeHtml($this->getMethod()->getTitle())." ".Mage::helper('skrill')->__('BACKEND_TT_BY_SKRILL');
23
- ?>
24
- <br />
25
- <?php
26
- $ip_country = $this->getInfo()->getAdditionalInformation('skrill_ip_country');
27
- $transaction_id = $this->getInfo()->getAdditionalInformation('skrill_transaction_id');
28
- if ($transaction_id)
29
- echo Mage::helper('skrill')->__('BACKEND_GENERAL_PAYMENT_ID').": ".$transaction_id."<br />";
30
- if ( $ip_country )
31
- echo Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_ORIGIN').": ".Mage::app()->getLocale()->getCountryTranslation($ip_country)."<br />";
32
- ?>
33
- <?php
34
- $response['status'] = $this->getInfo()->getAdditionalInformation('skrill_status');
35
- $response['payment_type'] = $this->getInfo()->getAdditionalInformation('skrill_payment_type');
36
- $response['payment_instrument_country'] = $this->getInfo()->getAdditionalInformation('skrill_issuer_country');
37
-
38
- $separator_type = 'info';
39
- $comment = Mage::helper('skrill')->getComment($response,$separator_type);
40
- echo $comment;
41
- ?>
42
- <?php
43
- $order = Mage::registry('sales_order');
44
- if($order) {
45
- ?>
46
- <?php if ($order->getStatus() == 'invalid_credential' || $this->getInfo()->getAdditionalInformation('skrill_status') == "0") { ?>
47
- <form action="<?php echo Mage::helper("adminhtml")->getUrl("adminhtml/updateorder/index"); ?>" method="post">
48
- <input type="hidden" name="order_id" value="<?php echo $order->getId(); ?>"/>
49
- <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
50
- <button style="float:right;" type="submit"><?php echo Mage::helper('skrill')->__('BACKEND_TT_UPDATE_ORDER'); ?></button>
51
- </form>
52
- <?php
53
- }
54
- }
55
  ?>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category design
16
+ * @package default_default
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ ?>
21
+ <?php
22
+ echo $this->escapeHtml($this->getMethod()->getTitle())." ".Mage::helper('skrill')->__('BACKEND_TT_BY_SKRILL');
23
+ ?>
24
+ <br />
25
+ <?php
26
+ $ip_country = $this->getInfo()->getAdditionalInformation('skrill_ip_country');
27
+ $transaction_id = $this->getInfo()->getAdditionalInformation('skrill_transaction_id');
28
+ if ($transaction_id)
29
+ echo Mage::helper('skrill')->__('BACKEND_GENERAL_PAYMENT_ID').": ".$transaction_id."<br />";
30
+ if ( $ip_country )
31
+ echo Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_ORIGIN').": ".Mage::app()->getLocale()->getCountryTranslation($ip_country)."<br />";
32
+ ?>
33
+ <?php
34
+ $response['status'] = $this->getInfo()->getAdditionalInformation('skrill_status');
35
+ $response['payment_type'] = $this->getInfo()->getAdditionalInformation('skrill_payment_type');
36
+ $response['payment_instrument_country'] = $this->getInfo()->getAdditionalInformation('skrill_issuer_country');
37
+
38
+ $separator_type = 'info';
39
+ $comment = Mage::helper('skrill')->getComment($response,$separator_type);
40
+ echo $comment;
41
+ ?>
42
+ <?php
43
+ $order = Mage::registry('sales_order');
44
+ if($order) {
45
+ ?>
46
+ <?php if ($order->getStatus() == 'invalid_credential' || $this->getInfo()->getAdditionalInformation('skrill_status') == "0") { ?>
47
+ <form action="<?php echo Mage::helper("adminhtml")->getUrl("adminhtml/updateorder/index"); ?>" method="post">
48
+ <input type="hidden" name="order_id" value="<?php echo $order->getId(); ?>"/>
49
+ <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
50
+ <button style="float:right;" type="submit"><?php echo Mage::helper('skrill')->__('BACKEND_TT_UPDATE_ORDER'); ?></button>
51
+ </form>
52
+ <?php
53
+ }
54
+ }
55
  ?>
app/design/frontend/base/default/template/checkout/onepage/payment/skrill/methods.phtml CHANGED
@@ -1,73 +1,73 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magento.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- /**
29
- * One page checkout payment methods
30
- *
31
- * @var $this Mage_Checkout_Block_Onepage_Payment_Methods
32
- */
33
- ?>
34
-
35
- <?php
36
- $methods = $this->getMethods();
37
- $oneMethod = count($methods) <= 1;
38
- ?>
39
- <?php if (empty($methods)): ?>
40
- <dt>
41
- <?php echo $this->__('No Payment Methods') ?>
42
- </dt>
43
- <?php else:
44
- foreach ($methods as $_method):
45
- $_code = $_method->getCode();
46
- ?>
47
- <dt>
48
- <?php if(!$oneMethod): ?>
49
- <input <?php if ($_code == "skrill_flexible") echo 'style="margin-top:40px;"'; else if (substr($_code,0,6) == "skrill") echo 'style="margin-top:18px;"'; ?> id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
50
- <?php else: ?>
51
- <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
52
- <?php $oneMethod = $_code; ?>
53
- <?php endif; ?>
54
- <label style="background-color:white;" for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
55
- </dt>
56
- <?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
57
- <dd>
58
- <?php echo $html; ?>
59
- </dd>
60
- <?php endif; ?>
61
- <?php endforeach;
62
- endif;
63
- ?>
64
- <?php echo $this->getChildChildHtml('additional'); ?>
65
- <script type="text/javascript">
66
- //<![CDATA[
67
- <?php echo $this->getChildChildHtml('scripts'); ?>
68
- payment.init();
69
- <?php if (is_string($oneMethod)): ?>
70
- payment.switchMethod('<?php echo $oneMethod ?>');
71
- <?php endif; ?>
72
- //]]>
73
- </script>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * One page checkout payment methods
30
+ *
31
+ * @var $this Mage_Checkout_Block_Onepage_Payment_Methods
32
+ */
33
+ ?>
34
+
35
+ <?php
36
+ $methods = $this->getMethods();
37
+ $oneMethod = count($methods) <= 1;
38
+ ?>
39
+ <?php if (empty($methods)): ?>
40
+ <dt>
41
+ <?php echo $this->__('No Payment Methods') ?>
42
+ </dt>
43
+ <?php else:
44
+ foreach ($methods as $_method):
45
+ $_code = $_method->getCode();
46
+ ?>
47
+ <dt>
48
+ <?php if(!$oneMethod): ?>
49
+ <input <?php if ($_code == "skrill_flexible") echo 'style="margin-top:40px;"'; else if (substr($_code,0,6) == "skrill") echo 'style="margin-top:18px;"'; ?> id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
50
+ <?php else: ?>
51
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
52
+ <?php $oneMethod = $_code; ?>
53
+ <?php endif; ?>
54
+ <label style="background-color:white;" for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
55
+ </dt>
56
+ <?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
57
+ <dd>
58
+ <?php echo $html; ?>
59
+ </dd>
60
+ <?php endif; ?>
61
+ <?php endforeach;
62
+ endif;
63
+ ?>
64
+ <?php echo $this->getChildChildHtml('additional'); ?>
65
+ <script type="text/javascript">
66
+ //<![CDATA[
67
+ <?php echo $this->getChildChildHtml('scripts'); ?>
68
+ payment.init();
69
+ <?php if (is_string($oneMethod)): ?>
70
+ payment.switchMethod('<?php echo $oneMethod ?>');
71
+ <?php endif; ?>
72
+ //]]>
73
+ </script>
app/design/frontend/base/default/template/skrill/payment/formcc.phtml CHANGED
@@ -1,66 +1,66 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- *
21
- */
22
- ?>
23
- <?php
24
- $langs = Mage::helper('skrill')->getLocaleIsoCode();
25
- switch ($langs) {
26
- case 'de':
27
- $lang = $langs;
28
- break;
29
-
30
- default:
31
- $lang='en';
32
- }
33
- ?>
34
- <script src="<?php echo Mage::getSingleton('customer/session')->getJsUrl().$lang;?>" type="text/javascript"></script>
35
- <script src="<?php echo $this->getSkinUrl('js/skrill/jquery-1.10.2.min.js')?>" type="text/javascript"></script>
36
- <script src="<?php echo $this->getSkinUrl('js/skrill/skrill_cc.js')?>" type="text/javascript"></script>
37
- <link href="<?php echo $this->getSkinUrl('css/skrill/formbank.css')?>" rel="stylesheet" type="text/css">
38
-
39
- <form action="<?php echo Mage::getSingleton('customer/session')->getIframeFrontendResponse();?>" id="<?php echo Mage::getSingleton('customer/session')->getIframeToken();?>"><?php echo Mage::getSingleton('customer/session')->getIframeCardBrand();?></form>
40
- <input class="cust_name" value="<?php echo Mage::getSingleton('customer/session')->getIframeName();?>" type="hidden">
41
- <input class="card_list" value="<?php echo Mage::getSingleton('customer/session')->getIframeCardBrand();?>" type="hidden">
42
- <input class="img_url" value="<?php echo $this->getSkinUrl('images/skrill');?>" type="hidden">
43
-
44
- <?php
45
- if ($lang == "de")
46
- {
47
- echo '<a class="linkskrill" href="http://www.skrill.com/de" target="blank">';
48
- echo '<a class="linkskrilloverlay" href="http://www.skrill.com/de" target="blank">';
49
- }
50
- else
51
- {
52
- echo '<a class="linkskrill" href="http://www.skrill.com/en" target="blank">';
53
- echo '<a class="linkskrilloverlay" href="http://www.skrill.com/en" target="blank">';
54
- }
55
- ?>
56
-
57
- <span class="txtSSL"><?php echo Mage::helper('skrill')->__('FRONTEND_PAYMENT_SSL'); ?></span>
58
- <span class="txtCardNumber"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_NUMBER') ?></span>
59
- <span class="txtExpires"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_EXPIRY') ?></span>
60
- <span class="txtCvc"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_CVC') ?></span>
61
- <span class="txtHelp"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_HELP') ?></span>
62
- <span class="txtWhatCvc"><h4><?php echo Mage::helper('skrill')->__('FRONTEND_CC_CVCHELP') ?></h4></span>
63
- <span class="txtCards"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_BRANDS') ?></span>
64
- <span class="txtThreeDigits"><?php echo Mage::helper('skrill')->__('FRONTEND_TT_CVCWHERE') ?></span>
65
- <a class="btnCustom btnCustomCancel" href="<?php echo $this->getBaseUrl()?>checkout/onepage"><?php echo Mage::helper('skrill')->__('FRONTEND_BT_CANCEL') ?></a>
66
- <input type="submit" value="<?php echo Mage::helper('skrill')->__('FRONTEND_BT_CONFIRM') ?>" class="btnCustom btnCustomSubmit">
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ *
21
+ */
22
+ ?>
23
+ <?php
24
+ $langs = Mage::helper('skrill')->getLocaleIsoCode();
25
+ switch ($langs) {
26
+ case 'de':
27
+ $lang = $langs;
28
+ break;
29
+
30
+ default:
31
+ $lang='en';
32
+ }
33
+ ?>
34
+ <script src="<?php echo Mage::getSingleton('customer/session')->getJsUrl().$lang;?>" type="text/javascript"></script>
35
+ <script src="<?php echo $this->getSkinUrl('js/skrill/jquery-1.10.2.min.js')?>" type="text/javascript"></script>
36
+ <script src="<?php echo $this->getSkinUrl('js/skrill/skrill_cc.js')?>" type="text/javascript"></script>
37
+ <link href="<?php echo $this->getSkinUrl('css/skrill/formbank.css')?>" rel="stylesheet" type="text/css">
38
+
39
+ <form action="<?php echo Mage::getSingleton('customer/session')->getIframeFrontendResponse();?>" id="<?php echo Mage::getSingleton('customer/session')->getIframeToken();?>"><?php echo Mage::getSingleton('customer/session')->getIframeCardBrand();?></form>
40
+ <input class="cust_name" value="<?php echo Mage::getSingleton('customer/session')->getIframeName();?>" type="hidden">
41
+ <input class="card_list" value="<?php echo Mage::getSingleton('customer/session')->getIframeCardBrand();?>" type="hidden">
42
+ <input class="img_url" value="<?php echo $this->getSkinUrl('images/skrill');?>" type="hidden">
43
+
44
+ <?php
45
+ if ($lang == "de")
46
+ {
47
+ echo '<a class="linkskrill" href="http://www.skrill.com/de" target="blank">';
48
+ echo '<a class="linkskrilloverlay" href="http://www.skrill.com/de" target="blank">';
49
+ }
50
+ else
51
+ {
52
+ echo '<a class="linkskrill" href="http://www.skrill.com/en" target="blank">';
53
+ echo '<a class="linkskrilloverlay" href="http://www.skrill.com/en" target="blank">';
54
+ }
55
+ ?>
56
+
57
+ <span class="txtSSL"><?php echo Mage::helper('skrill')->__('FRONTEND_PAYMENT_SSL'); ?></span>
58
+ <span class="txtCardNumber"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_NUMBER') ?></span>
59
+ <span class="txtExpires"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_EXPIRY') ?></span>
60
+ <span class="txtCvc"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_CVC') ?></span>
61
+ <span class="txtHelp"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_HELP') ?></span>
62
+ <span class="txtWhatCvc"><h4><?php echo Mage::helper('skrill')->__('FRONTEND_CC_CVCHELP') ?></h4></span>
63
+ <span class="txtCards"><?php echo Mage::helper('skrill')->__('FRONTEND_CC_BRANDS') ?></span>
64
+ <span class="txtThreeDigits"><?php echo Mage::helper('skrill')->__('FRONTEND_TT_CVCWHERE') ?></span>
65
+ <a class="btnCustom btnCustomCancel" href="<?php echo $this->getBaseUrl()?>checkout/onepage"><?php echo Mage::helper('skrill')->__('FRONTEND_BT_CANCEL') ?></a>
66
+ <input type="submit" value="<?php echo Mage::helper('skrill')->__('FRONTEND_BT_CONFIRM') ?>" class="btnCustom btnCustomSubmit">
app/design/frontend/base/default/template/skrill/payment/formcp.phtml CHANGED
@@ -1,64 +1,64 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- *
21
- */
22
- ?>
23
- <?php
24
- $langs = Mage::helper('skrill')->getLocaleIsoCode();
25
- switch ($langs) {
26
- case 'de':
27
- $lang = $langs;
28
- break;
29
-
30
- default:
31
- $lang='en';
32
- }
33
- $brand = Mage::getSingleton('customer/session')->getIframeBrand();
34
- ?>
35
- <script src="<?php echo Mage::getSingleton('customer/session')->getJsUrl().$lang;?>" type="text/javascript"></script>
36
- <script src="<?php echo $this->getSkinUrl('js/skrill/jquery-1.10.2.min.js')?>" type="text/javascript"></script>
37
-
38
- <style>
39
- .style-SOFORTUEBERWEISUNG {
40
- background-position : 0px 0px;
41
- background-image : url('<?php echo $this->getSkinUrl('images/skrill/sofortlogo.png')?>');
42
- background-repeat: no-repeat;
43
- height : 47px;
44
- margin-left : 12px;
45
- }
46
- </style>
47
-
48
- <?php if ($brand == "PAYPAL" || $brand == "PAYOLUTION_INVOICE" || $brand == "PAYSAFECARD" || $brand == "PAYTRAIL" || $brand == "YANDEX") { ?>
49
- <style>
50
- button.customDirectSubmit {
51
- display:none;
52
- }
53
- .spinner {
54
- display:none;
55
- }
56
- </style>
57
- <script>
58
- cnp_jQuery(document).on('copyandpay:ready', function() {
59
- $(".customDirectSubmit").click();
60
- });
61
- </script>
62
- <?php } ?>
63
-
64
- <form action="<?php echo Mage::getSingleton('customer/session')->getIframeFrontendResponse();?>" id="<?php echo Mage::getSingleton('customer/session')->getIframeToken();?>"><?php echo $brand;?></form>
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ *
21
+ */
22
+ ?>
23
+ <?php
24
+ $langs = Mage::helper('skrill')->getLocaleIsoCode();
25
+ switch ($langs) {
26
+ case 'de':
27
+ $lang = $langs;
28
+ break;
29
+
30
+ default:
31
+ $lang='en';
32
+ }
33
+ $brand = Mage::getSingleton('customer/session')->getIframeBrand();
34
+ ?>
35
+ <script src="<?php echo Mage::getSingleton('customer/session')->getJsUrl().$lang;?>" type="text/javascript"></script>
36
+ <script src="<?php echo $this->getSkinUrl('js/skrill/jquery-1.10.2.min.js')?>" type="text/javascript"></script>
37
+
38
+ <style>
39
+ .style-SOFORTUEBERWEISUNG {
40
+ background-position : 0px 0px;
41
+ background-image : url('<?php echo $this->getSkinUrl('images/skrill/sofortlogo.png')?>');
42
+ background-repeat: no-repeat;
43
+ height : 47px;
44
+ margin-left : 12px;
45
+ }
46
+ </style>
47
+
48
+ <?php if ($brand == "PAYPAL" || $brand == "PAYOLUTION_INVOICE" || $brand == "PAYSAFECARD" || $brand == "PAYTRAIL" || $brand == "YANDEX") { ?>
49
+ <style>
50
+ button.customDirectSubmit {
51
+ display:none;
52
+ }
53
+ .spinner {
54
+ display:none;
55
+ }
56
+ </style>
57
+ <script>
58
+ cnp_jQuery(document).on('copyandpay:ready', function() {
59
+ $(".customDirectSubmit").click();
60
+ });
61
+ </script>
62
+ <?php } ?>
63
+
64
+ <form action="<?php echo Mage::getSingleton('customer/session')->getIframeFrontendResponse();?>" id="<?php echo Mage::getSingleton('customer/session')->getIframeToken();?>"><?php echo $brand;?></form>
app/design/frontend/base/default/template/skrill/payment/formdd.phtml CHANGED
@@ -1,57 +1,57 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- *
21
- */
22
- ?>
23
- <?php
24
- $langs = Mage::helper('skrill')->getLocaleIsoCode();
25
- switch ($langs) {
26
- case 'de':
27
- $lang = $langs;
28
- break;
29
-
30
- default:
31
- $lang='en';
32
- }
33
- ?>
34
- <script src="<?php echo Mage::getSingleton('customer/session')->getJsUrl().$lang;?>" type="text/javascript"></script>
35
- <script src="<?php echo $this->getSkinUrl('js/skrill/jquery-1.10.2.min.js')?>" type="text/javascript"></script>
36
- <script src="<?php echo $this->getSkinUrl('js/skrill/skrill_dd.js')?>" type="text/javascript"></script>
37
- <link href="<?php echo $this->getSkinUrl('css/skrill/formbank.css')?>" rel="stylesheet" type="text/css">
38
-
39
-
40
- <form action="<?php echo Mage::getSingleton('customer/session')->getIframeFrontendResponse();?>" id="<?php echo Mage::getSingleton('customer/session')->getIframeToken();?>">DIRECTDEBIT_SEPA_MIX_DE</form>
41
- <input class="cust_name" value="<?php echo Mage::getSingleton('customer/session')->getIframeName();?>" type="hidden">
42
- <input class="img_url" value="<?php echo $this->getSkinUrl('images/skrill');?>" type="hidden">
43
-
44
- <?php
45
- if ($lang == "de")
46
- echo '<a class="linkskrill" href="http://www.skrill.com/de" target="blank">';
47
- else
48
- echo '<a class="linkskrill" href="http://www.skrill.com/en" target="blank">';
49
- ?>
50
-
51
- <span class="txtBankTitle"><h4><?php echo Mage::helper('skrill')->__('FRONTEND_DD_HEADLINE');?></h4></span>
52
- <span class="txtSSL"><?php echo Mage::helper('skrill')->__('FRONTEND_PAYMENT_SSL'); ?></span>
53
- <span class="txtAccNumber"><?php echo Mage::helper('skrill')->__('FRONTEND_DD_IBAN');?></span>
54
- <span class="txtBankCode"><?php echo Mage::helper('skrill')->__('FRONTEND_DD_BIC');?></span>
55
- <span class="txtBank"><?php echo Mage::helper('skrill')->__('FRONTEND_DD_BANK');?></span>
56
- <a class="btnCustom btnCustomCancel" href="<?php echo $this->getBaseUrl()?>checkout/onepage"><?php echo Mage::helper('skrill')->__('FRONTEND_BT_CANCEL');?></a>
57
- <input type="submit" value="<?php echo Mage::helper('skrill')->__('FRONTEND_BT_CONFIRM');?>" class="btnCustom btnCustomSubmit">
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ *
21
+ */
22
+ ?>
23
+ <?php
24
+ $langs = Mage::helper('skrill')->getLocaleIsoCode();
25
+ switch ($langs) {
26
+ case 'de':
27
+ $lang = $langs;
28
+ break;
29
+
30
+ default:
31
+ $lang='en';
32
+ }
33
+ ?>
34
+ <script src="<?php echo Mage::getSingleton('customer/session')->getJsUrl().$lang;?>" type="text/javascript"></script>
35
+ <script src="<?php echo $this->getSkinUrl('js/skrill/jquery-1.10.2.min.js')?>" type="text/javascript"></script>
36
+ <script src="<?php echo $this->getSkinUrl('js/skrill/skrill_dd.js')?>" type="text/javascript"></script>
37
+ <link href="<?php echo $this->getSkinUrl('css/skrill/formbank.css')?>" rel="stylesheet" type="text/css">
38
+
39
+
40
+ <form action="<?php echo Mage::getSingleton('customer/session')->getIframeFrontendResponse();?>" id="<?php echo Mage::getSingleton('customer/session')->getIframeToken();?>">DIRECTDEBIT_SEPA_MIX_DE</form>
41
+ <input class="cust_name" value="<?php echo Mage::getSingleton('customer/session')->getIframeName();?>" type="hidden">
42
+ <input class="img_url" value="<?php echo $this->getSkinUrl('images/skrill');?>" type="hidden">
43
+
44
+ <?php
45
+ if ($lang == "de")
46
+ echo '<a class="linkskrill" href="http://www.skrill.com/de" target="blank">';
47
+ else
48
+ echo '<a class="linkskrill" href="http://www.skrill.com/en" target="blank">';
49
+ ?>
50
+
51
+ <span class="txtBankTitle"><h4><?php echo Mage::helper('skrill')->__('FRONTEND_DD_HEADLINE');?></h4></span>
52
+ <span class="txtSSL"><?php echo Mage::helper('skrill')->__('FRONTEND_PAYMENT_SSL'); ?></span>
53
+ <span class="txtAccNumber"><?php echo Mage::helper('skrill')->__('FRONTEND_DD_IBAN');?></span>
54
+ <span class="txtBankCode"><?php echo Mage::helper('skrill')->__('FRONTEND_DD_BIC');?></span>
55
+ <span class="txtBank"><?php echo Mage::helper('skrill')->__('FRONTEND_DD_BANK');?></span>
56
+ <a class="btnCustom btnCustomCancel" href="<?php echo $this->getBaseUrl()?>checkout/onepage"><?php echo Mage::helper('skrill')->__('FRONTEND_BT_CANCEL');?></a>
57
+ <input type="submit" value="<?php echo Mage::helper('skrill')->__('FRONTEND_BT_CONFIRM');?>" class="btnCustom btnCustomSubmit">
app/design/frontend/base/default/template/skrill/payment/qcheckout.phtml CHANGED
@@ -1,23 +1,23 @@
1
- <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- *
21
- */
22
- ?>
23
- <iframe style = "border:none; width:100%; height:1000px;" src="<?php echo Mage::getSingleton('customer/session')->getRedirectUrl(); ?>"></iframe>
1
+ <?php
2
+
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ *
21
+ */
22
+ ?>
23
+ <iframe style = "border:none; width:100%; height:1000px;" src="<?php echo Mage::getSingleton('customer/session')->getRedirectUrl(); ?>"></iframe>
app/design/frontend/base/default/template/skrill/payoninfo.phtml CHANGED
@@ -1,21 +1,21 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category design
16
- * @package default_default
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- ?>
21
- <?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category design
16
+ * @package default_default
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ ?>
21
+ <?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?>
app/design/frontend/base/default/template/skrill/skrillinfo.phtml CHANGED
@@ -1,21 +1,21 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category design
16
- * @package default_default
17
- * @copyright Copyright (c) 2014 Skrill
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- ?>
21
- <?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category design
16
+ * @package default_default
17
+ * @copyright Copyright (c) 2014 Skrill
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ ?>
21
+ <?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?>
app/design/frontend/rwd/default/layout/skrill_checkout.xml CHANGED
@@ -1,57 +1,57 @@
1
- <?xml version="1.0"?>
2
- <layout version="0.1.0">
3
-
4
- <default>
5
-
6
- <!-- Mage_Checkout -->
7
- <reference name="top.links">
8
- <block type="checkout/links" name="checkout_cart_link">
9
- <action method="addCartLink"></action>
10
- </block>
11
- </reference>
12
-
13
- <reference name="header">
14
- <block type="checkout/cart_minicart" name="minicart_head" template="checkout/cart/minicart.phtml" before="-">
15
- <block type="checkout/cart_sidebar" name="minicart_content" template="checkout/cart/minicart/items.phtml">
16
- <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
17
- <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
18
- <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
19
- <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
20
-
21
- <block type="core/text_list" name="cart_sidebar.cart_promotion" as="cart_promotion" translate="label" module="checkout">
22
- <label>Mini-cart promotion block</label>
23
- </block>
24
- <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
25
- <label>Shopping Cart Sidebar Extra Actions</label>
26
- </block>
27
- </block>
28
- </block>
29
- </reference>
30
-
31
- <reference name="right">
32
- <!--<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">-->
33
- <!--<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
34
- <!--<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
35
- <!--<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
36
- <!--<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">-->
37
- <!--<label>Shopping Cart Sidebar Extra Actions</label>-->
38
- <!--</block>-->
39
- <!--</block>-->
40
- </reference>
41
- </default>
42
-
43
- <!--
44
- One page checkout payment methods block
45
- -->
46
- <checkout_onepage_paymentmethod>
47
- <remove name="right"/>
48
- <remove name="left"/>
49
-
50
- <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/skrill/methods.phtml">
51
- <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
52
- <block type="core/template" name="checkout.onepage.payment.methods.scripts" as="scripts" />
53
- <block type="core/template" name="checkout.onepage.payment.methods.additional" as="additional" />
54
- </block>
55
- </checkout_onepage_paymentmethod>
56
-
57
- </layout>
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+
4
+ <default>
5
+
6
+ <!-- Mage_Checkout -->
7
+ <reference name="top.links">
8
+ <block type="checkout/links" name="checkout_cart_link">
9
+ <action method="addCartLink"></action>
10
+ </block>
11
+ </reference>
12
+
13
+ <reference name="header">
14
+ <block type="checkout/cart_minicart" name="minicart_head" template="checkout/cart/minicart.phtml" before="-">
15
+ <block type="checkout/cart_sidebar" name="minicart_content" template="checkout/cart/minicart/items.phtml">
16
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
17
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
18
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
19
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
20
+
21
+ <block type="core/text_list" name="cart_sidebar.cart_promotion" as="cart_promotion" translate="label" module="checkout">
22
+ <label>Mini-cart promotion block</label>
23
+ </block>
24
+ <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
25
+ <label>Shopping Cart Sidebar Extra Actions</label>
26
+ </block>
27
+ </block>
28
+ </block>
29
+ </reference>
30
+
31
+ <reference name="right">
32
+ <!--<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">-->
33
+ <!--<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
34
+ <!--<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
35
+ <!--<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
36
+ <!--<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">-->
37
+ <!--<label>Shopping Cart Sidebar Extra Actions</label>-->
38
+ <!--</block>-->
39
+ <!--</block>-->
40
+ </reference>
41
+ </default>
42
+
43
+ <!--
44
+ One page checkout payment methods block
45
+ -->
46
+ <checkout_onepage_paymentmethod>
47
+ <remove name="right"/>
48
+ <remove name="left"/>
49
+
50
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/skrill/methods.phtml">
51
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
52
+ <block type="core/template" name="checkout.onepage.payment.methods.scripts" as="scripts" />
53
+ <block type="core/template" name="checkout.onepage.payment.methods.additional" as="additional" />
54
+ </block>
55
+ </checkout_onepage_paymentmethod>
56
+
57
+ </layout>
app/design/frontend/rwd/default/template/checkout/cart/minicart/skrill/default.phtml CHANGED
@@ -1,189 +1,189 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magento.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magento.com for more information.
20
- *
21
- * @category design
22
- * @package rwd_default
23
- * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
- <?php
28
- $_item = $this->getItem();
29
- $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
- $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
- ?>
32
- <li class="item" xmlns="http://www.w3.org/1999/html">
33
- <?php if ($this->hasProductUrl()): ?>
34
- <a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
35
- <?php else: ?>
36
- <span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
37
- <?php endif; ?>
38
- <div class="product-details">
39
- <p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
40
-
41
- <table class="info-wrapper">
42
- <tbody>
43
- <tr>
44
- <th><?php echo $this->__('Price'); ?></th>
45
- <td>
46
- <?php if ($canApplyMsrp): ?>
47
-
48
- <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
49
-
50
- <?php else: ?>
51
-
52
- <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
- <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
54
- <?php echo $this->__('Excl. Tax'); ?>:
55
- <?php endif; ?>
56
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
57
- <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
58
- <?php else: ?>
59
- <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
60
- <?php endif; ?>
61
- <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
- <br />
63
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
64
- <small>
65
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
67
- <?php endforeach; ?>
68
- </small>
69
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
70
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
- <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
72
- <?php endforeach; ?>
73
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
74
- <small>
75
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
77
- <?php endforeach; ?>
78
- </small>
79
- <?php endif; ?>
80
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
81
- <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
82
- <?php endif; ?>
83
- <?php endif; ?>
84
- <?php endif; ?>
85
-
86
-
87
-
88
- <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
89
- <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
90
- <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
91
- <br /><?php echo $this->__('Incl. Tax'); ?>:
92
- <?php endif; ?>
93
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
94
- <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
95
- <?php else: ?>
96
- <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
97
- <?php endif; ?>
98
- <?php if (Mage::helper('weee')->getApplied($_item)): ?>
99
- <br />
100
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
101
- <small>
102
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
103
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
104
- <?php endforeach; ?>
105
- </small>
106
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
107
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
108
- <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span>
109
- <?php endforeach; ?>
110
- <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
111
- <small>
112
- <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
113
- <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
114
- <?php endforeach; ?>
115
- </small>
116
- <?php endif; ?>
117
- <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
118
- <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
119
- <?php endif; ?>
120
- <?php endif; ?>
121
- <?php endif; ?>
122
-
123
- <?php endif; //Can apply MSRP ?>
124
- </td>
125
- </tr>
126
- <tr class="qty-wrapper">
127
- <th><?php echo $this->__('Qty'); ?></th>
128
- <td>
129
- <input
130
- id="qinput-<?php echo $_item->getId(); ?>"
131
- data-link="<?php echo $this->getAjaxUpdateUrl() ?>"
132
- data-item-id="<?php echo $_item->getId(); ?>"
133
- class="qty cart-item-quantity input-text" name=""
134
- value="<?php echo $this->getQty()?>"
135
- <?php if ($this->getRequest()->getModuleName() == "checkout" || $this->getRequest()->getModuleName() == "skrill") echo 'disabled'; ?>
136
- />
137
-
138
- <button id="qbutton-<?php echo $_item->getId(); ?>"
139
- data-item-id="<?php echo $_item->getId(); ?>"
140
- disabled="disabled"
141
- data-update
142
- class="button quantity-button">
143
- <?php echo $this->__('ok'); ?>
144
- </button>
145
- </td>
146
- </tr>
147
- </tbody>
148
- </table>
149
-
150
- <?php if ($isVisibleProduct): ?>
151
- <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit">
152
- <?php echo $this->__('Edit item')?>
153
- </a>
154
- |
155
- <?php if (!($this->getRequest()->getModuleName() == "checkout" || $this->getRequest()->getModuleName() == "skrill")): ?>
156
- <a href="<?php echo $this->getAjaxDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"
157
- data-confirm="<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>"
158
- class="remove">
159
- <?php echo $this->__('Remove Item') ?>
160
- </a>
161
- <?php else: ?>
162
- <span><?php echo $this->__('Remove Item') ?></span>
163
- <?php endif; ?>
164
- <?php endif ?>
165
-
166
-
167
-
168
- <?php if ($_options = $this->getOptionList()):?>
169
- <div class="truncated">
170
- <div class="truncated_full_value">
171
- <dl class="item-options">
172
- <?php foreach ($_options as $_option) : ?>
173
- <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
174
- <dd>
175
- <?php if (is_array($_option['value'])): ?>
176
- <?php echo nl2br(implode("\n", $_option['value'])) ?>
177
- <?php else: ?>
178
- <?php echo $_option['value'] ?>
179
- <?php endif; ?>
180
- </dd>
181
- <?php endforeach; ?>
182
- </dl>
183
- </div>
184
- <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
185
- </div>
186
- <?php endif; ?>
187
-
188
- </div>
189
- </li>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <li class="item" xmlns="http://www.w3.org/1999/html">
33
+ <?php if ($this->hasProductUrl()): ?>
34
+ <a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
35
+ <?php else: ?>
36
+ <span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
37
+ <?php endif; ?>
38
+ <div class="product-details">
39
+ <p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
40
+
41
+ <table class="info-wrapper">
42
+ <tbody>
43
+ <tr>
44
+ <th><?php echo $this->__('Price'); ?></th>
45
+ <td>
46
+ <?php if ($canApplyMsrp): ?>
47
+
48
+ <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
49
+
50
+ <?php else: ?>
51
+
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
54
+ <?php echo $this->__('Excl. Tax'); ?>:
55
+ <?php endif; ?>
56
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
57
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
58
+ <?php else: ?>
59
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
60
+ <?php endif; ?>
61
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
+ <br />
63
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
64
+ <small>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
67
+ <?php endforeach; ?>
68
+ </small>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
72
+ <?php endforeach; ?>
73
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php endif; ?>
80
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
81
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ <?php endif; ?>
85
+
86
+
87
+
88
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
89
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
90
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
91
+ <br /><?php echo $this->__('Incl. Tax'); ?>:
92
+ <?php endif; ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
94
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
95
+ <?php else: ?>
96
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
97
+ <?php endif; ?>
98
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
99
+ <br />
100
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
101
+ <small>
102
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
103
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
104
+ <?php endforeach; ?>
105
+ </small>
106
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
107
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
108
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span>
109
+ <?php endforeach; ?>
110
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
111
+ <small>
112
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
113
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
114
+ <?php endforeach; ?>
115
+ </small>
116
+ <?php endif; ?>
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
118
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
119
+ <?php endif; ?>
120
+ <?php endif; ?>
121
+ <?php endif; ?>
122
+
123
+ <?php endif; //Can apply MSRP ?>
124
+ </td>
125
+ </tr>
126
+ <tr class="qty-wrapper">
127
+ <th><?php echo $this->__('Qty'); ?></th>
128
+ <td>
129
+ <input
130
+ id="qinput-<?php echo $_item->getId(); ?>"
131
+ data-link="<?php echo $this->getAjaxUpdateUrl() ?>"
132
+ data-item-id="<?php echo $_item->getId(); ?>"
133
+ class="qty cart-item-quantity input-text" name=""
134
+ value="<?php echo $this->getQty()?>"
135
+ <?php if ($this->getRequest()->getModuleName() == "checkout" || $this->getRequest()->getModuleName() == "skrill") echo 'disabled'; ?>
136
+ />
137
+
138
+ <button id="qbutton-<?php echo $_item->getId(); ?>"
139
+ data-item-id="<?php echo $_item->getId(); ?>"
140
+ disabled="disabled"
141
+ data-update
142
+ class="button quantity-button">
143
+ <?php echo $this->__('ok'); ?>
144
+ </button>
145
+ </td>
146
+ </tr>
147
+ </tbody>
148
+ </table>
149
+
150
+ <?php if ($isVisibleProduct): ?>
151
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit">
152
+ <?php echo $this->__('Edit item')?>
153
+ </a>
154
+ |
155
+ <?php if (!($this->getRequest()->getModuleName() == "checkout" || $this->getRequest()->getModuleName() == "skrill")): ?>
156
+ <a href="<?php echo $this->getAjaxDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"
157
+ data-confirm="<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>"
158
+ class="remove">
159
+ <?php echo $this->__('Remove Item') ?>
160
+ </a>
161
+ <?php else: ?>
162
+ <span><?php echo $this->__('Remove Item') ?></span>
163
+ <?php endif; ?>
164
+ <?php endif ?>
165
+
166
+
167
+
168
+ <?php if ($_options = $this->getOptionList()):?>
169
+ <div class="truncated">
170
+ <div class="truncated_full_value">
171
+ <dl class="item-options">
172
+ <?php foreach ($_options as $_option) : ?>
173
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
174
+ <dd>
175
+ <?php if (is_array($_option['value'])): ?>
176
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
177
+ <?php else: ?>
178
+ <?php echo $_option['value'] ?>
179
+ <?php endif; ?>
180
+ </dd>
181
+ <?php endforeach; ?>
182
+ </dl>
183
+ </div>
184
+ <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
185
+ </div>
186
+ <?php endif; ?>
187
+
188
+ </div>
189
+ </li>
app/etc/modules/Skrill.xml CHANGED
@@ -1,32 +1,32 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- *
17
- * @package Skrill
18
- * @copyright Copyright (c) 2014 Skrill
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- -->
22
- <config>
23
- <modules>
24
- <Skrill>
25
- <active>true</active>
26
- <codePool>community</codePool>
27
- <depends>
28
- <Mage_Payment />
29
- </depends>
30
- </Skrill>
31
- </modules>
32
  </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ *
17
+ * @package Skrill
18
+ * @copyright Copyright (c) 2014 Skrill
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <config>
23
+ <modules>
24
+ <Skrill>
25
+ <active>true</active>
26
+ <codePool>community</codePool>
27
+ <depends>
28
+ <Mage_Payment />
29
+ </depends>
30
+ </Skrill>
31
+ </modules>
32
  </config>
app/locale/af_ZA/Skrill.csv CHANGED
@@ -1,277 +1,277 @@
1
- "SKRILL_FRONTEND_PM_FLEXIBLE", "Pay By Skrill"
2
- "SKRILL_FRONTEND_PM_WLT", "Skrill Wallet"
3
- "SKRILL_FRONTEND_PM_PSC", "Paysafecard"
4
- "SKRILL_FRONTEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
5
- "SKRILL_FRONTEND_PM_VSA", "Visa"
6
- "SKRILL_FRONTEND_PM_MSC", "MasterCard"
7
- "SKRILL_FRONTEND_PM_VSD", "Visa Delta/Debit"
8
- "SKRILL_FRONTEND_PM_VSE", "Visa Electron"
9
- "SKRILL_FRONTEND_PM_MAE", "Maestro"
10
- "SKRILL_FRONTEND_PM_AMX", "American Express"
11
- "SKRILL_FRONTEND_PM_DIN", "Diners"
12
- "SKRILL_FRONTEND_PM_JCB", "JCB"
13
- "SKRILL_FRONTEND_PM_GCB", "Carte Bleue by Visa"
14
- "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
15
- "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
16
- "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
17
- "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
18
- "SKRILL_FRONTEND_PM_GIR", "Giropay"
19
- "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
20
- "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
21
- "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
22
- "SKRILL_FRONTEND_PM_IDL", "iDEAL"
23
- "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
24
- "SKRILL_FRONTEND_PM_PLI", "POLi"
25
- "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
26
- "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
27
- "SKRILL_FRONTEND_PM_GLU", "Trustly"
28
- "SKRILL_FRONTEND_PM_NTL", "Neteller"
29
- "SKRILL_FRONTEND_PM_ALI", "Alipay"
30
- "FRONTEND_PM_CC", "Credit Card"
31
- "FRONTEND_PM_DD", "Lastschrift (ELV)"
32
- "FRONTEND_PM_EPS", "eps"
33
- "FRONTEND_PM_GIROPAY", "giropay"
34
- "FRONTEND_PM_IDEAL", "iDeal"
35
- "FRONTEND_PM_PAYPAL", "PayPal"
36
- "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
37
- "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
38
- "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
39
- "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
40
- "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
41
- "FRONTEND_PM_PAYTRAIL", "Paytrail"
42
- "FRONTEND_PM_YANDEX", "Yandex"
43
-
44
- "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
45
- "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
46
- "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
47
- "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
48
- "SKRILL_BACKEND_PM_PSC", "Paysafecard"
49
- "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
50
- "SKRILL_BACKEND_PM_VSA", "Visa"
51
- "SKRILL_BACKEND_PM_MSC", "MasterCard"
52
- "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
53
- "SKRILL_BACKEND_PM_VSE", "Visa Electron"
54
- "SKRILL_BACKEND_PM_MAE", "Maestro"
55
- "SKRILL_BACKEND_PM_AMX", "American Express"
56
- "SKRILL_BACKEND_PM_DIN", "Diners"
57
- "SKRILL_BACKEND_PM_JCB", "JCB"
58
- "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
59
- "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
60
- "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
61
- "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
62
- "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
63
- "SKRILL_BACKEND_PM_GIR", "Giropay"
64
- "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
65
- "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
66
- "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
67
- "SKRILL_BACKEND_PM_IDL", "iDEAL"
68
- "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
69
- "SKRILL_BACKEND_PM_PLI", "POLi"
70
- "SKRILL_BACKEND_PM_PWY", "Przelewy24"
71
- "SKRILL_BACKEND_PM_EPY", "ePay.bg"
72
- "SKRILL_BACKEND_PM_GLU", "Trustly"
73
- "SKRILL_BACKEND_PM_NTL", "Neteller"
74
- "SKRILL_BACKEND_PM_ALI", "Alipay"
75
- "BACKEND_PM_CC", "Credit Card (Enterprise)"
76
- "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
77
- "BACKEND_PM_EPS", "eps (Enterprise)"
78
- "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
79
- "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
80
- "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
81
- "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
82
- "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
83
- "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
84
- "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
85
- "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
86
- "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
87
-
88
- "SKRILL_BACKEND_MID", "Merchant ID"
89
- "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
90
- "SKRILL_BACKEND_RECIPIENT", "Recipient"
91
- "SKRILL_BACKEND_LOGO", "Logo Url"
92
- "SKRILL_BACKEND_SHOPURL", "Shop Url"
93
- "SKRILL_BACKEND_APIPASS", "API Password"
94
- "SKRILL_BACKEND_SECRETWORD", "Secret word"
95
- "SKRILL_BACKEND_DISPLAY", "Display"
96
-
97
- "SKRILL_BACKEND_IFRAME", "IFrame"
98
- "SKRILL_BACKEND_REDIRECT", "Redirect"
99
-
100
- "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
101
- "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
102
-
103
- "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
104
- "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
105
- "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
106
- "SKRILL_BACKEND_TT_LOGO", "The URL of the logo which you would like to appear at the top right of the Skrill page. The logo must be accessible via HTTPS or it will not be shown. For best results use logos with dimensions up to 200px in width and 50px in height."
107
- "SKRILL_BACKEND_TT_APIPW", "When enabled, this feature allows you to issue refunds and check transaction statuses. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
108
- "SKRILL_BACKEND_TT_SECRET", "This feature is mandatory and ensures the integrity of the data posted back to your servers. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
109
- "SKRILL_BACKEND_TT_DISPLAY", "iFrame – when this option is enabled the Quick Checkout payment form is embedded on your website, Redirect – when this option is enabled the customer is redirected to the Quick Checkout payment form . This option is recommended for payment options which redirect the user to an external website."
110
- "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
111
- "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard, Amex, JCB and Diners will automatically be disabled as an option to show separately."
112
- "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
113
- "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
114
-
115
- "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
116
- "SKRILL_BACKEND_PM_MODE", "Show separately"
117
- "SKRILL_BACKEND_GATE", "Select Gateway"
118
- "BACKEND_CH_ACTIVE", "Enabled"
119
- "BACKEND_CH_SERVER", "Server"
120
- "BACKEND_CH_MODE", "Transaction-Mode"
121
- "BACKEND_CH_CARDS", "Cards types"
122
- "BACKEND_CH_CHANNEL","Channel ID"
123
- "BACKEND_CH_SENDER","Sender"
124
- "BACKEND_CH_LOGIN", "Login"
125
- "BACKEND_CH_PASSWORD", "Password"
126
- "BACKEND_CH_COUNTRIES", "Applicable Countries"
127
- "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
128
- "BACKEND_CH_ORDER", "Sort Order"
129
- "BACKEND_CH_AMOUNT","Amount for Registration"
130
-
131
- "ERROR_GENERAL_REDIRECT", "Error before redirect"
132
- "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
133
- "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
134
-
135
- "BACKEND_CH_MODE_TEST", "TEST"
136
- "BACKEND_CH_MODE_LIVE", "LIVE"
137
-
138
- "BACKEND_CH_MODEDEBIT", "Debit"
139
- "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
140
-
141
- "BACKEND_CC_AMEX", "American Express"
142
- "BACKEND_CC_VISA", "VISA"
143
- "BACKEND_CC_MASTER", "MasterCard"
144
- "BACKEND_CC_MAESTRO", "Maestro"
145
-
146
- "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
147
- "FRONTEND_CC_NUMBER", "Card number"
148
- "FRONTEND_CC_EXPIRY", "Expires Month / Year"
149
- "FRONTEND_CC_CVC", "CVC-Code"
150
- "FRONTEND_CC_HELP", "Help"
151
- "FRONTEND_BT_CANCEL", "Cancel"
152
- "FRONTEND_BT_CONFIRM", "Confirm"
153
- "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
154
- "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
155
- "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
156
- "FRONTEND_CC_HOLDER", "Card holder"
157
-
158
- "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
159
- "FRONTEND_DD_IBAN", "Account Number / IBAN"
160
- "FRONTEND_DD_BIC", "Bank Code / BIC"
161
- "FRONTEND_DD_BANK", "Bank"
162
-
163
- "SUCCESS_PAYMENT_ACC", "Payment Accepted"
164
- "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
165
- "INVALID_CREDENTIAL", "Invalid Credential"
166
-
167
- "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
168
- "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
169
- "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
170
- "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
171
- "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
172
- "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
173
- "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
174
- "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
175
- "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
176
- "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
177
- "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
178
- "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
179
- "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
180
- "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
181
- "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
182
- "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
183
- "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
184
- "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
185
- "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
186
- "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
187
- "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
188
- "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
189
- "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
190
- "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
191
- "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
192
- "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
193
- "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
194
-
195
- "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
196
- "SKRILL_BACKEND_ORDER_PM", "Used payment method"
197
- "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
198
-
199
- "BACKEND_TT_PROCESSED", "Processed"
200
- "BACKEND_TT_PENDING", "Pending"
201
- "BACKEND_TT_CANCELLED", "Cancelled"
202
- "BACKEND_TT_FAILED", "Failed"
203
- "BACKEND_TT_CHARGEBACK", "Chargeback"
204
- "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
205
-
206
- "BACKEND_TT_ACC", "Payment Accepted"
207
- "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
208
-
209
- "BACKEND_TT_CAPTURED", "Capture successfull"
210
- "BACKEND_TT_REFUNDED", "Refund successfull"
211
-
212
- "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
213
- "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
214
-
215
- "BACKEND_TT_BY_PAYON", "by Enterprise"
216
- "BACKEND_TT_BY_SKRILL", "by Skrill"
217
-
218
- "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
219
- "BACKEND_TT_UPDATE_ORDER", "Update Order"
220
-
221
- "Order was placed using %s", "Order was placed using %s"
222
-
223
- "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
224
- "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
225
- "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
226
- "ERROR_GENERAL_FRAUD_DETECTION", "Unfortunately, there was an error while processing your order. In case a payment has been made, it will be automatically refunded."
227
-
228
- "SKRILL_ERROR_01", "Referred by card issuer"
229
- "SKRILL_ERROR_02", "Invalid Merchant"
230
- "SKRILL_ERROR_03", "Stolen card"
231
- "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
232
- "SKRILL_ERROR_05", "Insufficient funds"
233
- "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
234
- "SKRILL_ERROR_09", "Invalid Transaction"
235
- "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
236
- "SKRILL_ERROR_12", "Invalid credit card or bank account"
237
- "SKRILL_ERROR_15", "Duplicate transaction"
238
- "SKRILL_ERROR_19", "Unknown failure reason. Try again"
239
- "SKRILL_ERROR_24", "Card expired"
240
- "SKRILL_ERROR_28", "Lost/Stolen card"
241
- "SKRILL_ERROR_32", "Card Security Code check failed"
242
- "SKRILL_ERROR_37", "Card restricted by card issuer"
243
- "SKRILL_ERROR_38", "Security violation"
244
- "SKRILL_ERROR_42", "Card blocked by card issuer"
245
- "SKRILL_ERROR_44", "Customer's issuing bank not available"
246
- "SKRILL_ERROR_51", "Processing system error"
247
- "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
248
- "SKRILL_ERROR_70", "Customer failed to complete 3DS"
249
- "SKRILL_ERROR_71", "Customer failed SMS verification"
250
- "SKRILL_ERROR_80", "Fraud engine declined"
251
- "SKRILL_ERROR_98", "Error in communication with provider"
252
- "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
253
- "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
254
- "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
255
-
256
- "FRONTEND_MESSAGE_YOUR_ORDER", "You order on"
257
- "FRONTEND_MESSAGE_INPROCESS", "is in the process."
258
- "FRONTEND_MESSAGE_PLEASE_BACK_AGAIN", "Please back again after a minutes and check your order histoy."
259
- "BACKEND_TT_REFUNDED_PENDING", "Refund Pending"
260
- "BACKEND_GENERAL_WAIT_REFUND_PENDING", "You can not refund at this moment because the refund status was pending before. Please try again when the refund status is not pending"
261
- "SUCCESS_GENERAL_REFUND_PAYMENT_PENDING", "Your attempt to refund the payment is pending."
262
- "ERROR_GENERAL_REFUND_PAYMENT", "Unfortunately, your attempt to refund the payment failed."
263
- "BACKEND_TT_AMOUNT", "Amount"
264
- "SUCCESS_GENERAL_UPDATE_PAYMENT", "The payment status has been successfully updated."
265
- "ERROR_UPDATE_BACKEND", "Order status can not be updated"
266
-
267
- "SKRILL_BACKEND_PM_ADB", "Direct Bank Transfer"
268
- "SKRILL_BACKEND_PM_AOB", "Manual Bank Transfer"
269
- "SKRILL_BACKEND_PM_ACI", "Cash/invoice"
270
- "SKRILL_BACKEND_PM_AUP", "Unionpay"
271
- "SKRILL_BACKEND_BT_STATUS", "Update Statu"
272
-
273
- "SKRILL_FRONTEND_PM_ADB", "Direct Bank Transfer"
274
- "SKRILL_FRONTEND_PM_AOB", "Manual Bank Transfer"
275
- "SKRILL_FRONTEND_PM_ACI", "Cash/invoice"
276
- "SKRILL_FRONTEND_PM_AUP", "Unionpay"
277
- "SKRILL_FRONTEND_SUPPORTED_BANK", "Supported Banks"
1
+ "SKRILL_FRONTEND_PM_FLEXIBLE", "Pay By Skrill"
2
+ "SKRILL_FRONTEND_PM_WLT", "Skrill Wallet"
3
+ "SKRILL_FRONTEND_PM_PSC", "Paysafecard"
4
+ "SKRILL_FRONTEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
5
+ "SKRILL_FRONTEND_PM_VSA", "Visa"
6
+ "SKRILL_FRONTEND_PM_MSC", "MasterCard"
7
+ "SKRILL_FRONTEND_PM_VSD", "Visa Delta/Debit"
8
+ "SKRILL_FRONTEND_PM_VSE", "Visa Electron"
9
+ "SKRILL_FRONTEND_PM_MAE", "Maestro"
10
+ "SKRILL_FRONTEND_PM_AMX", "American Express"
11
+ "SKRILL_FRONTEND_PM_DIN", "Diners"
12
+ "SKRILL_FRONTEND_PM_JCB", "JCB"
13
+ "SKRILL_FRONTEND_PM_GCB", "Carte Bleue by Visa"
14
+ "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
15
+ "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
16
+ "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
17
+ "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
18
+ "SKRILL_FRONTEND_PM_GIR", "Giropay"
19
+ "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
20
+ "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
21
+ "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
22
+ "SKRILL_FRONTEND_PM_IDL", "iDEAL"
23
+ "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
24
+ "SKRILL_FRONTEND_PM_PLI", "POLi"
25
+ "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
26
+ "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
27
+ "SKRILL_FRONTEND_PM_GLU", "Trustly"
28
+ "SKRILL_FRONTEND_PM_NTL", "Neteller"
29
+ "SKRILL_FRONTEND_PM_ALI", "Alipay"
30
+ "FRONTEND_PM_CC", "Credit Card"
31
+ "FRONTEND_PM_DD", "Lastschrift (ELV)"
32
+ "FRONTEND_PM_EPS", "eps"
33
+ "FRONTEND_PM_GIROPAY", "giropay"
34
+ "FRONTEND_PM_IDEAL", "iDeal"
35
+ "FRONTEND_PM_PAYPAL", "PayPal"
36
+ "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
37
+ "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
38
+ "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
39
+ "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
40
+ "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
41
+ "FRONTEND_PM_PAYTRAIL", "Paytrail"
42
+ "FRONTEND_PM_YANDEX", "Yandex"
43
+
44
+ "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
45
+ "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
46
+ "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
47
+ "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
48
+ "SKRILL_BACKEND_PM_PSC", "Paysafecard"
49
+ "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
50
+ "SKRILL_BACKEND_PM_VSA", "Visa"
51
+ "SKRILL_BACKEND_PM_MSC", "MasterCard"
52
+ "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
53
+ "SKRILL_BACKEND_PM_VSE", "Visa Electron"
54
+ "SKRILL_BACKEND_PM_MAE", "Maestro"
55
+ "SKRILL_BACKEND_PM_AMX", "American Express"
56
+ "SKRILL_BACKEND_PM_DIN", "Diners"
57
+ "SKRILL_BACKEND_PM_JCB", "JCB"
58
+ "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
59
+ "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
60
+ "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
61
+ "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
62
+ "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
63
+ "SKRILL_BACKEND_PM_GIR", "Giropay"
64
+ "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
65
+ "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
66
+ "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
67
+ "SKRILL_BACKEND_PM_IDL", "iDEAL"
68
+ "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
69
+ "SKRILL_BACKEND_PM_PLI", "POLi"
70
+ "SKRILL_BACKEND_PM_PWY", "Przelewy24"
71
+ "SKRILL_BACKEND_PM_EPY", "ePay.bg"
72
+ "SKRILL_BACKEND_PM_GLU", "Trustly"
73
+ "SKRILL_BACKEND_PM_NTL", "Neteller"
74
+ "SKRILL_BACKEND_PM_ALI", "Alipay"
75
+ "BACKEND_PM_CC", "Credit Card (Enterprise)"
76
+ "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
77
+ "BACKEND_PM_EPS", "eps (Enterprise)"
78
+ "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
79
+ "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
80
+ "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
81
+ "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
82
+ "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
83
+ "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
84
+ "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
85
+ "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
86
+ "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
87
+
88
+ "SKRILL_BACKEND_MID", "Merchant ID"
89
+ "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
90
+ "SKRILL_BACKEND_RECIPIENT", "Recipient"
91
+ "SKRILL_BACKEND_LOGO", "Logo Url"
92
+ "SKRILL_BACKEND_SHOPURL", "Shop Url"
93
+ "SKRILL_BACKEND_APIPASS", "API Password"
94
+ "SKRILL_BACKEND_SECRETWORD", "Secret word"
95
+ "SKRILL_BACKEND_DISPLAY", "Display"
96
+
97
+ "SKRILL_BACKEND_IFRAME", "IFrame"
98
+ "SKRILL_BACKEND_REDIRECT", "Redirect"
99
+
100
+ "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
101
+ "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
102
+
103
+ "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
104
+ "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
105
+ "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
106
+ "SKRILL_BACKEND_TT_LOGO", "The URL of the logo which you would like to appear at the top right of the Skrill page. The logo must be accessible via HTTPS or it will not be shown. For best results use logos with dimensions up to 200px in width and 50px in height."
107
+ "SKRILL_BACKEND_TT_APIPW", "When enabled, this feature allows you to issue refunds and check transaction statuses. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
108
+ "SKRILL_BACKEND_TT_SECRET", "This feature is mandatory and ensures the integrity of the data posted back to your servers. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
109
+ "SKRILL_BACKEND_TT_DISPLAY", "iFrame – when this option is enabled the Quick Checkout payment form is embedded on your website, Redirect – when this option is enabled the customer is redirected to the Quick Checkout payment form . This option is recommended for payment options which redirect the user to an external website."
110
+ "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
111
+ "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard, Amex, JCB and Diners will automatically be disabled as an option to show separately."
112
+ "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
113
+ "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
114
+
115
+ "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
116
+ "SKRILL_BACKEND_PM_MODE", "Show separately"
117
+ "SKRILL_BACKEND_GATE", "Select Gateway"
118
+ "BACKEND_CH_ACTIVE", "Enabled"
119
+ "BACKEND_CH_SERVER", "Server"
120
+ "BACKEND_CH_MODE", "Transaction-Mode"
121
+ "BACKEND_CH_CARDS", "Cards types"
122
+ "BACKEND_CH_CHANNEL","Channel ID"
123
+ "BACKEND_CH_SENDER","Sender"
124
+ "BACKEND_CH_LOGIN", "Login"
125
+ "BACKEND_CH_PASSWORD", "Password"
126
+ "BACKEND_CH_COUNTRIES", "Applicable Countries"
127
+ "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
128
+ "BACKEND_CH_ORDER", "Sort Order"
129
+ "BACKEND_CH_AMOUNT","Amount for Registration"
130
+
131
+ "ERROR_GENERAL_REDIRECT", "Error before redirect"
132
+ "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
133
+ "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
134
+
135
+ "BACKEND_CH_MODE_TEST", "TEST"
136
+ "BACKEND_CH_MODE_LIVE", "LIVE"
137
+
138
+ "BACKEND_CH_MODEDEBIT", "Debit"
139
+ "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
140
+
141
+ "BACKEND_CC_AMEX", "American Express"
142
+ "BACKEND_CC_VISA", "VISA"
143
+ "BACKEND_CC_MASTER", "MasterCard"
144
+ "BACKEND_CC_MAESTRO", "Maestro"
145
+
146
+ "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
147
+ "FRONTEND_CC_NUMBER", "Card number"
148
+ "FRONTEND_CC_EXPIRY", "Expires Month / Year"
149
+ "FRONTEND_CC_CVC", "CVC-Code"
150
+ "FRONTEND_CC_HELP", "Help"
151
+ "FRONTEND_BT_CANCEL", "Cancel"
152
+ "FRONTEND_BT_CONFIRM", "Confirm"
153
+ "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
154
+ "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
155
+ "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
156
+ "FRONTEND_CC_HOLDER", "Card holder"
157
+
158
+ "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
159
+ "FRONTEND_DD_IBAN", "Account Number / IBAN"
160
+ "FRONTEND_DD_BIC", "Bank Code / BIC"
161
+ "FRONTEND_DD_BANK", "Bank"
162
+
163
+ "SUCCESS_PAYMENT_ACC", "Payment Accepted"
164
+ "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
165
+ "INVALID_CREDENTIAL", "Invalid Credential"
166
+
167
+ "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
168
+ "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
169
+ "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
170
+ "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
171
+ "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
172
+ "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
173
+ "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
174
+ "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
175
+ "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
176
+ "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
177
+ "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
178
+ "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
179
+ "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
180
+ "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
181
+ "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
182
+ "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
183
+ "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
184
+ "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
185
+ "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
186
+ "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
187
+ "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
188
+ "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
189
+ "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
190
+ "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
191
+ "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
192
+ "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
193
+ "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
194
+
195
+ "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
196
+ "SKRILL_BACKEND_ORDER_PM", "Used payment method"
197
+ "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
198
+
199
+ "BACKEND_TT_PROCESSED", "Processed"
200
+ "BACKEND_TT_PENDING", "Pending"
201
+ "BACKEND_TT_CANCELLED", "Cancelled"
202
+ "BACKEND_TT_FAILED", "Failed"
203
+ "BACKEND_TT_CHARGEBACK", "Chargeback"
204
+ "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
205
+
206
+ "BACKEND_TT_ACC", "Payment Accepted"
207
+ "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
208
+
209
+ "BACKEND_TT_CAPTURED", "Capture successfull"
210
+ "BACKEND_TT_REFUNDED", "Refund successfull"
211
+
212
+ "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
213
+ "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
214
+
215
+ "BACKEND_TT_BY_PAYON", "by Enterprise"
216
+ "BACKEND_TT_BY_SKRILL", "by Skrill"
217
+
218
+ "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
219
+ "BACKEND_TT_UPDATE_ORDER", "Update Order"
220
+
221
+ "Order was placed using %s", "Order was placed using %s"
222
+
223
+ "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
224
+ "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
225
+ "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
226
+ "ERROR_GENERAL_FRAUD_DETECTION", "Unfortunately, there was an error while processing your order. In case a payment has been made, it will be automatically refunded."
227
+
228
+ "SKRILL_ERROR_01", "Referred by card issuer"
229
+ "SKRILL_ERROR_02", "Invalid Merchant"
230
+ "SKRILL_ERROR_03", "Stolen card"
231
+ "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
232
+ "SKRILL_ERROR_05", "Insufficient funds"
233
+ "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
234
+ "SKRILL_ERROR_09", "Invalid Transaction"
235
+ "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
236
+ "SKRILL_ERROR_12", "Invalid credit card or bank account"
237
+ "SKRILL_ERROR_15", "Duplicate transaction"
238
+ "SKRILL_ERROR_19", "Unknown failure reason. Try again"
239
+ "SKRILL_ERROR_24", "Card expired"
240
+ "SKRILL_ERROR_28", "Lost/Stolen card"
241
+ "SKRILL_ERROR_32", "Card Security Code check failed"
242
+ "SKRILL_ERROR_37", "Card restricted by card issuer"
243
+ "SKRILL_ERROR_38", "Security violation"
244
+ "SKRILL_ERROR_42", "Card blocked by card issuer"
245
+ "SKRILL_ERROR_44", "Customer's issuing bank not available"
246
+ "SKRILL_ERROR_51", "Processing system error"
247
+ "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
248
+ "SKRILL_ERROR_70", "Customer failed to complete 3DS"
249
+ "SKRILL_ERROR_71", "Customer failed SMS verification"
250
+ "SKRILL_ERROR_80", "Fraud engine declined"
251
+ "SKRILL_ERROR_98", "Error in communication with provider"
252
+ "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
253
+ "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
254
+ "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
255
+
256
+ "FRONTEND_MESSAGE_YOUR_ORDER", "You order on"
257
+ "FRONTEND_MESSAGE_INPROCESS", "is in the process."
258
+ "FRONTEND_MESSAGE_PLEASE_BACK_AGAIN", "Please back again after a minutes and check your order histoy."
259
+ "BACKEND_TT_REFUNDED_PENDING", "Refund Pending"
260
+ "BACKEND_GENERAL_WAIT_REFUND_PENDING", "You can not refund at this moment because the refund status was pending before. Please try again when the refund status is not pending"
261
+ "SUCCESS_GENERAL_REFUND_PAYMENT_PENDING", "Your attempt to refund the payment is pending."
262
+ "ERROR_GENERAL_REFUND_PAYMENT", "Unfortunately, your attempt to refund the payment failed."
263
+ "BACKEND_TT_AMOUNT", "Amount"
264
+ "SUCCESS_GENERAL_UPDATE_PAYMENT", "The payment status has been successfully updated."
265
+ "ERROR_UPDATE_BACKEND", "Order status can not be updated"
266
+
267
+ "SKRILL_BACKEND_PM_ADB", "Direct Bank Transfer"
268
+ "SKRILL_BACKEND_PM_AOB", "Manual Bank Transfer"
269
+ "SKRILL_BACKEND_PM_ACI", "Cash/invoice"
270
+ "SKRILL_BACKEND_PM_AUP", "Unionpay"
271
+ "SKRILL_BACKEND_BT_STATUS", "Update Statu"
272
+
273
+ "SKRILL_FRONTEND_PM_ADB", "Direct Bank Transfer"
274
+ "SKRILL_FRONTEND_PM_AOB", "Manual Bank Transfer"
275
+ "SKRILL_FRONTEND_PM_ACI", "Cash/invoice"
276
+ "SKRILL_FRONTEND_PM_AUP", "Unionpay"
277
+ "SKRILL_FRONTEND_SUPPORTED_BANK", "Supported Banks"
app/locale/ar_DZ/Skrill.csv CHANGED
@@ -1,276 +1,276 @@
1
- "SKRILL_FRONTEND_PM_FLEXIBLE", "Pay By Skrill"
2
- "SKRILL_FRONTEND_PM_WLT", "Skrill Wallet"
3
- "SKRILL_FRONTEND_PM_PSC", "Paysafecard"
4
- "SKRILL_FRONTEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
5
- "SKRILL_FRONTEND_PM_VSA", "Visa"
6
- "SKRILL_FRONTEND_PM_MSC", "MasterCard"
7
- "SKRILL_FRONTEND_PM_VSD", "Visa Delta/Debit"
8
- "SKRILL_FRONTEND_PM_VSE", "Visa Electron"
9
- "SKRILL_FRONTEND_PM_MAE", "Maestro"
10
- "SKRILL_FRONTEND_PM_AMX", "American Express"
11
- "SKRILL_FRONTEND_PM_DIN", "Diners"
12
- "SKRILL_FRONTEND_PM_JCB", "JCB"
13
- "SKRILL_FRONTEND_PM_GCB", "Carte Bleue by Visa"
14
- "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
15
- "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
16
- "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
17
- "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
18
- "SKRILL_FRONTEND_PM_GIR", "Giropay"
19
- "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
20
- "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
21
- "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
22
- "SKRILL_FRONTEND_PM_IDL", "iDEAL"
23
- "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
24
- "SKRILL_FRONTEND_PM_PLI", "POLi"
25
- "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
26
- "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
27
- "SKRILL_FRONTEND_PM_GLU", "Trustly"
28
- "SKRILL_FRONTEND_PM_NTL", "Neteller"
29
- "SKRILL_FRONTEND_PM_ALI", "Alipay"
30
- "FRONTEND_PM_CC", "Credit Card"
31
- "FRONTEND_PM_DD", "Lastschrift (ELV)"
32
- "FRONTEND_PM_EPS", "eps"
33
- "FRONTEND_PM_GIROPAY", "giropay"
34
- "FRONTEND_PM_IDEAL", "iDeal"
35
- "FRONTEND_PM_PAYPAL", "PayPal"
36
- "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
37
- "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
38
- "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
39
- "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
40
- "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
41
- "FRONTEND_PM_PAYTRAIL", "Paytrail"
42
- "FRONTEND_PM_YANDEX", "Yandex"
43
-
44
- "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
45
- "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
46
- "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
47
- "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
48
- "SKRILL_BACKEND_PM_PSC", "Paysafecard"
49
- "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
50
- "SKRILL_BACKEND_PM_VSA", "Visa"
51
- "SKRILL_BACKEND_PM_MSC", "MasterCard"
52
- "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
53
- "SKRILL_BACKEND_PM_VSE", "Visa Electron"
54
- "SKRILL_BACKEND_PM_MAE", "Maestro"
55
- "SKRILL_BACKEND_PM_AMX", "American Express"
56
- "SKRILL_BACKEND_PM_DIN", "Diners"
57
- "SKRILL_BACKEND_PM_JCB", "JCB"
58
- "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
59
- "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
60
- "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
61
- "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
62
- "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
63
- "SKRILL_BACKEND_PM_GIR", "Giropay"
64
- "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
65
- "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
66
- "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
67
- "SKRILL_BACKEND_PM_IDL", "iDEAL"
68
- "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
69
- "SKRILL_BACKEND_PM_PLI", "POLi"
70
- "SKRILL_BACKEND_PM_PWY", "Przelewy24"
71
- "SKRILL_BACKEND_PM_EPY", "ePay.bg"
72
- "SKRILL_BACKEND_PM_GLU", "Trustly"
73
- "SKRILL_BACKEND_PM_NTL", "Neteller"
74
- "SKRILL_BACKEND_PM_ALI", "Alipay"
75
- "BACKEND_PM_CC", "Credit Card (Enterprise)"
76
- "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
77
- "BACKEND_PM_EPS", "eps (Enterprise)"
78
- "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
79
- "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
80
- "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
81
- "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
82
- "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
83
- "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
84
- "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
85
- "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
86
- "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
87
-
88
- "SKRILL_BACKEND_MID", "Merchant ID"
89
- "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
90
- "SKRILL_BACKEND_RECIPIENT", "Recipient"
91
- "SKRILL_BACKEND_LOGO", "Logo Url"
92
- "SKRILL_BACKEND_SHOPURL", "Shop Url"
93
- "SKRILL_BACKEND_APIPASS", "API Password"
94
- "SKRILL_BACKEND_SECRETWORD", "Secret word"
95
- "SKRILL_BACKEND_DISPLAY", "Display"
96
-
97
- "SKRILL_BACKEND_IFRAME", "IFrame"
98
- "SKRILL_BACKEND_REDIRECT", "Redirect"
99
-
100
- "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
101
- "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
102
-
103
- "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
104
- "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
105
- "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
106
- "SKRILL_BACKEND_TT_LOGO", "The URL of the logo which you would like to appear at the top right of the Skrill page. The logo must be accessible via HTTPS or it will not be shown. For best results use logos with dimensions up to 200px in width and 50px in height."
107
- "SKRILL_BACKEND_TT_APIPW", "When enabled, this feature allows you to issue refunds and check transaction statuses. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
108
- "SKRILL_BACKEND_TT_SECRET", "This feature is mandatory and ensures the integrity of the data posted back to your servers. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
109
- "SKRILL_BACKEND_TT_DISPLAY", "iFrame – when this option is enabled the Quick Checkout payment form is embedded on your website, Redirect – when this option is enabled the customer is redirected to the Quick Checkout payment form . This option is recommended for payment options which redirect the user to an external website."
110
- "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
111
- "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard, Amex, JCB and Diners will automatically be disabled as an option to show separately."
112
- "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
113
- "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
114
-
115
- "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
116
- "SKRILL_BACKEND_PM_MODE", "Show separately"
117
- "SKRILL_BACKEND_GATE", "Select Gateway"
118
- "BACKEND_CH_ACTIVE", "Enabled"
119
- "BACKEND_CH_SERVER", "Server"
120
- "BACKEND_CH_MODE", "Transaction-Mode"
121
- "BACKEND_CH_CARDS", "Cards types"
122
- "BACKEND_CH_CHANNEL","Channel ID"
123
- "BACKEND_CH_SENDER","Sender"
124
- "BACKEND_CH_LOGIN", "Login"
125
- "BACKEND_CH_PASSWORD", "Password"
126
- "BACKEND_CH_COUNTRIES", "Applicable Countries"
127
- "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
128
- "BACKEND_CH_ORDER", "Sort Order"
129
- "BACKEND_CH_AMOUNT","Amount for Registration"
130
-
131
- "ERROR_GENERAL_REDIRECT", "Error before redirect"
132
- "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
133
- "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
134
-
135
- "BACKEND_CH_MODE_TEST", "TEST"
136
- "BACKEND_CH_MODE_LIVE", "LIVE"
137
-
138
- "BACKEND_CH_MODEDEBIT", "Debit"
139
- "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
140
-
141
- "BACKEND_CC_AMEX", "American Express"
142
- "BACKEND_CC_VISA", "VISA"
143
- "BACKEND_CC_MASTER", "MasterCard"
144
- "BACKEND_CC_MAESTRO", "Maestro"
145
-
146
- "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
147
- "FRONTEND_CC_NUMBER", "Card number"
148
- "FRONTEND_CC_EXPIRY", "Expires Month / Year"
149
- "FRONTEND_CC_CVC", "CVC-Code"
150
- "FRONTEND_CC_HELP", "Help"
151
- "FRONTEND_BT_CANCEL", "Cancel"
152
- "FRONTEND_BT_CONFIRM", "Confirm"
153
- "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
154
- "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
155
- "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
156
- "FRONTEND_CC_HOLDER", "Card holder"
157
-
158
- "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
159
- "FRONTEND_DD_IBAN", "Account Number / IBAN"
160
- "FRONTEND_DD_BIC", "Bank Code / BIC"
161
- "FRONTEND_DD_BANK", "Bank"
162
-
163
- "SUCCESS_PAYMENT_ACC", "Payment Accepted"
164
- "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
165
-
166
- "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
167
- "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
168
- "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
169
- "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
170
- "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
171
- "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
172
- "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
173
- "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
174
- "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
175
- "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
176
- "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
177
- "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
178
- "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
179
- "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
180
- "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
181
- "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
182
- "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
183
- "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
184
- "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
185
- "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
186
- "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
187
- "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
188
- "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
189
- "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
190
- "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
191
- "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
192
- "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
193
-
194
- "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
195
- "SKRILL_BACKEND_ORDER_PM", "Used payment method"
196
- "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
197
-
198
- "BACKEND_TT_PROCESSED", "Processed"
199
- "BACKEND_TT_PENDING", "Pending"
200
- "BACKEND_TT_CANCELLED", "Cancelled"
201
- "BACKEND_TT_FAILED", "Failed"
202
- "BACKEND_TT_CHARGEBACK", "Chargeback"
203
- "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
204
-
205
- "BACKEND_TT_ACC", "Payment Accepted"
206
- "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
207
-
208
- "BACKEND_TT_CAPTURED", "Capture successfull"
209
- "BACKEND_TT_REFUNDED", "Refund successfull"
210
-
211
- "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
212
- "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
213
-
214
- "BACKEND_TT_BY_PAYON", "by Enterprise"
215
- "BACKEND_TT_BY_SKRILL", "by Skrill"
216
-
217
- "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
218
- "BACKEND_TT_UPDATE_ORDER", "Update Order"
219
-
220
- "Order was placed using %s", "Order was placed using %s"
221
-
222
- "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
223
- "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
224
- "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
225
- "ERROR_GENERAL_FRAUD_DETECTION", "Unfortunately, there was an error while processing your order. In case a payment has been made, it will be automatically refunded."
226
-
227
- "SKRILL_ERROR_01", "Referred by card issuer"
228
- "SKRILL_ERROR_02", "Invalid Merchant"
229
- "SKRILL_ERROR_03", "Stolen card"
230
- "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
231
- "SKRILL_ERROR_05", "Insufficient funds"
232
- "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
233
- "SKRILL_ERROR_09", "Invalid Transaction"
234
- "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
235
- "SKRILL_ERROR_12", "Invalid credit card or bank account"
236
- "SKRILL_ERROR_15", "Duplicate transaction"
237
- "SKRILL_ERROR_19", "Unknown failure reason. Try again"
238
- "SKRILL_ERROR_24", "Card expired"
239
- "SKRILL_ERROR_28", "Lost/Stolen card"
240
- "SKRILL_ERROR_32", "Card Security Code check failed"
241
- "SKRILL_ERROR_37", "Card restricted by card issuer"
242
- "SKRILL_ERROR_38", "Security violation"
243
- "SKRILL_ERROR_42", "Card blocked by card issuer"
244
- "SKRILL_ERROR_44", "Customer's issuing bank not available"
245
- "SKRILL_ERROR_51", "Processing system error"
246
- "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
247
- "SKRILL_ERROR_70", "Customer failed to complete 3DS"
248
- "SKRILL_ERROR_71", "Customer failed SMS verification"
249
- "SKRILL_ERROR_80", "Fraud engine declined"
250
- "SKRILL_ERROR_98", "Error in communication with provider"
251
- "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
252
- "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
253
- "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
254
-
255
- "FRONTEND_MESSAGE_YOUR_ORDER", "You order on"
256
- "FRONTEND_MESSAGE_INPROCESS", "is in the process."
257
- "FRONTEND_MESSAGE_PLEASE_BACK_AGAIN", "Please back again after a minutes and check your order histoy."
258
- "BACKEND_TT_REFUNDED_PENDING", "Refund Pending"
259
- "BACKEND_GENERAL_WAIT_REFUND_PENDING", "You can not refund at this moment because the refund status was pending before. Please try again when the refund status is not pending"
260
- "SUCCESS_GENERAL_REFUND_PAYMENT_PENDING", "Your attempt to refund the payment is pending."
261
- "ERROR_GENERAL_REFUND_PAYMENT", "Unfortunately, your attempt to refund the payment failed."
262
- "BACKEND_TT_AMOUNT", "Amount"
263
- "SUCCESS_GENERAL_UPDATE_PAYMENT", "The payment status has been successfully updated."
264
- "ERROR_UPDATE_BACKEND", "Order status can not be updated"
265
-
266
- "SKRILL_BACKEND_PM_ADB", "Direct Bank Transfer"
267
- "SKRILL_BACKEND_PM_AOB", "Manual Bank Transfer"
268
- "SKRILL_BACKEND_PM_ACI", "Cash/invoice"
269
- "SKRILL_BACKEND_PM_AUP", "Unionpay"
270
- "SKRILL_BACKEND_BT_STATUS", "Update Statu"
271
-
272
- "SKRILL_FRONTEND_PM_ADB", "Direct Bank Transfer"
273
- "SKRILL_FRONTEND_PM_AOB", "Manual Bank Transfer"
274
- "SKRILL_FRONTEND_PM_ACI", "Cash/invoice"
275
- "SKRILL_FRONTEND_PM_AUP", "Unionpay"
276
- "SKRILL_FRONTEND_SUPPORTED_BANK", "Supported Banks"
1
+ "SKRILL_FRONTEND_PM_FLEXIBLE", "Pay By Skrill"
2
+ "SKRILL_FRONTEND_PM_WLT", "Skrill Wallet"
3
+ "SKRILL_FRONTEND_PM_PSC", "Paysafecard"
4
+ "SKRILL_FRONTEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
5
+ "SKRILL_FRONTEND_PM_VSA", "Visa"
6
+ "SKRILL_FRONTEND_PM_MSC", "MasterCard"
7
+ "SKRILL_FRONTEND_PM_VSD", "Visa Delta/Debit"
8
+ "SKRILL_FRONTEND_PM_VSE", "Visa Electron"
9
+ "SKRILL_FRONTEND_PM_MAE", "Maestro"
10
+ "SKRILL_FRONTEND_PM_AMX", "American Express"
11
+ "SKRILL_FRONTEND_PM_DIN", "Diners"
12
+ "SKRILL_FRONTEND_PM_JCB", "JCB"
13
+ "SKRILL_FRONTEND_PM_GCB", "Carte Bleue by Visa"
14
+ "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
15
+ "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
16
+ "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
17
+ "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
18
+ "SKRILL_FRONTEND_PM_GIR", "Giropay"
19
+ "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
20
+ "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
21
+ "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
22
+ "SKRILL_FRONTEND_PM_IDL", "iDEAL"
23
+ "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
24
+ "SKRILL_FRONTEND_PM_PLI", "POLi"
25
+ "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
26
+ "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
27
+ "SKRILL_FRONTEND_PM_GLU", "Trustly"
28
+ "SKRILL_FRONTEND_PM_NTL", "Neteller"
29
+ "SKRILL_FRONTEND_PM_ALI", "Alipay"
30
+ "FRONTEND_PM_CC", "Credit Card"
31
+ "FRONTEND_PM_DD", "Lastschrift (ELV)"
32
+ "FRONTEND_PM_EPS", "eps"
33
+ "FRONTEND_PM_GIROPAY", "giropay"
34
+ "FRONTEND_PM_IDEAL", "iDeal"
35
+ "FRONTEND_PM_PAYPAL", "PayPal"
36
+ "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
37
+ "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
38
+ "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
39
+ "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
40
+ "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
41
+ "FRONTEND_PM_PAYTRAIL", "Paytrail"
42
+ "FRONTEND_PM_YANDEX", "Yandex"
43
+
44
+ "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
45
+ "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
46
+ "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
47
+ "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
48
+ "SKRILL_BACKEND_PM_PSC", "Paysafecard"
49
+ "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
50
+ "SKRILL_BACKEND_PM_VSA", "Visa"
51
+ "SKRILL_BACKEND_PM_MSC", "MasterCard"
52
+ "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
53
+ "SKRILL_BACKEND_PM_VSE", "Visa Electron"
54
+ "SKRILL_BACKEND_PM_MAE", "Maestro"
55
+ "SKRILL_BACKEND_PM_AMX", "American Express"
56
+ "SKRILL_BACKEND_PM_DIN", "Diners"
57
+ "SKRILL_BACKEND_PM_JCB", "JCB"
58
+ "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
59
+ "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
60
+ "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
61
+ "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
62
+ "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
63
+ "SKRILL_BACKEND_PM_GIR", "Giropay"
64
+ "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
65
+ "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
66
+ "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
67
+ "SKRILL_BACKEND_PM_IDL", "iDEAL"
68
+ "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
69
+ "SKRILL_BACKEND_PM_PLI", "POLi"
70
+ "SKRILL_BACKEND_PM_PWY", "Przelewy24"
71
+ "SKRILL_BACKEND_PM_EPY", "ePay.bg"
72
+ "SKRILL_BACKEND_PM_GLU", "Trustly"
73
+ "SKRILL_BACKEND_PM_NTL", "Neteller"
74
+ "SKRILL_BACKEND_PM_ALI", "Alipay"
75
+ "BACKEND_PM_CC", "Credit Card (Enterprise)"
76
+ "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
77
+ "BACKEND_PM_EPS", "eps (Enterprise)"
78
+ "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
79
+ "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
80
+ "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
81
+ "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
82
+ "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
83
+ "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
84
+ "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
85
+ "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
86
+ "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
87
+
88
+ "SKRILL_BACKEND_MID", "Merchant ID"
89
+ "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
90
+ "SKRILL_BACKEND_RECIPIENT", "Recipient"
91
+ "SKRILL_BACKEND_LOGO", "Logo Url"
92
+ "SKRILL_BACKEND_SHOPURL", "Shop Url"
93
+ "SKRILL_BACKEND_APIPASS", "API Password"
94
+ "SKRILL_BACKEND_SECRETWORD", "Secret word"
95
+ "SKRILL_BACKEND_DISPLAY", "Display"
96
+
97
+ "SKRILL_BACKEND_IFRAME", "IFrame"
98
+ "SKRILL_BACKEND_REDIRECT", "Redirect"
99
+
100
+ "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
101
+ "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
102
+
103
+ "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
104
+ "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
105
+ "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
106
+ "SKRILL_BACKEND_TT_LOGO", "The URL of the logo which you would like to appear at the top right of the Skrill page. The logo must be accessible via HTTPS or it will not be shown. For best results use logos with dimensions up to 200px in width and 50px in height."
107
+ "SKRILL_BACKEND_TT_APIPW", "When enabled, this feature allows you to issue refunds and check transaction statuses. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
108
+ "SKRILL_BACKEND_TT_SECRET", "This feature is mandatory and ensures the integrity of the data posted back to your servers. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
109
+ "SKRILL_BACKEND_TT_DISPLAY", "iFrame – when this option is enabled the Quick Checkout payment form is embedded on your website, Redirect – when this option is enabled the customer is redirected to the Quick Checkout payment form . This option is recommended for payment options which redirect the user to an external website."
110
+ "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
111
+ "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard, Amex, JCB and Diners will automatically be disabled as an option to show separately."
112
+ "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
113
+ "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
114
+
115
+ "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
116
+ "SKRILL_BACKEND_PM_MODE", "Show separately"
117
+ "SKRILL_BACKEND_GATE", "Select Gateway"
118
+ "BACKEND_CH_ACTIVE", "Enabled"
119
+ "BACKEND_CH_SERVER", "Server"
120
+ "BACKEND_CH_MODE", "Transaction-Mode"
121
+ "BACKEND_CH_CARDS", "Cards types"
122
+ "BACKEND_CH_CHANNEL","Channel ID"
123
+ "BACKEND_CH_SENDER","Sender"
124
+ "BACKEND_CH_LOGIN", "Login"
125
+ "BACKEND_CH_PASSWORD", "Password"
126
+ "BACKEND_CH_COUNTRIES", "Applicable Countries"
127
+ "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
128
+ "BACKEND_CH_ORDER", "Sort Order"
129
+ "BACKEND_CH_AMOUNT","Amount for Registration"
130
+
131
+ "ERROR_GENERAL_REDIRECT", "Error before redirect"
132
+ "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
133
+ "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
134
+
135
+ "BACKEND_CH_MODE_TEST", "TEST"
136
+ "BACKEND_CH_MODE_LIVE", "LIVE"
137
+
138
+ "BACKEND_CH_MODEDEBIT", "Debit"
139
+ "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
140
+
141
+ "BACKEND_CC_AMEX", "American Express"
142
+ "BACKEND_CC_VISA", "VISA"
143
+ "BACKEND_CC_MASTER", "MasterCard"
144
+ "BACKEND_CC_MAESTRO", "Maestro"
145
+
146
+ "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
147
+ "FRONTEND_CC_NUMBER", "Card number"
148
+ "FRONTEND_CC_EXPIRY", "Expires Month / Year"
149
+ "FRONTEND_CC_CVC", "CVC-Code"
150
+ "FRONTEND_CC_HELP", "Help"
151
+ "FRONTEND_BT_CANCEL", "Cancel"
152
+ "FRONTEND_BT_CONFIRM", "Confirm"
153
+ "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
154
+ "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
155
+ "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
156
+ "FRONTEND_CC_HOLDER", "Card holder"
157
+
158
+ "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
159
+ "FRONTEND_DD_IBAN", "Account Number / IBAN"
160
+ "FRONTEND_DD_BIC", "Bank Code / BIC"
161
+ "FRONTEND_DD_BANK", "Bank"
162
+
163
+ "SUCCESS_PAYMENT_ACC", "Payment Accepted"
164
+ "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
165
+
166
+ "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
167
+ "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
168
+ "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
169
+ "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
170
+ "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
171
+ "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
172
+ "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
173
+ "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
174
+ "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
175
+ "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
176
+ "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
177
+ "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
178
+ "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
179
+ "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
180
+ "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
181
+ "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
182
+ "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
183
+ "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
184
+ "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
185
+ "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
186
+ "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
187
+ "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
188
+ "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
189
+ "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
190
+ "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
191
+ "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
192
+ "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
193
+
194
+ "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
195
+ "SKRILL_BACKEND_ORDER_PM", "Used payment method"
196
+ "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
197
+
198
+ "BACKEND_TT_PROCESSED", "Processed"
199
+ "BACKEND_TT_PENDING", "Pending"
200
+ "BACKEND_TT_CANCELLED", "Cancelled"
201
+ "BACKEND_TT_FAILED", "Failed"
202
+ "BACKEND_TT_CHARGEBACK", "Chargeback"
203
+ "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
204
+
205
+ "BACKEND_TT_ACC", "Payment Accepted"
206
+ "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
207
+
208
+ "BACKEND_TT_CAPTURED", "Capture successfull"
209
+ "BACKEND_TT_REFUNDED", "Refund successfull"
210
+
211
+ "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
212
+ "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
213
+
214
+ "BACKEND_TT_BY_PAYON", "by Enterprise"
215
+ "BACKEND_TT_BY_SKRILL", "by Skrill"
216
+
217
+ "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
218
+ "BACKEND_TT_UPDATE_ORDER", "Update Order"
219
+
220
+ "Order was placed using %s", "Order was placed using %s"
221
+
222
+ "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
223
+ "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
224
+ "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
225
+ "ERROR_GENERAL_FRAUD_DETECTION", "Unfortunately, there was an error while processing your order. In case a payment has been made, it will be automatically refunded."
226
+
227
+ "SKRILL_ERROR_01", "Referred by card issuer"
228
+ "SKRILL_ERROR_02", "Invalid Merchant"
229
+ "SKRILL_ERROR_03", "Stolen card"
230
+ "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
231
+ "SKRILL_ERROR_05", "Insufficient funds"
232
+ "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
233
+ "SKRILL_ERROR_09", "Invalid Transaction"
234
+ "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
235
+ "SKRILL_ERROR_12", "Invalid credit card or bank account"
236
+ "SKRILL_ERROR_15", "Duplicate transaction"
237
+ "SKRILL_ERROR_19", "Unknown failure reason. Try again"
238
+ "SKRILL_ERROR_24", "Card expired"
239
+ "SKRILL_ERROR_28", "Lost/Stolen card"
240
+ "SKRILL_ERROR_32", "Card Security Code check failed"
241
+ "SKRILL_ERROR_37", "Card restricted by card issuer"
242
+ "SKRILL_ERROR_38", "Security violation"
243
+ "SKRILL_ERROR_42", "Card blocked by card issuer"
244
+ "SKRILL_ERROR_44", "Customer's issuing bank not available"
245
+ "SKRILL_ERROR_51", "Processing system error"
246
+ "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
247
+ "SKRILL_ERROR_70", "Customer failed to complete 3DS"
248
+ "SKRILL_ERROR_71", "Customer failed SMS verification"
249
+ "SKRILL_ERROR_80", "Fraud engine declined"
250
+ "SKRILL_ERROR_98", "Error in communication with provider"
251
+ "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
252
+ "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
253
+ "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
254
+
255
+ "FRONTEND_MESSAGE_YOUR_ORDER", "You order on"
256
+ "FRONTEND_MESSAGE_INPROCESS", "is in the process."
257
+ "FRONTEND_MESSAGE_PLEASE_BACK_AGAIN", "Please back again after a minutes and check your order histoy."
258
+ "BACKEND_TT_REFUNDED_PENDING", "Refund Pending"
259
+ "BACKEND_GENERAL_WAIT_REFUND_PENDING", "You can not refund at this moment because the refund status was pending before. Please try again when the refund status is not pending"
260
+ "SUCCESS_GENERAL_REFUND_PAYMENT_PENDING", "Your attempt to refund the payment is pending."
261
+ "ERROR_GENERAL_REFUND_PAYMENT", "Unfortunately, your attempt to refund the payment failed."
262
+ "BACKEND_TT_AMOUNT", "Amount"
263
+ "SUCCESS_GENERAL_UPDATE_PAYMENT", "The payment status has been successfully updated."
264
+ "ERROR_UPDATE_BACKEND", "Order status can not be updated"
265
+
266
+ "SKRILL_BACKEND_PM_ADB", "Direct Bank Transfer"
267
+ "SKRILL_BACKEND_PM_AOB", "Manual Bank Transfer"
268
+ "SKRILL_BACKEND_PM_ACI", "Cash/invoice"
269
+ "SKRILL_BACKEND_PM_AUP", "Unionpay"
270
+ "SKRILL_BACKEND_BT_STATUS", "Update Statu"
271
+
272
+ "SKRILL_FRONTEND_PM_ADB", "Direct Bank Transfer"
273
+ "SKRILL_FRONTEND_PM_AOB", "Manual Bank Transfer"
274
+ "SKRILL_FRONTEND_PM_ACI", "Cash/invoice"
275
+ "SKRILL_FRONTEND_PM_AUP", "Unionpay"
276
+ "SKRILL_FRONTEND_SUPPORTED_BANK", "Supported Banks"
app/locale/ar_EG/Skrill.csv CHANGED
@@ -1,276 +1,276 @@
1
- "SKRILL_FRONTEND_PM_FLEXIBLE", "Pay By Skrill"
2
- "SKRILL_FRONTEND_PM_WLT", "Skrill Wallet"
3
- "SKRILL_FRONTEND_PM_PSC", "Paysafecard"
4
- "SKRILL_FRONTEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
5
- "SKRILL_FRONTEND_PM_VSA", "Visa"
6
- "SKRILL_FRONTEND_PM_MSC", "MasterCard"
7
- "SKRILL_FRONTEND_PM_VSD", "Visa Delta/Debit"
8
- "SKRILL_FRONTEND_PM_VSE", "Visa Electron"
9
- "SKRILL_FRONTEND_PM_MAE", "Maestro"
10
- "SKRILL_FRONTEND_PM_AMX", "American Express"
11
- "SKRILL_FRONTEND_PM_DIN", "Diners"
12
- "SKRILL_FRONTEND_PM_JCB", "JCB"
13
- "SKRILL_FRONTEND_PM_GCB", "Carte Bleue by Visa"
14
- "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
15
- "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
16
- "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
17
- "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
18
- "SKRILL_FRONTEND_PM_GIR", "Giropay"
19
- "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
20
- "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
21
- "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
22
- "SKRILL_FRONTEND_PM_IDL", "iDEAL"
23
- "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
24
- "SKRILL_FRONTEND_PM_PLI", "POLi"
25
- "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
26
- "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
27
- "SKRILL_FRONTEND_PM_GLU", "Trustly"
28
- "SKRILL_FRONTEND_PM_NTL", "Neteller"
29
- "SKRILL_FRONTEND_PM_ALI", "Alipay"
30
- "FRONTEND_PM_CC", "Credit Card"
31
- "FRONTEND_PM_DD", "Lastschrift (ELV)"
32
- "FRONTEND_PM_EPS", "eps"
33
- "FRONTEND_PM_GIROPAY", "giropay"
34
- "FRONTEND_PM_IDEAL", "iDeal"
35
- "FRONTEND_PM_PAYPAL", "PayPal"
36
- "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
37
- "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
38
- "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
39
- "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
40
- "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
41
- "FRONTEND_PM_PAYTRAIL", "Paytrail"
42
- "FRONTEND_PM_YANDEX", "Yandex"
43
-
44
- "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
45
- "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
46
- "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
47
- "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
48
- "SKRILL_BACKEND_PM_PSC", "Paysafecard"
49
- "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
50
- "SKRILL_BACKEND_PM_VSA", "Visa"
51
- "SKRILL_BACKEND_PM_MSC", "MasterCard"
52
- "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
53
- "SKRILL_BACKEND_PM_VSE", "Visa Electron"
54
- "SKRILL_BACKEND_PM_MAE", "Maestro"
55
- "SKRILL_BACKEND_PM_AMX", "American Express"
56
- "SKRILL_BACKEND_PM_DIN", "Diners"
57
- "SKRILL_BACKEND_PM_JCB", "JCB"
58
- "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
59
- "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
60
- "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
61
- "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
62
- "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
63
- "SKRILL_BACKEND_PM_GIR", "Giropay"
64
- "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
65
- "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
66
- "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
67
- "SKRILL_BACKEND_PM_IDL", "iDEAL"
68
- "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
69
- "SKRILL_BACKEND_PM_PLI", "POLi"
70
- "SKRILL_BACKEND_PM_PWY", "Przelewy24"
71
- "SKRILL_BACKEND_PM_EPY", "ePay.bg"
72
- "SKRILL_BACKEND_PM_GLU", "Trustly"
73
- "SKRILL_BACKEND_PM_NTL", "Neteller"
74
- "SKRILL_BACKEND_PM_ALI", "Alipay"
75
- "BACKEND_PM_CC", "Credit Card (Enterprise)"
76
- "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
77
- "BACKEND_PM_EPS", "eps (Enterprise)"
78
- "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
79
- "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
80
- "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
81
- "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
82
- "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
83
- "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
84
- "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
85
- "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
86
- "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
87
-
88
- "SKRILL_BACKEND_MID", "Merchant ID"
89
- "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
90
- "SKRILL_BACKEND_RECIPIENT", "Recipient"
91
- "SKRILL_BACKEND_LOGO", "Logo Url"
92
- "SKRILL_BACKEND_SHOPURL", "Shop Url"
93
- "SKRILL_BACKEND_APIPASS", "API Password"
94
- "SKRILL_BACKEND_SECRETWORD", "Secret word"
95
- "SKRILL_BACKEND_DISPLAY", "Display"
96
-
97
- "SKRILL_BACKEND_IFRAME", "IFrame"
98
- "SKRILL_BACKEND_REDIRECT", "Redirect"
99
-
100
- "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
101
- "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
102
-
103
- "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
104
- "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
105
- "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
106
- "SKRILL_BACKEND_TT_LOGO", "The URL of the logo which you would like to appear at the top right of the Skrill page. The logo must be accessible via HTTPS or it will not be shown. For best results use logos with dimensions up to 200px in width and 50px in height."
107
- "SKRILL_BACKEND_TT_APIPW", "When enabled, this feature allows you to issue refunds and check transaction statuses. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
108
- "SKRILL_BACKEND_TT_SECRET", "This feature is mandatory and ensures the integrity of the data posted back to your servers. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
109
- "SKRILL_BACKEND_TT_DISPLAY", "iFrame – when this option is enabled the Quick Checkout payment form is embedded on your website, Redirect – when this option is enabled the customer is redirected to the Quick Checkout payment form . This option is recommended for payment options which redirect the user to an external website."
110
- "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
111
- "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard, Amex, JCB and Diners will automatically be disabled as an option to show separately."
112
- "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
113
- "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
114
-
115
- "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
116
- "SKRILL_BACKEND_PM_MODE", "Show separately"
117
- "SKRILL_BACKEND_GATE", "Select Gateway"
118
- "BACKEND_CH_ACTIVE", "Enabled"
119
- "BACKEND_CH_SERVER", "Server"
120
- "BACKEND_CH_MODE", "Transaction-Mode"
121
- "BACKEND_CH_CARDS", "Cards types"
122
- "BACKEND_CH_CHANNEL","Channel ID"
123
- "BACKEND_CH_SENDER","Sender"
124
- "BACKEND_CH_LOGIN", "Login"
125
- "BACKEND_CH_PASSWORD", "Password"
126
- "BACKEND_CH_COUNTRIES", "Applicable Countries"
127
- "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
128
- "BACKEND_CH_ORDER", "Sort Order"
129
- "BACKEND_CH_AMOUNT","Amount for Registration"
130
-
131
- "ERROR_GENERAL_REDIRECT", "Error before redirect"
132
- "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
133
- "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
134
-
135
- "BACKEND_CH_MODE_TEST", "TEST"
136
- "BACKEND_CH_MODE_LIVE", "LIVE"
137
-
138
- "BACKEND_CH_MODEDEBIT", "Debit"
139
- "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
140
-
141
- "BACKEND_CC_AMEX", "American Express"
142
- "BACKEND_CC_VISA", "VISA"
143
- "BACKEND_CC_MASTER", "MasterCard"
144
- "BACKEND_CC_MAESTRO", "Maestro"
145
-
146
- "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
147
- "FRONTEND_CC_NUMBER", "Card number"
148
- "FRONTEND_CC_EXPIRY", "Expires Month / Year"
149
- "FRONTEND_CC_CVC", "CVC-Code"
150
- "FRONTEND_CC_HELP", "Help"
151
- "FRONTEND_BT_CANCEL", "Cancel"
152
- "FRONTEND_BT_CONFIRM", "Confirm"
153
- "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
154
- "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
155
- "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
156
- "FRONTEND_CC_HOLDER", "Card holder"
157
-
158
- "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
159
- "FRONTEND_DD_IBAN", "Account Number / IBAN"
160
- "FRONTEND_DD_BIC", "Bank Code / BIC"
161
- "FRONTEND_DD_BANK", "Bank"
162
-
163
- "SUCCESS_PAYMENT_ACC", "Payment Accepted"
164
- "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
165
-
166
- "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
167
- "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
168
- "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
169
- "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
170
- "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
171
- "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
172
- "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
173
- "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
174
- "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
175
- "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
176
- "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
177
- "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
178
- "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
179
- "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
180
- "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
181
- "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
182
- "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
183
- "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
184
- "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
185
- "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
186
- "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
187
- "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
188
- "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
189
- "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
190
- "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
191
- "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
192
- "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
193
-
194
- "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
195
- "SKRILL_BACKEND_ORDER_PM", "Used payment method"
196
- "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
197
-
198
- "BACKEND_TT_PROCESSED", "Processed"
199
- "BACKEND_TT_PENDING", "Pending"
200
- "BACKEND_TT_CANCELLED", "Cancelled"
201
- "BACKEND_TT_FAILED", "Failed"
202
- "BACKEND_TT_CHARGEBACK", "Chargeback"
203
- "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
204
-
205
- "BACKEND_TT_ACC", "Payment Accepted"
206
- "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
207
-
208
- "BACKEND_TT_CAPTURED", "Capture successfull"
209
- "BACKEND_TT_REFUNDED", "Refund successfull"
210
-
211
- "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
212
- "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
213
-
214
- "BACKEND_TT_BY_PAYON", "by Enterprise"
215
- "BACKEND_TT_BY_SKRILL", "by Skrill"
216
-
217
- "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
218
- "BACKEND_TT_UPDATE_ORDER", "Update Order"
219
-
220
- "Order was placed using %s", "Order was placed using %s"
221
-
222
- "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
223
- "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
224
- "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
225
- "ERROR_GENERAL_FRAUD_DETECTION", "Unfortunately, there was an error while processing your order. In case a payment has been made, it will be automatically refunded."
226
-
227
- "SKRILL_ERROR_01", "Referred by card issuer"
228
- "SKRILL_ERROR_02", "Invalid Merchant"
229
- "SKRILL_ERROR_03", "Stolen card"
230
- "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
231
- "SKRILL_ERROR_05", "Insufficient funds"
232
- "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
233
- "SKRILL_ERROR_09", "Invalid Transaction"
234
- "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
235
- "SKRILL_ERROR_12", "Invalid credit card or bank account"
236
- "SKRILL_ERROR_15", "Duplicate transaction"
237
- "SKRILL_ERROR_19", "Unknown failure reason. Try again"
238
- "SKRILL_ERROR_24", "Card expired"
239
- "SKRILL_ERROR_28", "Lost/Stolen card"
240
- "SKRILL_ERROR_32", "Card Security Code check failed"
241
- "SKRILL_ERROR_37", "Card restricted by card issuer"
242
- "SKRILL_ERROR_38", "Security violation"
243
- "SKRILL_ERROR_42", "Card blocked by card issuer"
244
- "SKRILL_ERROR_44", "Customer's issuing bank not available"
245
- "SKRILL_ERROR_51", "Processing system error"
246
- "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
247
- "SKRILL_ERROR_70", "Customer failed to complete 3DS"
248
- "SKRILL_ERROR_71", "Customer failed SMS verification"
249
- "SKRILL_ERROR_80", "Fraud engine declined"
250
- "SKRILL_ERROR_98", "Error in communication with provider"
251
- "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
252
- "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
253
- "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
254
-
255
- "FRONTEND_MESSAGE_YOUR_ORDER", "You order on"
256
- "FRONTEND_MESSAGE_INPROCESS", "is in the process."
257
- "FRONTEND_MESSAGE_PLEASE_BACK_AGAIN", "Please back again after a minutes and check your order histoy."
258
- "BACKEND_TT_REFUNDED_PENDING", "Refund Pending"
259
- "BACKEND_GENERAL_WAIT_REFUND_PENDING", "You can not refund at this moment because the refund status was pending before. Please try again when the refund status is not pending"
260
- "SUCCESS_GENERAL_REFUND_PAYMENT_PENDING", "Your attempt to refund the payment is pending."
261
- "ERROR_GENERAL_REFUND_PAYMENT", "Unfortunately, your attempt to refund the payment failed."
262
- "BACKEND_TT_AMOUNT", "Amount"
263
- "SUCCESS_GENERAL_UPDATE_PAYMENT", "The payment status has been successfully updated."
264
- "ERROR_UPDATE_BACKEND", "Order status can not be updated"
265
-
266
- "SKRILL_BACKEND_PM_ADB", "Direct Bank Transfer"
267
- "SKRILL_BACKEND_PM_AOB", "Manual Bank Transfer"
268
- "SKRILL_BACKEND_PM_ACI", "Cash/invoice"
269
- "SKRILL_BACKEND_PM_AUP", "Unionpay"
270
- "SKRILL_BACKEND_BT_STATUS", "Update Statu"
271
-
272
- "SKRILL_FRONTEND_PM_ADB", "Direct Bank Transfer"
273
- "SKRILL_FRONTEND_PM_AOB", "Manual Bank Transfer"
274
- "SKRILL_FRONTEND_PM_ACI", "Cash/invoice"
275
- "SKRILL_FRONTEND_PM_AUP", "Unionpay"
276
- "SKRILL_FRONTEND_SUPPORTED_BANK", "Supported Banks"
1
+ "SKRILL_FRONTEND_PM_FLEXIBLE", "Pay By Skrill"
2
+ "SKRILL_FRONTEND_PM_WLT", "Skrill Wallet"
3
+ "SKRILL_FRONTEND_PM_PSC", "Paysafecard"
4
+ "SKRILL_FRONTEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
5
+ "SKRILL_FRONTEND_PM_VSA", "Visa"
6
+ "SKRILL_FRONTEND_PM_MSC", "MasterCard"
7
+ "SKRILL_FRONTEND_PM_VSD", "Visa Delta/Debit"
8
+ "SKRILL_FRONTEND_PM_VSE", "Visa Electron"
9
+ "SKRILL_FRONTEND_PM_MAE", "Maestro"
10
+ "SKRILL_FRONTEND_PM_AMX", "American Express"
11
+ "SKRILL_FRONTEND_PM_DIN", "Diners"
12
+ "SKRILL_FRONTEND_PM_JCB", "JCB"
13
+ "SKRILL_FRONTEND_PM_GCB", "Carte Bleue by Visa"
14
+ "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
15
+ "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
16
+ "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
17
+ "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
18
+ "SKRILL_FRONTEND_PM_GIR", "Giropay"
19
+ "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
20
+ "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
21
+ "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
22
+ "SKRILL_FRONTEND_PM_IDL", "iDEAL"
23
+ "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
24
+ "SKRILL_FRONTEND_PM_PLI", "POLi"
25
+ "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
26
+ "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
27
+ "SKRILL_FRONTEND_PM_GLU", "Trustly"
28
+ "SKRILL_FRONTEND_PM_NTL", "Neteller"
29
+ "SKRILL_FRONTEND_PM_ALI", "Alipay"
30
+ "FRONTEND_PM_CC", "Credit Card"
31
+ "FRONTEND_PM_DD", "Lastschrift (ELV)"
32
+ "FRONTEND_PM_EPS", "eps"
33
+ "FRONTEND_PM_GIROPAY", "giropay"
34
+ "FRONTEND_PM_IDEAL", "iDeal"
35
+ "FRONTEND_PM_PAYPAL", "PayPal"
36
+ "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
37
+ "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
38
+ "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
39
+ "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
40
+ "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
41
+ "FRONTEND_PM_PAYTRAIL", "Paytrail"
42
+ "FRONTEND_PM_YANDEX", "Yandex"
43
+
44
+ "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
45
+ "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
46
+ "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
47
+ "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
48
+ "SKRILL_BACKEND_PM_PSC", "Paysafecard"
49
+ "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX, Diners, JCB"
50
+ "SKRILL_BACKEND_PM_VSA", "Visa"
51
+ "SKRILL_BACKEND_PM_MSC", "MasterCard"
52
+ "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
53
+ "SKRILL_BACKEND_PM_VSE", "Visa Electron"
54
+ "SKRILL_BACKEND_PM_MAE", "Maestro"
55
+ "SKRILL_BACKEND_PM_AMX", "American Express"
56
+ "SKRILL_BACKEND_PM_DIN", "Diners"
57
+ "SKRILL_BACKEND_PM_JCB", "JCB"
58
+ "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
59
+ "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
60
+ "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
61
+ "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
62
+ "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
63
+ "SKRILL_BACKEND_PM_GIR", "Giropay"
64
+ "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
65
+ "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
66
+ "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
67
+ "SKRILL_BACKEND_PM_IDL", "iDEAL"
68
+ "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
69
+ "SKRILL_BACKEND_PM_PLI", "POLi"
70
+ "SKRILL_BACKEND_PM_PWY", "Przelewy24"
71
+ "SKRILL_BACKEND_PM_EPY", "ePay.bg"
72
+ "SKRILL_BACKEND_PM_GLU", "Trustly"
73
+ "SKRILL_BACKEND_PM_NTL", "Neteller"
74
+ "SKRILL_BACKEND_PM_ALI", "Alipay"
75
+ "BACKEND_PM_CC", "Credit Card (Enterprise)"
76
+ "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
77
+ "BACKEND_PM_EPS", "eps (Enterprise)"
78
+ "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
79
+ "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
80
+ "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
81
+ "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
82
+ "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
83
+ "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
84
+ "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
85
+ "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
86
+ "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
87
+
88
+ "SKRILL_BACKEND_MID", "Merchant ID"
89
+ "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
90
+ "SKRILL_BACKEND_RECIPIENT", "Recipient"
91
+ "SKRILL_BACKEND_LOGO", "Logo Url"
92
+ "SKRILL_BACKEND_SHOPURL", "Shop Url"
93
+ "SKRILL_BACKEND_APIPASS", "API Password"
94
+ "SKRILL_BACKEND_SECRETWORD", "Secret word"
95
+ "SKRILL_BACKEND_DISPLAY", "Display"
96
+
97
+ "SKRILL_BACKEND_IFRAME", "IFrame"
98
+ "SKRILL_BACKEND_REDIRECT", "Redirect"
99
+
100
+ "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
101
+ "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
102
+
103
+ "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
104
+ "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
105
+ "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
106
+ "SKRILL_BACKEND_TT_LOGO", "The URL of the logo which you would like to appear at the top right of the Skrill page. The logo must be accessible via HTTPS or it will not be shown. For best results use logos with dimensions up to 200px in width and 50px in height."
107
+ "SKRILL_BACKEND_TT_APIPW", "When enabled, this feature allows you to issue refunds and check transaction statuses. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
108
+ "SKRILL_BACKEND_TT_SECRET", "This feature is mandatory and ensures the integrity of the data posted back to your servers. To set it up, you need to login to your Skrill account and go to Settings -> then, Developer Settings."
109
+ "SKRILL_BACKEND_TT_DISPLAY", "iFrame – when this option is enabled the Quick Checkout payment form is embedded on your website, Redirect – when this option is enabled the customer is redirected to the Quick Checkout payment form . This option is recommended for payment options which redirect the user to an external website."
110
+ "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
111
+ "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard, Amex, JCB and Diners will automatically be disabled as an option to show separately."
112
+ "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
113
+ "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
114
+
115
+ "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
116
+ "SKRILL_BACKEND_PM_MODE", "Show separately"
117
+ "SKRILL_BACKEND_GATE", "Select Gateway"
118
+ "BACKEND_CH_ACTIVE", "Enabled"
119
+ "BACKEND_CH_SERVER", "Server"
120
+ "BACKEND_CH_MODE", "Transaction-Mode"
121
+ "BACKEND_CH_CARDS", "Cards types"
122
+ "BACKEND_CH_CHANNEL","Channel ID"
123
+ "BACKEND_CH_SENDER","Sender"
124
+ "BACKEND_CH_LOGIN", "Login"
125
+ "BACKEND_CH_PASSWORD", "Password"
126
+ "BACKEND_CH_COUNTRIES", "Applicable Countries"
127
+ "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
128
+ "BACKEND_CH_ORDER", "Sort Order"
129
+ "BACKEND_CH_AMOUNT","Amount for Registration"
130
+
131
+ "ERROR_GENERAL_REDIRECT", "Error before redirect"
132
+ "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
133
+ "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
134
+
135
+ "BACKEND_CH_MODE_TEST", "TEST"
136
+ "BACKEND_CH_MODE_LIVE", "LIVE"
137
+
138
+ "BACKEND_CH_MODEDEBIT", "Debit"
139
+ "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
140
+
141
+ "BACKEND_CC_AMEX", "American Express"
142
+ "BACKEND_CC_VISA", "VISA"
143
+ "BACKEND_CC_MASTER", "MasterCard"
144
+ "BACKEND_CC_MAESTRO", "Maestro"
145
+
146
+ "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
147
+ "FRONTEND_CC_NUMBER", "Card number"
148
+ "FRONTEND_CC_EXPIRY", "Expires Month / Year"
149
+ "FRONTEND_CC_CVC", "CVC-Code"
150
+ "FRONTEND_CC_HELP", "Help"
151
+ "FRONTEND_BT_CANCEL", "Cancel"
152
+ "FRONTEND_BT_CONFIRM", "Confirm"
153
+ "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
154
+ "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
155
+ "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
156
+ "FRONTEND_CC_HOLDER", "Card holder"
157
+
158
+ "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
159
+ "FRONTEND_DD_IBAN", "Account Number / IBAN"
160
+ "FRONTEND_DD_BIC", "Bank Code / BIC"
161
+ "FRONTEND_DD_BANK", "Bank"
162
+
163
+ "SUCCESS_PAYMENT_ACC", "Payment Accepted"
164
+ "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
165
+
166
+ "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
167
+ "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
168
+ "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
169
+ "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
170
+ "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
171
+ "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
172
+ "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
173
+ "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
174
+ "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
175
+ "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
176
+ "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
177
+ "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
178
+ "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
179
+ "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
180
+ "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
181
+ "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
182
+ "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
183
+ "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
184
+ "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
185
+ "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
186
+ "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
187
+ "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
188
+ "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
189
+ "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
190
+ "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
191
+ "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
192
+ "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
193
+
194
+ "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
195
+ "SKRILL_BACKEND_ORDER_PM", "Used payment method"
196
+ "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
197
+
198
+ "BACKEND_TT_PROCESSED", "Processed"
199
+ "BACKEND_TT_PENDING", "Pending"
200
+ "BACKEND_TT_CANCELLED", "Cancelled"
201
+ "BACKEND_TT_FAILED", "Failed"
202
+ "BACKEND_TT_CHARGEBACK", "Chargeback"
203
+ "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
204
+
205
+ "BACKEND_TT_ACC", "Payment Accepted"
206
+ "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
207
+
208
+ "BACKEND_TT_CAPTURED", "Capture successfull"
209
+ "BACKEND_TT_REFUNDED", "Refund successfull"
210
+
211
+ "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
212
+ "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
213
+
214
+ "BACKEND_TT_BY_PAYON", "by Enterprise"
215
+ "BACKEND_TT_BY_SKRILL", "by Skrill"
216
+
217
+ "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
218
+ "BACKEND_TT_UPDATE_ORDER", "Update Order"
219
+
220
+ "Order was