Skrill_Hosted_Payment_Solution - Version 1.0.24

Version Notes

no additional notes included

Download this release

Release Info

Developer Esphere Dev Team
Extension Skrill_Hosted_Payment_Solution
Version 1.0.24
Comparing to
See all releases


Code changes from version 1.0.22 to 1.0.24

Files changed (123) 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/Curl.php +107 -0
  49. app/code/community/Skrill/Helper/Data.php +1405 -1490
  50. app/code/community/Skrill/Helper/VersionTracker.php +53 -77
  51. app/code/community/Skrill/Model/Method/Abstract.php +473 -483
  52. app/code/community/Skrill/Model/Method/Acc.php +51 -51
  53. app/code/community/Skrill/Model/Method/Ali.php +51 -51
  54. app/code/community/Skrill/Model/Method/Amx.php +51 -51
  55. app/code/community/Skrill/Model/Method/Creditcard.php +55 -55
  56. app/code/community/Skrill/Model/Method/Csi.php +51 -51
  57. app/code/community/Skrill/Model/Method/Did.php +55 -55
  58. app/code/community/Skrill/Model/Method/Din.php +49 -51
  59. app/code/community/Skrill/Model/Method/Directdebit.php +46 -46
  60. app/code/community/Skrill/Model/Method/Dnk.php +51 -51
  61. app/code/community/Skrill/Model/Method/Ebt.php +51 -51
  62. app/code/community/Skrill/Model/Method/Eps.php +58 -58
  63. app/code/community/Skrill/Model/Method/Epy.php +51 -51
  64. app/code/community/Skrill/Model/Method/Flexible.php +51 -51
  65. app/code/community/Skrill/Model/Method/Gcb.php +51 -51
  66. app/code/community/Skrill/Model/Method/Gir.php +54 -54
  67. app/code/community/Skrill/Model/Method/Giropay.php +58 -58
  68. app/code/community/Skrill/Model/Method/Glu.php +51 -51
  69. app/code/community/Skrill/Model/Method/Ideal.php +58 -58
  70. app/code/community/Skrill/Model/Method/Idl.php +55 -55
  71. app/code/community/Skrill/Model/Method/Jcb.php +49 -51
  72. app/code/community/Skrill/Model/Method/Mae.php +51 -51
  73. app/code/community/Skrill/Model/Method/Msc.php +51 -51
  74. app/code/community/Skrill/Model/Method/Npy.php +55 -55
  75. app/code/community/Skrill/Model/Method/Ntl.php +51 -51
  76. app/code/community/Skrill/Model/Method/Obt.php +51 -51
  77. app/code/community/Skrill/Model/Method/Payolutionins.php +58 -58
  78. app/code/community/Skrill/Model/Method/Payolutioninv.php +58 -58
  79. app/code/community/Skrill/Model/Method/Paypal.php +64 -64
  80. app/code/community/Skrill/Model/Method/Paysafecard.php +58 -58
  81. app/code/community/Skrill/Model/Method/Paytrail.php +58 -58
  82. app/code/community/Skrill/Model/Method/Pli.php +51 -51
  83. app/code/community/Skrill/Model/Method/Psc.php +51 -51
  84. app/code/community/Skrill/Model/Method/Psp.php +51 -51
  85. app/code/community/Skrill/Model/Method/Pwy.php +51 -51
  86. app/code/community/Skrill/Model/Method/Sft.php +55 -55
  87. app/code/community/Skrill/Model/Method/Skrill.php +447 -427
  88. app/code/community/Skrill/Model/Method/Sofortuberweisung.php +71 -71
  89. app/code/community/Skrill/Model/Method/Vsa.php +51 -51
  90. app/code/community/Skrill/Model/Method/Vse.php +51 -51
  91. app/code/community/Skrill/Model/Method/Wlt.php +51 -51
  92. app/code/community/Skrill/Model/Method/Yandex.php +58 -58
  93. app/code/community/Skrill/Model/Source/Card.php +53 -53
  94. app/code/community/Skrill/Model/Source/Display.php +46 -46
  95. app/code/community/Skrill/Model/Source/Gateway.php +46 -46
  96. app/code/community/Skrill/Model/Source/Mode.php +46 -46
  97. app/code/community/Skrill/Model/Source/Transaction.php +45 -45
  98. app/code/community/Skrill/Model/Success/Observer.php +38 -38
  99. app/code/community/Skrill/controllers/PaymentController.php +351 -255
  100. app/code/community/Skrill/controllers/ResponseController.php +258 -267
  101. app/code/community/Skrill/controllers/UpdateorderController.php +48 -30
  102. app/code/community/Skrill/etc/adminhtml.xml +48 -48
  103. app/code/community/Skrill/etc/config.xml +662 -642
  104. app/code/community/Skrill/etc/system.xml +2686 -2589
  105. app/code/community/Skrill/sql/skrill_setup/mysql4-install-1.0.0.php +44 -44
  106. app/code/community/Skrill/sql/skrill_setup/mysql4-upgrade-1.0.16-1.0.17.php +6 -6
  107. app/code/community/Skrill/sql/skrill_setup/mysql4-upgrade-1.0.22-1.0.23.php +6 -0
  108. app/design/adminhtml/default/Skrill/template/system/config/edit.phtml +368 -368
  109. app/design/adminhtml/default/default/template/skrill/payoninfo.phtml +37 -37
  110. app/design/adminhtml/default/default/template/skrill/skrillinfo.phtml +48 -48
  111. app/design/frontend/base/default/template/checkout/onepage/payment/skrill/methods.phtml +73 -73
  112. app/design/frontend/base/default/template/skrill/payment/formcc.phtml +66 -66
  113. app/design/frontend/base/default/template/skrill/payment/formcp.phtml +64 -64
  114. app/design/frontend/base/default/template/skrill/payment/formdd.phtml +57 -57
  115. app/design/frontend/base/default/template/skrill/payment/qcheckout.phtml +23 -23
  116. app/design/frontend/base/default/template/skrill/payoninfo.phtml +21 -21
  117. app/design/frontend/base/default/template/skrill/skrillinfo.phtml +21 -21
  118. app/design/frontend/rwd/default/layout/skrill_checkout.xml +58 -58
  119. app/design/frontend/rwd/default/template/checkout/cart/minicart/skrill/default.phtml +189 -189
  120. app/etc/modules/Skrill.xml +31 -31
  121. app/locale/af_ZA/Skrill.csv +264 -249
  122. app/locale/ar_DZ/Skrill.csv +264 -249
  123. app/locale/ar_EG/Skrill.csv +175 -249
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 = "https://www.skrill.com/fileadmin/content/images/brand_centre/Payment_Options/multiple-options.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_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/acceptance_mark.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/Curl.php ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * 2015 Skrill
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.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@prestashop.com so we can send you a copy immediately.
14
+ *
15
+ * @author Skrill <contact@skrill.com>
16
+ * @copyright 2015 Skrill
17
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
18
+ * International Registered Trademark & Property of Skrill
19
+ */
20
+
21
+ /**
22
+ * Skrill Curl helper
23
+ *
24
+ */
25
+ class Skrill_Helper_Curl extends Mage_Core_Helper_Abstract
26
+ {
27
+ /**
28
+ * @var Varien_Http_Adapter_Curl
29
+ */
30
+ protected $http;
31
+
32
+ /**
33
+ * Constructor. Set http.
34
+ */
35
+ public function __construct()
36
+ {
37
+ $this->http = new Varien_Http_Adapter_Curl();
38
+ }
39
+
40
+ /**
41
+ * get response body from http
42
+ *
43
+ * @param boolean $isJsonDecoded
44
+ * @return string|boolean|array
45
+ */
46
+ protected function _getResponse($isJsonDecoded = false)
47
+ {
48
+ $response = $this->http->read();
49
+ $responseCode = Zend_Http_Response::extractCode($response);
50
+ $responseBody = Zend_Http_Response::extractBody($response);
51
+ $this->http->close();
52
+
53
+ if ($responseCode == 200 || $responseCode == 202 || $responseCode == 400) {
54
+ if ($isJsonDecoded) {
55
+ return json_decode($responseBody, true);
56
+ }
57
+ return $responseBody;
58
+ }
59
+ return false;
60
+ }
61
+
62
+ /**
63
+ * get response data from the gateway
64
+ *
65
+ * @param string $data
66
+ * @param string $url
67
+ * @return array|boolean
68
+ */
69
+ public function getResponseData($data, $url)
70
+ {
71
+ $this->http->setConfig(['verifypeer' => false]);
72
+ $this->http->write(Zend_Http_Client::POST, $url, $http_ver = '1.1', $headers = [], $data);
73
+
74
+ return $this->_getResponse();
75
+ }
76
+
77
+ /**
78
+ * get response from the gateway
79
+ *
80
+ * @param string $url
81
+ * @return array|boolean
82
+ */
83
+ public function getResponse($url, $isJsonDecoded = false)
84
+ {
85
+ $this->http->setConfig(['verifypeer' => false]);
86
+ $this->http->write(Zend_Http_Client::GET, $url);
87
+
88
+ return $this->_getResponse($isJsonDecoded);
89
+ }
90
+
91
+ /**
92
+ * send request to the gateway
93
+ *
94
+ * @param string $url
95
+ * @param string $request
96
+ * @param boolean $isJsonDecoded
97
+ * @return string|boolean
98
+ */
99
+ public function sendRequest($url, $request, $isJsonDecoded = false)
100
+ {
101
+ $this->http->setConfig(['verifypeer' => false]);
102
+ $headers = ['Content-type: application/x-www-form-urlencoded;charset=UTF-8'];
103
+ $this->http->write(Zend_Http_Client::POST, $url, $http_ver = '1.1', $headers, $request);
104
+
105
+ return $this->_getResponse($isJsonDecoded);
106
+ }
107
+ }
app/code/community/Skrill/Helper/Data.php CHANGED
@@ -1,1490 +1,1405 @@
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
- public function getErrorIdentifier($code)
42
- {
43
- $error_messages = array(
44
- "40.10" => "ERROR_CC_DECLINED_CARD",
45
- "40.15" => "",
46
- "40.20" => "",
47
- "59.94" => "",
48
- "60.95" => "ERROR_CC_DECLINED_CARD",
49
- "60.70" => "ERROR_GENERAL_CANCEL",
50
- "60.71" => "",
51
- "60.40" => "ERROR_GENERAL_GENERAL",
52
- "60.80" => "",
53
- "60.90" => "ERROR_GENERAL_CANCEL",
54
- "64.78" => "",
55
- "65.78" => "ERROR_CC_DECLINED_CARD",
56
- "65.60" => "",
57
- "65.61" => "ERROR_CC_3DERROR",
58
- "65.75" => "",
59
- "65.77" => "",
60
- "65.79" => "",
61
- "65.80" => "ERROR_GENERAL_DECLINED_RISK",
62
- "65.85" => "ERROR_CC_3DERROR",
63
- "65.50" => "ERROR_GENERAL_BLACKLIST",
64
- "65.30" => "",
65
- "65.31" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
66
- "65.38" => "",
67
- "65.32" => "",
68
- "65.33" => "",
69
- "65.36" => "ERROR_CC_ACCOUNT",
70
- "65.35" => "ERROR_GENERAL_LIMIT_AMOUNT",
71
- "65.37" => "ERROR_CC_ADDRESS",
72
- "70.10" => "",
73
- "70.64" => "ERROR_SEPA_MANDATE",
74
- "70.70" => "",
75
- "70.30" => "",
76
- "70.20" => "ERROR_CC_3DAUTH",
77
- "70.60" => "",
78
- "70.61" => "",
79
- "70.40" => "ERROR_CC_INVALIDDATA",
80
- "70.35" => "",
81
- "70.80" => "",
82
- "70.21" => "ERROR_GENERAL_BLACKLIST",
83
-
84
- "800.150.100" => "ERROR_CC_ACCOUNT",
85
-
86
- "800.100.402" => "ERROR_CC_INVALIDDATA",
87
- "100.100.101" => "ERROR_CC_INVALIDDATA",
88
- "800.100.151" => "ERROR_CC_INVALIDDATA",
89
- "000.400.108" => "ERROR_CC_INVALIDDATA",
90
- "100.100.100" => "ERROR_CC_INVALIDDATA",
91
- "100.100.200" => "ERROR_CC_INVALIDDATA",
92
- "100.100.201" => "ERROR_CC_INVALIDDATA",
93
- "100.100.300" => "ERROR_CC_INVALIDDATA",
94
- "100.100.301" => "ERROR_CC_INVALIDDATA",
95
- "100.100.304" => "ERROR_CC_INVALIDDATA",
96
- "100.100.400" => "ERROR_CC_INVALIDDATA",
97
- "100.100.401" => "ERROR_CC_INVALIDDATA",
98
- "100.100.402" => "ERROR_CC_INVALIDDATA",
99
- "100.100.651" => "ERROR_CC_INVALIDDATA",
100
- "100.100.700" => "ERROR_CC_INVALIDDATA",
101
- "100.200.100" => "ERROR_CC_INVALIDDATA",
102
- "100.200.103" => "ERROR_CC_INVALIDDATA",
103
- "100.200.104" => "ERROR_CC_INVALIDDATA",
104
- "100.400.000" => "ERROR_CC_INVALIDDATA",
105
- "100.400.001" => "ERROR_CC_INVALIDDATA",
106
- "100.400.086" => "ERROR_CC_INVALIDDATA",
107
- "100.400.087" => "ERROR_CC_INVALIDDATA",
108
- "100.400.002" => "ERROR_CC_INVALIDDATA",
109
- "100.400.316" => "ERROR_CC_INVALIDDATA",
110
- "100.400.317" => "ERROR_CC_INVALIDDATA",
111
- "800.100.402" => "ERROR_CC_INVALIDDATA",
112
-
113
- "800.300.401" => "ERROR_CC_BLACKLIST",
114
-
115
- "800.100.171" => "ERROR_CC_DECLINED_CARD",
116
- "800.100.165" => "ERROR_CC_DECLINED_CARD",
117
- "800.100.159" => "ERROR_CC_DECLINED_CARD",
118
- "800.100.195" => "ERROR_CC_DECLINED_CARD",
119
- "000.400.101" => "ERROR_CC_DECLINED_CARD",
120
- "100.100.501" => "ERROR_CC_DECLINED_CARD",
121
- "100.100.701" => "ERROR_CC_DECLINED_CARD",
122
- "100.400.005" => "ERROR_CC_DECLINED_CARD",
123
- "100.400.020" => "ERROR_CC_DECLINED_CARD",
124
- "100.400.021" => "ERROR_CC_DECLINED_CARD",
125
- "100.400.030" => "ERROR_CC_DECLINED_CARD",
126
- "100.400.039" => "ERROR_CC_DECLINED_CARD",
127
- "100.400.081" => "ERROR_CC_DECLINED_CARD",
128
- "100.400.100" => "ERROR_CC_DECLINED_CARD",
129
- "100.400.123" => "ERROR_CC_DECLINED_CARD",
130
- "100.400.319" => "ERROR_CC_DECLINED_CARD",
131
- "800.100.154" => "ERROR_CC_DECLINED_CARD",
132
- "800.100.156" => "ERROR_CC_DECLINED_CARD",
133
- "800.100.158" => "ERROR_CC_DECLINED_CARD",
134
- "800.100.160" => "ERROR_CC_DECLINED_CARD",
135
- "800.100.161" => "ERROR_CC_DECLINED_CARD",
136
- "800.100.163" => "ERROR_CC_DECLINED_CARD",
137
- "800.100.164" => "ERROR_CC_DECLINED_CARD",
138
- "800.100.166" => "ERROR_CC_DECLINED_CARD",
139
- "800.100.167" => "ERROR_CC_DECLINED_CARD",
140
- "800.100.169" => "ERROR_CC_DECLINED_CARD",
141
- "800.100.170" => "ERROR_CC_DECLINED_CARD",
142
- "800.100.173" => "ERROR_CC_DECLINED_CARD",
143
- "800.100.174" => "ERROR_CC_DECLINED_CARD",
144
- "800.100.175" => "ERROR_CC_DECLINED_CARD",
145
- "800.100.176" => "ERROR_CC_DECLINED_CARD",
146
- "800.100.177" => "ERROR_CC_DECLINED_CARD",
147
- "800.100.190" => "ERROR_CC_DECLINED_CARD",
148
- "800.100.191" => "ERROR_CC_DECLINED_CARD",
149
- "800.100.196" => "ERROR_CC_DECLINED_CARD",
150
- "800.100.197" => "ERROR_CC_DECLINED_CARD",
151
- "800.100.168" => "ERROR_CC_DECLINED_CARD",
152
-
153
- "100.100.303" => "ERROR_CC_EXPIRED",
154
-
155
- "800.100.153" => "ERROR_CC_INVALIDCVV",
156
- "100.100.601" => "ERROR_CC_INVALIDCVV",
157
- "100.100.600" => "ERROR_CC_INVALIDCVV",
158
- "800.100.192" => "ERROR_CC_INVALIDCVV",
159
-
160
- "800.100.157" => "ERROR_CC_EXPIRY",
161
-
162
- "800.100.162" => "ERROR_CC_LIMIT_EXCEED",
163
-
164
- "100.400.040" => "ERROR_CC_3DAUTH",
165
- "100.400.060" => "ERROR_CC_3DAUTH",
166
- "100.400.080" => "ERROR_CC_3DAUTH",
167
- "100.400.120" => "ERROR_CC_3DAUTH",
168
- "100.400.260" => "ERROR_CC_3DAUTH",
169
- "800.900.300" => "ERROR_CC_3DAUTH",
170
- "800.900.301" => "ERROR_CC_3DAUTH",
171
- "800.900.302" => "ERROR_CC_3DAUTH",
172
- "100.380.401" => "ERROR_CC_3DAUTH",
173
-
174
- "100.390.105" => "ERROR_CC_3DERROR",
175
- "000.400.103" => "ERROR_CC_3DERROR",
176
- "000.400.104" => "ERROR_CC_3DERROR",
177
- "100.390.106" => "ERROR_CC_3DERROR",
178
- "100.390.107" => "ERROR_CC_3DERROR",
179
- "100.390.108" => "ERROR_CC_3DERROR",
180
- "100.390.109" => "ERROR_CC_3DERROR",
181
- "100.390.111" => "ERROR_CC_3DERROR",
182
- "800.400.200" => "ERROR_CC_3DERROR",
183
- "100.390.112" => "ERROR_CC_3DERROR",
184
-
185
- "100.100.500" => "ERROR_CC_NOBRAND",
186
-
187
- "800.100.155" => "ERROR_GENERAL_LIMIT_AMOUNT",
188
- "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
189
- "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
190
- "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
191
-
192
- "800.120.101" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
193
- "800.120.100" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
194
- "800.120.102" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
195
- "800.120.103" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
196
- "800.120.200" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
197
- "800.120.201" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
198
- "800.120.202" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
199
- "800.120.203" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
200
-
201
- "800.100.152" => "ERROR_CC_DECLINED_AUTH",
202
-
203
- "100.380.501" => "ERROR_GENERAL_DECLINED_RISK",
204
-
205
- "800.400.151" => "ERROR_CC_ADDRESS",
206
- "800.400.150" => "ERROR_CC_ADDRESS",
207
-
208
- "100.400.300" => "ERROR_GENERAL_CANCEL",
209
- "100.396.101" => "ERROR_GENERAL_CANCEL",
210
- "900.300.600" => "ERROR_GENERAL_CANCEL",
211
-
212
- "800.100.501" => "ERROR_CC_RECURRING",
213
- "800.100.500" => "ERROR_CC_RECURRING",
214
-
215
- "800.100.178" => "ERROR_CC_REPEATED",
216
- "800.300.500" => "ERROR_CC_REPEATED",
217
- "800.300.501" => "ERROR_CC_REPEATED",
218
-
219
- "800.700.101" => "ERROR_GENERAL_ADDRESS",
220
- "800.700.201" => "ERROR_GENERAL_ADDRESS",
221
- "800.700.500" => "ERROR_GENERAL_ADDRESS",
222
- "800.800.102" => "ERROR_GENERAL_ADDRESS",
223
- "800.800.202" => "ERROR_GENERAL_ADDRESS",
224
- "800.800.302" => "ERROR_GENERAL_ADDRESS",
225
- "800.900.101" => "ERROR_GENERAL_ADDRESS",
226
- "800.900.200" => "ERROR_GENERAL_ADDRESS",
227
- "800.100.198" => "ERROR_GENERAL_ADDRESS",
228
- "800.700.101" => "ERROR_GENERAL_ADDRESS",
229
-
230
- "100.400.121" => "ERROR_GENERAL_BLACKLIST",
231
- "800.100.172" => "ERROR_GENERAL_BLACKLIST",
232
- "800.200.159" => "ERROR_GENERAL_BLACKLIST",
233
- "800.200.160" => "ERROR_GENERAL_BLACKLIST",
234
- "800.200.165" => "ERROR_GENERAL_BLACKLIST",
235
- "800.200.202" => "ERROR_GENERAL_BLACKLIST",
236
- "800.200.208" => "ERROR_GENERAL_BLACKLIST",
237
- "800.200.220" => "ERROR_GENERAL_BLACKLIST",
238
- "800.300.101" => "ERROR_GENERAL_BLACKLIST",
239
- "800.300.102" => "ERROR_GENERAL_BLACKLIST",
240
- "800.300.200" => "ERROR_GENERAL_BLACKLIST",
241
- "800.300.301" => "ERROR_GENERAL_BLACKLIST",
242
- "800.300.302" => "ERROR_GENERAL_BLACKLIST",
243
-
244
- "800.500.100" => "ERROR_GENERAL_GENERAL",
245
- "800.700.100" => "ERROR_GENERAL_GENERAL",
246
-
247
- "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
248
- "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
249
- "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
250
-
251
- "000.400.107" => "ERROR_GENERAL_TIMEOUT",
252
- "100.395.502" => "ERROR_GENERAL_TIMEOUT",
253
-
254
- "100.395.101" => "ERROR_GIRO_NOSUPPORT",
255
- "100.395.102" => "ERROR_GIRO_NOSUPPORT",
256
-
257
- "100.200.200" => "ERROR_SEPA_MANDATE",
258
- "000.100.204" => "ERROR_SEPA_MANDATE",
259
- "000.100.205" => "ERROR_SEPA_MANDATE"
260
- );
261
- if ($code)
262
- return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'ERROR_UNKNOWN';
263
- else
264
- return 'ERROR_UNKNOWN';
265
- }
266
-
267
- public function getJsUrl($server, $lang){
268
- if ($server=="LIVE")
269
- return $this->jsUrlLive . $lang;
270
- else
271
- return $this->jsUrlTest . $lang;
272
- }
273
-
274
- public function getTokenUrl($server)
275
- {
276
- if ($server=="LIVE")
277
- return $this->tokenUrlLive;
278
- else
279
- return $this->tokenUrlTest;
280
- }
281
-
282
- public function getPostParameter($dataCust,$dataTransaction)
283
- {
284
- $data = "SECURITY.SENDER=" . $dataTransaction['sender'] .
285
- "&TRANSACTION.CHANNEL=" . $dataTransaction['channel_id'] .
286
- "&USER.LOGIN=" . $dataTransaction['login'] .
287
- "&USER.PWD=" . $dataTransaction['password'] .
288
- "&TRANSACTION.MODE=" . $dataTransaction['tx_mode'] .
289
- "&IDENTIFICATION.TRANSACTIONID=" . $dataTransaction['transId'].
290
- "&PAYMENT.TYPE=" . $dataTransaction['payment_type'] .
291
- "&PRESENTATION.AMOUNT=" . $dataCust['amount'] .
292
- "&PRESENTATION.CURRENCY=" . $dataCust['currency'] .
293
- "&ADDRESS.STREET=" . $dataCust['street'] .
294
- "&ADDRESS.ZIP=" . $dataCust['zip'] .
295
- "&ADDRESS.CITY=" . $dataCust['city'] .
296
- "&ADDRESS.COUNTRY=" . $dataCust['country_code'] .
297
- "&CONTACT.EMAIL=" . $dataCust['email'] .
298
- "&NAME.GIVEN=" . $dataCust['first_name'] .
299
- "&NAME.FAMILY=" . $dataCust['last_name'];
300
-
301
- return $data;
302
- }
303
-
304
- public function getToken($postData,$url)
305
- {
306
- $params = array('http' => array(
307
- 'method' => 'POST',
308
- 'header' => "Content-Type: application/x-www-form-urlencoded",
309
- 'content' => $postData
310
- ));
311
- $ctx = stream_context_create($params);
312
- $fp = @fopen($url, 'rb', false, $ctx);
313
- if (!$fp) {
314
- throw new Exception("Problem with $url, $php_errormsg");
315
- }
316
- $response = @stream_get_contents($fp);
317
- if ($response === false) {
318
- throw new Exception("Problem reading data from $url, $php_errormsg");
319
- }
320
-
321
- $obj=json_decode($response);
322
- return $obj->{'transaction'}->{'token'};
323
- }
324
-
325
- public function getExecuteUrl($server)
326
- {
327
- if ($server=="LIVE")
328
- return $this->executeUrlLive;
329
- else
330
- return $this->executeUrlTest;
331
- }
332
-
333
- public function getPostExecutePayment($dataTransaction)
334
- {
335
- $data = "IDENTIFICATION.REFERENCEID=". $dataTransaction['refId'] ."&" .
336
- "PAYMENT.METHOD=". $dataTransaction['payment_method'] ."&" .
337
- "PAYMENT.TYPE=". $dataTransaction['payment_type'] ."&" .
338
- "PRESENTATION.AMOUNT=". $dataTransaction['amount'] ."&" .
339
- "PRESENTATION.CURRENCY=". $dataTransaction['currency'] ."&" .
340
- "SECURITY.SENDER=". $dataTransaction['sender'] ."&" .
341
- "TRANSACTION.CHANNEL=". $dataTransaction['channel_id'] ."&" .
342
- "TRANSACTION.MODE=" . $dataTransaction['tx_mode'] ."&" .
343
- "USER.LOGIN=". $dataTransaction['login'] ."&" .
344
- "USER.PWD=". $dataTransaction['password'];
345
-
346
- return $data;
347
- }
348
-
349
- public function executePayment($postData, $url)
350
- {
351
- $params = array('http' => array(
352
- 'method' => 'POST',
353
- 'header' => "Content-Type: application/x-www-form-urlencoded",
354
- 'content' => $postData
355
- ));
356
-
357
- $ctx = stream_context_create($params);
358
- $fp = @fopen($url, 'rb', false, $ctx);
359
- if (!$fp) {
360
- throw new Exception("Problem with $url, $php_errormsg");
361
- }
362
- $response = @stream_get_contents($fp);
363
- if ($response === false) {
364
- throw new Exception("Problem reading data from $url, $php_errormsg");
365
- }
366
- return $response;
367
- }
368
-
369
- public function buildResponseArray($response)
370
- {
371
- $result = array();
372
- $entries = explode("&", $response);
373
- foreach ($entries as $entry) {
374
- $pair = explode("=", $entry);
375
- $result[$pair[0]] = urldecode($pair[1]);
376
- }
377
- return $result;
378
- }
379
-
380
- public function getStatusUrl($server, $token){
381
- if ($server=="LIVE")
382
- return $this->statusUrlLive . $token;
383
- else
384
- return $this->statusUrlTest . $token;
385
- }
386
-
387
- public function checkStatusPayment($url)
388
- {
389
- $ch = curl_init();
390
- curl_setopt($ch, CURLOPT_URL, $url);
391
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
392
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
393
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
394
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
395
- $resultPayment = curl_exec($ch);
396
- if(curl_errno($ch))
397
- {
398
- throw new Exception("Curl error: ". curl_error($ch));
399
- }
400
- curl_close($ch);
401
- $resultJson = json_decode($resultPayment, true);
402
-
403
- return $resultJson;
404
- }
405
-
406
- public function getPayonTrnStatus($code, $payment_type, $separator_type)
407
- {
408
- switch ($payment_type) {
409
- case 'PA':
410
- if ($code == 'ACK')
411
- $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH');
412
- else
413
- $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH_FAILED');
414
- break;
415
- case 'CP':
416
- if ($code == 'ACK')
417
- $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED');
418
- else
419
- if ($separator_type != 'info')
420
- $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED_FAILED');
421
- break;
422
- case 'RF':
423
- if ($code == 'ACK')
424
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
425
- else
426
- if ($separator_type != 'info')
427
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
428
- break;
429
- default :
430
- if ($code == 'ACK')
431
- $status = Mage::helper('skrill')->__('BACKEND_TT_ACC');
432
- else
433
- $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
434
- }
435
- return $status;
436
- }
437
-
438
- public function getPayonComment($status, $payment_type, $payment_brand, $bin, $separator_type, $type, $refund_id, $refund_status)
439
- {
440
- if ( $separator_type == "info" )
441
- $separator = "<br />";
442
- else
443
- $separator = ". ";
444
-
445
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->getPayonTrnStatus($status, $payment_type, $separator_type).$separator;
446
- if ($payment_brand)
447
- {
448
- switch ($payment_brand) {
449
- case 'VISA':
450
- $pm = "SKRILL_FRONTEND_PM_VSA";
451
- break;
452
- case 'MASTER':
453
- $pm = "SKRILL_FRONTEND_PM_MSC";
454
- break;
455
- case 'MAESTRO':
456
- $pm = "SKRILL_FRONTEND_PM_MAE";
457
- break;
458
- case 'AMEX':
459
- $pm = "SKRILL_FRONTEND_PM_AMX";
460
- break;
461
- case 'DIRECTDEBIT_SEPA_MIX_DE':
462
- $pm = "FRONTEND_PM_DD";
463
- break;
464
- case 'SOFORTUEBERWEISUNG':
465
- $pm = "FRONTEND_PM_SOFORT";
466
- break;
467
- default:
468
- $pm = "FRONTEND_PM_".$payment_brand;
469
- break;
470
- }
471
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__($pm).$separator;
472
- }
473
- if ($bin)
474
- {
475
- $country_iso2 = Mage::helper('skrill')->getCountryIssuer($bin);
476
- if ($country_iso2)
477
- {
478
- $card_issuer = Mage::app()->getLocale()->getCountryTranslation($country_iso2);
479
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$card_issuer.$separator;
480
- }
481
- }
482
- if ($type == "fraud")
483
- {
484
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
485
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$refund_id.$separator;
486
- if ($status == 'ACK')
487
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->__('BACKEND_TT_'.$refund_status).$separator;
488
- }
489
- return $comment;
490
- }
491
-
492
- // Enterprise =================================
493
-
494
- // Skrill =====================================
495
-
496
- public function doQuery($action, $params)
497
- {
498
- $url = 'https://www.moneybookers.com/app/query.pl';
499
-
500
- $fields = $params;
501
- $fields['action'] = $action;
502
- $fields['email'] = Mage::getStoreConfig('payment/skrill_settings/merchant_account');
503
- $fields['password'] = Mage::getStoreConfig('payment/skrill_settings/api_passwd');
504
-
505
- $fields_string = http_build_query($fields);
506
-
507
- $curl = curl_init();
508
-
509
- curl_setopt($curl,CURLOPT_URL, $url);
510
- curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
511
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
512
- curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
513
- curl_setopt($curl, CURLINFO_HEADER_OUT, true);
514
- curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-type: application/x-www-form-urlencoded;charset=UTF-8'));
515
- curl_setopt($curl, CURLOPT_FAILONERROR, 1);
516
- curl_setopt($curl,CURLOPT_POST, count($fields));
517
- curl_setopt($curl,CURLOPT_POSTFIELDS, $fields_string);
518
-
519
- $result = curl_exec($curl);
520
-
521
- if(curl_errno($curl))
522
- {
523
- throw new Exception("Curl error: ". curl_error($curl));
524
- }
525
-
526
- curl_close($curl);
527
-
528
- return $result;
529
-
530
- }
531
-
532
- public function getStatusTrn($parameters)
533
- {
534
- // check status_trn 3 times if no response.
535
- for ($i=0; $i < 3; $i++) {
536
- $response = true;
537
- try {
538
- $result = $this->doQuery('status_trn', $parameters);
539
- } catch (Exception $e) {
540
- $response = false;
541
- }
542
- if ($response && $result)
543
- {
544
- return $this->getResponseArray($result);
545
- break;
546
- }
547
- }
548
- return false;
549
- }
550
-
551
- public function getResponseArray($strings)
552
- {
553
- $response_array = array();
554
- $string = explode("\n",$strings);
555
- $response_array['response_header'] = $string[0];
556
- if(!empty($string[1])) {
557
- $string_arr = explode("&",$string[1]);
558
- foreach ($string_arr as $key => $value) {
559
- $value_arr = explode("=",$value);
560
- $response_array[urldecode($value_arr[0])] = urldecode($value_arr[1]);
561
- }
562
- return $response_array;
563
- }
564
- else {
565
- return false;
566
- }
567
- }
568
-
569
- public function getTrnStatus($code)
570
- {
571
- switch ($code) {
572
- case '2':
573
- $status = Mage::helper('skrill')->__('BACKEND_TT_PROCESSED');
574
- break;
575
- case '0':
576
- $status = Mage::helper('skrill')->__('BACKEND_TT_PENDING');
577
- break;
578
- case '-1':
579
- $status = Mage::helper('skrill')->__('BACKEND_TT_CANCELLED');
580
- break;
581
- case '-2':
582
- $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
583
- break;
584
- case '-3':
585
- $status = Mage::helper('skrill')->__('BACKEND_TT_CHARGEBACK');
586
- break;
587
- case '-4':
588
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
589
- break;
590
- case '-5':
591
- $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
592
- break;
593
- default:
594
- $status = Mage::helper('skrill')->__('ERROR_GENERAL_ABANDONED_BYUSER');
595
- break;
596
- }
597
- return $status;
598
- }
599
-
600
- public function getComment($response, $separator_type = false, $type = false)
601
- {
602
- if ( $separator_type == "info" )
603
- $separator = "<br />";
604
- else
605
- $separator = ". ";
606
-
607
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->getTrnStatus($response['status']).$separator;
608
- if (isset($response['payment_type']))
609
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_'.$response['payment_type']).$separator;
610
- if (isset($response['payment_instrument_country']))
611
- {
612
- $country_iso2 = Mage::helper('skrill')->getCountryIso2($response['payment_instrument_country']);
613
- if ($country_iso2)
614
- {
615
- $card_issuer = Mage::app()->getLocale()->getCountryTranslation($country_iso2);
616
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$card_issuer.$separator;
617
- }
618
- }
619
- if ($type == "fraud")
620
- {
621
- $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
622
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$response['mb_transaction_id'].$separator;
623
- $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->getTrnStatus($response['status']).$separator;
624
- }
625
-
626
- return $comment;
627
- }
628
-
629
- public function doRefund($action, $params)
630
- {
631
- $url = 'https://www.moneybookers.com/app/refund.pl';
632
-
633
- if ($action == "prepare")
634
- {
635
- $fields = $params;
636
- $fields['action'] = $action;
637
- $fields['email'] = Mage::getStoreConfig('payment/skrill_settings/merchant_account');
638
- $fields['password'] = Mage::getStoreConfig('payment/skrill_settings/api_passwd');
639
- }
640
- else if ($action == "refund")
641
- {
642
- $fields['action'] = $action;
643
- $fields['sid'] = $params;
644
- }
645
-
646
- foreach($fields as $key=>$value) {
647
- $fields_string .= $key.'='.$value.'&';
648
- }
649
- $fields_string = rtrim($fields_string, '&');
650
-
651
- $curl = curl_init();
652
-
653
- curl_setopt($curl,CURLOPT_URL, $url);
654
- curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
655
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
656
- curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
657
- curl_setopt($curl, CURLINFO_HEADER_OUT, true);
658
- curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-type: application/x-www-form-urlencoded;charset=UTF-8'));
659
- curl_setopt($curl, CURLOPT_FAILONERROR, 1);
660
- curl_setopt($curl,CURLOPT_POST, count($fields));
661
- curl_setopt($curl,CURLOPT_POSTFIELDS, $fields_string);
662
-
663
- $result = curl_exec($curl);
664
-
665
- if(curl_errno($curl))
666
- {
667
- return "failed";
668
- }
669
-
670
- curl_close($curl);
671
-
672
- return simplexml_load_string($result);
673
-
674
- }
675
-
676
- public function getCountryIso3($iso2)
677
- {
678
- $iso3 = array(
679
- "AF" => "AFG",
680
- "AL" => "ALB",
681
- "DZ" => "DZA",
682
- "AS" => "ASM",
683
- "AD" => "AND",
684
- "AO" => "AGO",
685
- "AI" => "AIA",
686
- "AQ" => "ATA",
687
- "AG" => "ATG",
688
- "AR" => "ARG",
689
- "AM" => "ARM",
690
- "AW" => "ABW",
691
- "AU" => "AUS",
692
- "AT" => "AUT",
693
- "AZ" => "AZE",
694
- "BS" => "BHS",
695
- "BH" => "BHR",
696
- "BD" => "BGD",
697
- "BB" => "BRB",
698
- "BY" => "BLR",
699
- "BE" => "BEL",
700
- "BZ" => "BLZ",
701
- "BJ" => "BEN",
702
- "BM" => "BMU",
703
- "BT" => "BTN",
704
- "BO" => "BOL",
705
- "BA" => "BIH",
706
- "BW" => "BWA",
707
- "BV" => "BVT",
708
- "BR" => "BRA",
709
- "IO" => "IOT",
710
- "VG" => "VGB",
711
- "BN" => "BRN",
712
- "BG" => "BGR",
713
- "BF" => "BFA",
714
- "BI" => "BDI",
715
- "KH" => "KHM",
716
- "CM" => "CMR",
717
- "CA" => "CAN",
718
- "CV" => "CPV",
719
- "KY" => "CYM",
720
- "CF" => "CAF",
721
- "TD" => "TCD",
722
- "CL" => "CHL",
723
- "CN" => "CHN",
724
- "CX" => "CXR",
725
- "CC" => "CCK",
726
- "CO" => "COL",
727
- "KM" => "COM",
728
- "CG" => "COG",
729
- "CD" => "COD",
730
- "CK" => "COK",
731
- "CR" => "CRI",
732
- "HR" => "HRV",
733
- "CU" => "CUB",
734
- "CY" => "CYP",
735
- "CZ" => "CZE",
736
- "CI" => "CIV",
737
- "DK" => "DNK",
738
- "DJ" => "DJI",
739
- "DM" => "DMA",
740
- "DO" => "DOM",
741
- "EC" => "ECU",
742
- "EG" => "EGY",
743
- "SV" => "SLV",
744
- "GQ" => "GNQ",
745
- "ER" => "ERI",
746
- "EE" => "EST",
747
- "ET" => "ETH",
748
- "FK" => "FLK",
749
- "FO" => "FRO",
750
- "FJ" => "FJI",
751
- "FI" => "FIN",
752
- "FR" => "FRA",
753
- "GF" => "GUF",
754
- "PF" => "PYF",
755
- "TF" => "ATF",
756
- "GA" => "GAB",
757
- "GM" => "GMB",
758
- "GE" => "GEO",
759
- "DE" => "DEU",
760
- "GH" => "GHA",
761
- "GI" => "GIB",
762
- "GR" => "GRC",
763
- "GL" => "GRL",
764
- "GD" => "GRD",
765
- "GP" => "GLD",
766
- "GU" => "GUM",
767
- "GT" => "GTM",
768
- "GG" => "GGY",
769
- "GN" => "HTI",
770
- "GW" => "HMD",
771
- "GY" => "VAT",
772
- "HT" => "GIN",
773
- "HM" => "GNB",
774
- "HN" => "HND",
775
- "HK" => "HKG",
776
- "HU" => "HUN",
777
- "IS" => "ISL",
778
- "IN" => "IND",
779
- "ID" => "IDN",
780
- "IR" => "IRN",
781
- "IQ" => "IRQ",
782
- "IE" => "IRL",
783
- "IM" => "IMN",
784
- "IL" => "ISR",
785
- "IT" => "ITA",
786
- "JM" => "JAM",
787
- "JP" => "JPN",
788
- "JE" => "JEY",
789
- "JO" => "JOR",
790
- "KZ" => "KAZ",
791
- "KE" => "KEN",
792
- "KI" => "KIR",
793
- "KW" => "KWT",
794
- "KG" => "KGZ",
795
- "LA" => "LAO",
796
- "LV" => "LVA",
797
- "LB" => "LBN",
798
- "LS" => "LSO",
799
- "LR" => "LBR",
800
- "LY" => "LBY",
801
- "LI" => "LIE",
802
- "LT" => "LTU",
803
- "LU" => "LUX",
804
- "MO" => "MAC",
805
- "MK" => "MKD",
806
- "MG" => "MDG",
807
- "MW" => "MWI",
808
- "MY" => "MYS",
809
- "MV" => "MDV",
810
- "ML" => "MLI",
811
- "MT" => "MLT",
812
- "MH" => "MHL",
813
- "MQ" => "MTQ",
814
- "MR" => "MRT",
815
- "MU" => "MUS",
816
- "YT" => "MYT",
817
- "MX" => "MEX",
818
- "FM" => "FSM",
819
- "MD" => "MDA",
820
- "MC" => "MCO",
821
- "MN" => "MNG",
822
- "ME" => "MNE",
823
- "MS" => "MSR",
824
- "MA" => "MAR",
825
- "MZ" => "MOZ",
826
- "MM" => "MMR",
827
- "NA" => "NAM",
828
- "NR" => "NRU",
829
- "NP" => "NPL",
830
- "NL" => "NLD",
831
- "AN" => "ANT",
832
- "NC" => "NCL",
833
- "NZ" => "NZL",
834
- "NI" => "NIC",
835
- "NE" => "NER",
836
- "NG" => "NGA",
837
- "NU" => "NIU",
838
- "NF" => "NFK",
839
- "KP" => "PRK",
840
- "MP" => "MNP",
841
- "NO" => "NOR",
842
- "OM" => "OMN",
843
- "PK" => "PAK",
844
- "PW" => "PLW",
845
- "PS" => "PSE",
846
- "PA" => "PAN",
847
- "PG" => "PNG",
848
- "PY" => "PRY",
849
- "PE" => "PER",
850
- "PH" => "PHL",
851
- "PN" => "PCN",
852
- "PL" => "POL",
853
- "PT" => "PRT",
854
- "PR" => "PRI",
855
- "QA" => "QAT",
856
- "RO" => "ROU",
857
- "RU" => "RUS",
858
- "RW" => "RWA",
859
- "RE" => "REU",
860
- "BL" => "BLM",
861
- "SH" => "SHN",
862
- "KN" => "KNA",
863
- "LC" => "LCA",
864
- "MF" => "MAF",
865
- "PM" => "SPM",
866
- "WS" => "WSM",
867
- "SM" => "SMR",
868
- "SA" => "SAU",
869
- "SN" => "SEN",
870
- "RS" => "SRB",
871
- "SC" => "SYC",
872
- "SL" => "SLE",
873
- "SG" => "SGP",
874
- "SK" => "SVK",
875
- "SI" => "SVN",
876
- "SB" => "SLB",
877
- "SO" => "SOM",
878
- "ZA" => "ZAF",
879
- "GS" => "SGS",
880
- "KR" => "KOR",
881
- "ES" => "ESP",
882
- "LK" => "LKA",
883
- "VC" => "VCT",
884
- "SD" => "SDN",
885
- "SR" => "SUR",
886
- "SJ" => "SJM",
887
- "SZ" => "SWZ",
888
- "SE" => "SWE",
889
- "CH" => "CHE",
890
- "SY" => "SYR",
891
- "ST" => "STP",
892
- "TW" => "TWN",
893
- "TJ" => "TJK",
894
- "TZ" => "TZA",
895
- "TH" => "THA",
896
- "TL" => "TLS",
897
- "TG" => "TGO",
898
- "TK" => "TKL",
899
- "TO" => "TON",
900
- "TT" => "TTO",
901
- "TN" => "TUN",
902
- "TR" => "TUR",
903
- "TM" => "TKM",
904
- "TC" => "TCA",
905
- "TV" => "TUV",
906
- "UM" => "UMI",
907
- "VI" => "VIR",
908
- "UG" => "UGA",
909
- "UA" => "UKR",
910
- "AE" => "ARE",
911
- "GB" => "GBR",
912
- "US" => "USA",
913
- "UY" => "URY",
914
- "UZ" => "UZB",
915
- "VU" => "VUT",
916
- "VA" => "GUY",
917
- "VE" => "VEN",
918
- "VN" => "VNM",
919
- "WF" => "WLF",
920
- "EH" => "ESH",
921
- "YE" => "YEM",
922
- "ZM" => "ZMB",
923
- "ZW" => "ZWE",
924
- "AX" => "ALA"
925
- );
926
- if ($iso2)
927
- return array_key_exists($iso2, $iso3) ? $iso3[$iso2] : '';
928
- else
929
- return '';
930
- }
931
-
932
- public function getCountryIso2($iso3)
933
- {
934
- $iso2 = array(
935
- "AFG" => "AF",
936
- "ALB" => "AL",
937
- "DZA" => "DZ",
938
- "ASM" => "AS",
939
- "AND" => "AD",
940
- "AGO" => "AO",
941
- "AIA" => "AI",
942
- "ATA" => "AQ",
943
- "ATG" => "AG",
944
- "ARG" => "AR",
945
- "ARM" => "AM",
946
- "ABW" => "AW",
947
- "AUS" => "AU",
948
- "AUT" => "AT",
949
- "AZE" => "AZ",
950
- "BHS" => "BS",
951
- "BHR" => "BH",
952
- "BGD" => "BD",
953
- "BRB" => "BB",
954
- "BLR" => "BY",
955
- "BEL" => "BE",
956
- "BLZ" => "BZ",
957
- "BEN" => "BJ",
958
- "BMU" => "BM",
959
- "BTN" => "BT",
960
- "BOL" => "BO",
961
- "BIH" => "BA",
962
- "BWA" => "BW",
963
- "BVT" => "BV",
964
- "BRA" => "BR",
965
- "IOT" => "IO",
966
- "VGB" => "VG",
967
- "BRN" => "BN",
968
- "BGR" => "BG",
969
- "BFA" => "BF",
970
- "BDI" => "BI",
971
- "KHM" => "KH",
972
- "CMR" => "CM",
973
- "CAN" => "CA",
974
- "CPV" => "CV",
975
- "CYM" => "KY",
976
- "CAF" => "CF",
977
- "TCD" => "TD",
978
- "CHL" => "CL",
979
- "CHN" => "CN",
980
- "CXR" => "CX",
981
- "CCK" => "CC",
982
- "COL" => "CO",
983
- "COM" => "KM",
984
- "COG" => "CG",
985
- "COD" => "CD",
986
- "COK" => "CK",
987
- "CRI" => "CR",
988
- "HRV" => "HR",
989
- "CUB" => "CU",
990
- "CYP" => "CY",
991
- "CZE" => "CZ",
992
- "CIV" => "CI",
993
- "DNK" => "DK",
994
- "DJI" => "DJ",
995
- "DMA" => "DM",
996
- "DOM" => "DO",
997
- "ECU" => "EC",
998
- "EGY" => "EG",
999
- "SLV" => "SV",
1000
- "GNQ" => "GQ",
1001
- "ERI" => "ER",
1002
- "EST" => "EE",
1003
- "ETH" => "ET",
1004
- "FLK" => "FK",
1005
- "FRO" => "FO",
1006
- "FJI" => "FJ",
1007
- "FIN" => "FI",
1008
- "FRA" => "FR",
1009
- "GUF" => "GF",
1010
- "PYF" => "PF",
1011
- "ATF" => "TF",
1012
- "GAB" => "GA",
1013
- "GMB" => "GM",
1014
- "GEO" => "GE",
1015
- "DEU" => "DE",
1016
- "GHA" => "GH",
1017
- "GIB" => "GI",
1018
- "GRC" => "GR",
1019
- "GRL" => "GL",
1020
- "GRD" => "GD",
1021
- "GLD" => "GP",
1022
- "GUM" => "GU",
1023
- "GTM" => "GT",
1024
- "GGY" => "GG",
1025
- "HTI" => "GN",
1026
- "HMD" => "GW",
1027
- "VAT" => "GY",
1028
- "GIN" => "HT",
1029
- "GNB" => "HM",
1030
- "HND" => "HN",
1031
- "HKG" => "HK",
1032
- "HUN" => "HU",
1033
- "ISL" => "IS",
1034
- "IND" => "IN",
1035
- "IDN" => "ID",
1036
- "IRN" => "IR",
1037
- "IRQ" => "IQ",
1038
- "IRL" => "IE",
1039
- "IMN" => "IM",
1040
- "ISR" => "IL",
1041
- "ITA" => "IT",
1042
- "JAM" => "JM",
1043
- "JPN" => "JP",
1044
- "JEY" => "JE",
1045
- "JOR" => "JO",
1046
- "KAZ" => "KZ",
1047
- "KEN" => "KE",
1048
- "KIR" => "KI",
1049
- "KWT" => "KW",
1050
- "KGZ" => "KG",
1051
- "LAO" => "LA",
1052
- "LVA" => "LV",
1053
- "LBN" => "LB",
1054
- "LSO" => "LS",
1055
- "LBR" => "LR",
1056
- "LBY" => "LY",
1057
- "LIE" => "LI",
1058
- "LTU" => "LT",
1059
- "LUX" => "LU",
1060
- "MAC" => "MO",
1061
- "MKD" => "MK",
1062
- "MDG" => "MG",
1063
- "MWI" => "MW",
1064
- "MYS" => "MY",
1065
- "MDV" => "MV",
1066
- "MLI" => "ML",
1067
- "MLT" => "MT",
1068
- "MHL" => "MH",
1069
- "MTQ" => "MQ",
1070
- "MRT" => "MR",
1071
- "MUS" => "MU",
1072
- "MYT" => "YT",
1073
- "MEX" => "MX",
1074
- "FSM" => "FM",
1075
- "MDA" => "MD",
1076
- "MCO" => "MC",
1077
- "MNG" => "MN",
1078
- "MNE" => "ME",
1079
- "MSR" => "MS",
1080
- "MAR" => "MA",
1081
- "MOZ" => "MZ",
1082
- "MMR" => "MM",
1083
- "NAM" => "NA",
1084
- "NRU" => "NR",
1085
- "NPL" => "NP",
1086
- "NLD" => "NL",
1087
- "ANT" => "AN",
1088
- "NCL" => "NC",
1089
- "NZL" => "NZ",
1090
- "NIC" => "NI",
1091
- "NER" => "NE",
1092
- "NGA" => "NG",
1093
- "NIU" => "NU",
1094
- "NFK" => "NF",
1095
- "PRK" => "KP",
1096
- "MNP" => "MP",
1097
- "NOR" => "NO",
1098
- "OMN" => "OM",
1099
- "PAK" => "PK",
1100
- "PLW" => "PW",
1101
- "PSE" => "PS",
1102
- "PAN" => "PA",
1103
- "PNG" => "PG",
1104
- "PRY" => "PY",
1105
- "PER" => "PE",
1106
- "PHL" => "PH",
1107
- "PCN" => "PN",
1108
- "POL" => "PL",
1109
- "PRT" => "PT",
1110
- "PRI" => "PR",
1111
- "QAT" => "QA",
1112
- "ROU" => "RO",
1113
- "RUS" => "RU",
1114
- "RWA" => "RW",
1115
- "REU" => "RE",
1116
- "BLM" => "BL",
1117
- "SHN" => "SH",
1118
- "KNA" => "KN",
1119
- "LCA" => "LC",
1120
- "MAF" => "MF",
1121
- "SPM" => "PM",
1122
- "WSM" => "WS",
1123
- "SMR" => "SM",
1124
- "SAU" => "SA",
1125
- "SEN" => "SN",
1126
- "SRB" => "RS",
1127
- "SYC" => "SC",
1128
- "SLE" => "SL",
1129
- "SGP" => "SG",
1130
- "SVK" => "SK",
1131
- "SVN" => "SI",
1132
- "SLB" => "SB",
1133
- "SOM" => "SO",
1134
- "ZAF" => "ZA",
1135
- "SGS" => "GS",
1136
- "KOR" => "KR",
1137
- "ESP" => "ES",
1138
- "LKA" => "LK",
1139
- "VCT" => "VC",
1140
- "SDN" => "SD",
1141
- "SUR" => "SR",
1142
- "SJM" => "SJ",
1143
- "SWZ" => "SZ",
1144
- "SWE" => "SE",
1145
- "CHE" => "CH",
1146
- "SYR" => "SY",
1147
- "STP" => "ST",
1148
- "TWN" => "TW",
1149
- "TJK" => "TJ",
1150
- "TZA" => "TZ",
1151
- "THA" => "TH",
1152
- "TLS" => "TL",
1153
- "TGO" => "TG",
1154
- "TKL" => "TK",
1155
- "TON" => "TO",
1156
- "TTO" => "TT",
1157
- "TUN" => "TN",
1158
- "TUR" => "TR",
1159
- "TKM" => "TM",
1160
- "TCA" => "TC",
1161
- "TUV" => "TV",
1162
- "UMI" => "UM",
1163
- "VIR" => "VI",
1164
- "UGA" => "UG",
1165
- "UKR" => "UA",
1166
- "ARE" => "AE",
1167
- "GBR" => "GB",
1168
- "USA" => "US",
1169
- "URY" => "UY",
1170
- "UZB" => "UZ",
1171
- "VUT" => "VU",
1172
- "GUY" => "VA",
1173
- "VEN" => "VE",
1174
- "VNM" => "VN",
1175
- "WLF" => "WF",
1176
- "ESH" => "EH",
1177
- "YEM" => "YE",
1178
- "ZMB" => "ZM",
1179
- "ZWE" => "ZW",
1180
- "ALA" => "AX" );
1181
- if ($iso3)
1182
- return array_key_exists($iso3, $iso2) ? $iso2[$iso3] : '';
1183
- else
1184
- return '';
1185
- }
1186
-
1187
- public function getSkrillErrorMapping($code)
1188
- {
1189
- $error_messages = array(
1190
- "01" => "SKRILL_ERROR_01",
1191
- "02" => "SKRILL_ERROR_02",
1192
- "03" => "SKRILL_ERROR_03",
1193
- "04" => "SKRILL_ERROR_04",
1194
- "05" => "SKRILL_ERROR_05",
1195
- "08" => "SKRILL_ERROR_08",
1196
- "09" => "SKRILL_ERROR_09",
1197
- "10" => "SKRILL_ERROR_10",
1198
- "12" => "SKRILL_ERROR_12",
1199
- "15" => "SKRILL_ERROR_15",
1200
- "19" => "SKRILL_ERROR_19",
1201
- "24" => "SKRILL_ERROR_24",
1202
- "28" => "SKRILL_ERROR_28",
1203
- "32" => "SKRILL_ERROR_32",
1204
- "37" => "SKRILL_ERROR_37",
1205
- "38" => "SKRILL_ERROR_38",
1206
- "42" => "SKRILL_ERROR_42",
1207
- "44" => "SKRILL_ERROR_44",
1208
- "51" => "SKRILL_ERROR_51",
1209
- "63" => "SKRILL_ERROR_63",
1210
- "70" => "SKRILL_ERROR_70",
1211
- "71" => "SKRILL_ERROR_71",
1212
- "80" => "SKRILL_ERROR_80",
1213
- "98" => "SKRILL_ERROR_98",
1214
- "99" => "SKRILL_ERROR_99_GENERAL"
1215
- );
1216
- if ($code)
1217
- return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'SKRILL_ERROR_99_GENERAL';
1218
- else
1219
- return 'SKRILL_ERROR_99_GENERAL';
1220
- }
1221
-
1222
- // Skrill =====================================
1223
-
1224
- /**
1225
- * Retrieve quote object
1226
- *
1227
- * @return Mage_Sales_Model_Quote
1228
- */
1229
- public function getQuote()
1230
- {
1231
- return Mage::getModel('checkout/session')->getQuote();
1232
- }
1233
-
1234
-
1235
- /**
1236
- * Retrieve order object
1237
- *
1238
- * @param int $id
1239
- * @return Mage_Sales_Model_Order
1240
- */
1241
- public function getOrder($id)
1242
- {
1243
- return Mage::getSingleton('sales/order')->load($id);
1244
- }
1245
-
1246
- /**
1247
- * Retrieve customer data
1248
- *
1249
- * @param Mage_Sales_Model_Order $order
1250
- * @return array
1251
- */
1252
- public function getCustomerData(Mage_Core_Model_Abstract $order)
1253
- {
1254
- $data = array(
1255
- 'name_data' => $this->getNameData($order),
1256
- 'address_data' => $this->getAddressData($order),
1257
- 'contact_data' => $this->getContactData($order)
1258
- );
1259
-
1260
- return $data;
1261
- }
1262
-
1263
- /**
1264
- * Retrieve name data
1265
- *
1266
- * @param Mage_Core_Model_Abstract $order
1267
- * @return array
1268
- */
1269
- public function getNameData(Mage_Core_Model_Abstract $order)
1270
- {
1271
- $dob = '';
1272
- if(!is_null($order->getCustomerDob())) {
1273
- $dob = new Zend_Date($order->getCustomerDob());
1274
- $dob = $dob->toString("yyyy-MM-dd");
1275
- }
1276
- $data = array(
1277
- 'first_name' => $order->getBillingAddress()->getFirstname(),
1278
- 'last_name' => $order->getBillingAddress()->getLastname(),
1279
- 'sex' => $this->getGender($order),
1280
- 'dob' => $dob,
1281
- 'company' => $order->getBillingAddress()->getCompany(),
1282
- 'salutation' => $this->getPrefix($order)
1283
- );
1284
-
1285
- return $data;
1286
- }
1287
-
1288
- /**
1289
- * Retrieve address data
1290
- *
1291
- * @param Mage_Core_Model_Abstract $order
1292
- * @return array
1293
- */
1294
- public function getAddressData(Mage_Core_Model_Abstract $order)
1295
- {
1296
- $data = array(
1297
- 'country_code' => $order->getBillingAddress()->getCountryId(),
1298
- 'street' => str_replace("\n", " ", $order->getBillingAddress()->getStreetFull()),
1299
- 'zip' => $order->getBillingAddress()->getPostcode(),
1300
- 'city' => $order->getBillingAddress()->getCity(),
1301
- 'state' => $order->getBillingAddress()->getRegion(),
1302
- );
1303
-
1304
- return $data;
1305
- }
1306
-
1307
- /**
1308
- * Retrieve contact data
1309
- *
1310
- * @param Mage_Core_Model_Abstract $order
1311
- * @return array
1312
- */
1313
- public function getContactData(Mage_Core_Model_Abstract $order)
1314
- {
1315
- $data = array(
1316
- 'email' => $order->getCustomerEmail(),
1317
- 'phone' => $order->getBillingAddress()->getTelephone(),
1318
- 'ip' => Mage::helper('core/http')->getRemoteAddr(false)
1319
- );
1320
-
1321
- return $data;
1322
- }
1323
-
1324
- /**
1325
- * Retrieve Basket data
1326
- *
1327
- * @param Mage_Core_Model_Abstract $order || Mage_Sales_Model_Quote $order
1328
- * @return array
1329
- */
1330
- public function getBasketData(Mage_Core_Model_Abstract $order)
1331
- {
1332
- if ( $order instanceof Mage_Core_Model_Abstract ) {
1333
- $basket = array(
1334
- 'amount' => $order->getGrandTotal(),
1335
- 'currency' => $order->getOrderCurrencyCode(),
1336
- 'baseCurrency' => $order->getBaseCurrencyCode(),
1337
- 'baseAmount' => $order->getBaseGrandTotal()
1338
- );
1339
- }
1340
- else if ( $order instanceof Mage_Sales_Model_Quote ) {
1341
- $basket = array(
1342
- 'amount' => $order->getGrandTotal(),
1343
- 'currency' => $order->getQuoteCurrencyCode(),
1344
- 'baseCurrency' => $order->getBaseCurrencyCode(),
1345
- 'baseAmount' => $order->getBaseGrandTotal()
1346
- );
1347
- }
1348
-
1349
- return $basket;
1350
- }
1351
-
1352
- /**
1353
- * Retrieve method code for config loading
1354
- *
1355
- * @param Mage_Core_Model_Abstract $order
1356
- * @return string
1357
- */
1358
- public function getMethodCode(Mage_Core_Model_Abstract $order)
1359
- {
1360
- return str_replace('skrill', 'method', $order->getPayment()->getMethod());
1361
- }
1362
-
1363
- /**
1364
- * This method returns the customer gender code
1365
- *
1366
- * @param Mage_Core_Model_Abstract $order
1367
- * @return string
1368
- */
1369
- public function getGender(Mage_Core_Model_Abstract $order)
1370
- {
1371
- $gender = $order->getCustomerGender();
1372
- if ($gender) {
1373
- $attribute = Mage::getModel('eav/entity_attribute')->loadByCode('customer', 'gender');
1374
- $option = $attribute->getFrontend()->getOption($gender);
1375
-
1376
- switch (strtolower($option)) {
1377
- case 'male':
1378
- return 'M';
1379
- case 'female':
1380
- return 'F';
1381
- }
1382
- }
1383
- return '';
1384
- }
1385
-
1386
- /**
1387
- * Retrieve the prefix
1388
- *
1389
- * @param Mage_Core_Model_Abstract $order
1390
- * @return string
1391
- */
1392
- public function getPrefix(Mage_Core_Model_Abstract $order)
1393
- {
1394
- $gender = $order->getCustomerPrefix();
1395
- if ($gender) {
1396
- switch (strtolower($gender)) {
1397
- case 'herr':
1398
- case 'mr':
1399
- return 'MR';
1400
- case 'frau':
1401
- case 'mrs':
1402
- return 'MRS';
1403
- case 'fräulein':
1404
- case 'ms':
1405
- return 'MS';
1406
-
1407
- }
1408
- }
1409
- return '';
1410
- }
1411
-
1412
- /**
1413
- * Retrieve the locale code in iso (2 chars)
1414
- *
1415
- * @return string
1416
- */
1417
- public function getLocaleIsoCode()
1418
- {
1419
- return substr(Mage::app()->getLocale()->getLocaleCode(), 0, 2);
1420
- }
1421
-
1422
- public function invoice(Mage_Core_Model_Abstract $order)
1423
- {
1424
- $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
1425
- $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
1426
- $invoice->register();
1427
- $invoice->getOrder()->setCustomerNoteNotify(false);
1428
- $invoice->getOrder()->setIsInProcess(true);
1429
- $transactionSave = Mage::getModel('core/resource_transaction')
1430
- ->addObject($invoice)
1431
- ->addObject($invoice->getOrder());
1432
- $transactionSave->save();
1433
- }
1434
-
1435
- public function getCountryIssuer($bin)
1436
- {
1437
- $url = 'http://www.binlist.net/json/'.$bin;
1438
-
1439
- $ch = curl_init();
1440
- curl_setopt($ch, CURLOPT_URL, $url);
1441
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1442
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
1443
- $result = curl_exec($ch);
1444
- curl_close($ch);
1445
- $resultArray = json_decode($result, true);
1446
-
1447
- return $resultArray['country_code'];
1448
- }
1449
-
1450
- public function getDateTime()
1451
- {
1452
- $t = microtime(true);
1453
- $micro = sprintf("%06d",($t - floor($t)) * 1000000);
1454
- $d = new DateTime( date('Y-m-d H:i:s.'.$micro, $t) );
1455
-
1456
- return $d->format("ymdhiu");
1457
- }
1458
-
1459
- public function randomNumber($length) {
1460
- $result = '';
1461
-
1462
- for($i = 0; $i < $length; $i++) {
1463
- $result .= mt_rand(0, 9);
1464
- }
1465
-
1466
- return $result;
1467
- }
1468
-
1469
- public function getMerchantData($storeId)
1470
- {
1471
-
1472
- $versionData['transaction_mode'] = 'LIVE';
1473
- $versionData['ip_address'] = $_SERVER['SERVER_ADDR'];
1474
- $versionData['shop_version'] = Mage::getVersion();
1475
- $versionData['plugin_version'] = Mage::getStoreConfig('payment/skrill_settings/version', $storeId);
1476
- $versionData['client'] = 'Skrill';
1477
- $versionData['merchant_id'] = Mage::getStoreConfig('payment/skrill_settings/merchant_id', $storeId);
1478
- $versionData['shop_system'] = 'Magento';
1479
- $versionData['shop_url'] = Mage::getStoreConfig('payment/skrill_settings/shop_url', $storeId);
1480
-
1481
- if (Mage::getStoreConfig('payment/skrill_settings/merchant_account', $storeId))
1482
- $versionData['email'] = Mage::getStoreConfig('payment/skrill_settings/merchant_account', $storeId);
1483
- else
1484
- $versionData['email'] = Mage::getModel('admin/user')->getCollection()->getFirstItem()->getData('email');
1485
-
1486
- return $versionData;
1487
- }
1488
-
1489
- }
1490
-
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
+ public function getErrorIdentifier($code)
42
+ {
43
+ $error_messages = array(
44
+ "40.10" => "ERROR_CC_DECLINED_CARD",
45
+ "40.15" => "",
46
+ "40.20" => "",
47
+ "59.94" => "",
48
+ "60.95" => "ERROR_CC_DECLINED_CARD",
49
+ "60.70" => "ERROR_GENERAL_CANCEL",
50
+ "60.71" => "",
51
+ "60.40" => "ERROR_GENERAL_GENERAL",
52
+ "60.80" => "",
53
+ "60.90" => "ERROR_GENERAL_CANCEL",
54
+ "64.78" => "",
55
+ "65.78" => "ERROR_CC_DECLINED_CARD",
56
+ "65.60" => "",
57
+ "65.61" => "ERROR_CC_3DERROR",
58
+ "65.75" => "",
59
+ "65.77" => "",
60
+ "65.79" => "",
61
+ "65.80" => "ERROR_GENERAL_DECLINED_RISK",
62
+ "65.85" => "ERROR_CC_3DERROR",
63
+ "65.50" => "ERROR_GENERAL_BLACKLIST",
64
+ "65.30" => "",
65
+ "65.31" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
66
+ "65.38" => "",
67
+ "65.32" => "",
68
+ "65.33" => "",
69
+ "65.36" => "ERROR_CC_ACCOUNT",
70
+ "65.35" => "ERROR_GENERAL_LIMIT_AMOUNT",
71
+ "65.37" => "ERROR_CC_ADDRESS",
72
+ "70.10" => "",
73
+ "70.64" => "ERROR_SEPA_MANDATE",
74
+ "70.70" => "",
75
+ "70.30" => "",
76
+ "70.20" => "ERROR_CC_3DAUTH",
77
+ "70.60" => "",
78
+ "70.61" => "",
79
+ "70.40" => "ERROR_CC_INVALIDDATA",
80
+ "70.35" => "",
81
+ "70.80" => "",
82
+ "70.21" => "ERROR_GENERAL_BLACKLIST",
83
+
84
+ "800.150.100" => "ERROR_CC_ACCOUNT",
85
+
86
+ "800.100.402" => "ERROR_CC_INVALIDDATA",
87
+ "100.100.101" => "ERROR_CC_INVALIDDATA",
88
+ "800.100.151" => "ERROR_CC_INVALIDDATA",
89
+ "000.400.108" => "ERROR_CC_INVALIDDATA",
90
+ "100.100.100" => "ERROR_CC_INVALIDDATA",
91
+ "100.100.200" => "ERROR_CC_INVALIDDATA",
92
+ "100.100.201" => "ERROR_CC_INVALIDDATA",
93
+ "100.100.300" => "ERROR_CC_INVALIDDATA",
94
+ "100.100.301" => "ERROR_CC_INVALIDDATA",
95
+ "100.100.304" => "ERROR_CC_INVALIDDATA",
96
+ "100.100.400" => "ERROR_CC_INVALIDDATA",
97
+ "100.100.401" => "ERROR_CC_INVALIDDATA",
98
+ "100.100.402" => "ERROR_CC_INVALIDDATA",
99
+ "100.100.651" => "ERROR_CC_INVALIDDATA",
100
+ "100.100.700" => "ERROR_CC_INVALIDDATA",
101
+ "100.200.100" => "ERROR_CC_INVALIDDATA",
102
+ "100.200.103" => "ERROR_CC_INVALIDDATA",
103
+ "100.200.104" => "ERROR_CC_INVALIDDATA",
104
+ "100.400.000" => "ERROR_CC_INVALIDDATA",
105
+ "100.400.001" => "ERROR_CC_INVALIDDATA",
106
+ "100.400.086" => "ERROR_CC_INVALIDDATA",
107
+ "100.400.087" => "ERROR_CC_INVALIDDATA",
108
+ "100.400.002" => "ERROR_CC_INVALIDDATA",
109
+ "100.400.316" => "ERROR_CC_INVALIDDATA",
110
+ "100.400.317" => "ERROR_CC_INVALIDDATA",
111
+ "800.100.402" => "ERROR_CC_INVALIDDATA",
112
+
113
+ "800.300.401" => "ERROR_CC_BLACKLIST",
114
+
115
+ "800.100.171" => "ERROR_CC_DECLINED_CARD",
116
+ "800.100.165" => "ERROR_CC_DECLINED_CARD",
117
+ "800.100.159" => "ERROR_CC_DECLINED_CARD",
118
+ "800.100.195" => "ERROR_CC_DECLINED_CARD",
119
+ "000.400.101" => "ERROR_CC_DECLINED_CARD",
120
+ "100.100.501" => "ERROR_CC_DECLINED_CARD",
121
+ "100.100.701" => "ERROR_CC_DECLINED_CARD",
122
+ "100.400.005" => "ERROR_CC_DECLINED_CARD",
123
+ "100.400.020" => "ERROR_CC_DECLINED_CARD",
124
+ "100.400.021" => "ERROR_CC_DECLINED_CARD",
125
+ "100.400.030" => "ERROR_CC_DECLINED_CARD",
126
+ "100.400.039" => "ERROR_CC_DECLINED_CARD",
127
+ "100.400.081" => "ERROR_CC_DECLINED_CARD",
128
+ "100.400.100" => "ERROR_CC_DECLINED_CARD",
129
+ "100.400.123" => "ERROR_CC_DECLINED_CARD",
130
+ "100.400.319" => "ERROR_CC_DECLINED_CARD",
131
+ "800.100.154" => "ERROR_CC_DECLINED_CARD",
132
+ "800.100.156" => "ERROR_CC_DECLINED_CARD",
133
+ "800.100.158" => "ERROR_CC_DECLINED_CARD",
134
+ "800.100.160" => "ERROR_CC_DECLINED_CARD",
135
+ "800.100.161" => "ERROR_CC_DECLINED_CARD",
136
+ "800.100.163" => "ERROR_CC_DECLINED_CARD",
137
+ "800.100.164" => "ERROR_CC_DECLINED_CARD",
138
+ "800.100.166" => "ERROR_CC_DECLINED_CARD",
139
+ "800.100.167" => "ERROR_CC_DECLINED_CARD",
140
+ "800.100.169" => "ERROR_CC_DECLINED_CARD",
141
+ "800.100.170" => "ERROR_CC_DECLINED_CARD",
142
+ "800.100.173" => "ERROR_CC_DECLINED_CARD",
143
+ "800.100.174" => "ERROR_CC_DECLINED_CARD",
144
+ "800.100.175" => "ERROR_CC_DECLINED_CARD",
145
+ "800.100.176" => "ERROR_CC_DECLINED_CARD",
146
+ "800.100.177" => "ERROR_CC_DECLINED_CARD",
147
+ "800.100.190" => "ERROR_CC_DECLINED_CARD",
148
+ "800.100.191" => "ERROR_CC_DECLINED_CARD",
149
+ "800.100.196" => "ERROR_CC_DECLINED_CARD",
150
+ "800.100.197" => "ERROR_CC_DECLINED_CARD",
151
+ "800.100.168" => "ERROR_CC_DECLINED_CARD",
152
+
153
+ "100.100.303" => "ERROR_CC_EXPIRED",
154
+
155
+ "800.100.153" => "ERROR_CC_INVALIDCVV",
156
+ "100.100.601" => "ERROR_CC_INVALIDCVV",
157
+ "100.100.600" => "ERROR_CC_INVALIDCVV",
158
+ "800.100.192" => "ERROR_CC_INVALIDCVV",
159
+
160
+ "800.100.157" => "ERROR_CC_EXPIRY",
161
+
162
+ "800.100.162" => "ERROR_CC_LIMIT_EXCEED",
163
+
164
+ "100.400.040" => "ERROR_CC_3DAUTH",
165
+ "100.400.060" => "ERROR_CC_3DAUTH",
166
+ "100.400.080" => "ERROR_CC_3DAUTH",
167
+ "100.400.120" => "ERROR_CC_3DAUTH",
168
+ "100.400.260" => "ERROR_CC_3DAUTH",
169
+ "800.900.300" => "ERROR_CC_3DAUTH",
170
+ "800.900.301" => "ERROR_CC_3DAUTH",
171
+ "800.900.302" => "ERROR_CC_3DAUTH",
172
+ "100.380.401" => "ERROR_CC_3DAUTH",
173
+
174
+ "100.390.105" => "ERROR_CC_3DERROR",
175
+ "000.400.103" => "ERROR_CC_3DERROR",
176
+ "000.400.104" => "ERROR_CC_3DERROR",
177
+ "100.390.106" => "ERROR_CC_3DERROR",
178
+ "100.390.107" => "ERROR_CC_3DERROR",
179
+ "100.390.108" => "ERROR_CC_3DERROR",
180
+ "100.390.109" => "ERROR_CC_3DERROR",
181
+ "100.390.111" => "ERROR_CC_3DERROR",
182
+ "800.400.200" => "ERROR_CC_3DERROR",
183
+ "100.390.112" => "ERROR_CC_3DERROR",
184
+
185
+ "100.100.500" => "ERROR_CC_NOBRAND",
186
+
187
+ "800.100.155" => "ERROR_GENERAL_LIMIT_AMOUNT",
188
+ "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
189
+ "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
190
+ "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
191
+
192
+ "800.120.101" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
193
+ "800.120.100" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
194
+ "800.120.102" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
195
+ "800.120.103" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
196
+ "800.120.200" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
197
+ "800.120.201" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
198
+ "800.120.202" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
199
+ "800.120.203" => "ERROR_GENERAL_LIMIT_TRANSACTIONS",
200
+
201
+ "800.100.152" => "ERROR_CC_DECLINED_AUTH",
202
+
203
+ "100.380.501" => "ERROR_GENERAL_DECLINED_RISK",
204
+
205
+ "800.400.151" => "ERROR_CC_ADDRESS",
206
+ "800.400.150" => "ERROR_CC_ADDRESS",
207
+
208
+ "100.400.300" => "ERROR_GENERAL_CANCEL",
209
+ "100.396.101" => "ERROR_GENERAL_CANCEL",
210
+ "900.300.600" => "ERROR_GENERAL_CANCEL",
211
+
212
+ "800.100.501" => "ERROR_CC_RECURRING",
213
+ "800.100.500" => "ERROR_CC_RECURRING",
214
+
215
+ "800.100.178" => "ERROR_CC_REPEATED",
216
+ "800.300.500" => "ERROR_CC_REPEATED",
217
+ "800.300.501" => "ERROR_CC_REPEATED",
218
+
219
+ "800.700.101" => "ERROR_GENERAL_ADDRESS",
220
+ "800.700.201" => "ERROR_GENERAL_ADDRESS",
221
+ "800.700.500" => "ERROR_GENERAL_ADDRESS",
222
+ "800.800.102" => "ERROR_GENERAL_ADDRESS",
223
+ "800.800.202" => "ERROR_GENERAL_ADDRESS",
224
+ "800.800.302" => "ERROR_GENERAL_ADDRESS",
225
+ "800.900.101" => "ERROR_GENERAL_ADDRESS",
226
+ "800.900.200" => "ERROR_GENERAL_ADDRESS",
227
+ "800.100.198" => "ERROR_GENERAL_ADDRESS",
228
+ "800.700.101" => "ERROR_GENERAL_ADDRESS",
229
+
230
+ "100.400.121" => "ERROR_GENERAL_BLACKLIST",
231
+ "800.100.172" => "ERROR_GENERAL_BLACKLIST",
232
+ "800.200.159" => "ERROR_GENERAL_BLACKLIST",
233
+ "800.200.160" => "ERROR_GENERAL_BLACKLIST",
234
+ "800.200.165" => "ERROR_GENERAL_BLACKLIST",
235
+ "800.200.202" => "ERROR_GENERAL_BLACKLIST",
236
+ "800.200.208" => "ERROR_GENERAL_BLACKLIST",
237
+ "800.200.220" => "ERROR_GENERAL_BLACKLIST",
238
+ "800.300.101" => "ERROR_GENERAL_BLACKLIST",
239
+ "800.300.102" => "ERROR_GENERAL_BLACKLIST",
240
+ "800.300.200" => "ERROR_GENERAL_BLACKLIST",
241
+ "800.300.301" => "ERROR_GENERAL_BLACKLIST",
242
+ "800.300.302" => "ERROR_GENERAL_BLACKLIST",
243
+
244
+ "800.500.100" => "ERROR_GENERAL_GENERAL",
245
+ "800.700.100" => "ERROR_GENERAL_GENERAL",
246
+
247
+ "000.100.203" => "ERROR_GENERAL_LIMIT_AMOUNT",
248
+ "100.550.310" => "ERROR_GENERAL_LIMIT_AMOUNT",
249
+ "100.550.311" => "ERROR_GENERAL_LIMIT_AMOUNT",
250
+
251
+ "000.400.107" => "ERROR_GENERAL_TIMEOUT",
252
+ "100.395.502" => "ERROR_GENERAL_TIMEOUT",
253
+
254
+ "100.395.101" => "ERROR_GIRO_NOSUPPORT",
255
+ "100.395.102" => "ERROR_GIRO_NOSUPPORT",
256
+
257
+ "100.200.200" => "ERROR_SEPA_MANDATE",
258
+ "000.100.204" => "ERROR_SEPA_MANDATE",
259
+ "000.100.205" => "ERROR_SEPA_MANDATE"
260
+ );
261
+ if ($code)
262
+ return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'ERROR_UNKNOWN';
263
+ else
264
+ return 'ERROR_UNKNOWN';
265
+ }
266
+
267
+ public function getJsUrl($server, $lang){
268
+ if ($server=="LIVE")
269
+ return $this->jsUrlLive . $lang;
270
+ else
271
+ return $this->jsUrlTest . $lang;
272
+ }
273
+
274
+ public function getTokenUrl($server)
275
+ {
276
+ if ($server=="LIVE")
277
+ return $this->tokenUrlLive;
278
+ else
279
+ return $this->tokenUrlTest;
280
+ }
281
+
282
+ public function getPostParameter($dataCust,$dataTransaction)
283
+ {
284
+ $data = "SECURITY.SENDER=" . $dataTransaction['sender'] .
285
+ "&TRANSACTION.CHANNEL=" . $dataTransaction['channel_id'] .
286
+ "&USER.LOGIN=" . $dataTransaction['login'] .
287
+ "&USER.PWD=" . $dataTransaction['password'] .
288
+ "&TRANSACTION.MODE=" . $dataTransaction['tx_mode'] .
289
+ "&IDENTIFICATION.TRANSACTIONID=" . $dataTransaction['transId'].
290
+ "&PAYMENT.TYPE=" . $dataTransaction['payment_type'] .
291
+ "&PRESENTATION.AMOUNT=" . $dataCust['amount'] .
292
+ "&PRESENTATION.CURRENCY=" . $dataCust['currency'] .
293
+ "&ADDRESS.STREET=" . $dataCust['street'] .
294
+ "&ADDRESS.ZIP=" . $dataCust['zip'] .
295
+ "&ADDRESS.CITY=" . $dataCust['city'] .
296
+ "&ADDRESS.COUNTRY=" . $dataCust['country_code'] .
297
+ "&CONTACT.EMAIL=" . $dataCust['email'] .
298
+ "&NAME.GIVEN=" . $dataCust['first_name'] .
299
+ "&NAME.FAMILY=" . $dataCust['last_name'];
300
+
301
+ return $data;
302
+ }
303
+
304
+ public function getToken($postData, $url)
305
+ {
306
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $postData);
307
+
308
+ $obj = json_decode($response);
309
+
310
+ return $obj->{'transaction'}->{'token'};
311
+ }
312
+
313
+ public function getExecuteUrl($server)
314
+ {
315
+ if ($server=="LIVE")
316
+ return $this->executeUrlLive;
317
+ else
318
+ return $this->executeUrlTest;
319
+ }
320
+
321
+ public function getPostExecutePayment($dataTransaction)
322
+ {
323
+ $data = "IDENTIFICATION.REFERENCEID=". $dataTransaction['refId'] ."&" .
324
+ "PAYMENT.METHOD=". $dataTransaction['payment_method'] ."&" .
325
+ "PAYMENT.TYPE=". $dataTransaction['payment_type'] ."&" .
326
+ "PRESENTATION.AMOUNT=". $dataTransaction['amount'] ."&" .
327
+ "PRESENTATION.CURRENCY=". $dataTransaction['currency'] ."&" .
328
+ "SECURITY.SENDER=". $dataTransaction['sender'] ."&" .
329
+ "TRANSACTION.CHANNEL=". $dataTransaction['channel_id'] ."&" .
330
+ "TRANSACTION.MODE=" . $dataTransaction['tx_mode'] ."&" .
331
+ "USER.LOGIN=". $dataTransaction['login'] ."&" .
332
+ "USER.PWD=". $dataTransaction['password'];
333
+
334
+ return $data;
335
+ }
336
+
337
+ public function executePayment($postData, $url)
338
+ {
339
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $postData);
340
+
341
+ return $response;
342
+ }
343
+
344
+ public function buildResponseArray($response)
345
+ {
346
+ $result = array();
347
+ $entries = explode("&", $response);
348
+ foreach ($entries as $entry) {
349
+ $pair = explode("=", $entry);
350
+ $result[$pair[0]] = urldecode($pair[1]);
351
+ }
352
+ return $result;
353
+ }
354
+
355
+ public function getStatusUrl($server, $token){
356
+ if ($server=="LIVE")
357
+ return $this->statusUrlLive . $token;
358
+ else
359
+ return $this->statusUrlTest . $token;
360
+ }
361
+
362
+ public function getPaymentStatus($url)
363
+ {
364
+ $response = Mage::helper('skrill/curl')->getResponse($url, true);
365
+
366
+ return $response;
367
+ }
368
+
369
+ public function getPayonTrnStatus($code, $paymentType, $separatorType)
370
+ {
371
+ if ($paymentType == 'PA') {
372
+ if ($code == 'ACK') {
373
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH');
374
+ } else {
375
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PREAUTH_FAILED');
376
+ }
377
+ } elseif ($paymentType == 'CP') {
378
+ if ($code == 'ACK') {
379
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED');
380
+ } else {
381
+ if ($separatorType != 'info') {
382
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CAPTURED_FAILED');
383
+ }
384
+ }
385
+ } elseif ($paymentType == 'RF') {
386
+ if ($code == 'ACK') {
387
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
388
+ } else {
389
+ if ($separatorType != 'info') {
390
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
391
+ }
392
+ }
393
+ } else {
394
+ if ($code == 'ACK') {
395
+ $status = Mage::helper('skrill')->__('BACKEND_TT_ACC');
396
+ } else {
397
+ $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
398
+ }
399
+ }
400
+ return $status;
401
+ }
402
+
403
+ protected function getpaymentMethodIdentifier($paymentBrand) {
404
+ if ($paymentBrand) {
405
+ if ($paymentBrand == 'VISA') {
406
+ return "SKRILL_FRONTEND_PM_VSA";
407
+ } elseif ($paymentBrand == 'MASTER') {
408
+ return "SKRILL_FRONTEND_PM_MSC";
409
+ } elseif ($paymentBrand == 'MAESTRO') {
410
+ return "SKRILL_FRONTEND_PM_MAE";
411
+ } elseif ($paymentBrand == 'AMEX') {
412
+ return "SKRILL_FRONTEND_PM_AMX";
413
+ } elseif ($paymentBrand == 'DIRECTDEBIT_SEPA_MIX_DE') {
414
+ return "FRONTEND_PM_DD";
415
+ } elseif ($paymentBrand == 'SOFORTUEBERWEISUNG') {
416
+ return "FRONTEND_PM_SOFORT";
417
+ } else {
418
+ return "FRONTEND_PM_".$paymentBrand;
419
+ }
420
+ }
421
+ return '';
422
+ }
423
+
424
+ public function getPayonComment($status, $paymentType, $paymentBrand, $bin, $separatorType, $type, $refundId, $refundStatus)
425
+ {
426
+ if ( $separatorType == "info" ) {
427
+ $separator = "<br />";
428
+ } else {
429
+ $separator = ". ";
430
+ }
431
+
432
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->getPayonTrnStatus($status, $paymentType, $separatorType).$separator;
433
+
434
+ $paymentMethodIdentifier = $this->getpaymentMethodIdentifier($paymentBrand);
435
+
436
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__($paymentMethodIdentifier).$separator;
437
+
438
+ if ($bin) {
439
+ $countryIso2 = Mage::helper('skrill')->getCountryIssuer($bin);
440
+ if ($countryIso2) {
441
+ $cardIssuer = Mage::app()->getLocale()->getCountryTranslation($countryIso2);
442
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$cardIssuer.$separator;
443
+ }
444
+ }
445
+ if ($type == "fraud") {
446
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
447
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$refundId.$separator;
448
+ if ($status == 'ACK') {
449
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".Mage::helper('skrill')->__('BACKEND_TT_'.$refundStatus).$separator;
450
+ }
451
+ }
452
+ return $comment;
453
+ }
454
+
455
+ // Enterprise =================================
456
+
457
+ // Skrill =====================================
458
+
459
+ public function doQuery($action, $params)
460
+ {
461
+ $url = 'https://www.moneybookers.com/app/query.pl';
462
+
463
+ $fields = $params;
464
+ $fields['action'] = $action;
465
+ $fields['email'] = Mage::getStoreConfig('payment/skrill_settings/merchant_account');
466
+ $fields['password'] = Mage::getStoreConfig('payment/skrill_settings/api_passwd');
467
+
468
+ $request = http_build_query($fields, '', '&');
469
+
470
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
471
+
472
+ return $response;
473
+ }
474
+
475
+ public function getStatusTrn($parameters)
476
+ {
477
+ // check status_trn 3 times if no response.
478
+ for ($i=0; $i < 3; $i++) {
479
+ $response = true;
480
+ try {
481
+ $result = $this->doQuery('status_trn', $parameters);
482
+ } catch (Exception $e) {
483
+ $response = false;
484
+ }
485
+ if ($response && $result)
486
+ {
487
+ return $this->getResponseArray($result);
488
+ }
489
+ }
490
+ return false;
491
+ }
492
+
493
+ public function getResponseArray($strings)
494
+ {
495
+ $responseArray = array();
496
+ $string = explode("\n",$strings);
497
+ $responseArray['response_header'] = $string[0];
498
+ if(!empty($string[1])) {
499
+ $stringArr = explode("&",$string[1]);
500
+ foreach ($stringArr as $key => $value) {
501
+ $valueArr = explode("=",$value);
502
+ $responseArray[urldecode($valueArr[0])] = urldecode($valueArr[1]);
503
+ }
504
+ return $responseArray;
505
+ }
506
+ else {
507
+ return false;
508
+ }
509
+ }
510
+
511
+ public function getTrnStatus($code)
512
+ {
513
+ switch ($code) {
514
+ case '2':
515
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PROCESSED');
516
+ break;
517
+ case '0':
518
+ $status = Mage::helper('skrill')->__('BACKEND_TT_PENDING');
519
+ break;
520
+ case '-1':
521
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CANCELLED');
522
+ break;
523
+ case '-2':
524
+ $status = Mage::helper('skrill')->__('BACKEND_TT_FAILED');
525
+ break;
526
+ case '-3':
527
+ $status = Mage::helper('skrill')->__('BACKEND_TT_CHARGEBACK');
528
+ break;
529
+ case '-4':
530
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED');
531
+ break;
532
+ case '-5':
533
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_FAILED');
534
+ break;
535
+ case '-6':
536
+ $status = Mage::helper('skrill')->__('BACKEND_TT_REFUNDED_PENDING');
537
+ break;
538
+ default:
539
+ $status = Mage::helper('skrill')->__('ERROR_GENERAL_ABANDONED_BYUSER');
540
+ break;
541
+ }
542
+ return $status;
543
+ }
544
+
545
+ public function getComment($response, $separatorType = false, $type = false)
546
+ {
547
+ if ( $separatorType == "info" )
548
+ $separator = "<br />";
549
+ else
550
+ $separator = ". ";
551
+
552
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".$this->getTrnStatus($response['status']).$separator;
553
+ if (isset($response['payment_type']))
554
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_PM')." : ".Mage::helper('skrill')->__('SKRILL_FRONTEND_PM_'.$response['payment_type']).$separator;
555
+ if (isset($response['payment_instrument_country']))
556
+ {
557
+ $countryIso2 = Mage::helper('skrill')->getCountryIso2($response['payment_instrument_country']);
558
+ if ($countryIso2)
559
+ {
560
+ $cardIssuer = Mage::app()->getLocale()->getCountryTranslation($countryIso2);
561
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_COUNTRY')." : ".$cardIssuer.$separator;
562
+ }
563
+ }
564
+ if ($type == "fraud")
565
+ {
566
+ $comment = Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION')." ".Mage::helper('skrill')->__('BACKEND_GENERAL_FRAUD').$separator;
567
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_GENERAL_TRANSACTION_ID')." : ".$response['mb_transaction_id'].$separator;
568
+ $comment .= Mage::helper('skrill')->__('SKRILL_BACKEND_ORDER_STATUS')." : ".$this->getTrnStatus($response['status']).$separator;
569
+ }
570
+ if ($type == "refundStatus") {
571
+ $comment .= Mage::helper('skrill')->__('BACKEND_TT_AMOUNT')." : ".$response['amount'].$separator;
572
+ }
573
+ return $comment;
574
+ }
575
+
576
+ public function doRefund($action, $params)
577
+ {
578
+ $url = 'https://www.moneybookers.com/app/refund.pl';
579
+
580
+ if ($action == "prepare") {
581
+ $fields = $params;
582
+ $fields['action'] = $action;
583
+ $fields['email'] = Mage::getStoreConfig('payment/skrill_settings/merchant_account');
584
+ $fields['password'] = Mage::getStoreConfig('payment/skrill_settings/api_passwd');
585
+ } elseif ($action == "refund") {
586
+ $fields['action'] = $action;
587
+ $fields['sid'] = $params;
588
+ }
589
+
590
+ $request = http_build_query($fields, '', '&');
591
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
592
+
593
+ return simplexml_load_string($response);
594
+ }
595
+
596
+ public function getCountryIso3($iso2)
597
+ {
598
+ $iso3 = array(
599
+ "AF" => "AFG",
600
+ "AL" => "ALB",
601
+ "DZ" => "DZA",
602
+ "AS" => "ASM",
603
+ "AD" => "AND",
604
+ "AO" => "AGO",
605
+ "AI" => "AIA",
606
+ "AQ" => "ATA",
607
+ "AG" => "ATG",
608
+ "AR" => "ARG",
609
+ "AM" => "ARM",
610
+ "AW" => "ABW",
611
+ "AU" => "AUS",
612
+ "AT" => "AUT",
613
+ "AZ" => "AZE",
614
+ "BS" => "BHS",
615
+ "BH" => "BHR",
616
+ "BD" => "BGD",
617
+ "BB" => "BRB",
618
+ "BY" => "BLR",
619
+ "BE" => "BEL",
620
+ "BZ" => "BLZ",
621
+ "BJ" => "BEN",
622
+ "BM" => "BMU",
623
+ "BT" => "BTN",
624
+ "BO" => "BOL",
625
+ "BA" => "BIH",
626
+ "BW" => "BWA",
627
+ "BV" => "BVT",
628
+ "BR" => "BRA",
629
+ "IO" => "IOT",
630
+ "VG" => "VGB",
631
+ "BN" => "BRN",
632
+ "BG" => "BGR",
633
+ "BF" => "BFA",
634
+ "BI" => "BDI",
635
+ "KH" => "KHM",
636
+ "CM" => "CMR",
637
+ "CA" => "CAN",
638
+ "CV" => "CPV",
639
+ "KY" => "CYM",
640
+ "CF" => "CAF",
641
+ "TD" => "TCD",
642
+ "CL" => "CHL",
643
+ "CN" => "CHN",
644
+ "CX" => "CXR",
645
+ "CC" => "CCK",
646
+ "CO" => "COL",
647
+ "KM" => "COM",
648
+ "CG" => "COG",
649
+ "CD" => "COD",
650
+ "CK" => "COK",
651
+ "CR" => "CRI",
652
+ "HR" => "HRV",
653
+ "CU" => "CUB",
654
+ "CY" => "CYP",
655
+ "CZ" => "CZE",
656
+ "CI" => "CIV",
657
+ "DK" => "DNK",
658
+ "DJ" => "DJI",
659
+ "DM" => "DMA",
660
+ "DO" => "DOM",
661
+ "EC" => "ECU",
662
+ "EG" => "EGY",
663
+ "SV" => "SLV",
664
+ "GQ" => "GNQ",
665
+ "ER" => "ERI",
666
+ "EE" => "EST",
667
+ "ET" => "ETH",
668
+ "FK" => "FLK",
669
+ "FO" => "FRO",
670
+ "FJ" => "FJI",
671
+ "FI" => "FIN",
672
+ "FR" => "FRA",
673
+ "GF" => "GUF",
674
+ "PF" => "PYF",
675
+ "TF" => "ATF",
676
+ "GA" => "GAB",
677
+ "GM" => "GMB",
678
+ "GE" => "GEO",
679
+ "DE" => "DEU",
680
+ "GH" => "GHA",
681
+ "GI" => "GIB",
682
+ "GR" => "GRC",
683
+ "GL" => "GRL",
684
+ "GD" => "GRD",
685
+ "GP" => "GLD",
686
+ "GU" => "GUM",
687
+ "GT" => "GTM",
688
+ "GG" => "GGY",
689
+ "GN" => "HTI",
690
+ "GW" => "HMD",
691
+ "GY" => "VAT",
692
+ "HT" => "GIN",
693
+ "HM" => "GNB",
694
+ "HN" => "HND",
695
+ "HK" => "HKG",
696
+ "HU" => "HUN",
697
+ "IS" => "ISL",
698
+ "IN" => "IND",
699
+ "ID" => "IDN",
700
+ "IR" => "IRN",
701
+ "IQ" => "IRQ",
702
+ "IE" => "IRL",
703
+ "IM" => "IMN",
704
+ "IL" => "ISR",
705
+ "IT" => "ITA",
706
+ "JM" => "JAM",
707
+ "JP" => "JPN",
708
+ "JE" => "JEY",
709
+ "JO" => "JOR",
710
+ "KZ" => "KAZ",
711
+ "KE" => "KEN",
712
+ "KI" => "KIR",
713
+ "KW" => "KWT",
714
+ "KG" => "KGZ",
715
+ "LA" => "LAO",
716
+ "LV" => "LVA",
717
+ "LB" => "LBN",
718
+ "LS" => "LSO",
719
+ "LR" => "LBR",
720
+ "LY" => "LBY",
721
+ "LI" => "LIE",
722
+ "LT" => "LTU",
723
+ "LU" => "LUX",
724
+ "MO" => "MAC",
725
+ "MK" => "MKD",
726
+ "MG" => "MDG",
727
+ "MW" => "MWI",
728
+ "MY" => "MYS",
729
+ "MV" => "MDV",
730
+ "ML" => "MLI",
731
+ "MT" => "MLT",
732
+ "MH" => "MHL",
733
+ "MQ" => "MTQ",
734
+ "MR" => "MRT",
735
+ "MU" => "MUS",
736
+ "YT" => "MYT",
737
+ "MX" => "MEX",
738
+ "FM" => "FSM",
739
+ "MD" => "MDA",
740
+ "MC" => "MCO",
741
+ "MN" => "MNG",
742
+ "ME" => "MNE",
743
+ "MS" => "MSR",
744
+ "MA" => "MAR",
745
+ "MZ" => "MOZ",
746
+ "MM" => "MMR",
747
+ "NA" => "NAM",
748
+ "NR" => "NRU",
749
+ "NP" => "NPL",
750
+ "NL" => "NLD",
751
+ "AN" => "ANT",
752
+ "NC" => "NCL",
753
+ "NZ" => "NZL",
754
+ "NI" => "NIC",
755
+ "NE" => "NER",
756
+ "NG" => "NGA",
757
+ "NU" => "NIU",
758
+ "NF" => "NFK",
759
+ "KP" => "PRK",
760
+ "MP" => "MNP",
761
+ "NO" => "NOR",
762
+ "OM" => "OMN",
763
+ "PK" => "PAK",
764
+ "PW" => "PLW",
765
+ "PS" => "PSE",
766
+ "PA" => "PAN",
767
+ "PG" => "PNG",
768
+ "PY" => "PRY",
769
+ "PE" => "PER",
770
+ "PH" => "PHL",
771
+ "PN" => "PCN",
772
+ "PL" => "POL",
773
+ "PT" => "PRT",
774
+ "PR" => "PRI",
775
+ "QA" => "QAT",
776
+ "RO" => "ROU",
777
+ "RU" => "RUS",
778
+ "RW" => "RWA",
779
+ "RE" => "REU",
780
+ "BL" => "BLM",
781
+ "SH" => "SHN",
782
+ "KN" => "KNA",
783
+ "LC" => "LCA",
784
+ "MF" => "MAF",
785
+ "PM" => "SPM",
786
+ "WS" => "WSM",
787
+ "SM" => "SMR",
788
+ "SA" => "SAU",
789
+ "SN" => "SEN",
790
+ "RS" => "SRB",
791
+ "SC" => "SYC",
792
+ "SL" => "SLE",
793
+ "SG" => "SGP",
794
+ "SK" => "SVK",
795
+ "SI" => "SVN",
796
+ "SB" => "SLB",
797
+ "SO" => "SOM",
798
+ "ZA" => "ZAF",
799
+ "GS" => "SGS",
800
+ "KR" => "KOR",
801
+ "ES" => "ESP",
802
+ "LK" => "LKA",
803
+ "VC" => "VCT",
804
+ "SD" => "SDN",
805
+ "SR" => "SUR",
806
+ "SJ" => "SJM",
807
+ "SZ" => "SWZ",
808
+ "SE" => "SWE",
809
+ "CH" => "CHE",
810
+ "SY" => "SYR",
811
+ "ST" => "STP",
812
+ "TW" => "TWN",
813
+ "TJ" => "TJK",
814
+ "TZ" => "TZA",
815
+ "TH" => "THA",
816
+ "TL" => "TLS",
817
+ "TG" => "TGO",
818
+ "TK" => "TKL",
819
+ "TO" => "TON",
820
+ "TT" => "TTO",
821
+ "TN" => "TUN",
822
+ "TR" => "TUR",
823
+ "TM" => "TKM",
824
+ "TC" => "TCA",
825
+ "TV" => "TUV",
826
+ "UM" => "UMI",
827
+ "VI" => "VIR",
828
+ "UG" => "UGA",
829
+ "UA" => "UKR",
830
+ "AE" => "ARE",
831
+ "GB" => "GBR",
832
+ "US" => "USA",
833
+ "UY" => "URY",
834
+ "UZ" => "UZB",
835
+ "VU" => "VUT",
836
+ "VA" => "GUY",
837
+ "VE" => "VEN",
838
+ "VN" => "VNM",
839
+ "WF" => "WLF",
840
+ "EH" => "ESH",
841
+ "YE" => "YEM",
842
+ "ZM" => "ZMB",
843
+ "ZW" => "ZWE",
844
+ "AX" => "ALA"
845
+ );
846
+ if ($iso2)
847
+ return array_key_exists($iso2, $iso3) ? $iso3[$iso2] : '';
848
+ else
849
+ return '';
850
+ }
851
+
852
+ public function getCountryIso2($iso3)
853
+ {
854
+ $iso2 = array(
855
+ "AFG" => "AF",
856
+ "ALB" => "AL",
857
+ "DZA" => "DZ",
858
+ "ASM" => "AS",
859
+ "AND" => "AD",
860
+ "AGO" => "AO",
861
+ "AIA" => "AI",
862
+ "ATA" => "AQ",
863
+ "ATG" => "AG",
864
+ "ARG" => "AR",
865
+ "ARM" => "AM",
866
+ "ABW" => "AW",
867
+ "AUS" => "AU",
868
+ "AUT" => "AT",
869
+ "AZE" => "AZ",
870
+ "BHS" => "BS",
871
+ "BHR" => "BH",
872
+ "BGD" => "BD",
873
+ "BRB" => "BB",
874
+ "BLR" => "BY",
875
+ "BEL" => "BE",
876
+ "BLZ" => "BZ",
877
+ "BEN" => "BJ",
878
+ "BMU" => "BM",
879
+ "BTN" => "BT",
880
+ "BOL" => "BO",
881
+ "BIH" => "BA",
882
+ "BWA" => "BW",
883
+ "BVT" => "BV",
884
+ "BRA" => "BR",
885
+ "IOT" => "IO",
886
+ "VGB" => "VG",
887
+ "BRN" => "BN",
888
+ "BGR" => "BG",
889
+ "BFA" => "BF",
890
+ "BDI" => "BI",
891
+ "KHM" => "KH",
892
+ "CMR" => "CM",
893
+ "CAN" => "CA",
894
+ "CPV" => "CV",
895
+ "CYM" => "KY",
896
+ "CAF" => "CF",
897
+ "TCD" => "TD",
898
+ "CHL" => "CL",
899
+ "CHN" => "CN",
900
+ "CXR" => "CX",
901
+ "CCK" => "CC",
902
+ "COL" => "CO",
903
+ "COM" => "KM",
904
+ "COG" => "CG",
905
+ "COD" => "CD",
906
+ "COK" => "CK",
907
+ "CRI" => "CR",
908
+ "HRV" => "HR",
909
+ "CUB" => "CU",
910
+ "CYP" => "CY",
911
+ "CZE" => "CZ",
912
+ "CIV" => "CI",
913
+ "DNK" => "DK",
914
+ "DJI" => "DJ",
915
+ "DMA" => "DM",
916
+ "DOM" => "DO",
917
+ "ECU" => "EC",
918
+ "EGY" => "EG",
919
+ "SLV" => "SV",
920
+ "GNQ" => "GQ",
921
+ "ERI" => "ER",
922
+ "EST" => "EE",
923
+ "ETH" => "ET",
924
+ "FLK" => "FK",
925
+ "FRO" => "FO",
926
+ "FJI" => "FJ",
927
+ "FIN" => "FI",
928
+ "FRA" => "FR",
929
+ "GUF" => "GF",
930
+ "PYF" => "PF",
931
+ "ATF" => "TF",
932
+ "GAB" => "GA",
933
+ "GMB" => "GM",
934
+ "GEO" => "GE",
935
+ "DEU" => "DE",
936
+ "GHA" => "GH",
937
+ "GIB" => "GI",
938
+ "GRC" => "GR",
939
+ "GRL" => "GL",
940
+ "GRD" => "GD",
941
+ "GLD" => "GP",
942
+ "GUM" => "GU",
943
+ "GTM" => "GT",
944
+ "GGY" => "GG",
945
+ "HTI" => "GN",
946
+ "HMD" => "GW",
947
+ "VAT" => "GY",
948
+ "GIN" => "HT",
949
+ "GNB" => "HM",
950
+ "HND" => "HN",
951
+ "HKG" => "HK",
952
+ "HUN" => "HU",
953
+ "ISL" => "IS",
954
+ "IND" => "IN",
955
+ "IDN" => "ID",
956
+ "IRN" => "IR",
957
+ "IRQ" => "IQ",
958
+ "IRL" => "IE",
959
+ "IMN" => "IM",
960
+ "ISR" => "IL",
961
+ "ITA" => "IT",
962
+ "JAM" => "JM",
963
+ "JPN" => "JP",
964
+ "JEY" => "JE",
965
+ "JOR" => "JO",
966
+ "KAZ" => "KZ",
967
+ "KEN" => "KE",
968
+ "KIR" => "KI",
969
+ "KWT" => "KW",
970
+ "KGZ" => "KG",
971
+ "LAO" => "LA",
972
+ "LVA" => "LV",
973
+ "LBN" => "LB",
974
+ "LSO" => "LS",
975
+ "LBR" => "LR",
976
+ "LBY" => "LY",
977
+ "LIE" => "LI",
978
+ "LTU" => "LT",
979
+ "LUX" => "LU",
980
+ "MAC" => "MO",
981
+ "MKD" => "MK",
982
+ "MDG" => "MG",
983
+ "MWI" => "MW",
984
+ "MYS" => "MY",
985
+ "MDV" => "MV",
986
+ "MLI" => "ML",
987
+ "MLT" => "MT",
988
+ "MHL" => "MH",
989
+ "MTQ" => "MQ",
990
+ "MRT" => "MR",
991
+ "MUS" => "MU",
992
+ "MYT" => "YT",
993
+ "MEX" => "MX",
994
+ "FSM" => "FM",
995
+ "MDA" => "MD",
996
+ "MCO" => "MC",
997
+ "MNG" => "MN",
998
+ "MNE" => "ME",
999
+ "MSR" => "MS",
1000
+ "MAR" => "MA",
1001
+ "MOZ" => "MZ",
1002
+ "MMR" => "MM",
1003
+ "NAM" => "NA",
1004
+ "NRU" => "NR",
1005
+ "NPL" => "NP",
1006
+ "NLD" => "NL",
1007
+ "ANT" => "AN",
1008
+ "NCL" => "NC",
1009
+ "NZL" => "NZ",
1010
+ "NIC" => "NI",
1011
+ "NER" => "NE",
1012
+ "NGA" => "NG",
1013
+ "NIU" => "NU",
1014
+ "NFK" => "NF",
1015
+ "PRK" => "KP",
1016
+ "MNP" => "MP",
1017
+ "NOR" => "NO",
1018
+ "OMN" => "OM",
1019
+ "PAK" => "PK",
1020
+ "PLW" => "PW",
1021
+ "PSE" => "PS",
1022
+ "PAN" => "PA",
1023
+ "PNG" => "PG",
1024
+ "PRY" => "PY",
1025
+ "PER" => "PE",
1026
+ "PHL" => "PH",
1027
+ "PCN" => "PN",
1028
+ "POL" => "PL",
1029
+ "PRT" => "PT",
1030
+ "PRI" => "PR",
1031
+ "QAT" => "QA",
1032
+ "ROU" => "RO",
1033
+ "RUS" => "RU",
1034
+ "RWA" => "RW",
1035
+ "REU" => "RE",
1036
+ "BLM" => "BL",
1037
+ "SHN" => "SH",
1038
+ "KNA" => "KN",
1039
+ "LCA" => "LC",
1040
+ "MAF" => "MF",
1041
+ "SPM" => "PM",
1042
+ "WSM" => "WS",
1043
+ "SMR" => "SM",
1044
+ "SAU" => "SA",
1045
+ "SEN" => "SN",
1046
+ "SRB" => "RS",
1047
+ "SYC" => "SC",
1048
+ "SLE" => "SL",
1049
+ "SGP" => "SG",
1050
+ "SVK" => "SK",
1051
+ "SVN" => "SI",
1052
+ "SLB" => "SB",
1053
+ "SOM" => "SO",
1054
+ "ZAF" => "ZA",
1055
+ "SGS" => "GS",
1056
+ "KOR" => "KR",
1057
+ "ESP" => "ES",
1058
+ "LKA" => "LK",
1059
+ "VCT" => "VC",
1060
+ "SDN" => "SD",
1061
+ "SUR" => "SR",
1062
+ "SJM" => "SJ",
1063
+ "SWZ" => "SZ",
1064
+ "SWE" => "SE",
1065
+ "CHE" => "CH",
1066
+ "SYR" => "SY",
1067
+ "STP" => "ST",
1068
+ "TWN" => "TW",
1069
+ "TJK" => "TJ",
1070
+ "TZA" => "TZ",
1071
+ "THA" => "TH",
1072
+ "TLS" => "TL",
1073
+ "TGO" => "TG",
1074
+ "TKL" => "TK",
1075
+ "TON" => "TO",
1076
+ "TTO" => "TT",
1077
+ "TUN" => "TN",
1078
+ "TUR" => "TR",
1079
+ "TKM" => "TM",
1080
+ "TCA" => "TC",
1081
+ "TUV" => "TV",
1082
+ "UMI" => "UM",
1083
+ "VIR" => "VI",
1084
+ "UGA" => "UG",
1085
+ "UKR" => "UA",
1086
+ "ARE" => "AE",
1087
+ "GBR" => "GB",
1088
+ "USA" => "US",
1089
+ "URY" => "UY",
1090
+ "UZB" => "UZ",
1091
+ "VUT" => "VU",
1092
+ "GUY" => "VA",
1093
+ "VEN" => "VE",
1094
+ "VNM" => "VN",
1095
+ "WLF" => "WF",
1096
+ "ESH" => "EH",
1097
+ "YEM" => "YE",
1098
+ "ZMB" => "ZM",
1099
+ "ZWE" => "ZW",
1100
+ "ALA" => "AX" );
1101
+ if ($iso3)
1102
+ return array_key_exists($iso3, $iso2) ? $iso2[$iso3] : '';
1103
+ else
1104
+ return '';
1105
+ }
1106
+
1107
+ public function getSkrillErrorMapping($code)
1108
+ {
1109
+ $error_messages = array(
1110
+ "01" => "SKRILL_ERROR_01",
1111
+ "02" => "SKRILL_ERROR_02",
1112
+ "03" => "SKRILL_ERROR_03",
1113
+ "04" => "SKRILL_ERROR_04",
1114
+ "05" => "SKRILL_ERROR_05",
1115
+ "08" => "SKRILL_ERROR_08",
1116
+ "09" => "SKRILL_ERROR_09",
1117
+ "10" => "SKRILL_ERROR_10",
1118
+ "12" => "SKRILL_ERROR_12",
1119
+ "15" => "SKRILL_ERROR_15",
1120
+ "19" => "SKRILL_ERROR_19",
1121
+ "24" => "SKRILL_ERROR_24",
1122
+ "28" => "SKRILL_ERROR_28",
1123
+ "32" => "SKRILL_ERROR_32",
1124
+ "37" => "SKRILL_ERROR_37",
1125
+ "38" => "SKRILL_ERROR_38",
1126
+ "42" => "SKRILL_ERROR_42",
1127
+ "44" => "SKRILL_ERROR_44",
1128
+ "51" => "SKRILL_ERROR_51",
1129
+ "63" => "SKRILL_ERROR_63",
1130
+ "70" => "SKRILL_ERROR_70",
1131
+ "71" => "SKRILL_ERROR_71",
1132
+ "80" => "SKRILL_ERROR_80",
1133
+ "98" => "SKRILL_ERROR_98",
1134
+ "99" => "SKRILL_ERROR_99_GENERAL"
1135
+ );
1136
+ if ($code)
1137
+ return array_key_exists($code, $error_messages) ? $error_messages[$code] : 'SKRILL_ERROR_99_GENERAL';
1138
+ else
1139
+ return 'SKRILL_ERROR_99_GENERAL';
1140
+ }
1141
+
1142
+ // Skrill =====================================
1143
+
1144
+ /**
1145
+ * Retrieve quote object
1146
+ *
1147
+ * @return Mage_Sales_Model_Quote
1148
+ */
1149
+ public function getQuote()
1150
+ {
1151
+ return Mage::getModel('checkout/session')->getQuote();
1152
+ }
1153
+
1154
+
1155
+ /**
1156
+ * Retrieve order object
1157
+ *
1158
+ * @param int $id
1159
+ * @return Mage_Sales_Model_Order
1160
+ */
1161
+ public function getOrder($id)
1162
+ {
1163
+ return Mage::getSingleton('sales/order')->load($id);
1164
+ }
1165
+
1166
+ /**
1167
+ * Retrieve customer data
1168
+ *
1169
+ * @param Mage_Sales_Model_Order $order
1170
+ * @return array
1171
+ */
1172
+ public function getCustomerData(Mage_Core_Model_Abstract $order)
1173
+ {
1174
+ $data = array(
1175
+ 'name_data' => $this->getNameData($order),
1176
+ 'address_data' => $this->getAddressData($order),
1177
+ 'contact_data' => $this->getContactData($order)
1178
+ );
1179
+
1180
+ return $data;
1181
+ }
1182
+
1183
+ /**
1184
+ * Retrieve name data
1185
+ *
1186
+ * @param Mage_Core_Model_Abstract $order
1187
+ * @return array
1188
+ */
1189
+ public function getNameData(Mage_Core_Model_Abstract $order)
1190
+ {
1191
+ $dob = '';
1192
+ if(!is_null($order->getCustomerDob())) {
1193
+ $dob = new Zend_Date($order->getCustomerDob());
1194
+ $dob = $dob->toString("yyyy-MM-dd");
1195
+ }
1196
+ $data = array(
1197
+ 'first_name' => $order->getBillingAddress()->getFirstname(),
1198
+ 'last_name' => $order->getBillingAddress()->getLastname(),
1199
+ 'sex' => $this->getGender($order),
1200
+ 'dob' => $dob,
1201
+ 'company' => $order->getBillingAddress()->getCompany(),
1202
+ 'salutation' => $this->getPrefix($order)
1203
+ );
1204
+
1205
+ return $data;
1206
+ }
1207
+
1208
+ /**
1209
+ * Retrieve address data
1210
+ *
1211
+ * @param Mage_Core_Model_Abstract $order
1212
+ * @return array
1213
+ */
1214
+ public function getAddressData(Mage_Core_Model_Abstract $order)
1215
+ {
1216
+ $data = array(
1217
+ 'country_code' => $order->getBillingAddress()->getCountryId(),
1218
+ 'street' => str_replace("\n", " ", $order->getBillingAddress()->getStreetFull()),
1219
+ 'zip' => $order->getBillingAddress()->getPostcode(),
1220
+ 'city' => $order->getBillingAddress()->getCity(),
1221
+ 'state' => $order->getBillingAddress()->getRegion(),
1222
+ );
1223
+
1224
+ return $data;
1225
+ }
1226
+
1227
+ /**
1228
+ * Retrieve contact data
1229
+ *
1230
+ * @param Mage_Core_Model_Abstract $order
1231
+ * @return array
1232
+ */
1233
+ public function getContactData(Mage_Core_Model_Abstract $order)
1234
+ {
1235
+ $data = array(
1236
+ 'email' => $order->getCustomerEmail(),
1237
+ 'phone' => $order->getBillingAddress()->getTelephone(),
1238
+ 'ip' => Mage::helper('core/http')->getRemoteAddr(false)
1239
+ );
1240
+
1241
+ return $data;
1242
+ }
1243
+
1244
+ /**
1245
+ * Retrieve Basket data
1246
+ *
1247
+ * @param Mage_Core_Model_Abstract $order || Mage_Sales_Model_Quote $order
1248
+ * @return array
1249
+ */
1250
+ public function getBasketData(Mage_Core_Model_Abstract $order)
1251
+ {
1252
+ if ( $order instanceof Mage_Core_Model_Abstract ) {
1253
+ $basket = array(
1254
+ 'amount' => $order->getGrandTotal(),
1255
+ 'currency' => $order->getOrderCurrencyCode(),
1256
+ 'baseCurrency' => $order->getBaseCurrencyCode(),
1257
+ 'baseAmount' => $order->getBaseGrandTotal()
1258
+ );
1259
+ }
1260
+ else if ( $order instanceof Mage_Sales_Model_Quote ) {
1261
+ $basket = array(
1262
+ 'amount' => $order->getGrandTotal(),
1263
+ 'currency' => $order->getQuoteCurrencyCode(),
1264
+ 'baseCurrency' => $order->getBaseCurrencyCode(),
1265
+ 'baseAmount' => $order->getBaseGrandTotal()
1266
+ );
1267
+ }
1268
+
1269
+ return $basket;
1270
+ }
1271
+
1272
+ /**
1273
+ * Retrieve method code for config loading
1274
+ *
1275
+ * @param Mage_Core_Model_Abstract $order
1276
+ * @return string
1277
+ */
1278
+ public function getMethodCode(Mage_Core_Model_Abstract $order)
1279
+ {
1280
+ return str_replace('skrill', 'method', $order->getPayment()->getMethod());
1281
+ }
1282
+
1283
+ /**
1284
+ * This method returns the customer gender code
1285
+ *
1286
+ * @param Mage_Core_Model_Abstract $order
1287
+ * @return string
1288
+ */
1289
+ public function getGender(Mage_Core_Model_Abstract $order)
1290
+ {
1291
+ $gender = $order->getCustomerGender();
1292
+ if ($gender) {
1293
+ $attribute = Mage::getModel('eav/entity_attribute')->loadByCode('customer', 'gender');
1294
+ $option = $attribute->getFrontend()->getOption($gender);
1295
+
1296
+ switch (strtolower($option)) {
1297
+ case 'male':
1298
+ return 'M';
1299
+ case 'female':
1300
+ return 'F';
1301
+ }
1302
+ }
1303
+ return '';
1304
+ }
1305
+
1306
+ /**
1307
+ * Retrieve the prefix
1308
+ *
1309
+ * @param Mage_Core_Model_Abstract $order
1310
+ * @return string
1311
+ */
1312
+ public function getPrefix(Mage_Core_Model_Abstract $order)
1313
+ {
1314
+ $gender = $order->getCustomerPrefix();
1315
+ if ($gender) {
1316
+ switch (strtolower($gender)) {
1317
+ case 'herr':
1318
+ case 'mr':
1319
+ return 'MR';
1320
+ case 'frau':
1321
+ case 'mrs':
1322
+ return 'MRS';
1323
+ case 'fräulein':
1324
+ case 'ms':
1325
+ return 'MS';
1326
+
1327
+ }
1328
+ }
1329
+ return '';
1330
+ }
1331
+
1332
+ /**
1333
+ * Retrieve the locale code in iso (2 chars)
1334
+ *
1335
+ * @return string
1336
+ */
1337
+ public function getLocaleIsoCode()
1338
+ {
1339
+ return substr(Mage::app()->getLocale()->getLocaleCode(), 0, 2);
1340
+ }
1341
+
1342
+ public function invoice(Mage_Core_Model_Abstract $order)
1343
+ {
1344
+ $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice();
1345
+ $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
1346
+ $invoice->register();
1347
+ $invoice->getOrder()->setCustomerNoteNotify(false);
1348
+ $invoice->getOrder()->setIsInProcess(true);
1349
+ $transactionSave = Mage::getModel('core/resource_transaction')
1350
+ ->addObject($invoice)
1351
+ ->addObject($invoice->getOrder());
1352
+ $transactionSave->save();
1353
+ }
1354
+
1355
+ public function getCountryIssuer($bin)
1356
+ {
1357
+ $url = 'http://www.binlist.net/json/'.$bin;
1358
+
1359
+ $response = Mage::helper('skrill/curl')->getResponse($url, true);
1360
+
1361
+ return $response['country_code'];
1362
+ }
1363
+
1364
+ public function getDateTime()
1365
+ {
1366
+ $t = microtime(true);
1367
+ $micro = sprintf("%06d",($t - floor($t)) * 1000000);
1368
+ $d = new DateTime( date('Y-m-d H:i:s.'.$micro, $t) );
1369
+
1370
+ return $d->format("ymdhiu");
1371
+ }
1372
+
1373
+ public function randomNumber($length) {
1374
+ $result = '';
1375
+
1376
+ for($i = 0; $i < $length; $i++) {
1377
+ $result .= mt_rand(0, 9);
1378
+ }
1379
+
1380
+ return $result;
1381
+ }
1382
+
1383
+ public function getMerchantData($storeId)
1384
+ {
1385
+ $versionData['transaction_mode'] = 'LIVE';
1386
+ $versionData['ip_address'] = Mage::helper('core/http')->getServerAddr();
1387
+ $versionData['shop_version'] = Mage::getVersion();
1388
+ $versionData['plugin_version'] = Mage::getStoreConfig('payment/skrill_settings/version', $storeId);
1389
+ $versionData['client'] = 'Skrill';
1390
+ $versionData['merchant_id'] = Mage::getStoreConfig('payment/skrill_settings/merchant_id', $storeId);
1391
+ $versionData['shop_system'] = 'Magento';
1392
+ $versionData['shop_url'] = Mage::getStoreConfig('payment/skrill_settings/shop_url', $storeId);
1393
+
1394
+ if (Mage::getStoreConfig('payment/skrill_settings/merchant_account', $storeId)) {
1395
+ $versionData['email'] = Mage::getStoreConfig('payment/skrill_settings/merchant_account', $storeId);
1396
+ } else {
1397
+ $collection = Mage::getModel('admin/user')->getCollection()->setPageSize(1)->getData();
1398
+ $versionData['email'] = $collection[0]['email'];
1399
+ }
1400
+
1401
+ return $versionData;
1402
+ }
1403
+
1404
+ }
1405
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Skrill/Helper/VersionTracker.php CHANGED
@@ -1,77 +1,53 @@
1
- <?php
2
- /**
3
- * 2015 Skrill
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.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@prestashop.com so we can send you a copy immediately.
14
- *
15
- * @author Skrill <contact@skrill.com>
16
- * @copyright 2015 Skrill
17
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
18
- * International Registered Trademark & Property of Skrill
19
- */
20
-
21
- class Skrill_Helper_VersionTracker extends Mage_Core_Helper_Abstract
22
- {
23
- private static $versionTrackerUrl = 'http://api.dbserver.payreto.eu/v1/tracker';
24
-
25
- private static function getVersionTrackerUrl()
26
- {
27
- return self::$versionTrackerUrl;
28
- }
29
-
30
- private static function getResponseData($data, $url)
31
- {
32
- $ch = curl_init();
33
- curl_setopt($ch, CURLOPT_URL, $url);
34
- curl_setopt($ch, CURLOPT_POST, 1);
35
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
36
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
37
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
38
-
39
- $response = curl_exec($ch);
40
- if (curl_errno($ch)) {
41
- return false;
42
- }
43
- curl_close($ch);
44
- return json_decode($response, true);
45
- }
46
-
47
- private static function getVersionTrackerParameter($versionData)
48
- {
49
- $data = 'transaction_mode=' .$versionData['transaction_mode'].
50
- '&ip_address=' .$versionData['ip_address'].
51
- '&shop_version=' .$versionData['shop_version'].
52
- '&plugin_version=' .$versionData['plugin_version'].
53
- '&client=' .$versionData['client'].
54
- '&hash=' .md5($versionData['shop_version'].$versionData['plugin_version'].$versionData['client']);
55
-
56
- if ($versionData['shop_system']) {
57
- $data .= '&shop_system=' .$versionData['shop_system'];
58
- }
59
- if ($versionData['email']) {
60
- $data .= '&email=' .$versionData['email'];
61
- }
62
- if ($versionData['merchant_id']) {
63
- $data .= '&merchant_id=' .$versionData['merchant_id'];
64
- }
65
- if ($versionData['shop_url']) {
66
- $data .= '&shop_url=' .$versionData['shop_url'];
67
- }
68
- return $data;
69
- }
70
-
71
- public static function sendVersionTracker($versionData)
72
- {
73
- $postData = self::getVersionTrackerParameter($versionData);
74
- $url = self::getVersionTrackerUrl();
75
- return self::getResponseData($postData, $url);
76
- }
77
- }
1
+ <?php
2
+ /**
3
+ * 2015 Skrill
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.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@prestashop.com so we can send you a copy immediately.
14
+ *
15
+ * @author Skrill <contact@skrill.com>
16
+ * @copyright 2015 Skrill
17
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
18
+ * International Registered Trademark & Property of Skrill
19
+ */
20
+
21
+ class Skrill_Helper_VersionTracker extends Mage_Core_Helper_Abstract
22
+ {
23
+ protected $versionTrackerUrl = 'http://api.dbserver.payreto.eu/v1/tracker';
24
+
25
+ protected function getVersionTrackerUrl()
26
+ {
27
+ return $this->versionTrackerUrl;
28
+ }
29
+
30
+ protected function getVersionTrackerParameter($versionData)
31
+ {
32
+ $versionData['hash'] = md5($versionData['shop_version'].$versionData['plugin_version'].$versionData['client']);
33
+
34
+ return http_build_query(array_filter($versionData), '', '&');
35
+ }
36
+
37
+ public function sendVersionTracker($versionData)
38
+ {
39
+ Mage::log('send version tracker', null, 'skrill_log_file.log');
40
+
41
+ $url = $this->getVersionTrackerUrl();
42
+
43
+ $request = $this->getVersionTrackerParameter($versionData);
44
+ Mage::log('send version tracker request', null, 'skrill_log_file.log');
45
+ Mage::log($versionData, null, 'skrill_log_file.log');
46
+
47
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $request, true);
48
+ Mage::log('send version tracker response', null, 'skrill_log_file.log');
49
+ Mage::log($response, null, 'skrill_log_file.log');
50
+
51
+ return $response;
52
+ }
53
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Skrill/Model/Method/Abstract.php CHANGED
@@ -1,483 +1,473 @@
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
-
236
- $postData = Mage::helper('skrill')->getPostParameter($dataCust,$dataTransaction);
237
-
238
- $url = Mage::helper('skrill')->getTokenUrl($server);
239
-
240
- try {
241
- $token = Mage::helper('skrill')->getToken($postData,$url);
242
- } catch (Exception $e) {
243
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
244
- }
245
-
246
- Mage::getSingleton('customer/session')->setIframeToken($token);
247
- Mage::getSingleton('customer/session')->setIframeName($name['first_name'].' '.$name['last_name']);
248
- Mage::getSingleton('customer/session')->setIframeBrand($this->_accountBrand);
249
- Mage::getSingleton('customer/session')->setIframeFrontendResponse(Mage::getUrl('skrill/response/handleCpResponse/',array('_secure'=>true)));
250
-
251
- if ($this->_code == "skrill_creditcard")
252
- {
253
- if ( !Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection') )
254
- {
255
- $brand = "AMEX VISA MASTER MAESTRO";
256
- }
257
- else
258
- {
259
- $brand = str_replace(",", " ", Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection'));
260
- }
261
- Mage::getSingleton('customer/session')->setIframeCardBrand($brand);
262
- }
263
-
264
- if ($token) {
265
- $this->_paymentform();
266
- } else {
267
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
268
- }
269
-
270
- return Mage::getSingleton('customer/session')->getRedirectUrl();
271
- }
272
-
273
- protected function getTransactionMode()
274
- {
275
- $server = $this->getServerMode();
276
-
277
- if ($server == "LIVE")
278
- {
279
- return 'LIVE';
280
- }
281
- else
282
- {
283
- switch ($this->_code) {
284
- case 'skrill_creditcard':
285
- case 'skrill_directdebit':
286
- case 'skrill_eps':
287
- case 'skrill_giropay':
288
- case 'skrill_yandex':
289
- return 'INTEGRATOR_TEST';
290
- break;
291
- case 'skrill_ideal':
292
- case 'skrill_paypal':
293
- case 'skrill_sofortuberweisung':
294
- default:
295
- return 'CONNECTOR_TEST';
296
- break;
297
-
298
- }
299
- }
300
- }
301
-
302
- public function capture(Varien_Object $payment, $amount)
303
- {
304
-
305
- if ($payment->getAdditionalInformation('skrill_transaction_code') == 'PA') {
306
-
307
- $order = $payment->getOrder();
308
- $base_currency = $order->getBaseCurrencyCode();
309
- $order_currency = $order->getOrderCurrencyCode();
310
- $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
311
- $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
312
-
313
- $refId = $payment->getAdditionalInformation('skrill_uniqueid');
314
-
315
- $dataTransaction = $this->getCredentials();
316
- $dataTransaction['tx_mode'] = $this->getTransactionMode();
317
-
318
- $dataTransaction['refId'] = $refId;
319
- $dataTransaction['amount'] = $convert_amount;
320
- $dataTransaction['currency'] = $order_currency;
321
- $dataTransaction['payment_method'] = $this->_methodCode;
322
- $dataTransaction['payment_type'] = "CP";
323
-
324
- $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
325
-
326
- $server = $this->getServerMode();
327
-
328
- $url = Mage::helper('skrill')->getExecuteUrl($server);
329
-
330
- try {
331
- $response = Mage::helper('skrill')->executePayment($postData, $url);
332
- } catch (Exception $e) {
333
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
334
- return $this;
335
- }
336
-
337
- $result = Mage::helper('skrill')->buildResponseArray($response);
338
-
339
- if ($result['PROCESSING.RESULT'] == 'ACK') {
340
- $payment->setAdditionalInformation('skrill_status', "ACK");
341
- $payment->setAdditionalInformation('skrill_transaction_code', "CP");
342
- $payment->setStatus('APPROVED')
343
- ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
344
- ->setIsTransactionClosed(1)->save();
345
- } else {
346
- $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "CP");
347
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
348
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
349
- }
350
-
351
- }
352
- else {
353
- $payment->setStatus('APPROVED')
354
- ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
355
- ->setIsTransactionClosed(1)->save();
356
- }
357
- return $this;
358
- }
359
-
360
- public function processInvoice($invoice, $payment)
361
- {
362
- $invoice->setTransactionId($payment->getLastTransId());
363
- $invoice->save();
364
- $invoice->sendEmail();
365
- return $this;
366
- }
367
-
368
- public function refund(Varien_Object $payment, $amount)
369
- {
370
- $order = $payment->getOrder();
371
- $base_currency = $order->getBaseCurrencyCode();
372
- $order_currency = $order->getOrderCurrencyCode();
373
- $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
374
- $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
375
-
376
- $refId = $payment->getAdditionalInformation('skrill_uniqueid');
377
-
378
- $dataTransaction = $this->getCredentials();
379
- $dataTransaction['tx_mode'] = $this->getTransactionMode();
380
-
381
- $dataTransaction['refId'] = $refId;
382
- $dataTransaction['amount'] = $convert_amount;
383
- $dataTransaction['currency'] = $order_currency;
384
- $dataTransaction['payment_method'] = $this->_methodCode;
385
- $dataTransaction['payment_type'] = "RF";
386
-
387
- $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
388
-
389
- $server = $this->getServerMode();
390
-
391
- $url = Mage::helper('skrill')->getExecuteUrl($server);
392
-
393
- try {
394
- $response = Mage::helper('skrill')->executePayment($postData, $url);
395
- } catch (Exception $e) {
396
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
397
- return $this;
398
- }
399
-
400
- $result = Mage::helper('skrill')->buildResponseArray($response);
401
-
402
- if ($result['PROCESSING.RESULT'] == 'ACK') {
403
- $payment->setAdditionalInformation('skrill_status', "ACK");
404
- $payment->setAdditionalInformation('skrill_transaction_code', "RF");
405
- $payment->setTransactionId($result['IDENTIFICATION.UNIQUEID'])
406
- ->setIsTransactionClosed(1)->save();
407
- } else {
408
- $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "RF");
409
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
410
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
411
- }
412
-
413
- return $this;
414
- }
415
-
416
- /**
417
- *
418
- * @return string
419
- */
420
- public function getAccountBrand()
421
- {
422
- return $this->_accountBrand;
423
- }
424
-
425
- public function getPaymentType()
426
- {
427
- return $this->_paymentType;
428
- }
429
-
430
- /**
431
- *
432
- * @return string
433
- */
434
- public function getMethod()
435
- {
436
- return $this->_methodCode;
437
- }
438
-
439
- /**
440
- * Returns Payment Title
441
- *
442
- * @return string
443
- */
444
- public function getTitle()
445
- {
446
- return Mage::helper('skrill')->__($this->_methodTitle);
447
- }
448
-
449
-
450
- protected function getActionUrl($action_name)
451
- {
452
- return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/response/'.$action_name.'/', array('_secure'=>true));
453
- }
454
- /**
455
- * Set the iframe Url
456
- *
457
- * @param array $response
458
- */
459
- protected function _paymentform()
460
- {
461
- switch ($this->_code) {
462
- case 'skrill_creditcard':
463
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCC"));
464
- break;
465
- case 'skrill_directdebit':
466
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderDD"));
467
- break;
468
- case 'skrill_paypal':
469
- case 'skrill_payolutioninv':
470
- case 'skrill_payolutionins':
471
- case 'skrill_paysafecard':
472
- case 'skrill_paytrail':
473
- case 'skrill_yandex':
474
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderRedirect"));
475
- break;
476
- default:
477
- Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCP"));
478
- break;
479
- }
480
- }
481
-
482
- }
483
-
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
+
236
+ $postData = Mage::helper('skrill')->getPostParameter($dataCust,$dataTransaction);
237
+
238
+ $url = Mage::helper('skrill')->getTokenUrl($server);
239
+
240
+ try {
241
+ $token = Mage::helper('skrill')->getToken($postData,$url);
242
+ } catch (Exception $e) {
243
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
244
+ }
245
+
246
+ Mage::getSingleton('customer/session')->setIframeToken($token);
247
+ Mage::getSingleton('customer/session')->setIframeName($name['first_name'].' '.$name['last_name']);
248
+ Mage::getSingleton('customer/session')->setIframeBrand($this->_accountBrand);
249
+ Mage::getSingleton('customer/session')->setIframeFrontendResponse(Mage::getUrl('skrill/response/handleCpResponse/',array('_secure'=>true)));
250
+
251
+ if ($this->_code == "skrill_creditcard")
252
+ {
253
+ if ( !Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection') )
254
+ {
255
+ $brand = "AMEX VISA MASTER MAESTRO";
256
+ }
257
+ else
258
+ {
259
+ $brand = str_replace(",", " ", Mage::getStoreConfig('payment/'.$this->_skrillCode.'/card_selection'));
260
+ }
261
+ Mage::getSingleton('customer/session')->setIframeCardBrand($brand);
262
+ }
263
+
264
+ if ($token) {
265
+ $this->_paymentform();
266
+ } else {
267
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
268
+ }
269
+
270
+ return Mage::getSingleton('customer/session')->getRedirectUrl();
271
+ }
272
+
273
+ protected function getTransactionMode()
274
+ {
275
+ $server = $this->getServerMode();
276
+
277
+ if ($server == "LIVE") {
278
+ return 'LIVE';
279
+ } else {
280
+ switch ($this->_code) {
281
+ case 'skrill_creditcard':
282
+ case 'skrill_directdebit':
283
+ case 'skrill_eps':
284
+ case 'skrill_giropay':
285
+ case 'skrill_yandex':
286
+ return 'INTEGRATOR_TEST';
287
+ default:
288
+ }
289
+ }
290
+ }
291
+
292
+ public function capture(Varien_Object $payment, $amount)
293
+ {
294
+
295
+ if ($payment->getAdditionalInformation('skrill_transaction_code') == 'PA') {
296
+
297
+ $order = $payment->getOrder();
298
+ $base_currency = $order->getBaseCurrencyCode();
299
+ $order_currency = $order->getOrderCurrencyCode();
300
+ $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
301
+ $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
302
+
303
+ $refId = $payment->getAdditionalInformation('skrill_uniqueid');
304
+
305
+ $dataTransaction = $this->getCredentials();
306
+ $dataTransaction['tx_mode'] = $this->getTransactionMode();
307
+
308
+ $dataTransaction['refId'] = $refId;
309
+ $dataTransaction['amount'] = $convert_amount;
310
+ $dataTransaction['currency'] = $order_currency;
311
+ $dataTransaction['payment_method'] = $this->_methodCode;
312
+ $dataTransaction['payment_type'] = "CP";
313
+
314
+ $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
315
+
316
+ $server = $this->getServerMode();
317
+
318
+ $url = Mage::helper('skrill')->getExecuteUrl($server);
319
+
320
+ try {
321
+ $response = Mage::helper('skrill')->executePayment($postData, $url);
322
+ } catch (Exception $e) {
323
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
324
+ return $this;
325
+ }
326
+
327
+ $result = Mage::helper('skrill')->buildResponseArray($response);
328
+
329
+ if ($result['PROCESSING.RESULT'] == 'ACK') {
330
+ $payment->setAdditionalInformation('skrill_status', "ACK");
331
+ $payment->setAdditionalInformation('skrill_transaction_code', "CP");
332
+ $payment->setStatus('APPROVED')
333
+ ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
334
+ ->setIsTransactionClosed(1)->save();
335
+ } else {
336
+ $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "CP");
337
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
338
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
339
+ }
340
+
341
+ }
342
+ else {
343
+ $payment->setStatus('APPROVED')
344
+ ->setTransactionId($payment->getAdditionalInformation('skrill_uniqueid'))
345
+ ->setIsTransactionClosed(1)->save();
346
+ }
347
+ return $this;
348
+ }
349
+
350
+ public function processInvoice($invoice, $payment)
351
+ {
352
+ $invoice->setTransactionId($payment->getLastTransId())->save();
353
+ $invoice->sendEmail();
354
+ $payment->getOrder()->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
355
+ return $this;
356
+ }
357
+
358
+ public function refund(Varien_Object $payment, $amount)
359
+ {
360
+ $order = $payment->getOrder();
361
+ $base_currency = $order->getBaseCurrencyCode();
362
+ $order_currency = $order->getOrderCurrencyCode();
363
+ $convert_amount = Mage::helper('directory')->currencyConvert($amount, $base_currency, $order_currency);
364
+ $convert_amount = round($convert_amount, 2, PHP_ROUND_HALF_DOWN);
365
+
366
+ $refId = $payment->getAdditionalInformation('skrill_uniqueid');
367
+
368
+ $dataTransaction = $this->getCredentials();
369
+ $dataTransaction['tx_mode'] = $this->getTransactionMode();
370
+
371
+ $dataTransaction['refId'] = $refId;
372
+ $dataTransaction['amount'] = $convert_amount;
373
+ $dataTransaction['currency'] = $order_currency;
374
+ $dataTransaction['payment_method'] = $this->_methodCode;
375
+ $dataTransaction['payment_type'] = "RF";
376
+
377
+ $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
378
+
379
+ $server = $this->getServerMode();
380
+
381
+ $url = Mage::helper('skrill')->getExecuteUrl($server);
382
+
383
+ try {
384
+ $response = Mage::helper('skrill')->executePayment($postData, $url);
385
+ } catch (Exception $e) {
386
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
387
+ return $this;
388
+ }
389
+
390
+ $result = Mage::helper('skrill')->buildResponseArray($response);
391
+
392
+ if ($result['PROCESSING.RESULT'] == 'ACK') {
393
+ $payment->setAdditionalInformation('skrill_status', "ACK");
394
+ $payment->setAdditionalInformation('skrill_transaction_code', "RF");
395
+ $payment->setTransactionId($result['IDENTIFICATION.UNIQUEID'])
396
+ ->setIsTransactionClosed(1)->save();
397
+ } else {
398
+ $comment = Mage::helper('skrill')->getPayonComment($result['PROCESSING.RESULT'], "RF");
399
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
400
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
401
+ }
402
+
403
+ return $this;
404
+ }
405
+
406
+ /**
407
+ *
408
+ * @return string
409
+ */
410
+ public function getAccountBrand()
411
+ {
412
+ return $this->_accountBrand;
413
+ }
414
+
415
+ public function getPaymentType()
416
+ {
417
+ return $this->_paymentType;
418
+ }
419
+
420
+ /**
421
+ *
422
+ * @return string
423
+ */
424
+ public function getMethod()
425
+ {
426
+ return $this->_methodCode;
427
+ }
428
+
429
+ /**
430
+ * Returns Payment Title
431
+ *
432
+ * @return string
433
+ */
434
+ public function getTitle()
435
+ {
436
+ return Mage::helper('skrill')->__($this->_methodTitle);
437
+ }
438
+
439
+
440
+ protected function getActionUrl($action_name)
441
+ {
442
+ return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/response/'.$action_name.'/', array('_secure'=>true));
443
+ }
444
+ /**
445
+ * Set the iframe Url
446
+ *
447
+ * @param array $response
448
+ */
449
+ protected function _paymentform()
450
+ {
451
+ switch ($this->_code) {
452
+ case 'skrill_creditcard':
453
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCC"));
454
+ break;
455
+ case 'skrill_directdebit':
456
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderDD"));
457
+ break;
458
+ case 'skrill_paypal':
459
+ case 'skrill_payolutioninv':
460
+ case 'skrill_payolutionins':
461
+ case 'skrill_paysafecard':
462
+ case 'skrill_paytrail':
463
+ case 'skrill_yandex':
464
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderRedirect"));
465
+ break;
466
+ default:
467
+ Mage::getSingleton('customer/session')->setRedirectUrl($this->getActionUrl("renderCP"));
468
+ break;
469
+ }
470
+ }
471
+
472
+ }
473
+
 
 
 
 
 
 
 
 
 
 
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,51 +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
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_din';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_din';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'DIN';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_DIN';
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_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,51 +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
- /**
25
- * Path for payment form block
26
- *
27
- * @var string
28
- */
29
- protected $_formBlockType = 'skrill/payment_form_jcb';
30
-
31
- /**
32
- * Magento method code
33
- *
34
- * @var string
35
- */
36
- protected $_code = 'skrill_jcb';
37
-
38
- /**
39
- *
40
- * @var string
41
- */
42
- protected $_accountBrand = 'JCB';
43
-
44
- /**
45
- * Payment Title
46
- *
47
- * @var type
48
- */
49
- protected $_methodTitle = 'SKRILL_FRONTEND_PM_JCB';
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_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,427 +1,447 @@
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
-
29
- /**
30
- * Is method a gateaway
31
- *
32
- * @var boolean
33
- */
34
- protected $_isGateway = true;
35
-
36
- /**
37
- * Can this method use for checkout
38
- *
39
- * @var boolean
40
- */
41
- protected $_canUseCheckout = true;
42
-
43
- /**
44
- * Can this method use for multishipping
45
- *
46
- * @var boolean
47
- */
48
- protected $_canUseForMultishipping = false;
49
-
50
- /**
51
- * Is a initalize needed
52
- *
53
- * @var boolean
54
- */
55
- protected $_isInitializeNeeded = true;
56
-
57
- /**
58
- *
59
- * @var string
60
- */
61
- protected $_accountBrand = '';
62
-
63
- /**
64
- * Payment Title
65
- *
66
- * @var type
67
- */
68
- protected $_methodTitle = '';
69
-
70
- /**
71
- * Magento method code
72
- *
73
- * @var string
74
- */
75
- protected $_code = 'skrill_abstract';
76
-
77
- /**
78
- * Redirect or iFrame
79
- * @var type
80
- */
81
-
82
- protected $_canCapture = true;
83
- protected $_canRefund = true;
84
- protected $_canRefundInvoicePartial = true;
85
-
86
- protected $_infoBlockType = 'skrill/payment_skrillinfo';
87
-
88
- protected $_allowspecific = 0;
89
-
90
- public function __construct()
91
- {
92
- if ( Mage::getStoreConfig('payment/'.$this->getCode().'/show_separately') )
93
- {
94
- $this->_canUseCheckout = true;
95
- if ( Mage::getStoreConfig('payment/skrill_acc/active') && Mage::getStoreConfig('payment/skrill_acc/show_separately') )
96
- {
97
- switch ($this->getCode()) {
98
- case 'skrill_vsa':
99
- case 'skrill_msc':
100
- case 'skrill_amx':
101
- $this->_canUseCheckout = false;
102
- break;
103
- default:
104
- # code...
105
- break;
106
- }
107
- }
108
- }
109
- else
110
- $this->_canUseCheckout = false;
111
-
112
- $order = Mage::getSingleton('checkout/session')->getQuote();
113
-
114
- if ( $this->isCountryNotSupport($order) && $this->_canUseCheckout )
115
- $this->_canUseCheckout = false;
116
- }
117
-
118
- /**
119
- * Return Quote or Order Object depending what the Payment is
120
- *
121
- * @return Mage_Sales_Model_Order
122
- */
123
- public function getOrder()
124
- {
125
- $paymentInfo = $this->getInfoInstance();
126
-
127
- if ($paymentInfo instanceof Mage_Sales_Model_Order_Payment) {
128
- return $paymentInfo->getOrder();
129
- }
130
-
131
- return $paymentInfo->getQuote();
132
- }
133
-
134
- public function getOrderIncrementId()
135
- {
136
- $order = $this->getOrder();
137
- if ($order instanceof Mage_Sales_Model_Order) {
138
- return $order->getIncrementId();
139
- }
140
- return $order->getReservedOrderId();
141
- }
142
-
143
- /**
144
- * Retrieve the settings
145
- *
146
- * @return array
147
- */
148
- public function getSkrillSettings()
149
- {
150
- $settings = array(
151
- 'merchant_id' => Mage::getStoreConfig('payment/skrill_settings/merchant_id', $this->getOrder()->getStoreId()),
152
- 'merchant_account' => Mage::getStoreConfig('payment/skrill_settings/merchant_account', $this->getOrder()->getStoreId()),
153
- 'recipient_desc' => Mage::getStoreConfig('payment/skrill_settings/recipient_desc', $this->getOrder()->getStoreId()),
154
- 'logo_url' => urlencode(Mage::getStoreConfig('payment/skrill_settings/logo_url', $this->getOrder()->getStoreId())),
155
- 'api_passwd' => Mage::getStoreConfig('payment/skrill_settings/api_passwd', $this->getOrder()->getStoreId()),
156
- 'secret_word' => Mage::getStoreConfig('payment/skrill_settings/secret_word', $this->getOrder()->getStoreId()),
157
- 'merchant_email' => Mage::getStoreConfig('payment/skrill_settings/merchant_email', $this->getOrder()->getStoreId())
158
- );
159
-
160
- return $settings;
161
- }
162
-
163
- public function getDisplay()
164
- {
165
- return Mage::getStoreConfig('payment/skrill_settings/display', $this->getOrder()->getStoreId());
166
- }
167
-
168
- public function isEU($order)
169
- {
170
- $countryId = $order->getBillingAddress()->getCountryId();
171
- $eu_countries = Mage::getStoreConfig('general/country/eu_countries');
172
- $eu_countries_array = explode(',',$eu_countries);
173
- if(in_array($countryId, $eu_countries_array))
174
- return true;
175
- else
176
- return false;
177
- }
178
-
179
- public function canUseForPayOn()
180
- {
181
- $listPayment = array('skrill_acc', 'skrill_did', 'skrill_npy', 'skrill_gir', 'skrill_idl', 'skrill_sft', 'skrill_psc' );
182
- if ( in_array($this->_code, $listPayment) )
183
- return true;
184
- else
185
- return false;
186
- }
187
-
188
- public function canUseForCountry($country)
189
- {
190
- if ($this->canUseForPayOn())
191
- {
192
- if($this->_allowspecific == 1){
193
- $availableCountries = explode(',', $this->_specificcountry);
194
- if(!in_array($country, $availableCountries)){
195
- return false;
196
- }
197
-
198
- }
199
- return true;
200
- }
201
- else
202
- {
203
- return parent::canUseForCountry($country);
204
- }
205
- }
206
-
207
- public function isCountryNotSupport($order)
208
- {
209
- $countryId = $order->getBillingAddress()->getCountryId();
210
- $not_support_countries = "AF,MM,NG,KP,SD,SY,SO,YE";
211
- $not_support_countries_array = explode(',',$not_support_countries);
212
- if(in_array($countryId, $not_support_countries_array))
213
- return true;
214
- else
215
- return false;
216
- }
217
-
218
- public function getSid($fields)
219
- {
220
- $url = 'https://pay.skrill.com';
221
-
222
- $fields_string = http_build_query($fields);
223
-
224
- $curl = curl_init();
225
- curl_setopt($curl,CURLOPT_URL, $url);
226
- curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
227
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
228
- curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
229
- curl_setopt($curl, CURLINFO_HEADER_OUT, true);
230
- curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-type: application/x-www-form-urlencoded;charset=UTF-8'));
231
- curl_setopt($curl, CURLOPT_FAILONERROR, 1);
232
- curl_setopt($curl,CURLOPT_POST, count($fields));
233
- curl_setopt($curl,CURLOPT_POSTFIELDS, $fields_string);
234
-
235
- $result = curl_exec($curl);
236
-
237
- Mage::log('get sid log: ', $result, 'skrill_log_file.log');
238
-
239
- if(curl_errno($curl)) {
240
- throw new Exception("Curl error: ". curl_error($curl));
241
- }
242
- curl_close($curl);
243
-
244
- return $result;
245
- }
246
-
247
- public function getPaymentMethods()
248
- {
249
- $payment_methods = "WLT,PSC,ACC,VSA,MSC,VSD,VSE,MAE,AMX,GCB,DNK,PSP,CSI,OBT,GIR,DID,SFT,EBT,IDL,NPY,PLI,PWY,EPY,GLU,ALI,NTL";
250
- $pm_list = explode(",", $payment_methods);
251
- $list = '';
252
- foreach ($pm_list as $key => $pm) {
253
- if ( Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/active') && Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/gateway') != "PAYON" )
254
- $list .= $pm.',';
255
- }
256
-
257
- return rtrim($list,",");
258
- }
259
-
260
- protected function getStatusUrl()
261
- {
262
- $statusUrl = Mage::getUrl(
263
- 'skrill/payment/handleStatusResponse/',
264
- array(
265
- 'orderId' => $this->getOrderIncrementId(),
266
- 'paymentMethod' => $this->getCode(),
267
- '_secure' => true
268
- )
269
- );
270
-
271
- $statusUrls = explode(':', $statusUrl);
272
-
273
- if ($statusUrls[0] == 'https') {
274
- return $statusUrl;
275
- }
276
-
277
- return false;
278
- }
279
-
280
- /**
281
- * Retrieve the order place URL
282
- *
283
- * @return string
284
- */
285
- public function getOrderPlaceRedirectUrl()
286
- {
287
- $name = Mage::helper('skrill')->getNameData($this->getOrder());
288
- $address = Mage::helper('skrill')->getAddressData($this->getOrder());
289
- $contact = Mage::helper('skrill')->getContactData($this->getOrder());
290
- $basket = Mage::helper('skrill')->getBasketData($this->getOrder());
291
- $settings = $this->getSkrillSettings();
292
-
293
- if (empty($settings['merchant_id']) || empty($settings['merchant_account']) || empty($settings['api_passwd']) || empty($settings['secret_word']))
294
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
295
-
296
- $postParameters['pay_to_email'] = $settings['merchant_account'];
297
- $postParameters['recipient_description'] = $settings['recipient_desc'];
298
- $postParameters['transaction_id'] = $this->getOrderIncrementId().Mage::helper('skrill')->getDateTime().Mage::helper('skrill')->randomNumber(4);
299
- $postParameters['return_url'] = Mage::getUrl(
300
- 'skrill/payment/handleResponse/',
301
- array('_secure' => true)
302
- )
303
- ."?orderId=".urlencode($this->getOrderIncrementId())
304
- ."&paymentMethod=".$this->getCode();
305
- if ($this->getStatusUrl()) {
306
- $postParameters['status_url'] = $this->getStatusUrl();
307
- }
308
- $postParameters['status_url2'] = $settings['merchant_email'];
309
- $postParameters['cancel_url'] = Mage::getUrl('skrill/payment/cancelResponse',array('_secure'=>true));
310
- $postParameters['language'] = $this->getLanguage();
311
- $postParameters['logo_url'] = $settings['logo_url'];
312
- $postParameters['prepare_only'] = 1;
313
- $postParameters['pay_from_email'] = $contact['email'];
314
- $postParameters['firstname'] = $name['first_name'];
315
- $postParameters['lastname'] = $name['last_name'];
316
- $postParameters['address'] = $address['street'];
317
- $postParameters['postal_code'] = $address['zip'];
318
- $postParameters['city'] = $address['city'];
319
- $postParameters['country'] = Mage::helper('skrill')->getCountryIso3($address['country_code']);
320
- $postParameters['amount'] = $basket['amount'];
321
- $postParameters['currency'] = Mage::app()->getStore()->getCurrentCurrencyCode();
322
- $postParameters['detail1_description'] = "Order pay from ".$contact['email'];
323
- $postParameters['merchant_fields'] = 'Platform';
324
- $postParameters['Platform'] = '71422537';
325
-
326
- if ($this->_code != "skrill_flexible")
327
- $postParameters['payment_methods'] = $this->getAccountBrand();
328
-
329
- try {
330
- $sid = $this->getSid($postParameters);
331
- } catch (Exception $e) {
332
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
333
- }
334
-
335
- if (!$sid)
336
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
337
-
338
- Mage::getSingleton('customer/session')->setRedirectUrl('https://pay.skrill.com/?sid='.$sid);
339
-
340
- if ($this->getDisplay() == "IFRAME" )
341
- return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/payment/qcheckout/', array('_secure'=>true));
342
- else
343
- return Mage::getSingleton('customer/session')->getRedirectUrl();
344
-
345
- }
346
-
347
- public function getLanguage(){
348
-
349
- $langs = Mage::helper('skrill')->getLocaleIsoCode();
350
- switch ($langs) {
351
- case 'de':
352
- $lang = 'DE';
353
- break;
354
-
355
- default:
356
- $lang='EN';
357
- }
358
-
359
- return $lang;
360
- }
361
-
362
- public function capture(Varien_Object $payment, $amount)
363
- {
364
- $payment->setStatus('APPROVED')
365
- ->setTransactionId($payment->getAdditionalInformation('skrill_mb_transaction_id'))
366
- ->setIsTransactionClosed(1)->save();
367
-
368
- return $this;
369
- }
370
-
371
- public function processInvoice($invoice, $payment)
372
- {
373
- $invoice->setTransactionId($payment->getLastTransId());
374
- $invoice->save();
375
- $invoice->sendEmail();
376
- return $this;
377
- }
378
-
379
- public function refund(Varien_Object $payment, $amount)
380
- {
381
- $params['mb_transaction_id'] = $payment->getAdditionalInformation('skrill_mb_transaction_id');
382
- $params['amount'] = $amount;
383
-
384
- $xml_result = Mage::helper('skrill')->doRefund('prepare', $params);
385
-
386
- $sid = (string) $xml_result->sid;
387
-
388
- $xml_result = Mage::helper('skrill')->doRefund('refund', $sid);
389
-
390
- $status = (string) $xml_result->status;
391
- $mb_trans_id = (string) $xml_result->mb_transaction_id;
392
-
393
- if ($status == '2') {
394
- $payment->setAdditionalInformation('skrill_status', "-4");
395
- $payment->setTransactionId($mb_trans_id)
396
- ->setIsTransactionClosed(1)->save();
397
- } else {
398
- $response['status'] = "-5";
399
- $comment = Mage::helper('skrill')->getComment($response);
400
- $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
401
- Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_PROCESSING'));
402
- }
403
-
404
- return $this;
405
- }
406
-
407
- /**
408
- *
409
- * @return string
410
- */
411
- public function getAccountBrand()
412
- {
413
- return $this->_accountBrand;
414
- }
415
-
416
- /**
417
- * Returns Payment Title
418
- *
419
- * @return string
420
- */
421
- public function getTitle()
422
- {
423
- return Mage::helper('skrill')->__($this->_methodTitle);
424
- }
425
-
426
- }
427
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
134
+ return $paymentInfo->getQuote();
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
+ $settings = array(
154
+ 'merchant_id' => Mage::getStoreConfig('payment/skrill_settings/merchant_id', $this->getOrder()->getStoreId()),
155
+ 'merchant_account' => Mage::getStoreConfig('payment/skrill_settings/merchant_account', $this->getOrder()->getStoreId()),
156
+ 'recipient_desc' => Mage::getStoreConfig('payment/skrill_settings/recipient_desc', $this->getOrder()->getStoreId()),
157
+ 'logo_url' => urlencode(Mage::getStoreConfig('payment/skrill_settings/logo_url', $this->getOrder()->getStoreId())),
158
+ 'api_passwd' => Mage::getStoreConfig('payment/skrill_settings/api_passwd', $this->getOrder()->getStoreId()),
159
+ 'secret_word' => Mage::getStoreConfig('payment/skrill_settings/secret_word', $this->getOrder()->getStoreId()),
160
+ 'merchant_email' => Mage::getStoreConfig('payment/skrill_settings/merchant_email', $this->getOrder()->getStoreId())
161
+ );
162
+
163
+ return $settings;
164
+ }
165
+
166
+ public function getDisplay()
167
+ {
168
+ return Mage::getStoreConfig('payment/skrill_settings/display', $this->getOrder()->getStoreId());
169
+ }
170
+
171
+ public function isEU($order)
172
+ {
173
+ $countryId = $order->getBillingAddress()->getCountryId();
174
+ $eu_countries = Mage::getStoreConfig('general/country/eu_countries');
175
+ $eu_countries_array = explode(',',$eu_countries);
176
+ if(in_array($countryId, $eu_countries_array))
177
+ return true;
178
+ else
179
+ return false;
180
+ }
181
+
182
+ public function canUseForPayOn()
183
+ {
184
+ $listPayment = array('skrill_acc', 'skrill_did', 'skrill_npy', 'skrill_gir', 'skrill_idl', 'skrill_sft', 'skrill_psc' );
185
+ if ( in_array($this->_code, $listPayment) )
186
+ return true;
187
+ else
188
+ return false;
189
+ }
190
+
191
+ public function canUseForCountry($country)
192
+ {
193
+ if ($this->canUseForPayOn())
194
+ {
195
+ if($this->_allowspecific == 1){
196
+ $availableCountries = explode(',', $this->_specificcountry);
197
+ if(!in_array($country, $availableCountries)){
198
+ return false;
199
+ }
200
+
201
+ }
202
+ return true;
203
+ }
204
+ else
205
+ {
206
+ return parent::canUseForCountry($country);
207
+ }
208
+ }
209
+
210
+ public function isCountryNotSupport($order)
211
+ {
212
+ $countryId = $order->getBillingAddress()->getCountryId();
213
+ $not_support_countries = "AF,MM,NG,KP,SD,SY,SO,YE";
214
+ $not_support_countries_array = explode(',',$not_support_countries);
215
+ if(in_array($countryId, $not_support_countries_array))
216
+ return true;
217
+ else
218
+ return false;
219
+ }
220
+
221
+ public function getSid($parameters)
222
+ {
223
+ $url = 'https://pay.skrill.com';
224
+
225
+ $request = http_build_query($parameters, '', '&');
226
+
227
+ $response = Mage::helper('skrill/curl')->sendRequest($url, $request);
228
+
229
+ Mage::log('get sid request', null, 'skrill_log_file.log');
230
+ Mage::log($parameters, null, 'skrill_log_file.log');
231
+ Mage::log('get sid response : '.$response, null, 'skrill_log_file.log');
232
+
233
+ return $response;
234
+ }
235
+
236
+ public function getPaymentMethods()
237
+ {
238
+ $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";
239
+ $pm_list = explode(",", $payment_methods);
240
+ $list = '';
241
+ foreach ($pm_list as $key => $pm) {
242
+ if ( Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/active') && Mage::getStoreConfig('payment/skrill_'.strtolower($pm).'/gateway') != "PAYON" )
243
+ $list .= $pm.',';
244
+ }
245
+
246
+ return rtrim($list,",");
247
+ }
248
+
249
+ protected function getStatusUrl()
250
+ {
251
+ $statusUrl = Mage::getUrl(
252
+ 'skrill/payment/handleStatusResponse/',
253
+ array(
254
+ 'orderId' => $this->getOrderIncrementId(),
255
+ 'paymentMethod' => $this->getCode(),
256
+ '_secure' => true
257
+ )
258
+ );
259
+
260
+ return $statusUrl;
261
+ }
262
+
263
+ protected function getRefundStatusUrl($orderId)
264
+ {
265
+ $refundStatusUrl = Mage::getUrl(
266
+ 'skrill/payment/handleRefundStatusResponse/',
267
+ array(
268
+ 'orderId' => $orderId,
269
+ 'paymentMethod' => $this->getCode(),
270
+ '_secure' => true
271
+ )
272
+ );
273
+
274
+ return $refundStatusUrl;
275
+ }
276
+
277
+ /**
278
+ * Retrieve the order place URL
279
+ *
280
+ * @return string
281
+ */
282
+ public function getOrderPlaceRedirectUrl()
283
+ {
284
+ $name = Mage::helper('skrill')->getNameData($this->getOrder());
285
+ $address = Mage::helper('skrill')->getAddressData($this->getOrder());
286
+ $contact = Mage::helper('skrill')->getContactData($this->getOrder());
287
+ $basket = Mage::helper('skrill')->getBasketData($this->getOrder());
288
+ $settings = $this->getSkrillSettings();
289
+
290
+ if (empty($settings['merchant_id']) || empty($settings['merchant_account']) || empty($settings['api_passwd']) || empty($settings['secret_word']))
291
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
292
+
293
+ $postParameters['pay_to_email'] = $settings['merchant_account'];
294
+ $postParameters['recipient_description'] = $settings['recipient_desc'];
295
+ $postParameters['transaction_id'] = $this->getOrderIncrementId().Mage::helper('skrill')->getDateTime().Mage::helper('skrill')->randomNumber(4);
296
+ $postParameters['return_url'] = Mage::getUrl(
297
+ 'skrill/payment/handleResponse/',
298
+ array('_secure' => true)
299
+ )
300
+ ."?orderId=".urlencode($this->getOrderIncrementId())
301
+ ."&paymentMethod=".$this->getCode();
302
+ $postParameters['status_url'] = $this->getStatusUrl();
303
+ if (isset($settings['merchant_email'])) {
304
+ $postParameters['status_url2'] = $settings['merchant_email'];
305
+ }
306
+ $postParameters['cancel_url'] = Mage::getUrl('skrill/payment/cancelResponse',array('_secure'=>true));
307
+ $postParameters['language'] = $this->getLanguage();
308
+ $postParameters['logo_url'] = $settings['logo_url'];
309
+ $postParameters['prepare_only'] = 1;
310
+ $postParameters['pay_from_email'] = $contact['email'];
311
+ $postParameters['firstname'] = $name['first_name'];
312
+ $postParameters['lastname'] = $name['last_name'];
313
+ $postParameters['address'] = $address['street'];
314
+ $postParameters['postal_code'] = $address['zip'];
315
+ $postParameters['city'] = $address['city'];
316
+ $postParameters['country'] = Mage::helper('skrill')->getCountryIso3($address['country_code']);
317
+ $postParameters['amount'] = $basket['baseAmount'];
318
+ $postParameters['currency'] = $basket['baseCurrency'];
319
+ $postParameters['detail1_description'] = "Order pay from ".$contact['email'];
320
+ $postParameters['merchant_fields'] = 'Platform';
321
+ $postParameters['Platform'] = '71422537';
322
+
323
+ if ($this->_code != "skrill_flexible")
324
+ $postParameters['payment_methods'] = $this->getAccountBrand();
325
+
326
+ try {
327
+ $sid = $this->getSid($postParameters);
328
+ } catch (Exception $e) {
329
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
330
+ }
331
+
332
+ if (!$sid)
333
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REDIRECT'));
334
+
335
+ Mage::getSingleton('customer/session')->setRedirectUrl('https://pay.skrill.com/?sid='.$sid);
336
+
337
+ if ($this->getDisplay() == "IFRAME" )
338
+ return Mage::app()->getStore(Mage::getDesign()->getStore())->getUrl('skrill/payment/qcheckout/', array('_secure'=>true));
339
+ else
340
+ return Mage::getSingleton('customer/session')->getRedirectUrl();
341
+
342
+ }
343
+
344
+ public function getLanguage(){
345
+
346
+ $langs = Mage::helper('skrill')->getLocaleIsoCode();
347
+ switch ($langs) {
348
+ case 'de':
349
+ $lang = 'DE';
350
+ break;
351
+
352
+ default:
353
+ $lang='EN';
354
+ }
355
+
356
+ return $lang;
357
+ }
358
+
359
+ public function capture(Varien_Object $payment, $amount)
360
+ {
361
+ $payment->setStatus('APPROVED')
362
+ ->setTransactionId($payment->getAdditionalInformation('skrill_mb_transaction_id'))
363
+ ->setIsTransactionClosed(1)->save();
364
+
365
+ return $this;
366
+ }
367
+
368
+ public function processInvoice($invoice, $payment)
369
+ {
370
+ $invoice->setTransactionId($payment->getLastTransId())->save();
371
+ $invoice->sendEmail();
372
+ $payment->getOrder()->setState(Mage_Sales_Model_Order::STATE_PROCESSING, 'payment_accepted')->save();
373
+ return $this;
374
+ }
375
+
376
+ public function refund(Varien_Object $payment, $amount)
377
+ {
378
+ if ($payment->getAdditionalInformation('skrill_refund_status') == self::REFUNDPENDING_STATUS) {
379
+ Mage::throwException(Mage::helper('skrill')->__('BACKEND_GENERAL_WAIT_REFUND_PENDING'));
380
+ }
381
+
382
+ $orderId = $payment->getOrder()->getIncrementId();
383
+ $params['mb_transaction_id'] = $payment->getAdditionalInformation('skrill_mb_transaction_id');
384
+ $params['amount'] = $amount;
385
+ $params['refund_status_url'] = $this->getRefundStatusUrl($orderId);
386
+
387
+ Mage::log('refund prepare request', null, 'skrill_log_file.log');
388
+ Mage::log($params, null, 'skrill_log_file.log');
389
+
390
+ $xml_result = Mage::helper('skrill')->doRefund('prepare', $params);
391
+
392
+ Mage::log('refund prepare response : '.Zend_Debug::dump($xml_result, null, false), null, 'skrill_log_file.log');
393
+
394
+ $sid = (string) $xml_result->sid;
395
+
396
+ $xml_result = Mage::helper('skrill')->doRefund('refund', $sid);
397
+
398
+ Mage::log('refund response with sid '.$sid.' : '.Zend_Debug::dump($xml_result, null, false), null, 'skrill_log_file.log');
399
+
400
+ $status = (string) $xml_result->status;
401
+ $mb_trans_id = (string) $xml_result->mb_transaction_id;
402
+
403
+ if ($status == self::PROCESSED_STATUS) {
404
+ $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDED_STATUS);
405
+ $payment->setTransactionId($mb_trans_id)
406
+ ->setIsTransactionClosed(1)->save();
407
+ $response['status'] = self::REFUNDED_STATUS;
408
+ $comment = Mage::helper('skrill')->getComment($response);
409
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
410
+ } elseif ($status == self::PENDING_STATUS) {
411
+ $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDPENDING_STATUS)->save();
412
+ $response['status'] = self::REFUNDPENDING_STATUS;
413
+ $comment = Mage::helper('skrill')->getComment($response);
414
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
415
+ Mage::throwException(Mage::helper('skrill')->__('SUCCESS_GENERAL_REFUND_PAYMENT_PENDING'));
416
+ } else {
417
+ $payment->setAdditionalInformation('skrill_refund_status', self::REFUNDFAILED_STATUS)->save();
418
+ $response['status'] = self::REFUNDFAILED_STATUS;
419
+ $comment = Mage::helper('skrill')->getComment($response);
420
+ $payment->getOrder()->addStatusHistoryComment($comment, false)->save();
421
+ Mage::throwException(Mage::helper('skrill')->__('ERROR_GENERAL_REFUND_PAYMENT'));
422
+ }
423
+
424
+ return $this;
425
+ }
426
+
427
+ /**
428
+ *
429
+ * @return string
430
+ */
431
+ public function getAccountBrand()
432
+ {
433
+ return $this->_accountBrand;
434
+ }
435
+
436
+ /**
437
+ * Returns Payment Title
438
+ *
439
+ * @return string
440
+ */
441
+ public function getTitle()
442
+ {
443
+ return Mage::helper('skrill')->__($this->_methodTitle);
444
+ }
445
+
446
+ }
447
+
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,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
- /**
22
- * Order success observer
23
- *
24
- */
25
- class Skrill_Model_Success_Observer
26
- {
27
-
28
- /**
29
- * Reactivate the cart because the order isn't finished
30
- *
31
- * @param Varien_Event_Observer $observer
32
- */
33
- public function activateQuote(Varien_Event_Observer $observer)
34
- {
35
- $observer->getEvent()->getQuote()->setIsActive(true)->save();
36
- }
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
+ /**
22
+ * Order success observer
23
+ *
24
+ */
25
+ class Skrill_Model_Success_Observer
26
+ {
27
+
28
+ /**
29
+ * Reactivate the cart because the order isn't finished
30
+ *
31
+ * @param Varien_Event_Observer $observer
32
+ */
33
+ public function activateQuote(Varien_Event_Observer $observer)
34
+ {
35
+ $observer->getEvent()->getQuote()->setIsActive(true)->save();
36
+ }
37
+ }
38
+
app/code/community/Skrill/controllers/PaymentController.php CHANGED
@@ -1,255 +1,351 @@
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
- protected $processedStatus = '2';
26
- protected $pendingStatus = '0';
27
- protected $failedStatus = '-2';
28
- protected $refundedStatus = '-4';
29
- protected $refundFailedStatus = '-5';
30
-
31
- /**
32
- * Construct
33
- */
34
- public function _construct()
35
- {
36
- parent::_construct();
37
- }
38
-
39
- /**
40
- * Render the Payment Form page
41
- */
42
-
43
- public function qcheckoutAction()
44
- {
45
- $this->loadLayout();
46
- $block = $this->getLayout()->createBlock('skrill/payment_qcheckout');
47
-
48
- $this->getLayout()->getBlock('content')->append($block);
49
- $this->renderLayout();
50
- }
51
-
52
- public function handleResponseAction()
53
- {
54
- $orderId = urldecode($this->getRequest()->getParam('orderId'));
55
-
56
- $order = Mage::getSingleton('sales/order');
57
- $order->loadByIncrementId($orderId);
58
-
59
- if (!$order->getId())
60
- Mage::throwException('No order for processing found');
61
-
62
- $this->processRedirectResponse($order);
63
- }
64
-
65
- public function cancelResponseAction(){
66
- $session = Mage::getSingleton('checkout/session');
67
- $order = Mage::getSingleton('sales/order');
68
- $order->loadByIncrementId($session->getLastRealOrderId());
69
-
70
- if (!$order->getId())
71
- Mage::throwException('No order for processing found');
72
-
73
- $order->cancel();
74
- $order->save();
75
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_CANCEL'));
76
- }
77
-
78
- protected function processRedirectResponse($order)
79
- {
80
- $payment = $order->getPayment();
81
-
82
- $statusUrlResponse = $payment->getAdditionalInformation('skrill_status_url_response');
83
- if (isset($statusUrlResponse)) {
84
- $responseStatus = unserialize($statusUrlResponse);
85
- } else {
86
- $parameters['trn_id'] = $this->getRequest()->getParam('transaction_id');
87
- $responseStatus = Mage::helper('skrill')->getStatusTrn($parameters);
88
- }
89
-
90
- if ($responseStatus) {
91
- $this->validatePayment($order, $responseStatus);
92
- } else {
93
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_NORESPONSE'));
94
- }
95
-
96
- if ($payment->getAdditionalInformation('skrill_status') == $this->processedStatus) {
97
- $this->_redirect('checkout/onepage/success');
98
- } elseif ($payment->getAdditionalInformation('skrill_status') == $this->failedStatus) {
99
- $failedReasonCode = $payment->getAdditionalInformation('failed_reason_code');
100
- $this->_redirectError(Mage::helper('skrill')->__(Mage::helper('skrill')->getSkrillErrorMapping($failedReasonCode)));
101
- } elseif ($payment->getAdditionalInformation('skrill_status') == $this->refundedStatus
102
- || $payment->getAdditionalInformation('skrill_status') == $this->refundFailedStatus) {
103
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
104
- } else {
105
- $this->_redirectError(Mage::helper('skrill')->__('SKRILL_ERROR_99_GENERAL'));
106
- }
107
- }
108
-
109
- public function handleStatusResponseAction()
110
- {
111
- $status = $this->getRequest()->getParam('status');
112
-
113
- if (isset($status)) {
114
- $orderId = $this->getRequest()->getParam('orderId');
115
-
116
- $order = Mage::getSingleton('sales/order');
117
- $order->loadByIncrementId($orderId);
118
-
119
- $order->getPayment()->setAdditionalInformation('skrill_status_url_response', serialize($this->getResponseStatus()));
120
- $order->getPayment()->save();
121
- }
122
- }
123
-
124
- protected function validatePayment($order, $responseStatus)
125
- {
126
- if ($responseStatus['payment_type'] == 'NGP') {
127
- $responseStatus['payment_type'] = 'OBT';
128
- }
129
-
130
- $versionData = Mage::helper('skrill')->getMerchantData($order->getStoreId());
131
- Mage::helper('skrill/versionTracker')->sendVersionTracker($versionData);
132
-
133
- $this->saveAdditionalInformation($order, $responseStatus);
134
-
135
- $isFraud = $this->isFraud($order, $responseStatus);
136
- if ($isFraud) {
137
- $this->processFraud($order, $responseStatus);
138
- } else {
139
- $this->processPayment($order, $responseStatus);
140
- }
141
-
142
- }
143
-
144
- protected function getResponseStatus()
145
- {
146
- $responseStatus = array();
147
- foreach ($_REQUEST as $responseName => $responseValue) {
148
- $responseStatus[strtolower($responseName)] = $responseValue;
149
- }
150
- return $responseStatus;
151
- }
152
-
153
- protected function saveAdditionalInformation($order, $responseStatus)
154
- {
155
- if(isset($responseStatus['transaction_id'])) {
156
- $order->getPayment()->setAdditionalInformation('skrill_transaction_id', $responseStatus['transaction_id']); }
157
- if(isset($responseStatus['mb_transaction_id'])) {
158
- $order->getPayment()->setAdditionalInformation('skrill_mb_transaction_id', $responseStatus['mb_transaction_id']); }
159
- if(isset($responseStatus['ip_country'])) {
160
- $order->getPayment()->setAdditionalInformation('skrill_ip_country', $responseStatus['ip_country']); }
161
- if(isset($responseStatus['status'])) {
162
- $order->getPayment()->setAdditionalInformation('skrill_status', $responseStatus['status']); }
163
- if(isset($responseStatus['payment_type'])) {
164
- $order->getPayment()->setAdditionalInformation('skrill_payment_type', $responseStatus['payment_type']); }
165
- if(isset($responseStatus['payment_instrument_country'])) {
166
- $order->getPayment()->setAdditionalInformation('skrill_issuer_country', $responseStatus['payment_instrument_country']); }
167
- if(isset($responseStatus['currency'])) {
168
- $order->getPayment()->setAdditionalInformation('skrill_currency', $responseStatus['currency']); }
169
- $order->getPayment()->save();
170
- }
171
-
172
- protected function setNumberFormat($number)
173
- {
174
- $number = (float) str_replace(',','.',$number);
175
- return number_format($number, 2, '.', '');
176
- }
177
-
178
- protected function isFraud($order, $response)
179
- {
180
- if ($response['amount']) {
181
- return !($response['md5sig'] == $this->generateMd5sig($order, $response));
182
- } else {
183
- return false;
184
- }
185
- }
186
-
187
- protected function generateMd5sig($order, $response)
188
- {
189
- $string = Mage::getStoreConfig('payment/skrill_settings/merchant_id', $order->getStoreId()).$response['transaction_id'].strtoupper(Mage::getStoreConfig('payment/skrill_settings/secret_word', $order->getStoreId())).$response['mb_amount'].$response['mb_currency'].$response['status'];
190
-
191
- return strtoupper(md5($string));
192
- }
193
-
194
- protected function processFraud($order, $responseStatus)
195
- {
196
- $comment = Mage::helper('skrill')->getComment($responseStatus);
197
- $order->addStatusHistoryComment($comment, false);
198
- $order->save();
199
-
200
- $params['mb_transaction_id'] = $responseStatus['mb_transaction_id'];
201
- $params['amount'] = $responseStatus['mb_amount'];
202
-
203
- $xmlResult = Mage::helper('skrill')->doRefund('prepare', $params);
204
- $sid = (string) $xmlResult->sid;
205
- $xmlResult = Mage::helper('skrill')->doRefund('refund', $sid);
206
-
207
- $status = (string) $xmlResult->status;
208
- $mbTransactionId = (string) $xmlResult->mb_transaction_id;
209
-
210
- if ($status == $this->processedStatus) {
211
- $responseStatus['status'] = $this->refundedStatus;
212
- $order->getPayment()->setAdditionalInformation('skrill_status', $responseStatus['status']);
213
- $order->getPayment()->setTransactionId($mbTransactionId)
214
- ->setIsTransactionClosed(1)->save();
215
- } else {
216
- $responseStatus['status'] = $this->refundFailedStatus;
217
- $order->getPayment()->setAdditionalInformation('skrill_status', $responseStatus['status']);
218
- $order->getPayment()->setTransactionId($mbTransactionId)
219
- ->setIsTransactionClosed(0)->save();
220
- }
221
-
222
- $comment = Mage::helper('skrill')->getComment($responseStatus,"history","fraud");
223
- $order->addStatusHistoryComment($comment, false);
224
- $order->save();
225
- }
226
-
227
- protected function processPayment($order, $responseStatus)
228
- {
229
- if ($responseStatus['status'] == $this->processedStatus) {
230
- $order->sendNewOrderEmail();
231
- Mage::helper('skrill')->invoice($order);
232
- $comment = Mage::helper('skrill')->getComment($responseStatus);
233
- $order->addStatusHistoryComment($comment, 'payment_accepted');
234
- $order->save();
235
-
236
- Mage::getModel('sales/quote')->load($order->getQuoteId())->setIsActive(false)->save();
237
- } else {
238
- if ($response['failed_reason_code']) {
239
- $order->getPayment()->setAdditionalInformation('failed_reason_code', $responseStatus['failed_reason_code']);
240
- }
241
-
242
- $comment = Mage::helper('skrill')->getComment($responseStatus);
243
- $order->addStatusHistoryComment($comment, false);
244
- $order->cancel();
245
- $order->save();
246
- }
247
- }
248
-
249
- protected function _redirectError($returnMessage)
250
- {
251
- $url = Mage::helper('checkout/url')->getCheckoutUrl();
252
- Mage::getSingleton('core/session')->addError($returnMessage);
253
- $this->getResponse()->setRedirect($url);
254
- }
255
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = urldecode($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
+ $versionData = Mage::helper('skrill')->getMerchantData($order->getStoreId());
141
+ Mage::helper('skrill/versionTracker')->sendVersionTracker($versionData);
142
+
143
+ $this->saveAdditionalInformation($order, $responseStatus);
144
+
145
+ $isFraud = $this->isFraud($order, $responseStatus);
146
+ $isFraudLog = ($isFraud) ? 'true' : 'false';
147
+ Mage::log('is Fraud : '.$isFraudLog, null, 'skrill_log_file.log');
148
+
149
+ if ($isFraud) {
150
+ $this->processFraud($order, $responseStatus);
151
+ } else {
152
+ $this->processPayment($order, $responseStatus);
153
+ }
154
+
155
+ }
156
+
157
+ protected function getResponseStatus()
158
+ {
159
+ $responseStatus = array();
160
+ foreach ($this->getRequest()->getParams() as $responseName => $responseValue) {
161
+ $responseStatus[strtolower($responseName)] = $responseValue;
162
+ }
163
+ return $responseStatus;
164
+ }
165
+
166
+ protected function saveAdditionalInformation($order, $responseStatus)
167
+ {
168
+ $payment = $order->getPayment();
169
+ if (isset($responseStatus['transaction_id'])) {
170
+ $payment->setAdditionalInformation('skrill_transaction_id', $responseStatus['transaction_id']);
171
+ }
172
+ if (isset($responseStatus['mb_transaction_id'])) {
173
+ $payment->setAdditionalInformation('skrill_mb_transaction_id', $responseStatus['mb_transaction_id']);
174
+ }
175
+ if (isset($responseStatus['ip_country'])) {
176
+ $payment->setAdditionalInformation('skrill_ip_country', $responseStatus['ip_country']);
177
+ }
178
+ if (isset($responseStatus['status'])) {
179
+ $payment->setAdditionalInformation('skrill_status', $responseStatus['status']);
180
+ }
181
+ if (isset($responseStatus['payment_type'])) {
182
+ $payment->setAdditionalInformation('skrill_payment_type', $responseStatus['payment_type']);
183
+ }
184
+ if (isset($responseStatus['payment_instrument_country'])) {
185
+ $payment->setAdditionalInformation('skrill_issuer_country', $responseStatus['payment_instrument_country']);
186
+ }
187
+ if (isset($responseStatus['currency'])) {
188
+ $payment->setAdditionalInformation('skrill_currency', $responseStatus['currency']);
189
+ }
190
+ $payment->save();
191
+ }
192
+
193
+ protected function setNumberFormat($number)
194
+ {
195
+ $number = (float) str_replace(',','.',$number);
196
+ return number_format($number, 2, '.', '');
197
+ }
198
+
199
+ protected function isFraud($order, $responseStatus)
200
+ {
201
+ return !($responseStatus['md5sig'] == $this->generateMd5sig($order, $responseStatus));
202
+ }
203
+
204
+ protected function generateMd5sig($order, $response)
205
+ {
206
+ $string = Mage::getStoreConfig('payment/skrill_settings/merchant_id', $order->getStoreId()).$response['transaction_id'].strtoupper(Mage::getStoreConfig('payment/skrill_settings/secret_word', $order->getStoreId())).$response['mb_amount'].$response['mb_currency'].$response['status'];
207
+
208
+ return strtoupper(md5($string));
209
+ }
210
+
211
+ protected function processFraud($order, $responseStatus)
212
+ {
213
+ Mage::log('process Fraud', null, 'skrill_log_file.log');
214
+
215
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
216
+ $order->addStatusHistoryComment($comment, false);
217
+ $order->save();
218
+
219
+ $params['mb_transaction_id'] = $responseStatus['mb_transaction_id'];
220
+ $params['amount'] = $responseStatus['mb_amount'];
221
+
222
+ $xmlResult = Mage::helper('skrill')->doRefund('prepare', $params);
223
+ $sid = (string) $xmlResult->sid;
224
+ $xmlResult = Mage::helper('skrill')->doRefund('refund', $sid);
225
+
226
+ $status = (string) $xmlResult->status;
227
+ $mbTransactionId = (string) $xmlResult->mb_transaction_id;
228
+
229
+ if ($status == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
230
+ $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDED_STATUS;
231
+ $order->getPayment()->setAdditionalInformation('skrill_status', $responseStatus['status']);
232
+ $order->getPayment()->setTransactionId($mbTransactionId)
233
+ ->setIsTransactionClosed(1)->save();
234
+ } else {
235
+ $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDFAILED_STATUS;
236
+ $order->getPayment()->setAdditionalInformation('skrill_status', $responseStatus['status']);
237
+ $order->getPayment()->setTransactionId($mbTransactionId)
238
+ ->setIsTransactionClosed(0)->save();
239
+ }
240
+
241
+ $comment = Mage::helper('skrill')->getComment($responseStatus,"history","fraud");
242
+ $order->cancel();
243
+ $order->setState(Mage_Sales_Model_Order::STATE_PAYMENT_REVIEW, 'fraud')->save();
244
+ $order->addStatusHistoryComment($comment, false);
245
+ $order->save();
246
+ }
247
+
248
+ protected function processPayment($order, $responseStatus)
249
+ {
250
+ Mage::log('process payment', null, 'skrill_log_file.log');
251
+
252
+ if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PENDING_STATUS) {
253
+ $order->sendNewOrderEmail();
254
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
255
+ $order->setState(Mage_Sales_Model_Order::STATE_NEW, true)->save();
256
+ $order->addStatusHistoryComment($comment, false)->save();
257
+ $this->inActiveQuote($order);
258
+ } elseif ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
259
+ $order->sendNewOrderEmail();
260
+ Mage::helper('skrill')->invoice($order);
261
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
262
+ $order->addStatusHistoryComment($comment, 'payment_accepted')->save();
263
+ $this->inActiveQuote($order);
264
+ } else {
265
+ if ($responseStatus['failed_reason_code']) {
266
+ $order->getPayment()->setAdditionalInformation(
267
+ 'failed_reason_code',
268
+ $responseStatus['failed_reason_code']
269
+ );
270
+ }
271
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
272
+ $order->addStatusHistoryComment($comment, false);
273
+ $order->cancel();
274
+ $order->save();
275
+ }
276
+ }
277
+
278
+ protected function updateOrderStatus($order, $responseStatus)
279
+ {
280
+ Mage::log('update order status with status : '.$responseStatus['status'], null, 'skrill_log_file.log');
281
+
282
+ if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
283
+ Mage::helper('skrill')->invoice($order);
284
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
285
+ $order->addStatusHistoryComment($comment, 'payment_accepted')->save();
286
+ } elseif ($responseStatus['status'] == Skrill_Model_Method_Skrill::FAILED_STATUS) {
287
+ if ($responseStatus['failed_reason_code']) {
288
+ $order->getPayment()->setAdditionalInformation(
289
+ 'failed_reason_code',
290
+ $responseStatus['failed_reason_code']
291
+ );
292
+ }
293
+ $comment = Mage::helper('skrill')->getComment($responseStatus);
294
+ $order->addStatusHistoryComment($comment, false);
295
+ $order->cancel();
296
+ $order->save();
297
+ }
298
+ }
299
+
300
+ public function handleRefundStatusResponseAction()
301
+ {
302
+ $status = $this->getRequest()->getParam('status');
303
+
304
+ Mage::log('process refund status url with status : '.$status, null, 'skrill_log_file.log');
305
+
306
+ if (isset($status)) {
307
+ $orderId = $this->getRequest()->getParam('orderId');
308
+ $responseStatus = $this->getResponseStatus();
309
+
310
+ Mage::log('refund status url response', null, 'skrill_log_file.log');
311
+ Mage::log($responseStatus, null, 'skrill_log_file.log');
312
+
313
+ $order = Mage::getSingleton('sales/order');
314
+ $order->loadByIncrementId($orderId);
315
+
316
+ $order->getPayment()->setAdditionalInformation(
317
+ 'skrill_refund_status_url_response',
318
+ serialize($responseStatus)
319
+ )->save();
320
+
321
+ if ($order->getPayment()->getAdditionalInformation('skrill_refund_status') == Skrill_Model_Method_Skrill::REFUNDPENDING_STATUS) {
322
+ if ($responseStatus['status'] == Skrill_Model_Method_Skrill::PROCESSED_STATUS) {
323
+ $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDED_STATUS;
324
+ $comment = Mage::helper('skrill')->getComment($responseStatus, false, 'refundStatus');
325
+ $order->addStatusHistoryComment($comment, false)->save();
326
+ } else {
327
+ $responseStatus['status'] = Skrill_Model_Method_Skrill::REFUNDFAILED_STATUS;
328
+ }
329
+ $order->getPayment()->setAdditionalInformation('skrill_refund_status', $responseStatus['status'])->save();
330
+ }
331
+ }
332
+ }
333
+
334
+ protected function _redirectWarning($message)
335
+ {
336
+ Mage::log('redirect warning', null, 'skrill_log_file.log');
337
+
338
+ $url = Mage::getUrl('', array('_secure' => true));
339
+ Mage::getSingleton('core/session')->addWarning($message);
340
+ $this->getResponse()->setRedirect($url);
341
+ }
342
+
343
+ protected function _redirectError($returnMessage)
344
+ {
345
+ Mage::log('redirect error', null, 'skrill_log_file.log');
346
+
347
+ $url = Mage::helper('checkout/url')->getCheckoutUrl();
348
+ Mage::getSingleton('core/session')->addError(Mage::helper('skrill')->__($returnMessage));
349
+ $this->getResponse()->setRedirect($url);
350
+ }
351
+ }
app/code/community/Skrill/controllers/ResponseController.php CHANGED
@@ -1,268 +1,259 @@
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
- /**
30
- * Construct
31
- */
32
- public function _construct()
33
- {
34
- parent::_construct();
35
- }
36
-
37
- protected function _getCheckout()
38
- {
39
- return Mage::getSingleton('checkout/session');
40
- }
41
-
42
- public function handleCpResponseAction()
43
- {
44
- $session = $this->_getCheckout();
45
-
46
- $order = Mage::getSingleton('sales/order');
47
- $order->loadByIncrementId($session->getLastRealOrderId());
48
- if (!$order->getId()) {
49
- Mage::throwException('No order for processing found');
50
- }
51
-
52
- $this->_getPostResponseActionUrl($order);
53
- }
54
-
55
- protected function _checkStatusPayment($url, &$resultJson)
56
- {
57
- // check get status payment 3 times if no response.
58
- for ($i=0; $i < 3; $i++) {
59
- $no_response = false;
60
- try {
61
- $resultJson = Mage::helper('skrill')->checkStatusPayment($url);
62
- } catch (Exception $e) {
63
- $no_response = true;
64
- }
65
- if (!$no_response && $resultJson)
66
- {
67
- return false;
68
- break;
69
- }
70
- }
71
- return true;
72
- }
73
-
74
- protected function _checkFraud($resultJson)
75
- {
76
- $quote = Mage::getModel('checkout/session')->getQuote();
77
- $quoteData = $quote->getData();
78
- $grandTotal = (float) $quoteData['grand_total'];
79
- $amount = (float) $resultJson['transaction']['payment']['clearing']['amount'];
80
- if ($resultJson['transaction']['payment']['clearing']['amount'])
81
- return $grandTotal != $amount;
82
- else
83
- return false;
84
- }
85
-
86
- protected function _redirectError($returnMessage, $url='checkout/onepage')
87
- {
88
- Mage::getSingleton('core/session')->addError($returnMessage);
89
- $this->_redirect($url, array('_secure'=>true));
90
- }
91
-
92
- protected function _doRefund($resultJson)
93
- {
94
- $dataTransaction = Mage::getSingleton('customer/session')->getDataTransaction();
95
- $dataTransaction['refId'] = $resultJson['transaction']['identification']['uniqueId'];
96
- $dataTransaction['amount'] = $resultJson['transaction']['payment']['clearing']['amount'];
97
- $dataTransaction['currency'] = $resultJson['transaction']['payment']['clearing']['currency'];
98
- $payment_method = substr($resultJson['transaction']['payment']['code'],0,2);
99
- $dataTransaction['payment_method'] = $payment_method;
100
- $payment_type = substr($resultJson['transaction']['payment']['code'],-2);
101
- if ($payment_type == 'PA')
102
- $dataTransaction['payment_type'] = "RV";
103
- else
104
- $dataTransaction['payment_type'] = "RF";
105
-
106
- $postData = Mage::helper('skrill')->getPostExecutePayment($dataTransaction);
107
- $server = Mage::getSingleton('customer/session')->getServerMode();
108
-
109
- $url = Mage::helper('skrill')->getExecuteUrl($server);
110
-
111
- try {
112
- $response = Mage::helper('skrill')->executePayment($postData, $url);
113
- } catch (Exception $e) {
114
- return false;
115
- }
116
-
117
- $result = Mage::helper('skrill')->buildResponseArray($response);
118
- if ($result['PROCESSING.RESULT'] == 'ACK')
119
- return true;
120
- else
121
- return false;
122
- }
123
-
124
- private function _getPostResponseActionUrl(Mage_Sales_Model_Order $order)
125
- {
126
- $token = $_GET['token'];
127
- $server = Mage::getSingleton('customer/session')->getServerMode();
128
- $url = Mage::helper('skrill')->getStatusUrl($server, $token);
129
-
130
- $no_response = $this->_checkStatusPayment($url, $resultJson);
131
-
132
- if ($no_response)
133
- {
134
- $comment = Mage::helper('skrill')->getPayonComment('NOK');
135
- $order->addStatusHistoryComment($comment, false);
136
- $order->save();
137
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_NORESPONSE'));
138
- }
139
- else
140
- {
141
- $is_fraud = false;
142
- $theResult = $resultJson['transaction']['processing']['result'];
143
- $returnCode = $resultJson['transaction']['processing']['return']['code'];
144
- $returnMessage = Mage::helper('skrill')->__(Mage::helper('skrill')->getErrorIdentifier($returnCode));
145
-
146
- $currency = $resultJson['transaction']['payment']['clearing']['currency'];
147
- $payment_type = substr($resultJson['transaction']['payment']['code'],-2);
148
-
149
- $uniqueId = $resultJson['transaction']['identification']['uniqueId'];
150
- $payment_brand = $resultJson['transaction']['account']['brand'];
151
- $ip_country = $resultJson['transaction']['customer']['contact']['ipCountry'];
152
- $bin = $resultJson['transaction']['account']['bin'];
153
-
154
- if ($theResult == 'ACK') {
155
- if ($is_fraud)
156
- {
157
- $refunded = $this->_doRefund($resultJson);
158
- if ($refunded)
159
- $refund_status = 'REFUNDED';
160
- else
161
- $refund_status = 'REFUNDED_FAILED';
162
-
163
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin, 'history', 'fraud', $uniqueId, $refund_status);
164
- $order->addStatusHistoryComment($comment, false);
165
- $order->save();
166
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
167
- }
168
- else
169
- {
170
- $order->getPayment()->setAdditionalInformation('skrill_status', $theResult);
171
- $order->getPayment()->setAdditionalInformation('skrill_uniqueid',$uniqueId);
172
- $order->getPayment()->setAdditionalInformation('skrill_currency',$currency);
173
- $order->getPayment()->setAdditionalInformation('skrill_transaction_code',$payment_type);
174
-
175
- $order->getPayment()->setAdditionalInformation('skrill_ip_country', strtoupper($ip_country));
176
- $order->getPayment()->setAdditionalInformation('skrill_payment_brand', $payment_brand);
177
- $order->getPayment()->setAdditionalInformation('skrill_bin', $bin);
178
-
179
- if ($payment_type == 'PA') {
180
- $order->setState(Mage_Sales_Model_Order::STATE_NEW, true)->save();
181
- } else {
182
- Mage::helper('skrill')->invoice($order);
183
- }
184
-
185
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin);
186
- $order->addStatusHistoryComment($comment, false);
187
- $order->save();
188
- $order->sendNewOrderEmail();
189
-
190
- Mage::getModel('sales/quote')->load($order->getQuoteId())->setIsActive(false)->save();
191
- $this->_redirect('checkout/onepage/success', array('_secure'=>true));
192
- }
193
- } else if ($theResult == 'NOK') {
194
- if ($is_fraud)
195
- {
196
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin, 'history', 'fraud', $uniqueId);
197
- $order->addStatusHistoryComment($comment, false);
198
- $order->save();
199
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
200
- }
201
- else
202
- {
203
- $comment = Mage::helper('skrill')->getPayonComment($theResult, $payment_type, $payment_brand, $bin);
204
- $order->addStatusHistoryComment($comment, false);
205
- $order->save();
206
- $this->_redirectError($returnMessage);
207
- }
208
- } else {
209
- if ($is_fraud)
210
- {
211
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_GENERAL_FRAUD_DETECTION'));
212
- }
213
- else
214
- {
215
- $this->_redirectError(Mage::helper('skrill')->__('ERROR_UNKNOWN'));
216
- }
217
- }
218
- }
219
- }
220
-
221
- /**
222
- * Render the Payment Form page
223
- */
224
- public function renderCCAction()
225
- {
226
- $this->loadLayout();
227
- $block = $this->getLayout()->createBlock('skrill/payment_formcc');
228
-
229
- $this->getLayout()->getBlock('content')->append($block);
230
- $this->renderLayout();
231
- }
232
-
233
- public function renderDDAction()
234
- {
235
- $this->loadLayout();
236
- $block = $this->getLayout()->createBlock('skrill/payment_formdd');
237
-
238
- $this->getLayout()->getBlock('content')->append($block);
239
- $this->renderLayout();
240
- }
241
-
242
- public function renderRedirectAction()
243
- {
244
- $this->loadLayout();
245
- $this->getLayout()->getBlock('root')->setTemplate('skrill/payment/formcp.phtml');
246
- $this->renderLayout();
247
- }
248
-
249
- public function renderCPAction()
250
- {
251
- $this->loadLayout();
252
- $block = $this->getLayout()->createBlock('skrill/payment_formcp');
253
-
254
- $this->getLayout()->getBlock('content')->append($block);
255
- $this->renderLayout();
256
- }
257
-
258
- public function myurlencode($val)
259
- {
260
- return urlencode(str_replace("/", "%2f", $val));
261
- }
262
-
263
- public function myurldecode($val)
264
- {
265
- return str_replace("%2f", "/", urldecode($val));
266
- }
267
-
268
  }
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
+ public function myurlencode($val)
250
+ {
251
+ return urlencode(str_replace("/", "%2f", $val));
252
+ }
253
+
254
+ public function myurldecode($val)
255
+ {
256
+ return str_replace("%2f", "/", urldecode($val));
257
+ }
258
+
 
 
 
 
 
 
 
 
 
259
  }
app/code/community/Skrill/controllers/UpdateorderController.php CHANGED
@@ -1,30 +1,48 @@
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
-
10
- $parameters['mb_trn_id'] = $order->getPayment()->getAdditionalInformation('skrill_mb_transaction_id');
11
- $response = Mage::helper('skrill')->getStatusTrn($parameters);
12
-
13
- if ($response !== false) {
14
- $invoiceIds = $order->getInvoiceCollection()->getAllIds();
15
- if (empty($invoiceIds) && $response['status'] == '2') {
16
- Mage::helper('skrill')->invoice($order);
17
- }
18
-
19
- $order->getPayment()->setAdditionalInformation('skrill_status', $response['status']);
20
- $order->getPayment()->setAdditionalInformation('skrill_payment_type', $response['payment_type']);
21
- $order->getPayment()->setAdditionalInformation('skrill_issuer_country', $response['payment_instrument_country']);
22
-
23
- $comment = Mage::helper('skrill')->getComment($response);
24
- $order->addStatusHistoryComment($comment, false);
25
- $order->save();
26
- }
27
-
28
- $this->_redirect("adminhtml/sales_order/view",array('order_id' => $orderId));
29
- }
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
10
+ $parameters['mb_trn_id'] = $order->getPayment()->getAdditionalInformation('skrill_mb_transaction_id');
11
+
12
+ Mage::log('update order status request', null, 'skrill_log_file.log');
13
+ Mage::log($parameters, null, 'skrill_log_file.log');
14
+
15
+ $response = Mage::helper('skrill')->getStatusTrn($parameters);
16
+
17
+ Mage::log('update order status response', null, 'skrill_log_file.log');
18
+ Mage::log($response, null, 'skrill_log_file.log');
19
+
20
+ if ($response !== false) {
21
+ $invoiceIds = $order->getInvoiceCollection()->getAllIds();
22
+ if (empty($invoiceIds) && $response['status'] == '2') {
23
+ Mage::helper('skrill')->invoice($order);
24
+ }
25
+
26
+ $order->getPayment()->setAdditionalInformation('skrill_status', $response['status']);
27
+ $order->getPayment()->setAdditionalInformation('skrill_payment_type', $response['payment_type']);
28
+ if (isset($response['payment_instrument_country'])) {
29
+ $order->getPayment()->setAdditionalInformation('skrill_issuer_country', $response['payment_instrument_country']);
30
+ }
31
+
32
+ $comment = Mage::helper('skrill')->getComment($response);
33
+ $order->addStatusHistoryComment($comment, false);
34
+ $order->save();
35
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('skrill')->__('SUCCESS_GENERAL_UPDATE_PAYMENT'));
36
+ } else {
37
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('skrill')->__('ERROR_UPDATE_BACKEND'));
38
+ }
39
+
40
+ $this->_redirect("adminhtml/sales_order/view",array('order_id' => $orderId));
41
+ }
42
+
43
+ protected function _isAllowed()
44
+ {
45
+ return Mage::getSingleton('admin/session')->isAllowed('admin');
46
+ }
47
+
48
+ }
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,643 +1,663 @@
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.21</version>
26
- </Skrill>
27
- </modules>
28
-
29
- <stores>
30
- <admin>
31
- <design>
32
- <package>
33
- <name>default</name>
34
- </package>
35
- <theme>
36
- <default>Skrill</default>
37
- </theme>
38
- </design>
39
- </admin>
40
- </stores>
41
-
42
- <global>
43
- <helpers>
44
- <skrill>
45
- <class>Skrill_Helper</class>
46
- </skrill>
47
- </helpers>
48
- <models>
49
- <skrill>
50
- <class>Skrill_Model</class>
51
- </skrill>
52
- </models>
53
- <resources>
54
- <skrill_setup>
55
- <setup>
56
- <module>Skrill</module>
57
- <class>Mage_Core_Model_Resource_Setup</class>
58
- </setup>
59
- </skrill_setup>
60
- </resources>
61
- <blocks>
62
- <skrill>
63
- <class>Skrill_Block</class>
64
- </skrill>
65
- </blocks>
66
- <events>
67
- <sales_model_service_quote_submit_success>
68
- <observers>
69
- <skrill_success_observer>
70
- <type>model</type>
71
- <class>Skrill_Model_Success_Observer</class>
72
- <method>activateQuote</method>
73
- </skrill_success_observer>
74
- </observers>
75
- </sales_model_service_quote_submit_success>
76
- </events>
77
- <sales>
78
- <order>
79
- <statuses>
80
- <payment_accepted translate="label">
81
- <label>SUCCESS_PAYMENT_ACC</label>
82
- </payment_accepted>
83
- <payment_remotely translate="label">
84
- <label>SUCCESS_PREAUTH_ACC</label>
85
- </payment_remotely>
86
- </statuses>
87
- <states>
88
- <pending_payment>
89
- <statuses>
90
- <payment_remotely/>
91
- </statuses>
92
- </pending_payment>
93
- <processing>
94
- <statuses>
95
- <payment_accepted/>
96
- </statuses>
97
- </processing>
98
- </states>
99
- </order>
100
- </sales>
101
- <payment>
102
- <groups>
103
- <skrillpm>Skrill Payment Methods</skrillpm>
104
- </groups>
105
- </payment>
106
- </global>
107
-
108
- <frontend>
109
- <translate>
110
- <modules>
111
- <Skrill>
112
- <files>
113
- <default>Skrill.csv</default>
114
- </files>
115
- </Skrill>
116
- </modules>
117
- </translate>
118
- </frontend>
119
-
120
- <adminhtml>
121
- <translate>
122
- <modules>
123
- <Skrill>
124
- <files>
125
- <default>Skrill.csv</default>
126
- </files>
127
- </Skrill>
128
- </modules>
129
- </translate>
130
- </adminhtml>
131
-
132
- <admin>
133
- <routers>
134
- <skrill>
135
- <use>admin</use>
136
- <args>
137
- <module>Skrill</module>
138
- <frontName>skrill</frontName>
139
- </args>
140
- </skrill>
141
- <adminhtml>
142
- <args>
143
- <modules>
144
- <Skrill after="Mage_Adminhtml">Skrill</Skrill>
145
- </modules>
146
- </args>
147
- </adminhtml>
148
- </routers>
149
- </admin>
150
-
151
- <frontend>
152
- <routers>
153
- <skrill>
154
- <use>standard</use>
155
- <args>
156
- <module>Skrill</module>
157
- <frontName>skrill</frontName>
158
- </args>
159
- </skrill>
160
- </routers>
161
- <layout>
162
- <updates>
163
- <skrill_checkout>
164
- <file>skrill_checkout.xml</file>
165
- </skrill_checkout>
166
- </updates>
167
- </layout>
168
- </frontend>
169
-
170
- <default>
171
- <payment>
172
- <skrill_settings>
173
- <version>1.0.21</version>
174
- <merchant_id></merchant_id>
175
- <merchant_account></merchant_account>
176
- <recipient_desc></recipient_desc>
177
- <logo_url></logo_url>
178
- <shop_url></shop_url>
179
- <api_passwd></api_passwd>
180
- <secret_word></secret_word>
181
- <display>IFRAME</display>
182
- <group>skrillpm</group>
183
- </skrill_settings>
184
- <skrill_general>
185
- <active>1</active>
186
- <sender></sender>
187
- <login></login>
188
- <password></password>
189
- </skrill_general>
190
- <skrill_flexible>
191
- <active>0</active>
192
- <show_separately>1</show_separately>
193
- <model>skrill/method_flexible</model>
194
- <order_status>pending_payment</order_status>
195
- <payment_action>authorize</payment_action>
196
- <title>All Cards and Alternative Payment Methods</title>
197
- <allowspecific>0</allowspecific>
198
- <group>skrillpm</group>
199
- </skrill_flexible>
200
- <skrill_wlt>
201
- <active>0</active>
202
- <show_separately>0</show_separately>
203
- <model>skrill/method_wlt</model>
204
- <order_status>pending_payment</order_status>
205
- <payment_action>authorize</payment_action>
206
- <title>Skrill Wallet</title>
207
- <allowspecific>0</allowspecific>
208
- <group>skrillpm</group>
209
- </skrill_wlt>
210
- <skrill_psc>
211
- <active>0</active>
212
- <gateway>SKRILL</gateway>
213
- <show_separately>0</show_separately>
214
- <server_mode>TEST</server_mode>
215
- <channel_id></channel_id>
216
- <sender></sender>
217
- <login></login>
218
- <password></password>
219
- <model>skrill/method_psc</model>
220
- <order_status>pending_payment</order_status>
221
- <payment_action>authorize</payment_action>
222
- <title>Paysafecard</title>
223
- <allowspecific>1</allowspecific>
224
- <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>
225
- <group>skrillpm</group>
226
- </skrill_psc>
227
- <skrill_acc>
228
- <active>0</active>
229
- <gateway>SKRILL</gateway>
230
- <show_separately>0</show_separately>
231
- <server_mode>TEST</server_mode>
232
- <card_selection>AMEX,VISA,MASTER,MAESTRO</card_selection>
233
- <transaction_mode>DB</transaction_mode>
234
- <channel_id></channel_id>
235
- <sender></sender>
236
- <login></login>
237
- <password></password>
238
- <model>skrill/method_acc</model>
239
- <order_status>pending_payment</order_status>
240
- <payment_action>authorize</payment_action>
241
- <title>Credit Card / Visa, Mastercard, AMEX</title>
242
- <allowspecific>0</allowspecific>
243
- <group>skrillpm</group>
244
- </skrill_acc>
245
- <skrill_vsa>
246
- <active>0</active>
247
- <show_separately>0</show_separately>
248
- <model>skrill/method_vsa</model>
249
- <order_status>pending_payment</order_status>
250
- <payment_action>authorize</payment_action>
251
- <title>Visa</title>
252
- <allowspecific>0</allowspecific>
253
- <group>skrillpm</group>
254
- </skrill_vsa>
255
- <skrill_msc>
256
- <active>0</active>
257
- <show_separately>0</show_separately>
258
- <model>skrill/method_msc</model>
259
- <order_status>pending_payment</order_status>
260
- <payment_action>authorize</payment_action>
261
- <title>MasterCard</title>
262
- <allowspecific>0</allowspecific>
263
- <group>skrillpm</group>
264
- </skrill_msc>
265
- <skrill_vse>
266
- <active>0</active>
267
- <show_separately>0</show_separately>
268
- <model>skrill/method_vse</model>
269
- <order_status>pending_payment</order_status>
270
- <payment_action>authorize</payment_action>
271
- <title>Visa Electron</title>
272
- <allowspecific>1</allowspecific>
273
- <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>
274
- <group>skrillpm</group>
275
- </skrill_vse>
276
- <skrill_mae>
277
- <active>0</active>
278
- <show_separately>0</show_separately>
279
- <model>skrill/method_mae</model>
280
- <order_status>pending_payment</order_status>
281
- <payment_action>authorize</payment_action>
282
- <title>Maestro</title>
283
- <allowspecific>1</allowspecific>
284
- <specificcountry>GB,ES,IE,AT</specificcountry>
285
- <group>skrillpm</group>
286
- </skrill_mae>
287
- <skrill_amx>
288
- <active>0</active>
289
- <show_separately>0</show_separately>
290
- <model>skrill/method_amx</model>
291
- <order_status>pending_payment</order_status>
292
- <payment_action>authorize</payment_action>
293
- <title>American Express</title>
294
- <allowspecific>0</allowspecific>
295
- <group>skrillpm</group>
296
- </skrill_amx>
297
- <skrill_gcb>
298
- <active>0</active>
299
- <show_separately>0</show_separately>
300
- <model>skrill/method_gcb</model>
301
- <order_status>pending_payment</order_status>
302
- <payment_action>authorize</payment_action>
303
- <title>Carte Bleue by Visa</title>
304
- <allowspecific>1</allowspecific>
305
- <specificcountry>FR</specificcountry>
306
- <group>skrillpm</group>
307
- </skrill_gcb>
308
- <skrill_dnk>
309
- <active>0</active>
310
- <show_separately>0</show_separately>
311
- <model>skrill/method_dnk</model>
312
- <order_status>pending_payment</order_status>
313
- <payment_action>authorize</payment_action>
314
- <title>Dankort by Visa</title>
315
- <allowspecific>1</allowspecific>
316
- <specificcountry>DK</specificcountry>
317
- <group>skrillpm</group>
318
- </skrill_dnk>
319
- <skrill_psp>
320
- <active>0</active>
321
- <show_separately>0</show_separately>
322
- <model>skrill/method_psp</model>
323
- <order_status>pending_payment</order_status>
324
- <payment_action>authorize</payment_action>
325
- <title>PostePay by Visa</title>
326
- <allowspecific>1</allowspecific>
327
- <specificcountry>IT</specificcountry>
328
- <group>skrillpm</group>
329
- </skrill_psp>
330
- <skrill_csi>
331
- <active>0</active>
332
- <show_separately>0</show_separately>
333
- <model>skrill/method_csi</model>
334
- <order_status>pending_payment</order_status>
335
- <payment_action>authorize</payment_action>
336
- <title>CartaSi by Visa</title>
337
- <allowspecific>1</allowspecific>
338
- <specificcountry>IT</specificcountry>
339
- <group>skrillpm</group>
340
- </skrill_csi>
341
- <skrill_obt>
342
- <active>0</active>
343
- <show_separately>0</show_separately>
344
- <model>skrill/method_obt</model>
345
- <order_status>pending_payment</order_status>
346
- <payment_action>authorize</payment_action>
347
- <title>Skrill Direct (Online Bank Transfer)</title>
348
- <allowspecific>1</allowspecific>
349
- <specificcountry>DE,GB,FR,IT,ES,HU,AT</specificcountry>
350
- <group>skrillpm</group>
351
- </skrill_obt>
352
- <skrill_ntl>
353
- <active>0</active>
354
- <show_separately>0</show_separately>
355
- <model>skrill/method_ntl</model>
356
- <order_status>pending_payment</order_status>
357
- <payment_action>authorize</payment_action>
358
- <title>Neteller</title>
359
- <allowspecific>1</allowspecific>
360
- <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>
361
- <group>skrillpm</group>
362
- </skrill_ntl>
363
- <skrill_gir>
364
- <active>0</active>
365
- <gateway>SKRILL</gateway>
366
- <show_separately>0</show_separately>
367
- <server_mode>TEST</server_mode>
368
- <channel_id></channel_id>
369
- <sender></sender>
370
- <login></login>
371
- <password></password>
372
- <model>skrill/method_gir</model>
373
- <order_status>pending_payment</order_status>
374
- <payment_action>authorize</payment_action>
375
- <title>Giropay</title>
376
- <allowspecific>1</allowspecific>
377
- <specificcountry>DE</specificcountry>
378
- <group>skrillpm</group>
379
- </skrill_gir>
380
- <skrill_did>
381
- <active>0</active>
382
- <gateway>SKRILL</gateway>
383
- <show_separately>0</show_separately>
384
- <server_mode>TEST</server_mode>
385
- <channel_id></channel_id>
386
- <sender></sender>
387
- <login></login>
388
- <password></password>
389
- <model>skrill/method_did</model>
390
- <order_status>pending_payment</order_status>
391
- <payment_action>authorize</payment_action>
392
- <title>Direct Debit / ELV</title>
393
- <allowspecific>1</allowspecific>
394
- <specificcountry>DE</specificcountry>
395
- <group>skrillpm</group>
396
- </skrill_did>
397
- <skrill_sft>
398
- <active>0</active>
399
- <gateway>SKRILL</gateway>
400
- <show_separately>0</show_separately>
401
- <server_mode>TEST</server_mode>
402
- <channel_id></channel_id>
403
- <sender></sender>
404
- <login></login>
405
- <password></password>
406
- <model>skrill/method_sft</model>
407
- <order_status>pending_payment</order_status>
408
- <payment_action>authorize</payment_action>
409
- <title>Sofortueberweisung</title>
410
- <allowspecific>1</allowspecific>
411
- <specificcountry>DE,AT,BE,NL,IT,FR,PL,GB</specificcountry>
412
- <group>skrillpm</group>
413
- </skrill_sft>
414
- <skrill_ebt>
415
- <active>0</active>
416
- <show_separately>0</show_separately>
417
- <model>skrill/method_ebt</model>
418
- <order_status>pending_payment</order_status>
419
- <payment_action>authorize</payment_action>
420
- <title>Nordea Solo</title>
421
- <allowspecific>1</allowspecific>
422
- <specificcountry>SE</specificcountry>
423
- <group>skrillpm</group>
424
- </skrill_ebt>
425
- <skrill_idl>
426
- <active>0</active>
427
- <gateway>SKRILL</gateway>
428
- <show_separately>0</show_separately>
429
- <server_mode>TEST</server_mode>
430
- <channel_id></channel_id>
431
- <sender></sender>
432
- <login></login>
433
- <password></password>
434
- <model>skrill/method_idl</model>
435
- <order_status>pending_payment</order_status>
436
- <payment_action>authorize</payment_action>
437
- <title>iDEAL</title>
438
- <allowspecific>1</allowspecific>
439
- <specificcountry>NL</specificcountry>
440
- <group>skrillpm</group>
441
- </skrill_idl>
442
- <skrill_npy>
443
- <active>0</active>
444
- <gateway>SKRILL</gateway>
445
- <show_separately>0</show_separately>
446
- <server_mode>TEST</server_mode>
447
- <channel_id></channel_id>
448
- <sender></sender>
449
- <login></login>
450
- <password></password>
451
- <model>skrill/method_npy</model>
452
- <order_status>pending_payment</order_status>
453
- <payment_action>authorize</payment_action>
454
- <title>EPS (Netpay)</title>
455
- <allowspecific>1</allowspecific>
456
- <specificcountry>AT</specificcountry>
457
- <group>skrillpm</group>
458
- </skrill_npy>
459
- <skrill_pli>
460
- <active>0</active>
461
- <show_separately>0</show_separately>
462
- <model>skrill/method_pli</model>
463
- <order_status>pending_payment</order_status>
464
- <payment_action>authorize</payment_action>
465
- <title>POLi</title>
466
- <allowspecific>1</allowspecific>
467
- <specificcountry>AU</specificcountry>
468
- <group>skrillpm</group>
469
- </skrill_pli>
470
- <skrill_pwy>
471
- <active>0</active>
472
- <show_separately>0</show_separately>
473
- <model>skrill/method_pwy</model>
474
- <order_status>pending_payment</order_status>
475
- <payment_action>authorize</payment_action>
476
- <title>Przelewy24</title>
477
- <allowspecific>1</allowspecific>
478
- <specificcountry>PL</specificcountry>
479
- <group>skrillpm</group>
480
- </skrill_pwy>
481
- <skrill_epy>
482
- <active>0</active>
483
- <show_separately>0</show_separately>
484
- <model>skrill/method_epy</model>
485
- <order_status>pending_payment</order_status>
486
- <payment_action>authorize</payment_action>
487
- <title>ePay.bg</title>
488
- <allowspecific>1</allowspecific>
489
- <specificcountry>BG</specificcountry>
490
- <group>skrillpm</group>
491
- </skrill_epy>
492
- <skrill_glu>
493
- <active>0</active>
494
- <show_separately>0</show_separately>
495
- <model>skrill/method_glu</model>
496
- <order_status>pending_payment</order_status>
497
- <payment_action>authorize</payment_action>
498
- <title>Trustly</title>
499
- <allowspecific>1</allowspecific>
500
- <specificcountry>SE,FI,EE,DK,ES,PL,IT,FR,DE,PT,AT,LV,LT,NL</specificcountry>
501
- <group>skrillpm</group>
502
- </skrill_glu>
503
- <skrill_ali>
504
- <active>0</active>
505
- <show_separately>0</show_separately>
506
- <model>skrill/method_ali</model>
507
- <order_status>pending_payment</order_status>
508
- <payment_action>authorize</payment_action>
509
- <title>Alipay</title>
510
- <allowspecific>1</allowspecific>
511
- <specificcountry>CN</specificcountry>
512
- <group>skrillpm</group>
513
- </skrill_ali>
514
- <skrill_creditcard>
515
- <active>1</active>
516
- <model>skrill/method_creditcard</model>
517
- <order_status>pending_payment</order_status>
518
- <payment_action>authorize</payment_action>
519
- <title>Credit Card (Enterprise)</title>
520
- <group>skrillpm</group>
521
- </skrill_creditcard>
522
- <skrill_directdebit>
523
- <active>1</active>
524
- <model>skrill/method_directdebit</model>
525
- <order_status>pending_payment</order_status>
526
- <payment_action>authorize</payment_action>
527
- <title>Lastschrift (ELV) (Enterprise)</title>
528
- <group>skrillpm</group>
529
- </skrill_directdebit>
530
- <skrill_eps>
531
- <active>1</active>
532
- <model>skrill/method_eps</model>
533
- <order_status>pending_payment</order_status>
534
- <payment_action>authorize</payment_action>
535
- <title>eps (Enterprise)</title>
536
- <group>skrillpm</group>
537
- </skrill_eps>
538
- <skrill_giropay>
539
- <active>1</active>
540
- <model>skrill/method_giropay</model>
541
- <order_status>pending_payment</order_status>
542
- <payment_action>authorize</payment_action>
543
- <title>giropay (Enterprise)</title>
544
- <group>skrillpm</group>
545
- </skrill_giropay>
546
- <skrill_ideal>
547
- <active>1</active>
548
- <model>skrill/method_ideal</model>
549
- <order_status>pending_payment</order_status>
550
- <payment_action>authorize</payment_action>
551
- <title>iDeal (Enterprise)</title>
552
- <group>skrillpm</group>
553
- </skrill_ideal>
554
- <!-- <skrill_paypal>
555
- <active>0</active>
556
- <gateway>PAYON</gateway>
557
- <model>skrill/method_paypal</model>
558
- <order_status>pending_payment</order_status>
559
- <payment_action>authorize</payment_action>
560
- <title>PayPal (Enterprise)</title>
561
- <server_mode>TEST</server_mode>
562
- <channel_id></channel_id>
563
- <sender></sender>
564
- <login></login>
565
- <password></password>
566
- <group>skrillpm</group>
567
- </skrill_paypal> -->
568
- <skrill_sofortuberweisung>
569
- <active>1</active>
570
- <model>skrill/method_sofortuberweisung</model>
571
- <order_status>pending_payment</order_status>
572
- <payment_action>authorize</payment_action>
573
- <title>SOFORT Ü‎berweisung (Enterprise)</title>
574
- <group>skrillpm</group>
575
- </skrill_sofortuberweisung>
576
- <!-- <skrill_payolutioninv>
577
- <active>0</active>
578
- <gateway>PAYON</gateway>
579
- <model>skrill/method_payolutioninv</model>
580
- <order_status>pending_payment</order_status>
581
- <payment_action>authorize</payment_action>
582
- <title>Payolution Invoice (Enterprise)</title>
583
- <server_mode>TEST</server_mode>
584
- <channel_id></channel_id>
585
- <sender></sender>
586
- <login></login>
587
- <password></password>
588
- <group>skrillpm</group>
589
- </skrill_payolutioninv>
590
- <skrill_payolutionins>
591
- <active>0</active>
592
- <gateway>PAYON</gateway>
593
- <model>skrill/method_payolutionins</model>
594
- <order_status>pending_payment</order_status>
595
- <payment_action>authorize</payment_action>
596
- <title>Payolution Installment (Enterprise)</title>
597
- <server_mode>TEST</server_mode>
598
- <channel_id></channel_id>
599
- <sender></sender>
600
- <login></login>
601
- <password></password>
602
- <group>skrillpm</group>
603
- </skrill_payolutionins> -->
604
- <skrill_paysafecard>
605
- <active>1</active>
606
- <model>skrill/method_paysafecard</model>
607
- <order_status>pending_payment</order_status>
608
- <payment_action>authorize</payment_action>
609
- <title>Paysafecard (Enterprise)</title>
610
- <group>skrillpm</group>
611
- </skrill_paysafecard>
612
- <!-- <skrill_paytrail>
613
- <active>0</active>
614
- <gateway>PAYON</gateway>
615
- <model>skrill/method_paytrail</model>
616
- <order_status>pending_payment</order_status>
617
- <payment_action>authorize</payment_action>
618
- <title>Paytrail (Enterprise)</title>
619
- <server_mode>TEST</server_mode>
620
- <channel_id></channel_id>
621
- <sender></sender>
622
- <login></login>
623
- <password></password>
624
- <group>skrillpm</group>
625
- </skrill_paytrail> -->
626
- <!-- <skrill_yandex>
627
- <active>0</active>
628
- <gateway>PAYON</gateway>
629
- <model>skrill/method_yandex</model>
630
- <order_status>pending_payment</order_status>
631
- <payment_action>authorize</payment_action>
632
- <title>Yandex (Enterprise)</title>
633
- <server_mode>TEST</server_mode>
634
- <channel_id></channel_id>
635
- <sender></sender>
636
- <login></login>
637
- <password></password>
638
- <group>skrillpm</group>
639
- </skrill_yandex> -->
640
- </payment>
641
- </default>
642
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
643
  </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.24</version>
26
+ </Skrill>
27
+ </modules>
28
+
29
+ <stores>
30
+ <admin>
31
+ <design>
32
+ <package>
33
+ <name>default</name>
34
+ </package>
35
+ <theme>
36
+ <default>Skrill</default>
37
+ </theme>
38
+ </design>
39
+ </admin>
40
+ </stores>
41
+
42
+ <global>
43
+ <helpers>
44
+ <skrill>
45
+ <class>Skrill_Helper</class>
46
+ </skrill>
47
+ </helpers>
48
+ <models>
49
+ <skrill>
50
+ <class>Skrill_Model</class>
51
+ </skrill>
52
+ </models>
53
+ <resources>
54
+ <skrill_setup>
55
+ <setup>
56
+ <module>Skrill</module>
57
+ <class>Mage_Core_Model_Resource_Setup</class>
58
+ </setup>
59
+ </skrill_setup>
60
+ </resources>
61
+ <blocks>
62
+ <skrill>
63
+ <class>Skrill_Block</class>
64
+ </skrill>
65
+ </blocks>
66
+ <events>
67
+ <sales_model_service_quote_submit_success>
68
+ <observers>
69
+ <skrill_success_observer>
70
+ <type>model</type>
71
+ <class>Skrill_Model_Success_Observer</class>
72
+ <method>activateQuote</method>
73
+ </skrill_success_observer>
74
+ </observers>
75
+ </sales_model_service_quote_submit_success>
76
+ </events>
77
+ <sales>
78
+ <order>
79
+ <statuses>
80
+ <payment_accepted translate="label">
81
+ <label>SUCCESS_PAYMENT_ACC</label>
82
+ </payment_accepted>
83
+ <payment_remotely translate="label">
84
+ <label>SUCCESS_PREAUTH_ACC</label>
85
+ </payment_remotely>
86
+ </statuses>
87
+ <states>
88
+ <pending_payment>
89
+ <statuses>
90
+ <payment_remotely/>
91
+ </statuses>
92
+ </pending_payment>
93
+ <processing>
94
+ <statuses>
95
+ <payment_accepted/>
96
+ </statuses>
97
+ </processing>
98
+ </states>
99
+ </order>
100
+ </sales>
101
+ <payment>
102
+ <groups>
103
+ <skrillpm>Skrill Payment Methods</skrillpm>
104
+ </groups>
105
+ </payment>
106
+ </global>
107
+
108
+ <frontend>
109
+ <translate>
110
+ <modules>
111
+ <Skrill>
112
+ <files>
113
+ <default>Skrill.csv</default>
114
+ </files>
115
+ </Skrill>
116
+ </modules>
117
+ </translate>
118
+ </frontend>
119
+
120
+ <adminhtml>
121
+ <translate>
122
+ <modules>
123
+ <Skrill>
124
+ <files>
125
+ <default>Skrill.csv</default>
126
+ </files>
127
+ </Skrill>
128
+ </modules>
129
+ </translate>
130
+ </adminhtml>
131
+
132
+ <admin>
133
+ <routers>
134
+ <skrill>
135
+ <use>admin</use>
136
+ <args>
137
+ <module>Skrill</module>
138
+ <frontName>skrill</frontName>
139
+ </args>
140
+ </skrill>
141
+ <adminhtml>
142
+ <args>
143
+ <modules>
144
+ <Skrill after="Mage_Adminhtml">Skrill</Skrill>
145
+ </modules>
146
+ </args>
147
+ </adminhtml>
148
+ </routers>
149
+ </admin>
150
+
151
+ <frontend>
152
+ <routers>
153
+ <skrill>
154
+ <use>standard</use>
155
+ <args>
156
+ <module>Skrill</module>
157
+ <frontName>skrill</frontName>
158
+ </args>
159
+ </skrill>
160
+ </routers>
161
+ <layout>
162
+ <updates>
163
+ <skrill_checkout>
164
+ <file>skrill_checkout.xml</file>
165
+ </skrill_checkout>
166
+ </updates>
167
+ </layout>
168
+ </frontend>
169
+
170
+ <default>
171
+ <payment>
172
+ <skrill_settings>
173
+ <version>1.0.24</version>
174
+ <merchant_id></merchant_id>
175
+ <merchant_account></merchant_account>
176
+ <recipient_desc></recipient_desc>
177
+ <logo_url></logo_url>
178
+ <shop_url></shop_url>
179
+ <api_passwd></api_passwd>
180
+ <secret_word></secret_word>
181
+ <display>IFRAME</display>
182
+ <group>skrillpm</group>
183
+ </skrill_settings>
184
+ <skrill_general>
185
+ <active>1</active>
186
+ <sender></sender>
187
+ <login></login>
188
+ <password></password>
189
+ </skrill_general>
190
+ <skrill_flexible>
191
+ <active>0</active>
192
+ <show_separately>1</show_separately>
193
+ <model>skrill/method_flexible</model>
194
+ <order_status>pending_payment</order_status>
195
+ <payment_action>authorize</payment_action>
196
+ <title>All Cards and Alternative Payment Methods</title>
197
+ <allowspecific>0</allowspecific>
198
+ <group>skrillpm</group>
199
+ </skrill_flexible>
200
+ <skrill_wlt>
201
+ <active>0</active>
202
+ <show_separately>0</show_separately>
203
+ <model>skrill/method_wlt</model>
204
+ <order_status>pending_payment</order_status>
205
+ <payment_action>authorize</payment_action>
206
+ <title>Skrill Wallet</title>
207
+ <allowspecific>0</allowspecific>
208
+ <group>skrillpm</group>
209
+ </skrill_wlt>
210
+ <skrill_psc>
211
+ <active>0</active>
212
+ <gateway>SKRILL</gateway>
213
+ <show_separately>0</show_separately>
214
+ <server_mode>TEST</server_mode>
215
+ <channel_id></channel_id>
216
+ <sender></sender>
217
+ <login></login>
218
+ <password></password>
219
+ <model>skrill/method_psc</model>
220
+ <order_status>pending_payment</order_status>
221
+ <payment_action>authorize</payment_action>
222
+ <title>Paysafecard</title>
223
+ <allowspecific>1</allowspecific>
224
+ <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>
225
+ <group>skrillpm</group>
226
+ </skrill_psc>
227
+ <skrill_acc>
228
+ <active>0</active>
229
+ <gateway>SKRILL</gateway>
230
+ <show_separately>0</show_separately>
231
+ <server_mode>TEST</server_mode>
232
+ <card_selection>AMEX,VISA,MASTER,MAESTRO</card_selection>
233
+ <transaction_mode>DB</transaction_mode>
234
+ <channel_id></channel_id>
235
+ <sender></sender>
236
+ <login></login>
237
+ <password></password>
238
+ <model>skrill/method_acc</model>
239
+ <order_status>pending_payment</order_status>
240
+ <payment_action>authorize</payment_action>
241
+ <title>Credit Card / Visa, Mastercard, AMEX</title>
242
+ <allowspecific>0</allowspecific>
243
+ <group>skrillpm</group>
244
+ </skrill_acc>
245
+ <skrill_vsa>
246
+ <active>0</active>
247
+ <show_separately>0</show_separately>
248
+ <model>skrill/method_vsa</model>
249
+ <order_status>pending_payment</order_status>
250
+ <payment_action>authorize</payment_action>
251
+ <title>Visa</title>
252
+ <allowspecific>0</allowspecific>
253
+ <group>skrillpm</group>
254
+ </skrill_vsa>
255
+ <skrill_msc>
256
+ <active>0</active>
257
+ <show_separately>0</show_separately>
258
+ <model>skrill/method_msc</model>
259
+ <order_status>pending_payment</order_status>
260
+ <payment_action>authorize</payment_action>
261
+ <title>MasterCard</title>
262
+ <allowspecific>0</allowspecific>
263
+ <group>skrillpm</group>
264
+ </skrill_msc>
265
+ <skrill_vse>
266
+ <active>0</active>
267
+ <show_separately>0</show_separately>
268
+ <model>skrill/method_vse</model>
269
+ <order_status>pending_payment</order_status>
270
+ <payment_action>authorize</payment_action>
271
+ <title>Visa Electron</title>
272
+ <allowspecific>1</allowspecific>
273
+ <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>
274
+ <group>skrillpm</group>
275
+ </skrill_vse>
276
+ <skrill_mae>
277
+ <active>0</active>
278
+ <show_separately>0</show_separately>
279
+ <model>skrill/method_mae</model>
280
+ <order_status>pending_payment</order_status>
281
+ <payment_action>authorize</payment_action>
282
+ <title>Maestro</title>
283
+ <allowspecific>1</allowspecific>
284
+ <specificcountry>GB,ES,IE,AT</specificcountry>
285
+ <group>skrillpm</group>
286
+ </skrill_mae>
287
+ <skrill_amx>
288
+ <active>0</active>
289
+ <show_separately>0</show_separately>
290
+ <model>skrill/method_amx</model>
291
+ <order_status>pending_payment</order_status>
292
+ <payment_action>authorize</payment_action>
293
+ <title>American Express</title>
294
+ <allowspecific>0</allowspecific>
295
+ <group>skrillpm</group>
296
+ </skrill_amx>
297
+ <skrill_din>
298
+ <active>0</active>
299
+ <show_separately>0</show_separately>
300
+ <model>skrill/method_din</model>
301
+ <order_status>pending_payment</order_status>
302
+ <payment_action>authorize</payment_action>
303
+ <title>Diners</title>
304
+ <allowspecific>0</allowspecific>
305
+ <group>skrillpm</group>
306
+ </skrill_din>
307
+ <skrill_jcb>
308
+ <active>0</active>
309
+ <show_separately>0</show_separately>
310
+ <model>skrill/method_jcb</model>
311
+ <order_status>pending_payment</order_status>
312
+ <payment_action>authorize</payment_action>
313
+ <title>JCB</title>
314
+ <allowspecific>0</allowspecific>
315
+ <group>skrillpm</group>
316
+ </skrill_jcb>
317
+ <skrill_gcb>
318
+ <active>0</active>
319
+ <show_separately>0</show_separately>
320
+ <model>skrill/method_gcb</model>
321
+ <order_status>pending_payment</order_status>
322
+ <payment_action>authorize</payment_action>
323
+ <title>Carte Bleue by Visa</title>
324
+ <allowspecific>1</allowspecific>
325
+ <specificcountry>FR</specificcountry>
326
+ <group>skrillpm</group>
327
+ </skrill_gcb>
328
+ <skrill_dnk>
329
+ <active>0</active>
330
+ <show_separately>0</show_separately>
331
+ <model>skrill/method_dnk</model>
332
+ <order_status>pending_payment</order_status>
333
+ <payment_action>authorize</payment_action>
334
+ <title>Dankort by Visa</title>
335
+ <allowspecific>1</allowspecific>
336
+ <specificcountry>DK</specificcountry>
337
+ <group>skrillpm</group>
338
+ </skrill_dnk>
339
+ <skrill_psp>
340
+ <active>0</active>
341
+ <show_separately>0</show_separately>
342
+ <model>skrill/method_psp</model>
343
+ <order_status>pending_payment</order_status>
344
+ <payment_action>authorize</payment_action>
345
+ <title>PostePay by Visa</title>
346
+ <allowspecific>1</allowspecific>
347
+ <specificcountry>IT</specificcountry>
348
+ <group>skrillpm</group>
349
+ </skrill_psp>
350
+ <skrill_csi>
351
+ <active>0</active>
352
+ <show_separately>0</show_separately>
353
+ <model>skrill/method_csi</model>
354
+ <order_status>pending_payment</order_status>
355
+ <payment_action>authorize</payment_action>
356
+ <title>CartaSi by Visa</title>
357
+ <allowspecific>1</allowspecific>
358
+ <specificcountry>IT</specificcountry>
359
+ <group>skrillpm</group>
360
+ </skrill_csi>
361
+ <skrill_obt>
362
+ <active>0</active>
363
+ <show_separately>0</show_separately>
364
+ <model>skrill/method_obt</model>
365
+ <order_status>pending_payment</order_status>
366
+ <payment_action>authorize</payment_action>
367
+ <title>Skrill Direct (Online Bank Transfer)</title>
368
+ <allowspecific>1</allowspecific>
369
+ <specificcountry>DE,GB,FR,IT,ES,HU,AT</specificcountry>
370
+ <group>skrillpm</group>
371
+ </skrill_obt>
372
+ <skrill_ntl>
373
+ <active>0</active>
374
+ <show_separately>0</show_separately>
375
+ <model>skrill/method_ntl</model>
376
+ <order_status>pending_payment</order_status>
377
+ <payment_action>authorize</payment_action>
378
+ <title>Neteller</title>
379
+ <allowspecific>1</allowspecific>
380
+ <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>
381
+ <group>skrillpm</group>
382
+ </skrill_ntl>
383
+ <skrill_gir>
384
+ <active>0</active>
385
+ <gateway>SKRILL</gateway>
386
+ <show_separately>0</show_separately>
387
+ <server_mode>TEST</server_mode>
388
+ <channel_id></channel_id>
389
+ <sender></sender>
390
+ <login></login>
391
+ <password></password>
392
+ <model>skrill/method_gir</model>
393
+ <order_status>pending_payment</order_status>
394
+ <payment_action>authorize</payment_action>
395
+ <title>Giropay</title>
396
+ <allowspecific>1</allowspecific>
397
+ <specificcountry>DE</specificcountry>
398
+ <group>skrillpm</group>
399
+ </skrill_gir>
400
+ <skrill_did>
401
+ <active>0</active>
402
+ <gateway>SKRILL</gateway>
403
+ <show_separately>0</show_separately>
404
+ <server_mode>TEST</server_mode>
405
+ <channel_id></channel_id>
406
+ <sender></sender>
407
+ <login></login>
408
+ <password></password>
409
+ <model>skrill/method_did</model>
410
+ <order_status>pending_payment</order_status>
411
+ <payment_action>authorize</payment_action>
412
+ <title>Direct Debit / ELV</title>
413
+ <allowspecific>1</allowspecific>
414
+ <specificcountry>DE</specificcountry>
415
+ <group>skrillpm</group>
416
+ </skrill_did>
417
+ <skrill_sft>
418
+ <active>0</active>
419
+ <gateway>SKRILL</gateway>
420
+ <show_separately>0</show_separately>
421
+ <server_mode>TEST</server_mode>
422
+ <channel_id></channel_id>
423
+ <sender></sender>
424
+ <login></login>
425
+ <password></password>
426
+ <model>skrill/method_sft</model>
427
+ <order_status>pending_payment</order_status>
428
+ <payment_action>authorize</payment_action>
429
+ <title>Sofortueberweisung</title>
430
+ <allowspecific>1</allowspecific>
431
+ <specificcountry>DE,AT,BE,NL,IT,FR,PL,GB</specificcountry>
432
+ <group>skrillpm</group>
433
+ </skrill_sft>
434
+ <skrill_ebt>
435
+ <active>0</active>
436
+ <show_separately>0</show_separately>
437
+ <model>skrill/method_ebt</model>
438
+ <order_status>pending_payment</order_status>
439
+ <payment_action>authorize</payment_action>
440
+ <title>Nordea Solo</title>
441
+ <allowspecific>1</allowspecific>
442
+ <specificcountry>SE</specificcountry>
443
+ <group>skrillpm</group>
444
+ </skrill_ebt>
445
+ <skrill_idl>
446
+ <active>0</active>
447
+ <gateway>SKRILL</gateway>
448
+ <show_separately>0</show_separately>
449
+ <server_mode>TEST</server_mode>
450
+ <channel_id></channel_id>
451
+ <sender></sender>
452
+ <login></login>
453
+ <password></password>
454
+ <model>skrill/method_idl</model>
455
+ <order_status>pending_payment</order_status>
456
+ <payment_action>authorize</payment_action>
457
+ <title>iDEAL</title>
458
+ <allowspecific>1</allowspecific>
459
+ <specificcountry>NL</specificcountry>
460
+ <group>skrillpm</group>
461
+ </skrill_idl>
462
+ <skrill_npy>
463
+ <active>0</active>
464
+ <gateway>SKRILL</gateway>
465
+ <show_separately>0</show_separately>
466
+ <server_mode>TEST</server_mode>
467
+ <channel_id></channel_id>
468
+ <sender></sender>
469
+ <login></login>
470
+ <password></password>
471
+ <model>skrill/method_npy</model>
472
+ <order_status>pending_payment</order_status>
473
+ <payment_action>authorize</payment_action>
474
+ <title>EPS (Netpay)</title>
475
+ <allowspecific>1</allowspecific>
476
+ <specificcountry>AT</specificcountry>
477
+ <group>skrillpm</group>
478
+ </skrill_npy>
479
+ <skrill_pli>
480
+ <active>0</active>
481
+ <show_separately>0</show_separately>
482
+ <model>skrill/method_pli</model>
483
+ <order_status>pending_payment</order_status>
484
+ <payment_action>authorize</payment_action>
485
+ <title>POLi</title>
486
+ <allowspecific>1</allowspecific>
487
+ <specificcountry>AU</specificcountry>
488
+ <group>skrillpm</group>
489
+ </skrill_pli>
490
+ <skrill_pwy>
491
+ <active>0</active>
492
+ <show_separately>0</show_separately>
493
+ <model>skrill/method_pwy</model>
494
+ <order_status>pending_payment</order_status>
495
+ <payment_action>authorize</payment_action>
496
+ <title>Przelewy24</title>
497
+ <allowspecific>1</allowspecific>
498
+ <specificcountry>PL</specificcountry>
499
+ <group>skrillpm</group>
500
+ </skrill_pwy>
501
+ <skrill_epy>
502
+ <active>0</active>
503
+ <show_separately>0</show_separately>
504
+ <model>skrill/method_epy</model>
505
+ <order_status>pending_payment</order_status>
506
+ <payment_action>authorize</payment_action>
507
+ <title>ePay.bg</title>
508
+ <allowspecific>1</allowspecific>
509
+ <specificcountry>BG</specificcountry>
510
+ <group>skrillpm</group>
511
+ </skrill_epy>
512
+ <skrill_glu>
513
+ <active>0</active>
514
+ <show_separately>0</show_separately>
515
+ <model>skrill/method_glu</model>
516
+ <order_status>pending_payment</order_status>
517
+ <payment_action>authorize</payment_action>
518
+ <title>Trustly</title>
519
+ <allowspecific>1</allowspecific>
520
+ <specificcountry>SE,FI,EE,DK,ES,PL,IT,FR,DE,PT,AT,LV,LT,NL</specificcountry>
521
+ <group>skrillpm</group>
522
+ </skrill_glu>
523
+ <skrill_ali>
524
+ <active>0</active>
525
+ <show_separately>0</show_separately>
526
+ <model>skrill/method_ali</model>
527
+ <order_status>pending_payment</order_status>
528
+ <payment_action>authorize</payment_action>
529
+ <title>Alipay</title>
530
+ <allowspecific>1</allowspecific>
531
+ <specificcountry>CN</specificcountry>
532
+ <group>skrillpm</group>
533
+ </skrill_ali>
534
+ <skrill_creditcard>
535
+ <active>1</active>
536
+ <model>skrill/method_creditcard</model>
537
+ <order_status>pending_payment</order_status>
538
+ <payment_action>authorize</payment_action>
539
+ <title>Credit Card (Enterprise)</title>
540
+ <group>skrillpm</group>
541
+ </skrill_creditcard>
542
+ <skrill_directdebit>
543
+ <active>1</active>
544
+ <model>skrill/method_directdebit</model>
545
+ <order_status>pending_payment</order_status>
546
+ <payment_action>authorize</payment_action>
547
+ <title>Lastschrift (ELV) (Enterprise)</title>
548
+ <group>skrillpm</group>
549
+ </skrill_directdebit>
550
+ <skrill_eps>
551
+ <active>1</active>
552
+ <model>skrill/method_eps</model>
553
+ <order_status>pending_payment</order_status>
554
+ <payment_action>authorize</payment_action>
555
+ <title>eps (Enterprise)</title>
556
+ <group>skrillpm</group>
557
+ </skrill_eps>
558
+ <skrill_giropay>
559
+ <active>1</active>
560
+ <model>skrill/method_giropay</model>
561
+ <order_status>pending_payment</order_status>
562
+ <payment_action>authorize</payment_action>
563
+ <title>giropay (Enterprise)</title>
564
+ <group>skrillpm</group>
565
+ </skrill_giropay>
566
+ <skrill_ideal>
567
+ <active>1</active>
568
+ <model>skrill/method_ideal</model>
569
+ <order_status>pending_payment</order_status>
570
+ <payment_action>authorize</payment_action>
571
+ <title>iDeal (Enterprise)</title>
572
+ <group>skrillpm</group>
573
+ </skrill_ideal>
574
+ <!-- <skrill_paypal>
575
+ <active>0</active>
576
+ <gateway>PAYON</gateway>
577
+ <model>skrill/method_paypal</model>
578
+ <order_status>pending_payment</order_status>
579
+ <payment_action>authorize</payment_action>
580
+ <title>PayPal (Enterprise)</title>
581
+ <server_mode>TEST</server_mode>
582
+ <channel_id></channel_id>
583
+ <sender></sender>
584
+ <login></login>
585
+ <password></password>
586
+ <group>skrillpm</group>
587
+ </skrill_paypal> -->
588
+ <skrill_sofortuberweisung>
589
+ <active>1</active>
590
+ <model>skrill/method_sofortuberweisung</model>
591
+ <order_status>pending_payment</order_status>
592
+ <payment_action>authorize</payment_action>
593
+ <title>SOFORT Ü‎berweisung (Enterprise)</title>
594
+ <group>skrillpm</group>
595
+ </skrill_sofortuberweisung>
596
+ <!-- <skrill_payolutioninv>
597
+ <active>0</active>
598
+ <gateway>PAYON</gateway>
599
+ <model>skrill/method_payolutioninv</model>
600
+ <order_status>pending_payment</order_status>
601
+ <payment_action>authorize</payment_action>
602
+ <title>Payolution Invoice (Enterprise)</title>
603
+ <server_mode>TEST</server_mode>
604
+ <channel_id></channel_id>
605
+ <sender></sender>
606
+ <login></login>
607
+ <password></password>
608
+ <group>skrillpm</group>
609
+ </skrill_payolutioninv>
610
+ <skrill_payolutionins>
611
+ <active>0</active>
612
+ <gateway>PAYON</gateway>
613
+ <model>skrill/method_payolutionins</model>
614
+ <order_status>pending_payment</order_status>
615
+ <payment_action>authorize</payment_action>
616
+ <title>Payolution Installment (Enterprise)</title>
617
+ <server_mode>TEST</server_mode>
618
+ <channel_id></channel_id>
619
+ <sender></sender>
620
+ <login></login>
621
+ <password></password>
622
+ <group>skrillpm</group>
623
+ </skrill_payolutionins> -->
624
+ <skrill_paysafecard>
625
+ <active>1</active>
626
+ <model>skrill/method_paysafecard</model>
627
+ <order_status>pending_payment</order_status>
628
+ <payment_action>authorize</payment_action>
629
+ <title>Paysafecard (Enterprise)</title>
630
+ <group>skrillpm</group>
631
+ </skrill_paysafecard>
632
+ <!-- <skrill_paytrail>
633
+ <active>0</active>
634
+ <gateway>PAYON</gateway>
635
+ <model>skrill/method_paytrail</model>
636
+ <order_status>pending_payment</order_status>
637
+ <payment_action>authorize</payment_action>
638
+ <title>Paytrail (Enterprise)</title>
639
+ <server_mode>TEST</server_mode>
640
+ <channel_id></channel_id>
641
+ <sender></sender>
642
+ <login></login>
643
+ <password></password>
644
+ <group>skrillpm</group>
645
+ </skrill_paytrail> -->
646
+ <!-- <skrill_yandex>
647
+ <active>0</active>
648
+ <gateway>PAYON</gateway>
649
+ <model>skrill/method_yandex</model>
650
+ <order_status>pending_payment</order_status>
651
+ <payment_action>authorize</payment_action>
652
+ <title>Yandex (Enterprise)</title>
653
+ <server_mode>TEST</server_mode>
654
+ <channel_id></channel_id>
655
+ <sender></sender>
656
+ <login></login>
657
+ <password></password>
658
+ <group>skrillpm</group>
659
+ </skrill_yandex> -->
660
+ </payment>
661
+ </default>
662
+
663
  </config>
app/code/community/Skrill/etc/system.xml CHANGED
@@ -1,2589 +1,2686 @@
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.21</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>password</frontend_type>
105
- <config_path>payment/skrill_settings/api_passwd</config_path>
106
- <sort_order>7</sort_order>
107
- <validate>required-entry</validate>
108
- <show_in_default>1</show_in_default>
109
- <show_in_website>1</show_in_website>
110
- <show_in_store>1</show_in_store>
111
- </api_passwd>
112
- <secret_word translate="label,comment">
113
- <label>SKRILL_BACKEND_SECRETWORD</label>
114
- <comment>SKRILL_BACKEND_TT_SECRET</comment>
115
- <frontend_type>password</frontend_type>
116
- <config_path>payment/skrill_settings/secret_word</config_path>
117
- <sort_order>8</sort_order>
118
- <validate>required-entry</validate>
119
- <show_in_default>1</show_in_default>
120
- <show_in_website>1</show_in_website>
121
- <show_in_store>1</show_in_store>
122
- </secret_word>
123
- <display translate="label,comment">
124
- <label>SKRILL_BACKEND_DISPLAY</label>
125
- <comment>SKRILL_BACKEND_TT_DISPLAY</comment>
126
- <frontend_type>select</frontend_type>
127
- <config_path>payment/skrill_settings/display</config_path>
128
- <sort_order>9</sort_order>
129
- <source_model>skrill/source_display</source_model>
130
- <show_in_default>1</show_in_default>
131
- <show_in_website>1</show_in_website>
132
- <show_in_store>1</show_in_store>
133
- </display>
134
- <merchant_email translate="label,comment">
135
- <label>SKRILL_BACKEND_MERCHANTEMAIL</label>
136
- <comment>SKRILL_BACKEND_TT_MERCHANTEMAIL</comment>
137
- <frontend_type>text</frontend_type>
138
- <config_path>payment/skrill_settings/merchant_email</config_path>
139
- <sort_order>10</sort_order>
140
- <validate>required-entry</validate>
141
- <show_in_default>1</show_in_default>
142
- <show_in_website>1</show_in_website>
143
- <show_in_store>1</show_in_store>
144
- </merchant_email>
145
- </fields>
146
- </skrill_settings>
147
- <!-- <skrill_general module="skrill" translate="label">
148
- <label>SKRILL_BACKEND_PM_PAYONSETTING</label>
149
- <show_in_default>1</show_in_default>
150
- <show_in_website>1</show_in_website>
151
- <show_in_store>1</show_in_store>
152
- <sort_order>99</sort_order>
153
- <fields>
154
- <version>
155
- <label>v1.0.21</label>
156
- <sort_order>1</sort_order>
157
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
158
- <frontend_type>label</frontend_type>
159
- <show_in_default>1</show_in_default>
160
- <show_in_website>1</show_in_website>
161
- <show_in_store>1</show_in_store>
162
- </version>
163
- <active translate="label">
164
- <label>BACKEND_CH_ACTIVE</label>
165
- <sort_order>2</sort_order>
166
- <config_path>payment/skrill_general/active</config_path>
167
- <frontend_type>select</frontend_type>
168
- <source_model>adminhtml/system_config_source_yesno</source_model>
169
- <show_in_default>1</show_in_default>
170
- <show_in_website>1</show_in_website>
171
- <show_in_store>1</show_in_store>
172
- </active>
173
- <sender translate="label">
174
- <label>BACKEND_CH_SENDER</label>
175
- <sort_order>3</sort_order>
176
- <config_path>payment/skrill_general/sender</config_path>
177
- <frontend_type>text</frontend_type>
178
- <show_in_default>1</show_in_default>
179
- <show_in_website>1</show_in_website>
180
- <show_in_store>1</show_in_store>
181
- </sender>
182
- <login translate="label">
183
- <label>BACKEND_CH_LOGIN</label>
184
- <sort_order>4</sort_order>
185
- <config_path>payment/skrill_general/login</config_path>
186
- <frontend_type>text</frontend_type>
187
- <show_in_default>1</show_in_default>
188
- <show_in_website>1</show_in_website>
189
- <show_in_store>1</show_in_store>
190
- </login>
191
- <password translate="label">
192
- <label>BACKEND_CH_PASSWORD</label>
193
- <sort_order>5</sort_order>
194
- <config_path>payment/skrill_general/password</config_path>
195
- <frontend_type>text</frontend_type>
196
- <show_in_default>1</show_in_default>
197
- <show_in_website>1</show_in_website>
198
- <show_in_store>1</show_in_store>
199
- </password>
200
- </fields>
201
- </skrill_general> -->
202
- <skrill_flexible translate="label,comment">
203
- <label>SKRILL_BACKEND_PM_FLEXIBLE</label>
204
- <comment>SKRILL_BACKEND_TT_APM</comment>
205
- <frontend_type>text</frontend_type>
206
- <sort_order>100</sort_order>
207
- <show_in_default>1</show_in_default>
208
- <show_in_website>1</show_in_website>
209
- <show_in_store>1</show_in_store>
210
- <fields>
211
- <!-- <version>
212
- <label>v1.0.21</label>
213
- <sort_order>1</sort_order>
214
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
215
- <frontend_type>label</frontend_type>
216
- <show_in_default>1</show_in_default>
217
- <show_in_website>1</show_in_website>
218
- <show_in_store>1</show_in_store>
219
- </version> -->
220
- <active translate="label">
221
- <label>BACKEND_CH_ACTIVE</label>
222
- <comment>All Countries</comment>
223
- <sort_order>2</sort_order>
224
- <frontend_type>select</frontend_type>
225
- <config_path>payment/skrill_flexible/active</config_path>
226
- <source_model>adminhtml/system_config_source_yesno</source_model>
227
- <show_in_default>1</show_in_default>
228
- <show_in_website>1</show_in_website>
229
- <show_in_store>1</show_in_store>
230
- </active>
231
- <sort_order translate="label">
232
- <label>BACKEND_CH_ORDER</label>
233
- <frontend_type>text</frontend_type>
234
- <config_path>payment/skrill_flexible/sort_order</config_path>
235
- <sort_order>6</sort_order>
236
- <show_in_default>1</show_in_default>
237
- <show_in_website>1</show_in_website>
238
- <show_in_store>1</show_in_store>
239
- </sort_order>
240
- </fields>
241
- </skrill_flexible>
242
- <skrill_wlt translate="label">
243
- <label>SKRILL_BACKEND_PM_WLT</label>
244
- <frontend_type>text</frontend_type>
245
- <sort_order>101</sort_order>
246
- <show_in_default>1</show_in_default>
247
- <show_in_website>1</show_in_website>
248
- <show_in_store>1</show_in_store>
249
- <fields>
250
- <!-- <version>
251
- <label>v1.0.21</label>
252
- <sort_order>1</sort_order>
253
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
254
- <frontend_type>label</frontend_type>
255
- <show_in_default>1</show_in_default>
256
- <show_in_website>1</show_in_website>
257
- <show_in_store>1</show_in_store>
258
- </version> -->
259
- <active translate="label">
260
- <label>BACKEND_CH_ACTIVE</label>
261
- <comment>All Countries</comment>
262
- <sort_order>2</sort_order>
263
- <frontend_type>select</frontend_type>
264
- <config_path>payment/skrill_wlt/active</config_path>
265
- <source_model>adminhtml/system_config_source_yesno</source_model>
266
- <show_in_default>1</show_in_default>
267
- <show_in_website>1</show_in_website>
268
- <show_in_store>1</show_in_store>
269
- </active>
270
- <show_separately translate="label">
271
- <label>SKRILL_BACKEND_PM_MODE</label>
272
- <sort_order>3</sort_order>
273
- <frontend_type>select</frontend_type>
274
- <config_path>payment/skrill_wlt/show_separately</config_path>
275
- <source_model>adminhtml/system_config_source_yesno</source_model>
276
- <show_in_default>1</show_in_default>
277
- <show_in_website>1</show_in_website>
278
- <show_in_store>1</show_in_store>
279
- </show_separately>
280
- <sort_order translate="label">
281
- <label>BACKEND_CH_ORDER</label>
282
- <frontend_type>text</frontend_type>
283
- <config_path>payment/skrill_wlt/sort_order</config_path>
284
- <sort_order>6</sort_order>
285
- <show_in_default>1</show_in_default>
286
- <show_in_website>1</show_in_website>
287
- <show_in_store>1</show_in_store>
288
- </sort_order>
289
- </fields>
290
- </skrill_wlt>
291
- <skrill_psc translate="label">
292
- <label>SKRILL_BACKEND_PM_PSC</label>
293
- <frontend_type>text</frontend_type>
294
- <sort_order>102</sort_order>
295
- <show_in_default>1</show_in_default>
296
- <show_in_website>1</show_in_website>
297
- <show_in_store>1</show_in_store>
298
- <fields>
299
- <!-- <version>
300
- <label>v1.0.21</label>
301
- <sort_order>1</sort_order>
302
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
303
- <frontend_type>label</frontend_type>
304
- <show_in_default>1</show_in_default>
305
- <show_in_website>1</show_in_website>
306
- <show_in_store>1</show_in_store>
307
- </version> -->
308
- <active translate="label">
309
- <label>BACKEND_CH_ACTIVE</label>
310
- <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>
311
- <sort_order>2</sort_order>
312
- <frontend_type>select</frontend_type>
313
- <config_path>payment/skrill_psc/active</config_path>
314
- <source_model>adminhtml/system_config_source_yesno</source_model>
315
- <show_in_default>1</show_in_default>
316
- <show_in_website>1</show_in_website>
317
- <show_in_store>1</show_in_store>
318
- </active>
319
- <!-- <gateway translate="label">
320
- <label>SKRILL_BACKEND_GATE</label>
321
- <sort_order>3</sort_order>
322
- <frontend_type>select</frontend_type>
323
- <config_path>payment/skrill_psc/gateway</config_path>
324
- <source_model>skrill/source_gateway</source_model>
325
- <show_in_default>1</show_in_default>
326
- <show_in_website>1</show_in_website>
327
- <show_in_store>1</show_in_store>
328
- </gateway> -->
329
- <show_separately translate="label">
330
- <label>SKRILL_BACKEND_PM_MODE</label>
331
- <sort_order>4</sort_order>
332
- <frontend_type>select</frontend_type>
333
- <config_path>payment/skrill_psc/show_separately</config_path>
334
- <source_model>adminhtml/system_config_source_yesno</source_model>
335
- <show_in_default>1</show_in_default>
336
- <show_in_website>1</show_in_website>
337
- <show_in_store>1</show_in_store>
338
- </show_separately>
339
- <!-- <server_mode translate="label">
340
- <label>BACKEND_CH_SERVER</label>
341
- <frontend_type>select</frontend_type>
342
- <config_path>payment/skrill_psc/server_mode</config_path>
343
- <sort_order>5</sort_order>
344
- <source_model>skrill/source_mode</source_model>
345
- <show_in_default>1</show_in_default>
346
- <show_in_website>1</show_in_website>
347
- <show_in_store>1</show_in_store>
348
- </server_mode>
349
- <channel_id translate="label">
350
- <label>BACKEND_CH_CHANNEL</label>
351
- <sort_order>6</sort_order>
352
- <frontend_type>text</frontend_type>
353
- <config_path>payment/skrill_psc/channel_id</config_path>
354
- <show_in_default>1</show_in_default>
355
- <show_in_website>1</show_in_website>
356
- <show_in_store>1</show_in_store>
357
- </channel_id>
358
- <sender translate="label">
359
- <label>BACKEND_CH_SENDER</label>
360
- <sort_order>7</sort_order>
361
- <frontend_type>text</frontend_type>
362
- <config_path>payment/skrill_psc/sender</config_path>
363
- <show_in_default>1</show_in_default>
364
- <show_in_website>1</show_in_website>
365
- <show_in_store>1</show_in_store>
366
- </sender>
367
- <login translate="label">
368
- <label>BACKEND_CH_LOGIN</label>
369
- <sort_order>8</sort_order>
370
- <frontend_type>text</frontend_type>
371
- <config_path>payment/skrill_psc/login</config_path>
372
- <show_in_default>1</show_in_default>
373
- <show_in_website>1</show_in_website>
374
- <show_in_store>1</show_in_store>
375
- </login>
376
- <password translate="label">
377
- <label>BACKEND_CH_PASSWORD</label>
378
- <sort_order>9</sort_order>
379
- <frontend_type>text</frontend_type>
380
- <config_path>payment/skrill_psc/password</config_path>
381
- <show_in_default>1</show_in_default>
382
- <show_in_website>1</show_in_website>
383
- <show_in_store>1</show_in_store>
384
- </password>
385
- <allowspecific translate="label">
386
- <label>BACKEND_CH_COUNTRIES</label>
387
- <sort_order>10</sort_order>
388
- <frontend_type>allowspecific</frontend_type>
389
- <config_path>payment/skrill_psc/allowspecific</config_path>
390
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
391
- <show_in_default>1</show_in_default>
392
- <show_in_website>1</show_in_website>
393
- <show_in_store>1</show_in_store>
394
- </allowspecific>
395
- <specificcountry translate="label">
396
- <label>BACKEND_CH_COUNTRIESSPEC</label>
397
- <sort_order>11</sort_order>
398
- <frontend_type>multiselect</frontend_type>
399
- <config_path>payment/skrill_psc/specificcountry</config_path>
400
- <source_model>adminhtml/system_config_source_country</source_model>
401
- <can_be_empty>1</can_be_empty>
402
- <show_in_default>1</show_in_default>
403
- <show_in_website>1</show_in_website>
404
- <show_in_store>1</show_in_store>
405
- </specificcountry> -->
406
- <sort_order translate="label">
407
- <label>BACKEND_CH_ORDER</label>
408
- <frontend_type>text</frontend_type>
409
- <config_path>payment/skrill_psc/sort_order</config_path>
410
- <sort_order>12</sort_order>
411
- <show_in_default>1</show_in_default>
412
- <show_in_website>1</show_in_website>
413
- <show_in_store>1</show_in_store>
414
- </sort_order>
415
- </fields>
416
- </skrill_psc>
417
- <skrill_acc translate="label,comment">
418
- <label>SKRILL_BACKEND_PM_ACC</label>
419
- <comment>SKRILL_BACKEND_TT_APM</comment>
420
- <frontend_type>text</frontend_type>
421
- <sort_order>103</sort_order>
422
- <show_in_default>1</show_in_default>
423
- <show_in_website>1</show_in_website>
424
- <show_in_store>1</show_in_store>
425
- <fields>
426
- <!-- <version>
427
- <label>v1.0.21</label>
428
- <sort_order>1</sort_order>
429
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
430
- <frontend_type>label</frontend_type>
431
- <show_in_default>1</show_in_default>
432
- <show_in_website>1</show_in_website>
433
- <show_in_store>1</show_in_store>
434
- </version> -->
435
- <active translate="label">
436
- <label>BACKEND_CH_ACTIVE</label>
437
- <comment>All Countries</comment>
438
- <sort_order>2</sort_order>
439
- <frontend_type>select</frontend_type>
440
- <config_path>payment/skrill_acc/active</config_path>
441
- <source_model>adminhtml/system_config_source_yesno</source_model>
442
- <show_in_default>1</show_in_default>
443
- <show_in_website>1</show_in_website>
444
- <show_in_store>1</show_in_store>
445
- </active>
446
- <!-- <gateway translate="label">
447
- <label>SKRILL_BACKEND_GATE</label>
448
- <sort_order>3</sort_order>
449
- <frontend_type>select</frontend_type>
450
- <config_path>payment/skrill_acc/gateway</config_path>
451
- <source_model>skrill/source_gateway</source_model>
452
- <show_in_default>1</show_in_default>
453
- <show_in_website>1</show_in_website>
454
- <show_in_store>1</show_in_store>
455
- </gateway> -->
456
- <show_separately translate="label">
457
- <label>SKRILL_BACKEND_PM_MODE</label>
458
- <sort_order>4</sort_order>
459
- <frontend_type>select</frontend_type>
460
- <config_path>payment/skrill_acc/show_separately</config_path>
461
- <source_model>adminhtml/system_config_source_yesno</source_model>
462
- <show_in_default>1</show_in_default>
463
- <show_in_website>1</show_in_website>
464
- <show_in_store>1</show_in_store>
465
- </show_separately>
466
- <!-- <server_mode translate="label">
467
- <label>BACKEND_CH_SERVER</label>
468
- <frontend_type>select</frontend_type>
469
- <config_path>payment/skrill_acc/server_mode</config_path>
470
- <sort_order>5</sort_order>
471
- <source_model>skrill/source_mode</source_model>
472
- <show_in_default>1</show_in_default>
473
- <show_in_website>1</show_in_website>
474
- <show_in_store>1</show_in_store>
475
- </server_mode>
476
- <transaction_mode translate="label">
477
- <label>BACKEND_CH_MODE</label>
478
- <frontend_type>select</frontend_type>
479
- <config_path>payment/skrill_acc/transaction_mode</config_path>
480
- <sort_order>6</sort_order>
481
- <source_model>skrill/source_transaction</source_model>
482
- <show_in_default>1</show_in_default>
483
- <show_in_website>1</show_in_website>
484
- <show_in_store>1</show_in_store>
485
- </transaction_mode>
486
- <channel_id translate="label">
487
- <label>BACKEND_CH_CHANNEL</label>
488
- <sort_order>7</sort_order>
489
- <frontend_type>text</frontend_type>
490
- <config_path>payment/skrill_acc/channel_id</config_path>
491
- <show_in_default>1</show_in_default>
492
- <show_in_website>1</show_in_website>
493
- <show_in_store>1</show_in_store>
494
- </channel_id>
495
- <sender translate="label">
496
- <label>BACKEND_CH_SENDER</label>
497
- <sort_order>8</sort_order>
498
- <frontend_type>text</frontend_type>
499
- <config_path>payment/skrill_acc/sender</config_path>
500
- <show_in_default>1</show_in_default>
501
- <show_in_website>1</show_in_website>
502
- <show_in_store>1</show_in_store>
503
- </sender>
504
- <login translate="label">
505
- <label>BACKEND_CH_LOGIN</label>
506
- <sort_order>9</sort_order>
507
- <frontend_type>text</frontend_type>
508
- <config_path>payment/skrill_acc/login</config_path>
509
- <show_in_default>1</show_in_default>
510
- <show_in_website>1</show_in_website>
511
- <show_in_store>1</show_in_store>
512
- </login>
513
- <password translate="label">
514
- <label>BACKEND_CH_PASSWORD</label>
515
- <sort_order>10</sort_order>
516
- <frontend_type>text</frontend_type>
517
- <config_path>payment/skrill_acc/password</config_path>
518
- <show_in_default>1</show_in_default>
519
- <show_in_website>1</show_in_website>
520
- <show_in_store>1</show_in_store>
521
- </password>
522
- <allowspecific translate="label">
523
- <label>BACKEND_CH_COUNTRIES</label>
524
- <sort_order>11</sort_order>
525
- <frontend_type>allowspecific</frontend_type>
526
- <config_path>payment/skrill_acc/allowspecific</config_path>
527
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
528
- <show_in_default>1</show_in_default>
529
- <show_in_website>1</show_in_website>
530
- <show_in_store>1</show_in_store>
531
- </allowspecific>
532
- <specificcountry translate="label">
533
- <label>BACKEND_CH_COUNTRIESSPEC</label>
534
- <sort_order>12</sort_order>
535
- <frontend_type>multiselect</frontend_type>
536
- <config_path>payment/skrill_acc/specificcountry</config_path>
537
- <source_model>adminhtml/system_config_source_country</source_model>
538
- <can_be_empty>1</can_be_empty>
539
- <show_in_default>1</show_in_default>
540
- <show_in_website>1</show_in_website>
541
- <show_in_store>1</show_in_store>
542
- </specificcountry> -->
543
- <sort_order translate="label">
544
- <label>BACKEND_CH_ORDER</label>
545
- <frontend_type>text</frontend_type>
546
- <config_path>payment/skrill_acc/sort_order</config_path>
547
- <sort_order>13</sort_order>
548
- <show_in_default>1</show_in_default>
549
- <show_in_website>1</show_in_website>
550
- <show_in_store>1</show_in_store>
551
- </sort_order>
552
- </fields>
553
- </skrill_acc>
554
- <skrill_vsa translate="label">
555
- <label>SKRILL_BACKEND_PM_VSA</label>
556
- <frontend_type>text</frontend_type>
557
- <sort_order>104</sort_order>
558
- <show_in_default>1</show_in_default>
559
- <show_in_website>1</show_in_website>
560
- <show_in_store>1</show_in_store>
561
- <fields>
562
- <!-- <version>
563
- <label>v1.0.21</label>
564
- <sort_order>1</sort_order>
565
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
566
- <frontend_type>label</frontend_type>
567
- <show_in_default>1</show_in_default>
568
- <show_in_website>1</show_in_website>
569
- <show_in_store>1</show_in_store>
570
- </version> -->
571
- <active translate="label">
572
- <label>BACKEND_CH_ACTIVE</label>
573
- <comment>All Countries</comment>
574
- <sort_order>2</sort_order>
575
- <frontend_type>select</frontend_type>
576
- <config_path>payment/skrill_vsa/active</config_path>
577
- <source_model>adminhtml/system_config_source_yesno</source_model>
578
- <show_in_default>1</show_in_default>
579
- <show_in_website>1</show_in_website>
580
- <show_in_store>1</show_in_store>
581
- </active>
582
- <show_separately translate="label">
583
- <label>SKRILL_BACKEND_PM_MODE</label>
584
- <sort_order>3</sort_order>
585
- <frontend_type>select</frontend_type>
586
- <config_path>payment/skrill_vsa/show_separately</config_path>
587
- <source_model>adminhtml/system_config_source_yesno</source_model>
588
- <show_in_default>1</show_in_default>
589
- <show_in_website>1</show_in_website>
590
- <show_in_store>1</show_in_store>
591
- </show_separately>
592
- <sort_order translate="label">
593
- <label>BACKEND_CH_ORDER</label>
594
- <frontend_type>text</frontend_type>
595
- <config_path>payment/skrill_vsa/sort_order</config_path>
596
- <sort_order>6</sort_order>
597
- <show_in_default>1</show_in_default>
598
- <show_in_website>1</show_in_website>
599
- <show_in_store>1</show_in_store>
600
- </sort_order>
601
- </fields>
602
- </skrill_vsa>
603
- <skrill_msc translate="label">
604
- <label>SKRILL_BACKEND_PM_MSC</label>
605
- <frontend_type>text</frontend_type>
606
- <sort_order>105</sort_order>
607
- <show_in_default>1</show_in_default>
608
- <show_in_website>1</show_in_website>
609
- <show_in_store>1</show_in_store>
610
- <fields>
611
- <!-- <version>
612
- <label>v1.0.21</label>
613
- <sort_order>1</sort_order>
614
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
615
- <frontend_type>label</frontend_type>
616
- <show_in_default>1</show_in_default>
617
- <show_in_website>1</show_in_website>
618
- <show_in_store>1</show_in_store>
619
- </version> -->
620
- <active translate="label">
621
- <label>BACKEND_CH_ACTIVE</label>
622
- <comment>All Countries</comment>
623
- <sort_order>2</sort_order>
624
- <frontend_type>select</frontend_type>
625
- <config_path>payment/skrill_msc/active</config_path>
626
- <source_model>adminhtml/system_config_source_yesno</source_model>
627
- <show_in_default>1</show_in_default>
628
- <show_in_website>1</show_in_website>
629
- <show_in_store>1</show_in_store>
630
- </active>
631
- <show_separately translate="label">
632
- <label>SKRILL_BACKEND_PM_MODE</label>
633
- <sort_order>3</sort_order>
634
- <frontend_type>select</frontend_type>
635
- <config_path>payment/skrill_msc/show_separately</config_path>
636
- <source_model>adminhtml/system_config_source_yesno</source_model>
637
- <show_in_default>1</show_in_default>
638
- <show_in_website>1</show_in_website>
639
- <show_in_store>1</show_in_store>
640
- </show_separately>
641
- <sort_order translate="label">
642
- <label>BACKEND_CH_ORDER</label>
643
- <frontend_type>text</frontend_type>
644
- <config_path>payment/skrill_msc/sort_order</config_path>
645
- <sort_order>6</sort_order>
646
- <show_in_default>1</show_in_default>
647
- <show_in_website>1</show_in_website>
648
- <show_in_store>1</show_in_store>
649
- </sort_order>
650
- </fields>
651
- </skrill_msc>
652
- <skrill_vse translate="label">
653
- <label>SKRILL_BACKEND_PM_VSE</label>
654
- <frontend_type>text</frontend_type>
655
- <sort_order>107</sort_order>
656
- <show_in_default>1</show_in_default>
657
- <show_in_website>1</show_in_website>
658
- <show_in_store>1</show_in_store>
659
- <fields>
660
- <!-- <version>
661
- <label>v1.0.21</label>
662
- <sort_order>1</sort_order>
663
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
664
- <frontend_type>label</frontend_type>
665
- <show_in_default>1</show_in_default>
666
- <show_in_website>1</show_in_website>
667
- <show_in_store>1</show_in_store>
668
- </version> -->
669
- <active translate="label">
670
- <label>BACKEND_CH_ACTIVE</label>
671
- <comment>All Countries (excluding United States Of America)</comment>
672
- <sort_order>2</sort_order>
673
- <frontend_type>select</frontend_type>
674
- <config_path>payment/skrill_vse/active</config_path>
675
- <source_model>adminhtml/system_config_source_yesno</source_model>
676
- <show_in_default>1</show_in_default>
677
- <show_in_website>1</show_in_website>
678
- <show_in_store>1</show_in_store>
679
- </active>
680
- <show_separately translate="label">
681
- <label>SKRILL_BACKEND_PM_MODE</label>
682
- <sort_order>3</sort_order>
683
- <frontend_type>select</frontend_type>
684
- <config_path>payment/skrill_vse/show_separately</config_path>
685
- <source_model>adminhtml/system_config_source_yesno</source_model>
686
- <show_in_default>1</show_in_default>
687
- <show_in_website>1</show_in_website>
688
- <show_in_store>1</show_in_store>
689
- </show_separately>
690
- <sort_order translate="label">
691
- <label>BACKEND_CH_ORDER</label>
692
- <frontend_type>text</frontend_type>
693
- <config_path>payment/skrill_vse/sort_order</config_path>
694
- <sort_order>6</sort_order>
695
- <show_in_default>1</show_in_default>
696
- <show_in_website>1</show_in_website>
697
- <show_in_store>1</show_in_store>
698
- </sort_order>
699
- </fields>
700
- </skrill_vse>
701
- <skrill_mae translate="label">
702
- <label>SKRILL_BACKEND_PM_MAE</label>
703
- <frontend_type>text</frontend_type>
704
- <sort_order>108</sort_order>
705
- <show_in_default>1</show_in_default>
706
- <show_in_website>1</show_in_website>
707
- <show_in_store>1</show_in_store>
708
- <fields>
709
- <!-- <version>
710
- <label>v1.0.21</label>
711
- <sort_order>1</sort_order>
712
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
713
- <frontend_type>label</frontend_type>
714
- <show_in_default>1</show_in_default>
715
- <show_in_website>1</show_in_website>
716
- <show_in_store>1</show_in_store>
717
- </version> -->
718
- <active translate="label">
719
- <label>BACKEND_CH_ACTIVE</label>
720
- <comment>United Kingdom, Spain, Ireland and Austria</comment>
721
- <sort_order>2</sort_order>
722
- <frontend_type>select</frontend_type>
723
- <config_path>payment/skrill_mae/active</config_path>
724
- <source_model>adminhtml/system_config_source_yesno</source_model>
725
- <show_in_default>1</show_in_default>
726
- <show_in_website>1</show_in_website>
727
- <show_in_store>1</show_in_store>
728
- </active>
729
- <show_separately translate="label">
730
- <label>SKRILL_BACKEND_PM_MODE</label>
731
- <sort_order>3</sort_order>
732
- <frontend_type>select</frontend_type>
733
- <config_path>payment/skrill_mae/show_separately</config_path>
734
- <source_model>adminhtml/system_config_source_yesno</source_model>
735
- <show_in_default>1</show_in_default>
736
- <show_in_website>1</show_in_website>
737
- <show_in_store>1</show_in_store>
738
- </show_separately>
739
- <sort_order translate="label">
740
- <label>BACKEND_CH_ORDER</label>
741
- <frontend_type>text</frontend_type>
742
- <config_path>payment/skrill_mae/sort_order</config_path>
743
- <sort_order>6</sort_order>
744
- <show_in_default>1</show_in_default>
745
- <show_in_website>1</show_in_website>
746
- <show_in_store>1</show_in_store>
747
- </sort_order>
748
- </fields>
749
- </skrill_mae>
750
- <skrill_amx translate="label">
751
- <label>SKRILL_BACKEND_PM_AMX</label>
752
- <frontend_type>text</frontend_type>
753
- <sort_order>109</sort_order>
754
- <show_in_default>1</show_in_default>
755
- <show_in_website>1</show_in_website>
756
- <show_in_store>1</show_in_store>
757
- <fields>
758
- <!-- <version>
759
- <label>v1.0.21</label>
760
- <sort_order>1</sort_order>
761
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
762
- <frontend_type>label</frontend_type>
763
- <show_in_default>1</show_in_default>
764
- <show_in_website>1</show_in_website>
765
- <show_in_store>1</show_in_store>
766
- </version> -->
767
- <active translate="label">
768
- <label>BACKEND_CH_ACTIVE</label>
769
- <comment>All Countries</comment>
770
- <sort_order>2</sort_order>
771
- <frontend_type>select</frontend_type>
772
- <config_path>payment/skrill_amx/active</config_path>
773
- <source_model>adminhtml/system_config_source_yesno</source_model>
774
- <show_in_default>1</show_in_default>
775
- <show_in_website>1</show_in_website>
776
- <show_in_store>1</show_in_store>
777
- </active>
778
- <show_separately translate="label">
779
- <label>SKRILL_BACKEND_PM_MODE</label>
780
- <sort_order>3</sort_order>
781
- <frontend_type>select</frontend_type>
782
- <config_path>payment/skrill_amx/show_separately</config_path>
783
- <source_model>adminhtml/system_config_source_yesno</source_model>
784
- <show_in_default>1</show_in_default>
785
- <show_in_website>1</show_in_website>
786
- <show_in_store>1</show_in_store>
787
- </show_separately>
788
- <sort_order translate="label">
789
- <label>BACKEND_CH_ORDER</label>
790
- <frontend_type>text</frontend_type>
791
- <config_path>payment/skrill_amx/sort_order</config_path>
792
- <sort_order>6</sort_order>
793
- <show_in_default>1</show_in_default>
794
- <show_in_website>1</show_in_website>
795
- <show_in_store>1</show_in_store>
796
- </sort_order>
797
- </fields>
798
- </skrill_amx>
799
- <skrill_gcb translate="label">
800
- <label>SKRILL_BACKEND_PM_GCB</label>
801
- <frontend_type>text</frontend_type>
802
- <sort_order>112</sort_order>
803
- <show_in_default>1</show_in_default>
804
- <show_in_website>1</show_in_website>
805
- <show_in_store>1</show_in_store>
806
- <fields>
807
- <!-- <version>
808
- <label>v1.0.21</label>
809
- <sort_order>1</sort_order>
810
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
811
- <frontend_type>label</frontend_type>
812
- <show_in_default>1</show_in_default>
813
- <show_in_website>1</show_in_website>
814
- <show_in_store>1</show_in_store>
815
- </version> -->
816
- <active translate="label">
817
- <label>BACKEND_CH_ACTIVE</label>
818
- <comment>France</comment>
819
- <sort_order>2</sort_order>
820
- <frontend_type>select</frontend_type>
821
- <config_path>payment/skrill_gcb/active</config_path>
822
- <source_model>adminhtml/system_config_source_yesno</source_model>
823
- <show_in_default>1</show_in_default>
824
- <show_in_website>1</show_in_website>
825
- <show_in_store>1</show_in_store>
826
- </active>
827
- <show_separately translate="label">
828
- <label>SKRILL_BACKEND_PM_MODE</label>
829
- <sort_order>3</sort_order>
830
- <frontend_type>select</frontend_type>
831
- <config_path>payment/skrill_gcb/show_separately</config_path>
832
- <source_model>adminhtml/system_config_source_yesno</source_model>
833
- <show_in_default>1</show_in_default>
834
- <show_in_website>1</show_in_website>
835
- <show_in_store>1</show_in_store>
836
- </show_separately>
837
- <sort_order translate="label">
838
- <label>BACKEND_CH_ORDER</label>
839
- <frontend_type>text</frontend_type>
840
- <config_path>payment/skrill_gcb/sort_order</config_path>
841
- <sort_order>6</sort_order>
842
- <show_in_default>1</show_in_default>
843
- <show_in_website>1</show_in_website>
844
- <show_in_store>1</show_in_store>
845
- </sort_order>
846
- </fields>
847
- </skrill_gcb>
848
- <skrill_dnk translate="label">
849
- <label>SKRILL_BACKEND_PM_DNK</label>
850
- <frontend_type>text</frontend_type>
851
- <sort_order>113</sort_order>
852
- <show_in_default>1</show_in_default>
853
- <show_in_website>1</show_in_website>
854
- <show_in_store>1</show_in_store>
855
- <fields>
856
- <!-- <version>
857
- <label>v1.0.21</label>
858
- <sort_order>1</sort_order>
859
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
860
- <frontend_type>label</frontend_type>
861
- <show_in_default>1</show_in_default>
862
- <show_in_website>1</show_in_website>
863
- <show_in_store>1</show_in_store>
864
- </version> -->
865
- <active translate="label">
866
- <label>BACKEND_CH_ACTIVE</label>
867
- <comment>Denmark</comment>
868
- <sort_order>2</sort_order>
869
- <frontend_type>select</frontend_type>
870
- <config_path>payment/skrill_dnk/active</config_path>
871
- <source_model>adminhtml/system_config_source_yesno</source_model>
872
- <show_in_default>1</show_in_default>
873
- <show_in_website>1</show_in_website>
874
- <show_in_store>1</show_in_store>
875
- </active>
876
- <show_separately translate="label">
877
- <label>SKRILL_BACKEND_PM_MODE</label>
878
- <sort_order>3</sort_order>
879
- <frontend_type>select</frontend_type>
880
- <config_path>payment/skrill_dnk/show_separately</config_path>
881
- <source_model>adminhtml/system_config_source_yesno</source_model>
882
- <show_in_default>1</show_in_default>
883
- <show_in_website>1</show_in_website>
884
- <show_in_store>1</show_in_store>
885
- </show_separately>
886
- <sort_order translate="label">
887
- <label>BACKEND_CH_ORDER</label>
888
- <frontend_type>text</frontend_type>
889
- <config_path>payment/skrill_dnk/sort_order</config_path>
890
- <sort_order>6</sort_order>
891
- <show_in_default>1</show_in_default>
892
- <show_in_website>1</show_in_website>
893
- <show_in_store>1</show_in_store>
894
- </sort_order>
895
- </fields>
896
- </skrill_dnk>
897
- <skrill_psp translate="label">
898
- <label>SKRILL_BACKEND_PM_PSP</label>
899
- <frontend_type>text</frontend_type>
900
- <sort_order>114</sort_order>
901
- <show_in_default>1</show_in_default>
902
- <show_in_website>1</show_in_website>
903
- <show_in_store>1</show_in_store>
904
- <fields>
905
- <!-- <version>
906
- <label>v1.0.21</label>
907
- <sort_order>1</sort_order>
908
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
909
- <frontend_type>label</frontend_type>
910
- <show_in_default>1</show_in_default>
911
- <show_in_website>1</show_in_website>
912
- <show_in_store>1</show_in_store>
913
- </version> -->
914
- <active translate="label">
915
- <label>BACKEND_CH_ACTIVE</label>
916
- <comment>Italy</comment>
917
- <sort_order>2</sort_order>
918
- <frontend_type>select</frontend_type>
919
- <config_path>payment/skrill_psp/active</config_path>
920
- <source_model>adminhtml/system_config_source_yesno</source_model>
921
- <show_in_default>1</show_in_default>
922
- <show_in_website>1</show_in_website>
923
- <show_in_store>1</show_in_store>
924
- </active>
925
- <show_separately translate="label">
926
- <label>SKRILL_BACKEND_PM_MODE</label>
927
- <sort_order>3</sort_order>
928
- <frontend_type>select</frontend_type>
929
- <config_path>payment/skrill_psp/show_separately</config_path>
930
- <source_model>adminhtml/system_config_source_yesno</source_model>
931
- <show_in_default>1</show_in_default>
932
- <show_in_website>1</show_in_website>
933
- <show_in_store>1</show_in_store>
934
- </show_separately>
935
- <sort_order translate="label">
936
- <label>BACKEND_CH_ORDER</label>
937
- <frontend_type>text</frontend_type>
938
- <config_path>payment/skrill_psp/sort_order</config_path>
939
- <sort_order>6</sort_order>
940
- <show_in_default>1</show_in_default>
941
- <show_in_website>1</show_in_website>
942
- <show_in_store>1</show_in_store>
943
- </sort_order>
944
- </fields>
945
- </skrill_psp>
946
- <skrill_csi translate="label">
947
- <label>SKRILL_BACKEND_PM_CSI</label>
948
- <frontend_type>text</frontend_type>
949
- <sort_order>115</sort_order>
950
- <show_in_default>1</show_in_default>
951
- <show_in_website>1</show_in_website>
952
- <show_in_store>1</show_in_store>
953
- <fields>
954
- <!-- <version>
955
- <label>v1.0.21</label>
956
- <sort_order>1</sort_order>
957
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
958
- <frontend_type>label</frontend_type>
959
- <show_in_default>1</show_in_default>
960
- <show_in_website>1</show_in_website>
961
- <show_in_store>1</show_in_store>
962
- </version> -->
963
- <active translate="label">
964
- <label>BACKEND_CH_ACTIVE</label>
965
- <comment>Italy</comment>
966
- <sort_order>2</sort_order>
967
- <frontend_type>select</frontend_type>
968
- <config_path>payment/skrill_csi/active</config_path>
969
- <source_model>adminhtml/system_config_source_yesno</source_model>
970
- <show_in_default>1</show_in_default>
971
- <show_in_website>1</show_in_website>
972
- <show_in_store>1</show_in_store>
973
- </active>
974
- <show_separately translate="label">
975
- <label>SKRILL_BACKEND_PM_MODE</label>
976
- <sort_order>3</sort_order>
977
- <frontend_type>select</frontend_type>
978
- <config_path>payment/skrill_csi/show_separately</config_path>
979
- <source_model>adminhtml/system_config_source_yesno</source_model>
980
- <show_in_default>1</show_in_default>
981
- <show_in_website>1</show_in_website>
982
- <show_in_store>1</show_in_store>
983
- </show_separately>
984
- <sort_order translate="label">
985
- <label>BACKEND_CH_ORDER</label>
986
- <frontend_type>text</frontend_type>
987
- <config_path>payment/skrill_csi/sort_order</config_path>
988
- <sort_order>6</sort_order>
989
- <show_in_default>1</show_in_default>
990
- <show_in_website>1</show_in_website>
991
- <show_in_store>1</show_in_store>
992
- </sort_order>
993
- </fields>
994
- </skrill_csi>
995
- <skrill_obt translate="label">
996
- <label>SKRILL_BACKEND_PM_OBT</label>
997
- <frontend_type>text</frontend_type>
998
- <sort_order>116</sort_order>
999
- <show_in_default>1</show_in_default>
1000
- <show_in_website>1</show_in_website>
1001
- <show_in_store>1</show_in_store>
1002
- <fields>
1003
- <!-- <version>
1004
- <label>v1.0.21</label>
1005
- <sort_order>1</sort_order>
1006
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1007
- <frontend_type>label</frontend_type>
1008
- <show_in_default>1</show_in_default>
1009
- <show_in_website>1</show_in_website>
1010
- <show_in_store>1</show_in_store>
1011
- </version> -->
1012
- <active translate="label">
1013
- <label>BACKEND_CH_ACTIVE</label>
1014
- <comment>Germany, United Kingdom, France, Italy, Spain, Hungary and Austria</comment>
1015
- <sort_order>2</sort_order>
1016
- <frontend_type>select</frontend_type>
1017
- <config_path>payment/skrill_obt/active</config_path>
1018
- <source_model>adminhtml/system_config_source_yesno</source_model>
1019
- <show_in_default>1</show_in_default>
1020
- <show_in_website>1</show_in_website>
1021
- <show_in_store>1</show_in_store>
1022
- </active>
1023
- <show_separately translate="label">
1024
- <label>SKRILL_BACKEND_PM_MODE</label>
1025
- <sort_order>3</sort_order>
1026
- <frontend_type>select</frontend_type>
1027
- <config_path>payment/skrill_obt/show_separately</config_path>
1028
- <source_model>adminhtml/system_config_source_yesno</source_model>
1029
- <show_in_default>1</show_in_default>
1030
- <show_in_website>1</show_in_website>
1031
- <show_in_store>1</show_in_store>
1032
- </show_separately>
1033
- <sort_order translate="label">
1034
- <label>BACKEND_CH_ORDER</label>
1035
- <frontend_type>text</frontend_type>
1036
- <config_path>payment/skrill_obt/sort_order</config_path>
1037
- <sort_order>6</sort_order>
1038
- <show_in_default>1</show_in_default>
1039
- <show_in_website>1</show_in_website>
1040
- <show_in_store>1</show_in_store>
1041
- </sort_order>
1042
- </fields>
1043
- </skrill_obt>
1044
- <skrill_ntl translate="label">
1045
- <label>SKRILL_BACKEND_PM_NTL</label>
1046
- <frontend_type>text</frontend_type>
1047
- <sort_order>127</sort_order>
1048
- <show_in_default>1</show_in_default>
1049
- <show_in_website>1</show_in_website>
1050
- <show_in_store>1</show_in_store>
1051
- <fields>
1052
- <!-- <version>
1053
- <label>v1.0.6</label>
1054
- <sort_order>1</sort_order>
1055
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1056
- <frontend_type>label</frontend_type>
1057
- <show_in_default>1</show_in_default>
1058
- <show_in_website>1</show_in_website>
1059
- <show_in_store>1</show_in_store>
1060
- </version> -->
1061
- <active translate="label">
1062
- <label>BACKEND_CH_ACTIVE</label>
1063
- <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>
1064
- <sort_order>2</sort_order>
1065
- <frontend_type>select</frontend_type>
1066
- <config_path>payment/skrill_ntl/active</config_path>
1067
- <source_model>adminhtml/system_config_source_yesno</source_model>
1068
- <show_in_default>1</show_in_default>
1069
- <show_in_website>1</show_in_website>
1070
- <show_in_store>1</show_in_store>
1071
- </active>
1072
- <show_separately translate="label">
1073
- <label>SKRILL_BACKEND_PM_MODE</label>
1074
- <sort_order>3</sort_order>
1075
- <frontend_type>select</frontend_type>
1076
- <config_path>payment/skrill_ntl/show_separately</config_path>
1077
- <source_model>adminhtml/system_config_source_yesno</source_model>
1078
- <show_in_default>1</show_in_default>
1079
- <show_in_website>1</show_in_website>
1080
- <show_in_store>1</show_in_store>
1081
- </show_separately>
1082
- <sort_order translate="label">
1083
- <label>BACKEND_CH_ORDER</label>
1084
- <frontend_type>text</frontend_type>
1085
- <config_path>payment/skrill_ntl/sort_order</config_path>
1086
- <sort_order>6</sort_order>
1087
- <show_in_default>1</show_in_default>
1088
- <show_in_website>1</show_in_website>
1089
- <show_in_store>1</show_in_store>
1090
- </sort_order>
1091
- </fields>
1092
- </skrill_ntl>
1093
- <skrill_gir translate="label">
1094
- <label>SKRILL_BACKEND_PM_GIR</label>
1095
- <frontend_type>text</frontend_type>
1096
- <sort_order>117</sort_order>
1097
- <show_in_default>1</show_in_default>
1098
- <show_in_website>1</show_in_website>
1099
- <show_in_store>1</show_in_store>
1100
- <fields>
1101
- <!-- <version>
1102
- <label>v1.0.21</label>
1103
- <sort_order>1</sort_order>
1104
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1105
- <frontend_type>label</frontend_type>
1106
- <show_in_default>1</show_in_default>
1107
- <show_in_website>1</show_in_website>
1108
- <show_in_store>1</show_in_store>
1109
- </version> -->
1110
- <active translate="label">
1111
- <label>BACKEND_CH_ACTIVE</label>
1112
- <comment>Germany</comment>
1113
- <sort_order>2</sort_order>
1114
- <frontend_type>select</frontend_type>
1115
- <config_path>payment/skrill_gir/active</config_path>
1116
- <source_model>adminhtml/system_config_source_yesno</source_model>
1117
- <show_in_default>1</show_in_default>
1118
- <show_in_website>1</show_in_website>
1119
- <show_in_store>1</show_in_store>
1120
- </active>
1121
- <!-- <gateway translate="label">
1122
- <label>SKRILL_BACKEND_GATE</label>
1123
- <sort_order>3</sort_order>
1124
- <frontend_type>select</frontend_type>
1125
- <config_path>payment/skrill_gir/gateway</config_path>
1126
- <source_model>skrill/source_gateway</source_model>
1127
- <show_in_default>1</show_in_default>
1128
- <show_in_website>1</show_in_website>
1129
- <show_in_store>1</show_in_store>
1130
- </gateway> -->
1131
- <show_separately translate="label">
1132
- <label>SKRILL_BACKEND_PM_MODE</label>
1133
- <sort_order>4</sort_order>
1134
- <frontend_type>select</frontend_type>
1135
- <config_path>payment/skrill_gir/show_separately</config_path>
1136
- <source_model>adminhtml/system_config_source_yesno</source_model>
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
- </show_separately>
1141
- <!-- <server_mode translate="label">
1142
- <label>BACKEND_CH_SERVER</label>
1143
- <frontend_type>select</frontend_type>
1144
- <config_path>payment/skrill_gir/server_mode</config_path>
1145
- <sort_order>5</sort_order>
1146
- <source_model>skrill/source_mode</source_model>
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
- </server_mode>
1151
- <channel_id translate="label">
1152
- <label>BACKEND_CH_CHANNEL</label>
1153
- <sort_order>6</sort_order>
1154
- <frontend_type>text</frontend_type>
1155
- <config_path>payment/skrill_gir/channel_id</config_path>
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
- </channel_id>
1160
- <sender translate="label">
1161
- <label>BACKEND_CH_SENDER</label>
1162
- <sort_order>7</sort_order>
1163
- <frontend_type>text</frontend_type>
1164
- <config_path>payment/skrill_gir/sender</config_path>
1165
- <show_in_default>1</show_in_default>
1166
- <show_in_website>1</show_in_website>
1167
- <show_in_store>1</show_in_store>
1168
- </sender>
1169
- <login translate="label">
1170
- <label>BACKEND_CH_LOGIN</label>
1171
- <sort_order>8</sort_order>
1172
- <frontend_type>text</frontend_type>
1173
- <config_path>payment/skrill_gir/login</config_path>
1174
- <show_in_default>1</show_in_default>
1175
- <show_in_website>1</show_in_website>
1176
- <show_in_store>1</show_in_store>
1177
- </login>
1178
- <password translate="label">
1179
- <label>BACKEND_CH_PASSWORD</label>
1180
- <sort_order>9</sort_order>
1181
- <frontend_type>text</frontend_type>
1182
- <config_path>payment/skrill_gir/password</config_path>
1183
- <show_in_default>1</show_in_default>
1184
- <show_in_website>1</show_in_website>
1185
- <show_in_store>1</show_in_store>
1186
- </password>
1187
- <allowspecific translate="label">
1188
- <label>BACKEND_CH_COUNTRIES</label>
1189
- <sort_order>10</sort_order>
1190
- <frontend_type>allowspecific</frontend_type>
1191
- <config_path>payment/skrill_gir/allowspecific</config_path>
1192
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1193
- <show_in_default>1</show_in_default>
1194
- <show_in_website>1</show_in_website>
1195
- <show_in_store>1</show_in_store>
1196
- </allowspecific>
1197
- <specificcountry translate="label">
1198
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1199
- <sort_order>11</sort_order>
1200
- <frontend_type>multiselect</frontend_type>
1201
- <config_path>payment/skrill_gir/specificcountry</config_path>
1202
- <source_model>adminhtml/system_config_source_country</source_model>
1203
- <can_be_empty>1</can_be_empty>
1204
- <show_in_default>1</show_in_default>
1205
- <show_in_website>1</show_in_website>
1206
- <show_in_store>1</show_in_store>
1207
- </specificcountry> -->
1208
- <sort_order translate="label">
1209
- <label>BACKEND_CH_ORDER</label>
1210
- <frontend_type>text</frontend_type>
1211
- <config_path>payment/skrill_gir/sort_order</config_path>
1212
- <sort_order>12</sort_order>
1213
- <show_in_default>1</show_in_default>
1214
- <show_in_website>1</show_in_website>
1215
- <show_in_store>1</show_in_store>
1216
- </sort_order>
1217
- </fields>
1218
- </skrill_gir>
1219
- <skrill_did translate="label">
1220
- <label>SKRILL_BACKEND_PM_DID</label>
1221
- <frontend_type>text</frontend_type>
1222
- <sort_order>118</sort_order>
1223
- <show_in_default>1</show_in_default>
1224
- <show_in_website>1</show_in_website>
1225
- <show_in_store>1</show_in_store>
1226
- <fields>
1227
- <!-- <version>
1228
- <label>v1.0.21</label>
1229
- <sort_order>1</sort_order>
1230
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1231
- <frontend_type>label</frontend_type>
1232
- <show_in_default>1</show_in_default>
1233
- <show_in_website>1</show_in_website>
1234
- <show_in_store>1</show_in_store>
1235
- </version> -->
1236
- <active translate="label">
1237
- <label>BACKEND_CH_ACTIVE</label>
1238
- <comment>Germany</comment>
1239
- <sort_order>2</sort_order>
1240
- <frontend_type>select</frontend_type>
1241
- <config_path>payment/skrill_did/active</config_path>
1242
- <source_model>adminhtml/system_config_source_yesno</source_model>
1243
- <show_in_default>1</show_in_default>
1244
- <show_in_website>1</show_in_website>
1245
- <show_in_store>1</show_in_store>
1246
- </active>
1247
- <!-- <gateway translate="label">
1248
- <label>SKRILL_BACKEND_GATE</label>
1249
- <sort_order>3</sort_order>
1250
- <frontend_type>select</frontend_type>
1251
- <config_path>payment/skrill_did/gateway</config_path>
1252
- <source_model>skrill/source_gateway</source_model>
1253
- <show_in_default>1</show_in_default>
1254
- <show_in_website>1</show_in_website>
1255
- <show_in_store>1</show_in_store>
1256
- </gateway> -->
1257
- <show_separately translate="label">
1258
- <label>SKRILL_BACKEND_PM_MODE</label>
1259
- <sort_order>4</sort_order>
1260
- <frontend_type>select</frontend_type>
1261
- <config_path>payment/skrill_did/show_separately</config_path>
1262
- <source_model>adminhtml/system_config_source_yesno</source_model>
1263
- <show_in_default>1</show_in_default>
1264
- <show_in_website>1</show_in_website>
1265
- <show_in_store>1</show_in_store>
1266
- </show_separately>
1267
- <!-- <server_mode translate="label">
1268
- <label>BACKEND_CH_SERVER</label>
1269
- <frontend_type>select</frontend_type>
1270
- <config_path>payment/skrill_did/server_mode</config_path>
1271
- <sort_order>5</sort_order>
1272
- <source_model>skrill/source_mode</source_model>
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
- </server_mode>
1277
- <channel_id translate="label">
1278
- <label>BACKEND_CH_CHANNEL</label>
1279
- <sort_order>6</sort_order>
1280
- <frontend_type>text</frontend_type>
1281
- <config_path>payment/skrill_did/channel_id</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
- </channel_id>
1286
- <sender translate="label">
1287
- <label>BACKEND_CH_SENDER</label>
1288
- <sort_order>7</sort_order>
1289
- <frontend_type>text</frontend_type>
1290
- <config_path>payment/skrill_did/sender</config_path>
1291
- <show_in_default>1</show_in_default>
1292
- <show_in_website>1</show_in_website>
1293
- <show_in_store>1</show_in_store>
1294
- </sender>
1295
- <login translate="label">
1296
- <label>BACKEND_CH_LOGIN</label>
1297
- <sort_order>8</sort_order>
1298
- <frontend_type>text</frontend_type>
1299
- <config_path>payment/skrill_did/login</config_path>
1300
- <show_in_default>1</show_in_default>
1301
- <show_in_website>1</show_in_website>
1302
- <show_in_store>1</show_in_store>
1303
- </login>
1304
- <password translate="label">
1305
- <label>BACKEND_CH_PASSWORD</label>
1306
- <sort_order>9</sort_order>
1307
- <frontend_type>text</frontend_type>
1308
- <config_path>payment/skrill_did/password</config_path>
1309
- <show_in_default>1</show_in_default>
1310
- <show_in_website>1</show_in_website>
1311
- <show_in_store>1</show_in_store>
1312
- </password>
1313
- <allowspecific translate="label">
1314
- <label>BACKEND_CH_COUNTRIES</label>
1315
- <sort_order>10</sort_order>
1316
- <frontend_type>allowspecific</frontend_type>
1317
- <config_path>payment/skrill_did/allowspecific</config_path>
1318
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1319
- <show_in_default>1</show_in_default>
1320
- <show_in_website>1</show_in_website>
1321
- <show_in_store>1</show_in_store>
1322
- </allowspecific>
1323
- <specificcountry translate="label">
1324
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1325
- <sort_order>11</sort_order>
1326
- <frontend_type>multiselect</frontend_type>
1327
- <config_path>payment/skrill_did/specificcountry</config_path>
1328
- <source_model>adminhtml/system_config_source_country</source_model>
1329
- <can_be_empty>1</can_be_empty>
1330
- <show_in_default>1</show_in_default>
1331
- <show_in_website>1</show_in_website>
1332
- <show_in_store>1</show_in_store>
1333
- </specificcountry> -->
1334
- <sort_order translate="label">
1335
- <label>BACKEND_CH_ORDER</label>
1336
- <frontend_type>text</frontend_type>
1337
- <config_path>payment/skrill_did/sort_order</config_path>
1338
- <sort_order>12</sort_order>
1339
- <show_in_default>1</show_in_default>
1340
- <show_in_website>1</show_in_website>
1341
- <show_in_store>1</show_in_store>
1342
- </sort_order>
1343
- </fields>
1344
- </skrill_did>
1345
- <skrill_sft translate="label">
1346
- <label>SKRILL_BACKEND_PM_SFT</label>
1347
- <frontend_type>text</frontend_type>
1348
- <sort_order>119</sort_order>
1349
- <show_in_default>1</show_in_default>
1350
- <show_in_website>1</show_in_website>
1351
- <show_in_store>1</show_in_store>
1352
- <fields>
1353
- <!-- <version>
1354
- <label>v1.0.21</label>
1355
- <sort_order>1</sort_order>
1356
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1357
- <frontend_type>label</frontend_type>
1358
- <show_in_default>1</show_in_default>
1359
- <show_in_website>1</show_in_website>
1360
- <show_in_store>1</show_in_store>
1361
- </version> -->
1362
- <active translate="label">
1363
- <label>BACKEND_CH_ACTIVE</label>
1364
- <comment>Germany, Austria, Belgium, Netherlands, Italy, France, Poland and United Kingdom</comment>
1365
- <sort_order>2</sort_order>
1366
- <frontend_type>select</frontend_type>
1367
- <config_path>payment/skrill_sft/active</config_path>
1368
- <source_model>adminhtml/system_config_source_yesno</source_model>
1369
- <show_in_default>1</show_in_default>
1370
- <show_in_website>1</show_in_website>
1371
- <show_in_store>1</show_in_store>
1372
- </active>
1373
- <!-- <gateway translate="label">
1374
- <label>SKRILL_BACKEND_GATE</label>
1375
- <sort_order>3</sort_order>
1376
- <frontend_type>select</frontend_type>
1377
- <config_path>payment/skrill_sft/gateway</config_path>
1378
- <source_model>skrill/source_gateway</source_model>
1379
- <show_in_default>1</show_in_default>
1380
- <show_in_website>1</show_in_website>
1381
- <show_in_store>1</show_in_store>
1382
- </gateway> -->
1383
- <show_separately translate="label">
1384
- <label>SKRILL_BACKEND_PM_MODE</label>
1385
- <sort_order>4</sort_order>
1386
- <frontend_type>select</frontend_type>
1387
- <config_path>payment/skrill_sft/show_separately</config_path>
1388
- <source_model>adminhtml/system_config_source_yesno</source_model>
1389
- <show_in_default>1</show_in_default>
1390
- <show_in_website>1</show_in_website>
1391
- <show_in_store>1</show_in_store>
1392
- </show_separately>
1393
- <!-- <server_mode translate="label">
1394
- <label>BACKEND_CH_SERVER</label>
1395
- <frontend_type>select</frontend_type>
1396
- <config_path>payment/skrill_sft/server_mode</config_path>
1397
- <sort_order>5</sort_order>
1398
- <source_model>skrill/source_mode</source_model>
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
- </server_mode>
1403
- <channel_id translate="label">
1404
- <label>BACKEND_CH_CHANNEL</label>
1405
- <sort_order>6</sort_order>
1406
- <frontend_type>text</frontend_type>
1407
- <config_path>payment/skrill_sft/channel_id</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
- </channel_id>
1412
- <sender translate="label">
1413
- <label>BACKEND_CH_SENDER</label>
1414
- <sort_order>7</sort_order>
1415
- <frontend_type>text</frontend_type>
1416
- <config_path>payment/skrill_sft/sender</config_path>
1417
- <show_in_default>1</show_in_default>
1418
- <show_in_website>1</show_in_website>
1419
- <show_in_store>1</show_in_store>
1420
- </sender>
1421
- <login translate="label">
1422
- <label>BACKEND_CH_LOGIN</label>
1423
- <sort_order>8</sort_order>
1424
- <frontend_type>text</frontend_type>
1425
- <config_path>payment/skrill_sft/login</config_path>
1426
- <show_in_default>1</show_in_default>
1427
- <show_in_website>1</show_in_website>
1428
- <show_in_store>1</show_in_store>
1429
- </login>
1430
- <password translate="label">
1431
- <label>BACKEND_CH_PASSWORD</label>
1432
- <sort_order>9</sort_order>
1433
- <frontend_type>text</frontend_type>
1434
- <config_path>payment/skrill_sft/password</config_path>
1435
- <show_in_default>1</show_in_default>
1436
- <show_in_website>1</show_in_website>
1437
- <show_in_store>1</show_in_store>
1438
- </password>
1439
- <allowspecific translate="label">
1440
- <label>BACKEND_CH_COUNTRIES</label>
1441
- <sort_order>10</sort_order>
1442
- <frontend_type>allowspecific</frontend_type>
1443
- <config_path>payment/skrill_sft/allowspecific</config_path>
1444
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1445
- <show_in_default>1</show_in_default>
1446
- <show_in_website>1</show_in_website>
1447
- <show_in_store>1</show_in_store>
1448
- </allowspecific>
1449
- <specificcountry translate="label">
1450
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1451
- <sort_order>11</sort_order>
1452
- <frontend_type>multiselect</frontend_type>
1453
- <config_path>payment/skrill_sft/specificcountry</config_path>
1454
- <source_model>adminhtml/system_config_source_country</source_model>
1455
- <can_be_empty>1</can_be_empty>
1456
- <show_in_default>1</show_in_default>
1457
- <show_in_website>1</show_in_website>
1458
- <show_in_store>1</show_in_store>
1459
- </specificcountry> -->
1460
- <sort_order translate="label">
1461
- <label>BACKEND_CH_ORDER</label>
1462
- <frontend_type>text</frontend_type>
1463
- <config_path>payment/skrill_sft/sort_order</config_path>
1464
- <sort_order>12</sort_order>
1465
- <show_in_default>1</show_in_default>
1466
- <show_in_website>1</show_in_website>
1467
- <show_in_store>1</show_in_store>
1468
- </sort_order>
1469
- </fields>
1470
- </skrill_sft>
1471
- <skrill_ebt translate="label">
1472
- <label>SKRILL_BACKEND_PM_EBT</label>
1473
- <frontend_type>text</frontend_type>
1474
- <sort_order>121</sort_order>
1475
- <show_in_default>1</show_in_default>
1476
- <show_in_website>1</show_in_website>
1477
- <show_in_store>1</show_in_store>
1478
- <fields>
1479
- <!-- <version>
1480
- <label>v1.0.21</label>
1481
- <sort_order>1</sort_order>
1482
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1483
- <frontend_type>label</frontend_type>
1484
- <show_in_default>1</show_in_default>
1485
- <show_in_website>1</show_in_website>
1486
- <show_in_store>1</show_in_store>
1487
- </version> -->
1488
- <active translate="label">
1489
- <label>BACKEND_CH_ACTIVE</label>
1490
- <comment>Sweden</comment>
1491
- <sort_order>2</sort_order>
1492
- <frontend_type>select</frontend_type>
1493
- <config_path>payment/skrill_ebt/active</config_path>
1494
- <source_model>adminhtml/system_config_source_yesno</source_model>
1495
- <show_in_default>1</show_in_default>
1496
- <show_in_website>1</show_in_website>
1497
- <show_in_store>1</show_in_store>
1498
- </active>
1499
- <show_separately translate="label">
1500
- <label>SKRILL_BACKEND_PM_MODE</label>
1501
- <sort_order>3</sort_order>
1502
- <frontend_type>select</frontend_type>
1503
- <config_path>payment/skrill_ebt/show_separately</config_path>
1504
- <source_model>adminhtml/system_config_source_yesno</source_model>
1505
- <show_in_default>1</show_in_default>
1506
- <show_in_website>1</show_in_website>
1507
- <show_in_store>1</show_in_store>
1508
- </show_separately>
1509
- <sort_order translate="label">
1510
- <label>BACKEND_CH_ORDER</label>
1511
- <frontend_type>text</frontend_type>
1512
- <config_path>payment/skrill_ebt/sort_order</config_path>
1513
- <sort_order>6</sort_order>
1514
- <show_in_default>1</show_in_default>
1515
- <show_in_website>1</show_in_website>
1516
- <show_in_store>1</show_in_store>
1517
- </sort_order>
1518
- </fields>
1519
- </skrill_ebt>
1520
- <skrill_idl translate="label">
1521
- <label>SKRILL_BACKEND_PM_IDL</label>
1522
- <frontend_type>text</frontend_type>
1523
- <sort_order>122</sort_order>
1524
- <show_in_default>1</show_in_default>
1525
- <show_in_website>1</show_in_website>
1526
- <show_in_store>1</show_in_store>
1527
- <fields>
1528
- <!-- <version>
1529
- <label>v1.0.21</label>
1530
- <sort_order>1</sort_order>
1531
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1532
- <frontend_type>label</frontend_type>
1533
- <show_in_default>1</show_in_default>
1534
- <show_in_website>1</show_in_website>
1535
- <show_in_store>1</show_in_store>
1536
- </version> -->
1537
- <active translate="label">
1538
- <label>BACKEND_CH_ACTIVE</label>
1539
- <comment>Netherlands</comment>
1540
- <sort_order>2</sort_order>
1541
- <frontend_type>select</frontend_type>
1542
- <config_path>payment/skrill_idl/active</config_path>
1543
- <source_model>adminhtml/system_config_source_yesno</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
- </active>
1548
- <!-- <gateway translate="label">
1549
- <label>SKRILL_BACKEND_GATE</label>
1550
- <sort_order>3</sort_order>
1551
- <frontend_type>select</frontend_type>
1552
- <config_path>payment/skrill_idl/gateway</config_path>
1553
- <source_model>skrill/source_gateway</source_model>
1554
- <show_in_default>1</show_in_default>
1555
- <show_in_website>1</show_in_website>
1556
- <show_in_store>1</show_in_store>
1557
- </gateway> -->
1558
- <show_separately translate="label">
1559
- <label>SKRILL_BACKEND_PM_MODE</label>
1560
- <sort_order>4</sort_order>
1561
- <frontend_type>select</frontend_type>
1562
- <config_path>payment/skrill_idl/show_separately</config_path>
1563
- <source_model>adminhtml/system_config_source_yesno</source_model>
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
- </show_separately>
1568
- <!-- <server_mode translate="label">
1569
- <label>BACKEND_CH_SERVER</label>
1570
- <frontend_type>select</frontend_type>
1571
- <config_path>payment/skrill_idl/server_mode</config_path>
1572
- <sort_order>5</sort_order>
1573
- <source_model>skrill/source_mode</source_model>
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
- </server_mode>
1578
- <channel_id translate="label">
1579
- <label>BACKEND_CH_CHANNEL</label>
1580
- <sort_order>6</sort_order>
1581
- <frontend_type>text</frontend_type>
1582
- <config_path>payment/skrill_idl/channel_id</config_path>
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
- </channel_id>
1587
- <sender translate="label">
1588
- <label>BACKEND_CH_SENDER</label>
1589
- <sort_order>7</sort_order>
1590
- <frontend_type>text</frontend_type>
1591
- <config_path>payment/skrill_idl/sender</config_path>
1592
- <show_in_default>1</show_in_default>
1593
- <show_in_website>1</show_in_website>
1594
- <show_in_store>1</show_in_store>
1595
- </sender>
1596
- <login translate="label">
1597
- <label>BACKEND_CH_LOGIN</label>
1598
- <sort_order>8</sort_order>
1599
- <frontend_type>text</frontend_type>
1600
- <config_path>payment/skrill_idl/login</config_path>
1601
- <show_in_default>1</show_in_default>
1602
- <show_in_website>1</show_in_website>
1603
- <show_in_store>1</show_in_store>
1604
- </login>
1605
- <password translate="label">
1606
- <label>BACKEND_CH_PASSWORD</label>
1607
- <sort_order>9</sort_order>
1608
- <frontend_type>text</frontend_type>
1609
- <config_path>payment/skrill_idl/password</config_path>
1610
- <show_in_default>1</show_in_default>
1611
- <show_in_website>1</show_in_website>
1612
- <show_in_store>1</show_in_store>
1613
- </password>
1614
- <allowspecific translate="label">
1615
- <label>BACKEND_CH_COUNTRIES</label>
1616
- <sort_order>10</sort_order>
1617
- <frontend_type>allowspecific</frontend_type>
1618
- <config_path>payment/skrill_idl/allowspecific</config_path>
1619
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1620
- <show_in_default>1</show_in_default>
1621
- <show_in_website>1</show_in_website>
1622
- <show_in_store>1</show_in_store>
1623
- </allowspecific>
1624
- <specificcountry translate="label">
1625
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1626
- <sort_order>11</sort_order>
1627
- <frontend_type>multiselect</frontend_type>
1628
- <config_path>payment/skrill_idl/specificcountry</config_path>
1629
- <source_model>adminhtml/system_config_source_country</source_model>
1630
- <can_be_empty>1</can_be_empty>
1631
- <show_in_default>1</show_in_default>
1632
- <show_in_website>1</show_in_website>
1633
- <show_in_store>1</show_in_store>
1634
- </specificcountry> -->
1635
- <sort_order translate="label">
1636
- <label>BACKEND_CH_ORDER</label>
1637
- <frontend_type>text</frontend_type>
1638
- <config_path>payment/skrill_idl/sort_order</config_path>
1639
- <sort_order>12</sort_order>
1640
- <show_in_default>1</show_in_default>
1641
- <show_in_website>1</show_in_website>
1642
- <show_in_store>1</show_in_store>
1643
- </sort_order>
1644
- </fields>
1645
- </skrill_idl>
1646
- <skrill_npy translate="label">
1647
- <label>SKRILL_BACKEND_PM_NPY</label>
1648
- <frontend_type>text</frontend_type>
1649
- <sort_order>123</sort_order>
1650
- <show_in_default>1</show_in_default>
1651
- <show_in_website>1</show_in_website>
1652
- <show_in_store>1</show_in_store>
1653
- <fields>
1654
- <!-- <version>
1655
- <label>v1.0.21</label>
1656
- <sort_order>1</sort_order>
1657
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1658
- <frontend_type>label</frontend_type>
1659
- <show_in_default>1</show_in_default>
1660
- <show_in_website>1</show_in_website>
1661
- <show_in_store>1</show_in_store>
1662
- </version> -->
1663
- <active translate="label">
1664
- <label>BACKEND_CH_ACTIVE</label>
1665
- <comment>Austria</comment>
1666
- <sort_order>2</sort_order>
1667
- <frontend_type>select</frontend_type>
1668
- <config_path>payment/skrill_npy/active</config_path>
1669
- <source_model>adminhtml/system_config_source_yesno</source_model>
1670
- <show_in_default>1</show_in_default>
1671
- <show_in_website>1</show_in_website>
1672
- <show_in_store>1</show_in_store>
1673
- </active>
1674
- <!-- <gateway translate="label">
1675
- <label>SKRILL_BACKEND_GATE</label>
1676
- <sort_order>3</sort_order>
1677
- <frontend_type>select</frontend_type>
1678
- <config_path>payment/skrill_npy/gateway</config_path>
1679
- <source_model>skrill/source_gateway</source_model>
1680
- <show_in_default>1</show_in_default>
1681
- <show_in_website>1</show_in_website>
1682
- <show_in_store>1</show_in_store>
1683
- </gateway> -->
1684
- <show_separately translate="label">
1685
- <label>SKRILL_BACKEND_PM_MODE</label>
1686
- <sort_order>4</sort_order>
1687
- <frontend_type>select</frontend_type>
1688
- <config_path>payment/skrill_npy/show_separately</config_path>
1689
- <source_model>adminhtml/system_config_source_yesno</source_model>
1690
- <show_in_default>1</show_in_default>
1691
- <show_in_website>1</show_in_website>
1692
- <show_in_store>1</show_in_store>
1693
- </show_separately>
1694
- <!-- <server_mode translate="label">
1695
- <label>BACKEND_CH_SERVER</label>
1696
- <frontend_type>select</frontend_type>
1697
- <config_path>payment/skrill_npy/server_mode</config_path>
1698
- <sort_order>5</sort_order>
1699
- <source_model>skrill/source_mode</source_model>
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
- </server_mode>
1704
- <channel_id translate="label">
1705
- <label>BACKEND_CH_CHANNEL</label>
1706
- <sort_order>6</sort_order>
1707
- <frontend_type>text</frontend_type>
1708
- <config_path>payment/skrill_npy/channel_id</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
- </channel_id>
1713
- <sender translate="label">
1714
- <label>BACKEND_CH_SENDER</label>
1715
- <sort_order>7</sort_order>
1716
- <frontend_type>text</frontend_type>
1717
- <config_path>payment/skrill_npy/sender</config_path>
1718
- <show_in_default>1</show_in_default>
1719
- <show_in_website>1</show_in_website>
1720
- <show_in_store>1</show_in_store>
1721
- </sender>
1722
- <login translate="label">
1723
- <label>BACKEND_CH_LOGIN</label>
1724
- <sort_order>8</sort_order>
1725
- <frontend_type>text</frontend_type>
1726
- <config_path>payment/skrill_npy/login</config_path>
1727
- <show_in_default>1</show_in_default>
1728
- <show_in_website>1</show_in_website>
1729
- <show_in_store>1</show_in_store>
1730
- </login>
1731
- <password translate="label">
1732
- <label>BACKEND_CH_PASSWORD</label>
1733
- <sort_order>9</sort_order>
1734
- <frontend_type>text</frontend_type>
1735
- <config_path>payment/skrill_npy/password</config_path>
1736
- <show_in_default>1</show_in_default>
1737
- <show_in_website>1</show_in_website>
1738
- <show_in_store>1</show_in_store>
1739
- </password>
1740
- <allowspecific translate="label">
1741
- <label>BACKEND_CH_COUNTRIES</label>
1742
- <sort_order>10</sort_order>
1743
- <frontend_type>allowspecific</frontend_type>
1744
- <config_path>payment/skrill_npy/allowspecific</config_path>
1745
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1746
- <show_in_default>1</show_in_default>
1747
- <show_in_website>1</show_in_website>
1748
- <show_in_store>1</show_in_store>
1749
- </allowspecific>
1750
- <specificcountry translate="label">
1751
- <label>BACKEND_CH_COUNTRIESSPEC</label>
1752
- <sort_order>11</sort_order>
1753
- <frontend_type>multiselect</frontend_type>
1754
- <config_path>payment/skrill_npy/specificcountry</config_path>
1755
- <source_model>adminhtml/system_config_source_country</source_model>
1756
- <can_be_empty>1</can_be_empty>
1757
- <show_in_default>1</show_in_default>
1758
- <show_in_website>1</show_in_website>
1759
- <show_in_store>1</show_in_store>
1760
- </specificcountry> -->
1761
- <sort_order translate="label">
1762
- <label>BACKEND_CH_ORDER</label>
1763
- <frontend_type>text</frontend_type>
1764
- <config_path>payment/skrill_npy/sort_order</config_path>
1765
- <sort_order>12</sort_order>
1766
- <show_in_default>1</show_in_default>
1767
- <show_in_website>1</show_in_website>
1768
- <show_in_store>1</show_in_store>
1769
- </sort_order>
1770
- </fields>
1771
- </skrill_npy>
1772
- <skrill_pli translate="label">
1773
- <label>SKRILL_BACKEND_PM_PLI</label>
1774
- <frontend_type>text</frontend_type>
1775
- <sort_order>124</sort_order>
1776
- <show_in_default>1</show_in_default>
1777
- <show_in_website>1</show_in_website>
1778
- <show_in_store>1</show_in_store>
1779
- <fields>
1780
- <!-- <version>
1781
- <label>v1.0.21</label>
1782
- <sort_order>1</sort_order>
1783
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1784
- <frontend_type>label</frontend_type>
1785
- <show_in_default>1</show_in_default>
1786
- <show_in_website>1</show_in_website>
1787
- <show_in_store>1</show_in_store>
1788
- </version> -->
1789
- <active translate="label">
1790
- <label>BACKEND_CH_ACTIVE</label>
1791
- <comment>Australia</comment>
1792
- <sort_order>2</sort_order>
1793
- <frontend_type>select</frontend_type>
1794
- <config_path>payment/skrill_pli/active</config_path>
1795
- <source_model>adminhtml/system_config_source_yesno</source_model>
1796
- <show_in_default>1</show_in_default>
1797
- <show_in_website>1</show_in_website>
1798
- <show_in_store>1</show_in_store>
1799
- </active>
1800
- <show_separately translate="label">
1801
- <label>SKRILL_BACKEND_PM_MODE</label>
1802
- <sort_order>3</sort_order>
1803
- <frontend_type>select</frontend_type>
1804
- <config_path>payment/skrill_pli/show_separately</config_path>
1805
- <source_model>adminhtml/system_config_source_yesno</source_model>
1806
- <show_in_default>1</show_in_default>
1807
- <show_in_website>1</show_in_website>
1808
- <show_in_store>1</show_in_store>
1809
- </show_separately>
1810
- <sort_order translate="label">
1811
- <label>BACKEND_CH_ORDER</label>
1812
- <frontend_type>text</frontend_type>
1813
- <config_path>payment/skrill_pli/sort_order</config_path>
1814
- <sort_order>6</sort_order>
1815
- <show_in_default>1</show_in_default>
1816
- <show_in_website>1</show_in_website>
1817
- <show_in_store>1</show_in_store>
1818
- </sort_order>
1819
- </fields>
1820
- </skrill_pli>
1821
- <skrill_pwy translate="label">
1822
- <label>SKRILL_BACKEND_PM_PWY</label>
1823
- <frontend_type>text</frontend_type>
1824
- <sort_order>125</sort_order>
1825
- <show_in_default>1</show_in_default>
1826
- <show_in_website>1</show_in_website>
1827
- <show_in_store>1</show_in_store>
1828
- <fields>
1829
- <!-- <version>
1830
- <label>v1.0.21</label>
1831
- <sort_order>1</sort_order>
1832
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1833
- <frontend_type>label</frontend_type>
1834
- <show_in_default>1</show_in_default>
1835
- <show_in_website>1</show_in_website>
1836
- <show_in_store>1</show_in_store>
1837
- </version> -->
1838
- <active translate="label">
1839
- <label>BACKEND_CH_ACTIVE</label>
1840
- <comment>Poland</comment>
1841
- <sort_order>2</sort_order>
1842
- <frontend_type>select</frontend_type>
1843
- <config_path>payment/skrill_pwy/active</config_path>
1844
- <source_model>adminhtml/system_config_source_yesno</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
- </active>
1849
- <show_separately translate="label">
1850
- <label>SKRILL_BACKEND_PM_MODE</label>
1851
- <sort_order>3</sort_order>
1852
- <frontend_type>select</frontend_type>
1853
- <config_path>payment/skrill_pwy/show_separately</config_path>
1854
- <source_model>adminhtml/system_config_source_yesno</source_model>
1855
- <show_in_default>1</show_in_default>
1856
- <show_in_website>1</show_in_website>
1857
- <show_in_store>1</show_in_store>
1858
- </show_separately>
1859
- <sort_order translate="label">
1860
- <label>BACKEND_CH_ORDER</label>
1861
- <frontend_type>text</frontend_type>
1862
- <config_path>payment/skrill_pwy/sort_order</config_path>
1863
- <sort_order>6</sort_order>
1864
- <show_in_default>1</show_in_default>
1865
- <show_in_website>1</show_in_website>
1866
- <show_in_store>1</show_in_store>
1867
- </sort_order>
1868
- </fields>
1869
- </skrill_pwy>
1870
- <skrill_epy translate="label">
1871
- <label>SKRILL_BACKEND_PM_EPY</label>
1872
- <frontend_type>text</frontend_type>
1873
- <sort_order>126</sort_order>
1874
- <show_in_default>1</show_in_default>
1875
- <show_in_website>1</show_in_website>
1876
- <show_in_store>1</show_in_store>
1877
- <fields>
1878
- <!-- <version>
1879
- <label>v1.0.21</label>
1880
- <sort_order>1</sort_order>
1881
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1882
- <frontend_type>label</frontend_type>
1883
- <show_in_default>1</show_in_default>
1884
- <show_in_website>1</show_in_website>
1885
- <show_in_store>1</show_in_store>
1886
- </version> -->
1887
- <active translate="label">
1888
- <label>BACKEND_CH_ACTIVE</label>
1889
- <comment>Bulgaria</comment>
1890
- <sort_order>2</sort_order>
1891
- <frontend_type>select</frontend_type>
1892
- <config_path>payment/skrill_epy/active</config_path>
1893
- <source_model>adminhtml/system_config_source_yesno</source_model>
1894
- <show_in_default>1</show_in_default>
1895
- <show_in_website>1</show_in_website>
1896
- <show_in_store>1</show_in_store>
1897
- </active>
1898
- <show_separately translate="label">
1899
- <label>SKRILL_BACKEND_PM_MODE</label>
1900
- <sort_order>3</sort_order>
1901
- <frontend_type>select</frontend_type>
1902
- <config_path>payment/skrill_epy/show_separately</config_path>
1903
- <source_model>adminhtml/system_config_source_yesno</source_model>
1904
- <show_in_default>1</show_in_default>
1905
- <show_in_website>1</show_in_website>
1906
- <show_in_store>1</show_in_store>
1907
- </show_separately>
1908
- <sort_order translate="label">
1909
- <label>BACKEND_CH_ORDER</label>
1910
- <frontend_type>text</frontend_type>
1911
- <config_path>payment/skrill_epy/sort_order</config_path>
1912
- <sort_order>6</sort_order>
1913
- <show_in_default>1</show_in_default>
1914
- <show_in_website>1</show_in_website>
1915
- <show_in_store>1</show_in_store>
1916
- </sort_order>
1917
- </fields>
1918
- </skrill_epy>
1919
- <skrill_glu translate="label">
1920
- <label>SKRILL_BACKEND_PM_GLU</label>
1921
- <frontend_type>text</frontend_type>
1922
- <sort_order>127</sort_order>
1923
- <show_in_default>1</show_in_default>
1924
- <show_in_website>1</show_in_website>
1925
- <show_in_store>1</show_in_store>
1926
- <fields>
1927
- <!-- <version>
1928
- <label>v1.0.21</label>
1929
- <sort_order>1</sort_order>
1930
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1931
- <frontend_type>label</frontend_type>
1932
- <show_in_default>1</show_in_default>
1933
- <show_in_website>1</show_in_website>
1934
- <show_in_store>1</show_in_store>
1935
- </version> -->
1936
- <active translate="label">
1937
- <label>BACKEND_CH_ACTIVE</label>
1938
- <comment>Sweden, Finland, Estonia, Denmark, Spain, Poland, Italy, France, Germany, Portugal, Austria, Latvia, Lithuania, Netherlands</comment>
1939
- <sort_order>2</sort_order>
1940
- <frontend_type>select</frontend_type>
1941
- <config_path>payment/skrill_glu/active</config_path>
1942
- <source_model>adminhtml/system_config_source_yesno</source_model>
1943
- <show_in_default>1</show_in_default>
1944
- <show_in_website>1</show_in_website>
1945
- <show_in_store>1</show_in_store>
1946
- </active>
1947
- <show_separately translate="label">
1948
- <label>SKRILL_BACKEND_PM_MODE</label>
1949
- <sort_order>3</sort_order>
1950
- <frontend_type>select</frontend_type>
1951
- <config_path>payment/skrill_glu/show_separately</config_path>
1952
- <source_model>adminhtml/system_config_source_yesno</source_model>
1953
- <show_in_default>1</show_in_default>
1954
- <show_in_website>1</show_in_website>
1955
- <show_in_store>1</show_in_store>
1956
- </show_separately>
1957
- <sort_order translate="label">
1958
- <label>BACKEND_CH_ORDER</label>
1959
- <frontend_type>text</frontend_type>
1960
- <config_path>payment/skrill_glu/sort_order</config_path>
1961
- <sort_order>6</sort_order>
1962
- <show_in_default>1</show_in_default>
1963
- <show_in_website>1</show_in_website>
1964
- <show_in_store>1</show_in_store>
1965
- </sort_order>
1966
- </fields>
1967
- </skrill_glu>
1968
- <skrill_ali translate="label">
1969
- <label>SKRILL_BACKEND_PM_ALI</label>
1970
- <frontend_type>text</frontend_type>
1971
- <sort_order>127</sort_order>
1972
- <show_in_default>1</show_in_default>
1973
- <show_in_website>1</show_in_website>
1974
- <show_in_store>1</show_in_store>
1975
- <fields>
1976
- <!-- <version>
1977
- <label>v1.0.21</label>
1978
- <sort_order>1</sort_order>
1979
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1980
- <frontend_type>label</frontend_type>
1981
- <show_in_default>1</show_in_default>
1982
- <show_in_website>1</show_in_website>
1983
- <show_in_store>1</show_in_store>
1984
- </version> -->
1985
- <active translate="label">
1986
- <label>BACKEND_CH_ACTIVE</label>
1987
- <comment>Consumer location: China only. Merchant location: This is available for merchants in all countries except China.</comment>
1988
- <sort_order>2</sort_order>
1989
- <frontend_type>select</frontend_type>
1990
- <config_path>payment/skrill_ali/active</config_path>
1991
- <source_model>adminhtml/system_config_source_yesno</source_model>
1992
- <show_in_default>1</show_in_default>
1993
- <show_in_website>1</show_in_website>
1994
- <show_in_store>1</show_in_store>
1995
- </active>
1996
- <show_separately translate="label">
1997
- <label>SKRILL_BACKEND_PM_MODE</label>
1998
- <sort_order>3</sort_order>
1999
- <frontend_type>select</frontend_type>
2000
- <config_path>payment/skrill_ali/show_separately</config_path>
2001
- <source_model>adminhtml/system_config_source_yesno</source_model>
2002
- <show_in_default>1</show_in_default>
2003
- <show_in_website>1</show_in_website>
2004
- <show_in_store>1</show_in_store>
2005
- </show_separately>
2006
- <sort_order translate="label">
2007
- <label>BACKEND_CH_ORDER</label>
2008
- <frontend_type>text</frontend_type>
2009
- <config_path>payment/skrill_ali/sort_order</config_path>
2010
- <sort_order>6</sort_order>
2011
- <show_in_default>1</show_in_default>
2012
- <show_in_website>1</show_in_website>
2013
- <show_in_store>1</show_in_store>
2014
- </sort_order>
2015
- </fields>
2016
- </skrill_ali>
2017
-
2018
- <!-- <skrill_paypal module="skrill" translate="label">
2019
- <label>SKRILL_BACKEND_PM_PAYPAL</label>
2020
- <show_in_default>1</show_in_default>
2021
- <show_in_website>1</show_in_website>
2022
- <show_in_store>1</show_in_store>
2023
- <sort_order>1600</sort_order>
2024
- <fields>
2025
- <version>
2026
- <label>v1.0.21</label>
2027
- <sort_order>1</sort_order>
2028
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2029
- <frontend_type>label</frontend_type>
2030
- <show_in_default>1</show_in_default>
2031
- <show_in_website>1</show_in_website>
2032
- <show_in_store>1</show_in_store>
2033
- </version>
2034
-
2035
- <active translate="label,comment">
2036
- <label>BACKEND_CH_ACTIVE</label>
2037
- <comment>SKRILL_BACKEND_TT_PAYPAL</comment>
2038
- <sort_order>2</sort_order>
2039
- <frontend_type>select</frontend_type>
2040
- <config_path>payment/skrill_paypal/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
-
2047
- <server_mode translate="label">
2048
- <label>BACKEND_CH_SERVER</label>
2049
- <frontend_type>select</frontend_type>
2050
- <config_path>payment/skrill_paypal/server_mode</config_path>
2051
- <sort_order>3</sort_order>
2052
- <source_model>skrill/source_mode</source_model>
2053
- <show_in_default>1</show_in_default>
2054
- <show_in_website>1</show_in_website>
2055
- <show_in_store>1</show_in_store>
2056
- </server_mode>
2057
-
2058
- <channel_id translate="label">
2059
- <label>BACKEND_CH_CHANNEL</label>
2060
- <sort_order>6</sort_order>
2061
- <frontend_type>text</frontend_type>
2062
- <config_path>payment/skrill_paypal/channel_id</config_path>
2063
- <show_in_default>1</show_in_default>
2064
- <show_in_website>1</show_in_website>
2065
- <show_in_store>1</show_in_store>
2066
- </channel_id>
2067
-
2068
- <sender translate="label">
2069
- <label>BACKEND_CH_SENDER</label>
2070
- <sort_order>7</sort_order>
2071
- <frontend_type>text</frontend_type>
2072
- <config_path>payment/skrill_paypal/sender</config_path>
2073
- <show_in_default>1</show_in_default>
2074
- <show_in_website>1</show_in_website>
2075
- <show_in_store>1</show_in_store>
2076
- </sender>
2077
-
2078
- <login translate="label">
2079
- <label>BACKEND_CH_LOGIN</label>
2080
- <sort_order>8</sort_order>
2081
- <frontend_type>text</frontend_type>
2082
- <config_path>payment/skrill_paypal/login</config_path>
2083
- <show_in_default>1</show_in_default>
2084
- <show_in_website>1</show_in_website>
2085
- <show_in_store>1</show_in_store>
2086
- </login>
2087
-
2088
- <password translate="label">
2089
- <label>BACKEND_CH_PASSWORD</label>
2090
- <sort_order>9</sort_order>
2091
- <frontend_type>text</frontend_type>
2092
- <config_path>payment/skrill_paypal/password</config_path>
2093
- <show_in_default>1</show_in_default>
2094
- <show_in_website>1</show_in_website>
2095
- <show_in_store>1</show_in_store>
2096
- </password>
2097
-
2098
- <allowspecific translate="label">
2099
- <label>BACKEND_CH_COUNTRIES</label>
2100
- <sort_order>10</sort_order>
2101
- <frontend_type>allowspecific</frontend_type>
2102
- <config_path>payment/skrill_paypal/allowspecific</config_path>
2103
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2104
- <show_in_default>1</show_in_default>
2105
- <show_in_website>1</show_in_website>
2106
- <show_in_store>1</show_in_store>
2107
- </allowspecific>
2108
-
2109
- <specificcountry translate="label">
2110
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2111
- <sort_order>11</sort_order>
2112
- <frontend_type>multiselect</frontend_type>
2113
- <config_path>payment/skrill_paypal/specificcountry</config_path>
2114
- <source_model>adminhtml/system_config_source_country</source_model>
2115
- <can_be_empty>1</can_be_empty>
2116
- <show_in_default>1</show_in_default>
2117
- <show_in_website>1</show_in_website>
2118
- <show_in_store>1</show_in_store>
2119
- </specificcountry>
2120
- <sort_order translate="label">
2121
- <label>BACKEND_CH_ORDER</label>
2122
- <frontend_type>text</frontend_type>
2123
- <config_path>payment/skrill_paypal/sort_order</config_path>
2124
- <sort_order>15</sort_order>
2125
- <show_in_default>1</show_in_default>
2126
- <show_in_website>1</show_in_website>
2127
- <show_in_store>1</show_in_store>
2128
- </sort_order>
2129
- </fields>
2130
- </skrill_paypal> -->
2131
-
2132
- <!-- <skrill_payolutioninv module="skrill" translate="label">
2133
- <label>SKRILL_BACKEND_PM_PAYOLUTIONINV</label>
2134
- <show_in_default>1</show_in_default>
2135
- <show_in_website>1</show_in_website>
2136
- <show_in_store>1</show_in_store>
2137
- <sort_order>1800</sort_order>
2138
- <fields>
2139
- <version>
2140
- <label>v1.0.21</label>
2141
- <sort_order>1</sort_order>
2142
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2143
- <frontend_type>label</frontend_type>
2144
- <show_in_default>1</show_in_default>
2145
- <show_in_website>1</show_in_website>
2146
- <show_in_store>1</show_in_store>
2147
- </version>
2148
-
2149
- <active translate="label,comment">
2150
- <label>BACKEND_CH_ACTIVE</label>
2151
- <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2152
- <sort_order>2</sort_order>
2153
- <frontend_type>select</frontend_type>
2154
- <config_path>payment/skrill_payolutioninv/active</config_path>
2155
- <source_model>adminhtml/system_config_source_yesno</source_model>
2156
- <show_in_default>1</show_in_default>
2157
- <show_in_website>1</show_in_website>
2158
- <show_in_store>1</show_in_store>
2159
- </active>
2160
-
2161
- <server_mode translate="label">
2162
- <label>BACKEND_CH_SERVER</label>
2163
- <frontend_type>select</frontend_type>
2164
- <config_path>payment/skrill_payolutioninv/server_mode</config_path>
2165
- <sort_order>3</sort_order>
2166
- <source_model>skrill/source_mode</source_model>
2167
- <show_in_default>1</show_in_default>
2168
- <show_in_website>1</show_in_website>
2169
- <show_in_store>1</show_in_store>
2170
- </server_mode>
2171
-
2172
- <channel_id translate="label">
2173
- <label>BACKEND_CH_CHANNEL</label>
2174
- <sort_order>6</sort_order>
2175
- <frontend_type>text</frontend_type>
2176
- <config_path>payment/skrill_payolutioninv/channel_id</config_path>
2177
- <show_in_default>1</show_in_default>
2178
- <show_in_website>1</show_in_website>
2179
- <show_in_store>1</show_in_store>
2180
- </channel_id>
2181
-
2182
- <sender translate="label">
2183
- <label>BACKEND_CH_SENDER</label>
2184
- <sort_order>7</sort_order>
2185
- <frontend_type>text</frontend_type>
2186
- <config_path>payment/skrill_payolutioninv/sender</config_path>
2187
- <show_in_default>1</show_in_default>
2188
- <show_in_website>1</show_in_website>
2189
- <show_in_store>1</show_in_store>
2190
- </sender>
2191
-
2192
- <login translate="label">
2193
- <label>BACKEND_CH_LOGIN</label>
2194
- <sort_order>8</sort_order>
2195
- <frontend_type>text</frontend_type>
2196
- <config_path>payment/skrill_payolutioninv/login</config_path>
2197
- <show_in_default>1</show_in_default>
2198
- <show_in_website>1</show_in_website>
2199
- <show_in_store>1</show_in_store>
2200
- </login>
2201
-
2202
- <password translate="label">
2203
- <label>BACKEND_CH_PASSWORD</label>
2204
- <sort_order>9</sort_order>
2205
- <frontend_type>text</frontend_type>
2206
- <config_path>payment/skrill_payolutioninv/password</config_path>
2207
- <show_in_default>1</show_in_default>
2208
- <show_in_website>1</show_in_website>
2209
- <show_in_store>1</show_in_store>
2210
- </password>
2211
-
2212
- <allowspecific translate="label">
2213
- <label>BACKEND_CH_COUNTRIES</label>
2214
- <sort_order>10</sort_order>
2215
- <frontend_type>allowspecific</frontend_type>
2216
- <config_path>payment/skrill_payolutioninv/allowspecific</config_path>
2217
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
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
- </allowspecific>
2222
-
2223
- <specificcountry translate="label">
2224
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2225
- <sort_order>11</sort_order>
2226
- <frontend_type>multiselect</frontend_type>
2227
- <config_path>payment/skrill_payolutioninv/specificcountry</config_path>
2228
- <source_model>adminhtml/system_config_source_country</source_model>
2229
- <can_be_empty>1</can_be_empty>
2230
- <show_in_default>1</show_in_default>
2231
- <show_in_website>1</show_in_website>
2232
- <show_in_store>1</show_in_store>
2233
- </specificcountry>
2234
- <sort_order translate="label">
2235
- <label>BACKEND_CH_ORDER</label>
2236
- <frontend_type>text</frontend_type>
2237
- <config_path>payment/skrill_payolutioninv/sort_order</config_path>
2238
- <sort_order>15</sort_order>
2239
- <show_in_default>1</show_in_default>
2240
- <show_in_website>1</show_in_website>
2241
- <show_in_store>1</show_in_store>
2242
- </sort_order>
2243
- </fields>
2244
- </skrill_payolutioninv>
2245
-
2246
- <skrill_payolutionins module="skrill" translate="label">
2247
- <label>SKRILL_BACKEND_PM_PAYOLUTIONINS</label>
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
- <sort_order>1900</sort_order>
2252
- <fields>
2253
- <version>
2254
- <label>v1.0.21</label>
2255
- <sort_order>1</sort_order>
2256
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2257
- <frontend_type>label</frontend_type>
2258
- <show_in_default>1</show_in_default>
2259
- <show_in_website>1</show_in_website>
2260
- <show_in_store>1</show_in_store>
2261
- </version>
2262
-
2263
- <active translate="label,comment">
2264
- <label>BACKEND_CH_ACTIVE</label>
2265
- <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2266
- <sort_order>2</sort_order>
2267
- <frontend_type>select</frontend_type>
2268
- <config_path>payment/skrill_payolutionins/active</config_path>
2269
- <source_model>adminhtml/system_config_source_yesno</source_model>
2270
- <show_in_default>1</show_in_default>
2271
- <show_in_website>1</show_in_website>
2272
- <show_in_store>1</show_in_store>
2273
- </active>
2274
-
2275
- <server_mode translate="label">
2276
- <label>BACKEND_CH_SERVER</label>
2277
- <frontend_type>select</frontend_type>
2278
- <config_path>payment/skrill_payolutionins/server_mode</config_path>
2279
- <sort_order>3</sort_order>
2280
- <source_model>skrill/source_mode</source_model>
2281
- <show_in_default>1</show_in_default>
2282
- <show_in_website>1</show_in_website>
2283
- <show_in_store>1</show_in_store>
2284
- </server_mode>
2285
-
2286
- <channel_id translate="label">
2287
- <label>BACKEND_CH_CHANNEL</label>
2288
- <sort_order>6</sort_order>
2289
- <frontend_type>text</frontend_type>
2290
- <config_path>payment/skrill_payolutionins/channel_id</config_path>
2291
- <show_in_default>1</show_in_default>
2292
- <show_in_website>1</show_in_website>
2293
- <show_in_store>1</show_in_store>
2294
- </channel_id>
2295
-
2296
- <sender translate="label">
2297
- <label>BACKEND_CH_SENDER</label>
2298
- <sort_order>7</sort_order>
2299
- <frontend_type>text</frontend_type>
2300
- <config_path>payment/skrill_payolutionins/sender</config_path>
2301
- <show_in_default>1</show_in_default>
2302
- <show_in_website>1</show_in_website>
2303
- <show_in_store>1</show_in_store>
2304
- </sender>
2305
-
2306
- <login translate="label">
2307
- <label>BACKEND_CH_LOGIN</label>
2308
- <sort_order>8</sort_order>
2309
- <frontend_type>text</frontend_type>
2310
- <config_path>payment/skrill_payolutionins/login</config_path>
2311
- <show_in_default>1</show_in_default>
2312
- <show_in_website>1</show_in_website>
2313
- <show_in_store>1</show_in_store>
2314
- </login>
2315
-
2316
- <password translate="label">
2317
- <label>BACKEND_CH_PASSWORD</label>
2318
- <sort_order>9</sort_order>
2319
- <frontend_type>text</frontend_type>
2320
- <config_path>payment/skrill_payolutionins/password</config_path>
2321
- <show_in_default>1</show_in_default>
2322
- <show_in_website>1</show_in_website>
2323
- <show_in_store>1</show_in_store>
2324
- </password>
2325
-
2326
- <allowspecific translate="label">
2327
- <label>BACKEND_CH_COUNTRIES</label>
2328
- <sort_order>10</sort_order>
2329
- <frontend_type>allowspecific</frontend_type>
2330
- <config_path>payment/skrill_payolutionins/allowspecific</config_path>
2331
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2332
- <show_in_default>1</show_in_default>
2333
- <show_in_website>1</show_in_website>
2334
- <show_in_store>1</show_in_store>
2335
- </allowspecific>
2336
-
2337
- <specificcountry translate="label">
2338
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2339
- <sort_order>11</sort_order>
2340
- <frontend_type>multiselect</frontend_type>
2341
- <config_path>payment/skrill_payolutionins/specificcountry</config_path>
2342
- <source_model>adminhtml/system_config_source_country</source_model>
2343
- <can_be_empty>1</can_be_empty>
2344
- <show_in_default>1</show_in_default>
2345
- <show_in_website>1</show_in_website>
2346
- <show_in_store>1</show_in_store>
2347
- </specificcountry>
2348
- <sort_order translate="label">
2349
- <label>BACKEND_CH_ORDER</label>
2350
- <frontend_type>text</frontend_type>
2351
- <config_path>payment/skrill_payolutionins/sort_order</config_path>
2352
- <sort_order>15</sort_order>
2353
- <show_in_default>1</show_in_default>
2354
- <show_in_website>1</show_in_website>
2355
- <show_in_store>1</show_in_store>
2356
- </sort_order>
2357
- </fields>
2358
- </skrill_payolutionins> -->
2359
-
2360
- <!-- <skrill_paytrail module="skrill" translate="label">
2361
- <label>SKRILL_BACKEND_PM_PAYTRAIL</label>
2362
- <show_in_default>1</show_in_default>
2363
- <show_in_website>1</show_in_website>
2364
- <show_in_store>1</show_in_store>
2365
- <sort_order>2000</sort_order>
2366
- <fields>
2367
- <version>
2368
- <label>v1.0.21</label>
2369
- <sort_order>1</sort_order>
2370
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2371
- <frontend_type>label</frontend_type>
2372
- <show_in_default>1</show_in_default>
2373
- <show_in_website>1</show_in_website>
2374
- <show_in_store>1</show_in_store>
2375
- </version>
2376
-
2377
- <active translate="label">
2378
- <label>BACKEND_CH_ACTIVE</label>
2379
- <sort_order>2</sort_order>
2380
- <frontend_type>select</frontend_type>
2381
- <config_path>payment/skrill_paytrail/active</config_path>
2382
- <source_model>adminhtml/system_config_source_yesno</source_model>
2383
- <show_in_default>1</show_in_default>
2384
- <show_in_website>1</show_in_website>
2385
- <show_in_store>1</show_in_store>
2386
- </active>
2387
-
2388
- <server_mode translate="label">
2389
- <label>BACKEND_CH_SERVER</label>
2390
- <frontend_type>select</frontend_type>
2391
- <config_path>payment/skrill_paytrail/server_mode</config_path>
2392
- <sort_order>3</sort_order>
2393
- <source_model>skrill/source_mode</source_model>
2394
- <show_in_default>1</show_in_default>
2395
- <show_in_website>1</show_in_website>
2396
- <show_in_store>1</show_in_store>
2397
- </server_mode>
2398
-
2399
- <channel_id translate="label">
2400
- <label>BACKEND_CH_CHANNEL</label>
2401
- <sort_order>6</sort_order>
2402
- <frontend_type>text</frontend_type>
2403
- <config_path>payment/skrill_paytrail/channel_id</config_path>
2404
- <show_in_default>1</show_in_default>
2405
- <show_in_website>1</show_in_website>
2406
- <show_in_store>1</show_in_store>
2407
- </channel_id>
2408
-
2409
- <sender translate="label">
2410
- <label>BACKEND_CH_SENDER</label>
2411
- <sort_order>7</sort_order>
2412
- <frontend_type>text</frontend_type>
2413
- <config_path>payment/skrill_paytrail/sender</config_path>
2414
- <show_in_default>1</show_in_default>
2415
- <show_in_website>1</show_in_website>
2416
- <show_in_store>1</show_in_store>
2417
- </sender>
2418
-
2419
- <login translate="label">
2420
- <label>BACKEND_CH_LOGIN</label>
2421
- <sort_order>8</sort_order>
2422
- <frontend_type>text</frontend_type>
2423
- <config_path>payment/skrill_paytrail/login</config_path>
2424
- <show_in_default>1</show_in_default>
2425
- <show_in_website>1</show_in_website>
2426
- <show_in_store>1</show_in_store>
2427
- </login>
2428
-
2429
- <password translate="label">
2430
- <label>BACKEND_CH_PASSWORD</label>
2431
- <sort_order>9</sort_order>
2432
- <frontend_type>text</frontend_type>
2433
- <config_path>payment/skrill_paytrail/password</config_path>
2434
- <show_in_default>1</show_in_default>
2435
- <show_in_website>1</show_in_website>
2436
- <show_in_store>1</show_in_store>
2437
- </password>
2438
-
2439
- <allowspecific translate="label">
2440
- <label>BACKEND_CH_COUNTRIES</label>
2441
- <sort_order>10</sort_order>
2442
- <frontend_type>allowspecific</frontend_type>
2443
- <config_path>payment/skrill_paytrail/allowspecific</config_path>
2444
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2445
- <show_in_default>1</show_in_default>
2446
- <show_in_website>1</show_in_website>
2447
- <show_in_store>1</show_in_store>
2448
- </allowspecific>
2449
-
2450
- <specificcountry translate="label">
2451
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2452
- <sort_order>11</sort_order>
2453
- <frontend_type>multiselect</frontend_type>
2454
- <config_path>payment/skrill_paytrail/specificcountry</config_path>
2455
- <source_model>adminhtml/system_config_source_country</source_model>
2456
- <can_be_empty>1</can_be_empty>
2457
- <show_in_default>1</show_in_default>
2458
- <show_in_website>1</show_in_website>
2459
- <show_in_store>1</show_in_store>
2460
- </specificcountry>
2461
- <sort_order translate="label">
2462
- <label>BACKEND_CH_ORDER</label>
2463
- <frontend_type>text</frontend_type>
2464
- <config_path>payment/skrill_paytrail/sort_order</config_path>
2465
- <sort_order>15</sort_order>
2466
- <show_in_default>1</show_in_default>
2467
- <show_in_website>1</show_in_website>
2468
- <show_in_store>1</show_in_store>
2469
- </sort_order>
2470
- </fields>
2471
- </skrill_paytrail> -->
2472
-
2473
- <!-- <skrill_yandex module="skrill" translate="label">
2474
- <label>SKRILL_BACKEND_PM_YANDEX</label>
2475
- <show_in_default>1</show_in_default>
2476
- <show_in_website>1</show_in_website>
2477
- <show_in_store>1</show_in_store>
2478
- <sort_order>2100</sort_order>
2479
- <fields>
2480
- <version>
2481
- <label>v1.0.21</label>
2482
- <sort_order>1</sort_order>
2483
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2484
- <frontend_type>label</frontend_type>
2485
- <show_in_default>1</show_in_default>
2486
- <show_in_website>1</show_in_website>
2487
- <show_in_store>1</show_in_store>
2488
- </version>
2489
-
2490
- <active translate="label">
2491
- <label>BACKEND_CH_ACTIVE</label>
2492
- <sort_order>2</sort_order>
2493
- <frontend_type>select</frontend_type>
2494
- <config_path>payment/skrill_yandex/active</config_path>
2495
- <source_model>adminhtml/system_config_source_yesno</source_model>
2496
- <show_in_default>1</show_in_default>
2497
- <show_in_website>1</show_in_website>
2498
- <show_in_store>1</show_in_store>
2499
- </active>
2500
-
2501
- <server_mode translate="label">
2502
- <label>BACKEND_CH_SERVER</label>
2503
- <frontend_type>select</frontend_type>
2504
- <config_path>payment/skrill_yandex/server_mode</config_path>
2505
- <sort_order>3</sort_order>
2506
- <source_model>skrill/source_mode</source_model>
2507
- <show_in_default>1</show_in_default>
2508
- <show_in_website>1</show_in_website>
2509
- <show_in_store>1</show_in_store>
2510
- </server_mode>
2511
-
2512
- <channel_id translate="label">
2513
- <label>BACKEND_CH_CHANNEL</label>
2514
- <sort_order>6</sort_order>
2515
- <frontend_type>text</frontend_type>
2516
- <config_path>payment/skrill_yandex/channel_id</config_path>
2517
- <show_in_default>1</show_in_default>
2518
- <show_in_website>1</show_in_website>
2519
- <show_in_store>1</show_in_store>
2520
- </channel_id>
2521
-
2522
- <sender translate="label">
2523
- <label>BACKEND_CH_SENDER</label>
2524
- <sort_order>7</sort_order>
2525
- <frontend_type>text</frontend_type>
2526
- <config_path>payment/skrill_yandex/sender</config_path>
2527
- <show_in_default>1</show_in_default>
2528
- <show_in_website>1</show_in_website>
2529
- <show_in_store>1</show_in_store>
2530
- </sender>
2531
-
2532
- <login translate="label">
2533
- <label>BACKEND_CH_LOGIN</label>
2534
- <sort_order>8</sort_order>
2535
- <frontend_type>text</frontend_type>
2536
- <config_path>payment/skrill_yandex/login</config_path>
2537
- <show_in_default>1</show_in_default>
2538
- <show_in_website>1</show_in_website>
2539
- <show_in_store>1</show_in_store>
2540
- </login>
2541
-
2542
- <password translate="label">
2543
- <label>BACKEND_CH_PASSWORD</label>
2544
- <sort_order>9</sort_order>
2545
- <frontend_type>text</frontend_type>
2546
- <config_path>payment/skrill_yandex/password</config_path>
2547
- <show_in_default>1</show_in_default>
2548
- <show_in_website>1</show_in_website>
2549
- <show_in_store>1</show_in_store>
2550
- </password>
2551
-
2552
- <allowspecific translate="label">
2553
- <label>BACKEND_CH_COUNTRIES</label>
2554
- <sort_order>10</sort_order>
2555
- <frontend_type>allowspecific</frontend_type>
2556
- <config_path>payment/skrill_yandex/allowspecific</config_path>
2557
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2558
- <show_in_default>1</show_in_default>
2559
- <show_in_website>1</show_in_website>
2560
- <show_in_store>1</show_in_store>
2561
- </allowspecific>
2562
-
2563
- <specificcountry translate="label">
2564
- <label>BACKEND_CH_COUNTRIESSPEC</label>
2565
- <sort_order>11</sort_order>
2566
- <frontend_type>multiselect</frontend_type>
2567
- <config_path>payment/skrill_yandex/specificcountry</config_path>
2568
- <source_model>adminhtml/system_config_source_country</source_model>
2569
- <can_be_empty>1</can_be_empty>
2570
- <show_in_default>1</show_in_default>
2571
- <show_in_website>1</show_in_website>
2572
- <show_in_store>1</show_in_store>
2573
- </specificcountry>
2574
- <sort_order translate="label">
2575
- <label>BACKEND_CH_ORDER</label>
2576
- <frontend_type>text</frontend_type>
2577
- <config_path>payment/skrill_yandex/sort_order</config_path>
2578
- <sort_order>15</sort_order>
2579
- <show_in_default>1</show_in_default>
2580
- <show_in_website>1</show_in_website>
2581
- <show_in_store>1</show_in_store>
2582
- </sort_order>
2583
- </fields>
2584
- </skrill_yandex> -->
2585
-
2586
- </groups>
2587
- </skrill>
2588
- </sections>
2589
- </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.24</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>password</frontend_type>
105
+ <config_path>payment/skrill_settings/api_passwd</config_path>
106
+ <sort_order>7</sort_order>
107
+ <validate>required-entry</validate>
108
+ <show_in_default>1</show_in_default>
109
+ <show_in_website>1</show_in_website>
110
+ <show_in_store>1</show_in_store>
111
+ </api_passwd>
112
+ <secret_word translate="label,comment">
113
+ <label>SKRILL_BACKEND_SECRETWORD</label>
114
+ <comment>SKRILL_BACKEND_TT_SECRET</comment>
115
+ <frontend_type>password</frontend_type>
116
+ <config_path>payment/skrill_settings/secret_word</config_path>
117
+ <sort_order>8</sort_order>
118
+ <validate>required-entry</validate>
119
+ <show_in_default>1</show_in_default>
120
+ <show_in_website>1</show_in_website>
121
+ <show_in_store>1</show_in_store>
122
+ </secret_word>
123
+ <display translate="label,comment">
124
+ <label>SKRILL_BACKEND_DISPLAY</label>
125
+ <comment>SKRILL_BACKEND_TT_DISPLAY</comment>
126
+ <frontend_type>select</frontend_type>
127
+ <config_path>payment/skrill_settings/display</config_path>
128
+ <sort_order>9</sort_order>
129
+ <source_model>skrill/source_display</source_model>
130
+ <show_in_default>1</show_in_default>
131
+ <show_in_website>1</show_in_website>
132
+ <show_in_store>1</show_in_store>
133
+ </display>
134
+ <merchant_email translate="label,comment">
135
+ <label>SKRILL_BACKEND_MERCHANTEMAIL</label>
136
+ <comment>SKRILL_BACKEND_TT_MERCHANTEMAIL</comment>
137
+ <frontend_type>text</frontend_type>
138
+ <config_path>payment/skrill_settings/merchant_email</config_path>
139
+ <sort_order>10</sort_order>
140
+ <show_in_default>1</show_in_default>
141
+ <show_in_website>1</show_in_website>
142
+ <show_in_store>1</show_in_store>
143
+ </merchant_email>
144
+ </fields>
145
+ </skrill_settings>
146
+ <!-- <skrill_general module="skrill" translate="label">
147
+ <label>SKRILL_BACKEND_PM_PAYONSETTING</label>
148
+ <show_in_default>1</show_in_default>
149
+ <show_in_website>1</show_in_website>
150
+ <show_in_store>1</show_in_store>
151
+ <sort_order>99</sort_order>
152
+ <fields>
153
+ <version>
154
+ <label>v1.0.24</label>
155
+ <sort_order>1</sort_order>
156
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
157
+ <frontend_type>label</frontend_type>
158
+ <show_in_default>1</show_in_default>
159
+ <show_in_website>1</show_in_website>
160
+ <show_in_store>1</show_in_store>
161
+ </version>
162
+ <active translate="label">
163
+ <label>BACKEND_CH_ACTIVE</label>
164
+ <sort_order>2</sort_order>
165
+ <config_path>payment/skrill_general/active</config_path>
166
+ <frontend_type>select</frontend_type>
167
+ <source_model>adminhtml/system_config_source_yesno</source_model>
168
+ <show_in_default>1</show_in_default>
169
+ <show_in_website>1</show_in_website>
170
+ <show_in_store>1</show_in_store>
171
+ </active>
172
+ <sender translate="label">
173
+ <label>BACKEND_CH_SENDER</label>
174
+ <sort_order>3</sort_order>
175
+ <config_path>payment/skrill_general/sender</config_path>
176
+ <frontend_type>text</frontend_type>
177
+ <show_in_default>1</show_in_default>
178
+ <show_in_website>1</show_in_website>
179
+ <show_in_store>1</show_in_store>
180
+ </sender>
181
+ <login translate="label">
182
+ <label>BACKEND_CH_LOGIN</label>
183
+ <sort_order>4</sort_order>
184
+ <config_path>payment/skrill_general/login</config_path>
185
+ <frontend_type>text</frontend_type>
186
+ <show_in_default>1</show_in_default>
187
+ <show_in_website>1</show_in_website>
188
+ <show_in_store>1</show_in_store>
189
+ </login>
190
+ <password translate="label">
191
+ <label>BACKEND_CH_PASSWORD</label>
192
+ <sort_order>5</sort_order>
193
+ <config_path>payment/skrill_general/password</config_path>
194
+ <frontend_type>text</frontend_type>
195
+ <show_in_default>1</show_in_default>
196
+ <show_in_website>1</show_in_website>
197
+ <show_in_store>1</show_in_store>
198
+ </password>
199
+ </fields>
200
+ </skrill_general> -->
201
+ <skrill_flexible translate="label,comment">
202
+ <label>SKRILL_BACKEND_PM_FLEXIBLE</label>
203
+ <comment>SKRILL_BACKEND_TT_APM</comment>
204
+ <frontend_type>text</frontend_type>
205
+ <sort_order>100</sort_order>
206
+ <show_in_default>1</show_in_default>
207
+ <show_in_website>1</show_in_website>
208
+ <show_in_store>1</show_in_store>
209
+ <fields>
210
+ <!-- <version>
211
+ <label>v1.0.24</label>
212
+ <sort_order>1</sort_order>
213
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
214
+ <frontend_type>label</frontend_type>
215
+ <show_in_default>1</show_in_default>
216
+ <show_in_website>1</show_in_website>
217
+ <show_in_store>1</show_in_store>
218
+ </version> -->
219
+ <active translate="label">
220
+ <label>BACKEND_CH_ACTIVE</label>
221
+ <comment>All Countries</comment>
222
+ <sort_order>2</sort_order>
223
+ <frontend_type>select</frontend_type>
224
+ <config_path>payment/skrill_flexible/active</config_path>
225
+ <source_model>adminhtml/system_config_source_yesno</source_model>
226
+ <show_in_default>1</show_in_default>
227
+ <show_in_website>1</show_in_website>
228
+ <show_in_store>1</show_in_store>
229
+ </active>
230
+ <sort_order translate="label">
231
+ <label>BACKEND_CH_ORDER</label>
232
+ <frontend_type>text</frontend_type>
233
+ <config_path>payment/skrill_flexible/sort_order</config_path>
234
+ <sort_order>6</sort_order>
235
+ <show_in_default>1</show_in_default>
236
+ <show_in_website>1</show_in_website>
237
+ <show_in_store>1</show_in_store>
238
+ </sort_order>
239
+ </fields>
240
+ </skrill_flexible>
241
+ <skrill_wlt translate="label">
242
+ <label>SKRILL_BACKEND_PM_WLT</label>
243
+ <frontend_type>text</frontend_type>
244
+ <sort_order>101</sort_order>
245
+ <show_in_default>1</show_in_default>
246
+ <show_in_website>1</show_in_website>
247
+ <show_in_store>1</show_in_store>
248
+ <fields>
249
+ <!-- <version>
250
+ <label>v1.0.24</label>
251
+ <sort_order>1</sort_order>
252
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
253
+ <frontend_type>label</frontend_type>
254
+ <show_in_default>1</show_in_default>
255
+ <show_in_website>1</show_in_website>
256
+ <show_in_store>1</show_in_store>
257
+ </version> -->
258
+ <active translate="label">
259
+ <label>BACKEND_CH_ACTIVE</label>
260
+ <comment>All Countries</comment>
261
+ <sort_order>2</sort_order>
262
+ <frontend_type>select</frontend_type>
263
+ <config_path>payment/skrill_wlt/active</config_path>
264
+ <source_model>adminhtml/system_config_source_yesno</source_model>
265
+ <show_in_default>1</show_in_default>
266
+ <show_in_website>1</show_in_website>
267
+ <show_in_store>1</show_in_store>
268
+ </active>
269
+ <show_separately translate="label">
270
+ <label>SKRILL_BACKEND_PM_MODE</label>
271
+ <sort_order>3</sort_order>
272
+ <frontend_type>select</frontend_type>
273
+ <config_path>payment/skrill_wlt/show_separately</config_path>
274
+ <source_model>adminhtml/system_config_source_yesno</source_model>
275
+ <show_in_default>1</show_in_default>
276
+ <show_in_website>1</show_in_website>
277
+ <show_in_store>1</show_in_store>
278
+ </show_separately>
279
+ <sort_order translate="label">
280
+ <label>BACKEND_CH_ORDER</label>
281
+ <frontend_type>text</frontend_type>
282
+ <config_path>payment/skrill_wlt/sort_order</config_path>
283
+ <sort_order>6</sort_order>
284
+ <show_in_default>1</show_in_default>
285
+ <show_in_website>1</show_in_website>
286
+ <show_in_store>1</show_in_store>
287
+ </sort_order>
288
+ </fields>
289
+ </skrill_wlt>
290
+ <skrill_psc translate="label">
291
+ <label>SKRILL_BACKEND_PM_PSC</label>
292
+ <frontend_type>text</frontend_type>
293
+ <sort_order>102</sort_order>
294
+ <show_in_default>1</show_in_default>
295
+ <show_in_website>1</show_in_website>
296
+ <show_in_store>1</show_in_store>
297
+ <fields>
298
+ <!-- <version>
299
+ <label>v1.0.24</label>
300
+ <sort_order>1</sort_order>
301
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
302
+ <frontend_type>label</frontend_type>
303
+ <show_in_default>1</show_in_default>
304
+ <show_in_website>1</show_in_website>
305
+ <show_in_store>1</show_in_store>
306
+ </version> -->
307
+ <active translate="label">
308
+ <label>BACKEND_CH_ACTIVE</label>
309
+ <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>
310
+ <sort_order>2</sort_order>
311
+ <frontend_type>select</frontend_type>
312
+ <config_path>payment/skrill_psc/active</config_path>
313
+ <source_model>adminhtml/system_config_source_yesno</source_model>
314
+ <show_in_default>1</show_in_default>
315
+ <show_in_website>1</show_in_website>
316
+ <show_in_store>1</show_in_store>
317
+ </active>
318
+ <!-- <gateway translate="label">
319
+ <label>SKRILL_BACKEND_GATE</label>
320
+ <sort_order>3</sort_order>
321
+ <frontend_type>select</frontend_type>
322
+ <config_path>payment/skrill_psc/gateway</config_path>
323
+ <source_model>skrill/source_gateway</source_model>
324
+ <show_in_default>1</show_in_default>
325
+ <show_in_website>1</show_in_website>
326
+ <show_in_store>1</show_in_store>
327
+ </gateway> -->
328
+ <show_separately translate="label">
329
+ <label>SKRILL_BACKEND_PM_MODE</label>
330
+ <sort_order>4</sort_order>
331
+ <frontend_type>select</frontend_type>
332
+ <config_path>payment/skrill_psc/show_separately</config_path>
333
+ <source_model>adminhtml/system_config_source_yesno</source_model>
334
+ <show_in_default>1</show_in_default>
335
+ <show_in_website>1</show_in_website>
336
+ <show_in_store>1</show_in_store>
337
+ </show_separately>
338
+ <!-- <server_mode translate="label">
339
+ <label>BACKEND_CH_SERVER</label>
340
+ <frontend_type>select</frontend_type>
341
+ <config_path>payment/skrill_psc/server_mode</config_path>
342
+ <sort_order>5</sort_order>
343
+ <source_model>skrill/source_mode</source_model>
344
+ <show_in_default>1</show_in_default>
345
+ <show_in_website>1</show_in_website>
346
+ <show_in_store>1</show_in_store>
347
+ </server_mode>
348
+ <channel_id translate="label">
349
+ <label>BACKEND_CH_CHANNEL</label>
350
+ <sort_order>6</sort_order>
351
+ <frontend_type>text</frontend_type>
352
+ <config_path>payment/skrill_psc/channel_id</config_path>
353
+ <show_in_default>1</show_in_default>
354
+ <show_in_website>1</show_in_website>
355
+ <show_in_store>1</show_in_store>
356
+ </channel_id>
357
+ <sender translate="label">
358
+ <label>BACKEND_CH_SENDER</label>
359
+ <sort_order>7</sort_order>
360
+ <frontend_type>text</frontend_type>
361
+ <config_path>payment/skrill_psc/sender</config_path>
362
+ <show_in_default>1</show_in_default>
363
+ <show_in_website>1</show_in_website>
364
+ <show_in_store>1</show_in_store>
365
+ </sender>
366
+ <login translate="label">
367
+ <label>BACKEND_CH_LOGIN</label>
368
+ <sort_order>8</sort_order>
369
+ <frontend_type>text</frontend_type>
370
+ <config_path>payment/skrill_psc/login</config_path>
371
+ <show_in_default>1</show_in_default>
372
+ <show_in_website>1</show_in_website>
373
+ <show_in_store>1</show_in_store>
374
+ </login>
375
+ <password translate="label">
376
+ <label>BACKEND_CH_PASSWORD</label>
377
+ <sort_order>9</sort_order>
378
+ <frontend_type>text</frontend_type>
379
+ <config_path>payment/skrill_psc/password</config_path>
380
+ <show_in_default>1</show_in_default>
381
+ <show_in_website>1</show_in_website>
382
+ <show_in_store>1</show_in_store>
383
+ </password>
384
+ <allowspecific translate="label">
385
+ <label>BACKEND_CH_COUNTRIES</label>
386
+ <sort_order>10</sort_order>
387
+ <frontend_type>allowspecific</frontend_type>
388
+ <config_path>payment/skrill_psc/allowspecific</config_path>
389
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
390
+ <show_in_default>1</show_in_default>
391
+ <show_in_website>1</show_in_website>
392
+ <show_in_store>1</show_in_store>
393
+ </allowspecific>
394
+ <specificcountry translate="label">
395
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
396
+ <sort_order>11</sort_order>
397
+ <frontend_type>multiselect</frontend_type>
398
+ <config_path>payment/skrill_psc/specificcountry</config_path>
399
+ <source_model>adminhtml/system_config_source_country</source_model>
400
+ <can_be_empty>1</can_be_empty>
401
+ <show_in_default>1</show_in_default>
402
+ <show_in_website>1</show_in_website>
403
+ <show_in_store>1</show_in_store>
404
+ </specificcountry> -->
405
+ <sort_order translate="label">
406
+ <label>BACKEND_CH_ORDER</label>
407
+ <frontend_type>text</frontend_type>
408
+ <config_path>payment/skrill_psc/sort_order</config_path>
409
+ <sort_order>12</sort_order>
410
+ <show_in_default>1</show_in_default>
411
+ <show_in_website>1</show_in_website>
412
+ <show_in_store>1</show_in_store>
413
+ </sort_order>
414
+ </fields>
415
+ </skrill_psc>
416
+ <skrill_acc translate="label,comment">
417
+ <label>SKRILL_BACKEND_PM_ACC</label>
418
+ <comment>SKRILL_BACKEND_TT_APM</comment>
419
+ <frontend_type>text</frontend_type>
420
+ <sort_order>103</sort_order>
421
+ <show_in_default>1</show_in_default>
422
+ <show_in_website>1</show_in_website>
423
+ <show_in_store>1</show_in_store>
424
+ <fields>
425
+ <!-- <version>
426
+ <label>v1.0.24</label>
427
+ <sort_order>1</sort_order>
428
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
429
+ <frontend_type>label</frontend_type>
430
+ <show_in_default>1</show_in_default>
431
+ <show_in_website>1</show_in_website>
432
+ <show_in_store>1</show_in_store>
433
+ </version> -->
434
+ <active translate="label">
435
+ <label>BACKEND_CH_ACTIVE</label>
436
+ <comment>All Countries</comment>
437
+ <sort_order>2</sort_order>
438
+ <frontend_type>select</frontend_type>
439
+ <config_path>payment/skrill_acc/active</config_path>
440
+ <source_model>adminhtml/system_config_source_yesno</source_model>
441
+ <show_in_default>1</show_in_default>
442
+ <show_in_website>1</show_in_website>
443
+ <show_in_store>1</show_in_store>
444
+ </active>
445
+ <!-- <gateway translate="label">
446
+ <label>SKRILL_BACKEND_GATE</label>
447
+ <sort_order>3</sort_order>
448
+ <frontend_type>select</frontend_type>
449
+ <config_path>payment/skrill_acc/gateway</config_path>
450
+ <source_model>skrill/source_gateway</source_model>
451
+ <show_in_default>1</show_in_default>
452
+ <show_in_website>1</show_in_website>
453
+ <show_in_store>1</show_in_store>
454
+ </gateway> -->
455
+ <show_separately translate="label">
456
+ <label>SKRILL_BACKEND_PM_MODE</label>
457
+ <sort_order>4</sort_order>
458
+ <frontend_type>select</frontend_type>
459
+ <config_path>payment/skrill_acc/show_separately</config_path>
460
+ <source_model>adminhtml/system_config_source_yesno</source_model>
461
+ <show_in_default>1</show_in_default>
462
+ <show_in_website>1</show_in_website>
463
+ <show_in_store>1</show_in_store>
464
+ </show_separately>
465
+ <!-- <server_mode translate="label">
466
+ <label>BACKEND_CH_SERVER</label>
467
+ <frontend_type>select</frontend_type>
468
+ <config_path>payment/skrill_acc/server_mode</config_path>
469
+ <sort_order>5</sort_order>
470
+ <source_model>skrill/source_mode</source_model>
471
+ <show_in_default>1</show_in_default>
472
+ <show_in_website>1</show_in_website>
473
+ <show_in_store>1</show_in_store>
474
+ </server_mode>
475
+ <transaction_mode translate="label">
476
+ <label>BACKEND_CH_MODE</label>
477
+ <frontend_type>select</frontend_type>
478
+ <config_path>payment/skrill_acc/transaction_mode</config_path>
479
+ <sort_order>6</sort_order>
480
+ <source_model>skrill/source_transaction</source_model>
481
+ <show_in_default>1</show_in_default>
482
+ <show_in_website>1</show_in_website>
483
+ <show_in_store>1</show_in_store>
484
+ </transaction_mode>
485
+ <channel_id translate="label">
486
+ <label>BACKEND_CH_CHANNEL</label>
487
+ <sort_order>7</sort_order>
488
+ <frontend_type>text</frontend_type>
489
+ <config_path>payment/skrill_acc/channel_id</config_path>
490
+ <show_in_default>1</show_in_default>
491
+ <show_in_website>1</show_in_website>
492
+ <show_in_store>1</show_in_store>
493
+ </channel_id>
494
+ <sender translate="label">
495
+ <label>BACKEND_CH_SENDER</label>
496
+ <sort_order>8</sort_order>
497
+ <frontend_type>text</frontend_type>
498
+ <config_path>payment/skrill_acc/sender</config_path>
499
+ <show_in_default>1</show_in_default>
500
+ <show_in_website>1</show_in_website>
501
+ <show_in_store>1</show_in_store>
502
+ </sender>
503
+ <login translate="label">
504
+ <label>BACKEND_CH_LOGIN</label>
505
+ <sort_order>9</sort_order>
506
+ <frontend_type>text</frontend_type>
507
+ <config_path>payment/skrill_acc/login</config_path>
508
+ <show_in_default>1</show_in_default>
509
+ <show_in_website>1</show_in_website>
510
+ <show_in_store>1</show_in_store>
511
+ </login>
512
+ <password translate="label">
513
+ <label>BACKEND_CH_PASSWORD</label>
514
+ <sort_order>10</sort_order>
515
+ <frontend_type>text</frontend_type>
516
+ <config_path>payment/skrill_acc/password</config_path>
517
+ <show_in_default>1</show_in_default>
518
+ <show_in_website>1</show_in_website>
519
+ <show_in_store>1</show_in_store>
520
+ </password>
521
+ <allowspecific translate="label">
522
+ <label>BACKEND_CH_COUNTRIES</label>
523
+ <sort_order>11</sort_order>
524
+ <frontend_type>allowspecific</frontend_type>
525
+ <config_path>payment/skrill_acc/allowspecific</config_path>
526
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
527
+ <show_in_default>1</show_in_default>
528
+ <show_in_website>1</show_in_website>
529
+ <show_in_store>1</show_in_store>
530
+ </allowspecific>
531
+ <specificcountry translate="label">
532
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
533
+ <sort_order>12</sort_order>
534
+ <frontend_type>multiselect</frontend_type>
535
+ <config_path>payment/skrill_acc/specificcountry</config_path>
536
+ <source_model>adminhtml/system_config_source_country</source_model>
537
+ <can_be_empty>1</can_be_empty>
538
+ <show_in_default>1</show_in_default>
539
+ <show_in_website>1</show_in_website>
540
+ <show_in_store>1</show_in_store>
541
+ </specificcountry> -->
542
+ <sort_order translate="label">
543
+ <label>BACKEND_CH_ORDER</label>
544
+ <frontend_type>text</frontend_type>
545
+ <config_path>payment/skrill_acc/sort_order</config_path>
546
+ <sort_order>13</sort_order>
547
+ <show_in_default>1</show_in_default>
548
+ <show_in_website>1</show_in_website>
549
+ <show_in_store>1</show_in_store>
550
+ </sort_order>
551
+ </fields>
552
+ </skrill_acc>
553
+ <skrill_vsa translate="label">
554
+ <label>SKRILL_BACKEND_PM_VSA</label>
555
+ <frontend_type>text</frontend_type>
556
+ <sort_order>104</sort_order>
557
+ <show_in_default>1</show_in_default>
558
+ <show_in_website>1</show_in_website>
559
+ <show_in_store>1</show_in_store>
560
+ <fields>
561
+ <!-- <version>
562
+ <label>v1.0.24</label>
563
+ <sort_order>1</sort_order>
564
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
565
+ <frontend_type>label</frontend_type>
566
+ <show_in_default>1</show_in_default>
567
+ <show_in_website>1</show_in_website>
568
+ <show_in_store>1</show_in_store>
569
+ </version> -->
570
+ <active translate="label">
571
+ <label>BACKEND_CH_ACTIVE</label>
572
+ <comment>All Countries</comment>
573
+ <sort_order>2</sort_order>
574
+ <frontend_type>select</frontend_type>
575
+ <config_path>payment/skrill_vsa/active</config_path>
576
+ <source_model>adminhtml/system_config_source_yesno</source_model>
577
+ <show_in_default>1</show_in_default>
578
+ <show_in_website>1</show_in_website>
579
+ <show_in_store>1</show_in_store>
580
+ </active>
581
+ <show_separately translate="label">
582
+ <label>SKRILL_BACKEND_PM_MODE</label>
583
+ <sort_order>3</sort_order>
584
+ <frontend_type>select</frontend_type>
585
+ <config_path>payment/skrill_vsa/show_separately</config_path>
586
+ <source_model>adminhtml/system_config_source_yesno</source_model>
587
+ <show_in_default>1</show_in_default>
588
+ <show_in_website>1</show_in_website>
589
+ <show_in_store>1</show_in_store>
590
+ </show_separately>
591
+ <sort_order translate="label">
592
+ <label>BACKEND_CH_ORDER</label>
593
+ <frontend_type>text</frontend_type>
594
+ <config_path>payment/skrill_vsa/sort_order</config_path>
595
+ <sort_order>6</sort_order>
596
+ <show_in_default>1</show_in_default>
597
+ <show_in_website>1</show_in_website>
598
+ <show_in_store>1</show_in_store>
599
+ </sort_order>
600
+ </fields>
601
+ </skrill_vsa>
602
+ <skrill_msc translate="label">
603
+ <label>SKRILL_BACKEND_PM_MSC</label>
604
+ <frontend_type>text</frontend_type>
605
+ <sort_order>105</sort_order>
606
+ <show_in_default>1</show_in_default>
607
+ <show_in_website>1</show_in_website>
608
+ <show_in_store>1</show_in_store>
609
+ <fields>
610
+ <!-- <version>
611
+ <label>v1.0.24</label>
612
+ <sort_order>1</sort_order>
613
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
614
+ <frontend_type>label</frontend_type>
615
+ <show_in_default>1</show_in_default>
616
+ <show_in_website>1</show_in_website>
617
+ <show_in_store>1</show_in_store>
618
+ </version> -->
619
+ <active translate="label">
620
+ <label>BACKEND_CH_ACTIVE</label>
621
+ <comment>All Countries</comment>
622
+ <sort_order>2</sort_order>
623
+ <frontend_type>select</frontend_type>
624
+ <config_path>payment/skrill_msc/active</config_path>
625
+ <source_model>adminhtml/system_config_source_yesno</source_model>
626
+ <show_in_default>1</show_in_default>
627
+ <show_in_website>1</show_in_website>
628
+ <show_in_store>1</show_in_store>
629
+ </active>
630
+ <show_separately translate="label">
631
+ <label>SKRILL_BACKEND_PM_MODE</label>
632
+ <sort_order>3</sort_order>
633
+ <frontend_type>select</frontend_type>
634
+ <config_path>payment/skrill_msc/show_separately</config_path>
635
+ <source_model>adminhtml/system_config_source_yesno</source_model>
636
+ <show_in_default>1</show_in_default>
637
+ <show_in_website>1</show_in_website>
638
+ <show_in_store>1</show_in_store>
639
+ </show_separately>
640
+ <sort_order translate="label">
641
+ <label>BACKEND_CH_ORDER</label>
642
+ <frontend_type>text</frontend_type>
643
+ <config_path>payment/skrill_msc/sort_order</config_path>
644
+ <sort_order>6</sort_order>
645
+ <show_in_default>1</show_in_default>
646
+ <show_in_website>1</show_in_website>
647
+ <show_in_store>1</show_in_store>
648
+ </sort_order>
649
+ </fields>
650
+ </skrill_msc>
651
+ <skrill_vse translate="label">
652
+ <label>SKRILL_BACKEND_PM_VSE</label>
653
+ <frontend_type>text</frontend_type>
654
+ <sort_order>107</sort_order>
655
+ <show_in_default>1</show_in_default>
656
+ <show_in_website>1</show_in_website>
657
+ <show_in_store>1</show_in_store>
658
+ <fields>
659
+ <!-- <version>
660
+ <label>v1.0.24</label>
661
+ <sort_order>1</sort_order>
662
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
663
+ <frontend_type>label</frontend_type>
664
+ <show_in_default>1</show_in_default>
665
+ <show_in_website>1</show_in_website>
666
+ <show_in_store>1</show_in_store>
667
+ </version> -->
668
+ <active translate="label">
669
+ <label>BACKEND_CH_ACTIVE</label>
670
+ <comment>All Countries (excluding United States Of America)</comment>
671
+ <sort_order>2</sort_order>
672
+ <frontend_type>select</frontend_type>
673
+ <config_path>payment/skrill_vse/active</config_path>
674
+ <source_model>adminhtml/system_config_source_yesno</source_model>
675
+ <show_in_default>1</show_in_default>
676
+ <show_in_website>1</show_in_website>
677
+ <show_in_store>1</show_in_store>
678
+ </active>
679
+ <show_separately translate="label">
680
+ <label>SKRILL_BACKEND_PM_MODE</label>
681
+ <sort_order>3</sort_order>
682
+ <frontend_type>select</frontend_type>
683
+ <config_path>payment/skrill_vse/show_separately</config_path>
684
+ <source_model>adminhtml/system_config_source_yesno</source_model>
685
+ <show_in_default>1</show_in_default>
686
+ <show_in_website>1</show_in_website>
687
+ <show_in_store>1</show_in_store>
688
+ </show_separately>
689
+ <sort_order translate="label">
690
+ <label>BACKEND_CH_ORDER</label>
691
+ <frontend_type>text</frontend_type>
692
+ <config_path>payment/skrill_vse/sort_order</config_path>
693
+ <sort_order>6</sort_order>
694
+ <show_in_default>1</show_in_default>
695
+ <show_in_website>1</show_in_website>
696
+ <show_in_store>1</show_in_store>
697
+ </sort_order>
698
+ </fields>
699
+ </skrill_vse>
700
+ <skrill_mae translate="label">
701
+ <label>SKRILL_BACKEND_PM_MAE</label>
702
+ <frontend_type>text</frontend_type>
703
+ <sort_order>108</sort_order>
704
+ <show_in_default>1</show_in_default>
705
+ <show_in_website>1</show_in_website>
706
+ <show_in_store>1</show_in_store>
707
+ <fields>
708
+ <!-- <version>
709
+ <label>v1.0.24</label>
710
+ <sort_order>1</sort_order>
711
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
712
+ <frontend_type>label</frontend_type>
713
+ <show_in_default>1</show_in_default>
714
+ <show_in_website>1</show_in_website>
715
+ <show_in_store>1</show_in_store>
716
+ </version> -->
717
+ <active translate="label">
718
+ <label>BACKEND_CH_ACTIVE</label>
719
+ <comment>United Kingdom, Spain, Ireland and Austria</comment>
720
+ <sort_order>2</sort_order>
721
+ <frontend_type>select</frontend_type>
722
+ <config_path>payment/skrill_mae/active</config_path>
723
+ <source_model>adminhtml/system_config_source_yesno</source_model>
724
+ <show_in_default>1</show_in_default>
725
+ <show_in_website>1</show_in_website>
726
+ <show_in_store>1</show_in_store>
727
+ </active>
728
+ <show_separately translate="label">
729
+ <label>SKRILL_BACKEND_PM_MODE</label>
730
+ <sort_order>3</sort_order>
731
+ <frontend_type>select</frontend_type>
732
+ <config_path>payment/skrill_mae/show_separately</config_path>
733
+ <source_model>adminhtml/system_config_source_yesno</source_model>
734
+ <show_in_default>1</show_in_default>
735
+ <show_in_website>1</show_in_website>
736
+ <show_in_store>1</show_in_store>
737
+ </show_separately>
738
+ <sort_order translate="label">
739
+ <label>BACKEND_CH_ORDER</label>
740
+ <frontend_type>text</frontend_type>
741
+ <config_path>payment/skrill_mae/sort_order</config_path>
742
+ <sort_order>6</sort_order>
743
+ <show_in_default>1</show_in_default>
744
+ <show_in_website>1</show_in_website>
745
+ <show_in_store>1</show_in_store>
746
+ </sort_order>
747
+ </fields>
748
+ </skrill_mae>
749
+ <skrill_amx translate="label">
750
+ <label>SKRILL_BACKEND_PM_AMX</label>
751
+ <frontend_type>text</frontend_type>
752
+ <sort_order>109</sort_order>
753
+ <show_in_default>1</show_in_default>
754
+ <show_in_website>1</show_in_website>
755
+ <show_in_store>1</show_in_store>
756
+ <fields>
757
+ <!-- <version>
758
+ <label>v1.0.24</label>
759
+ <sort_order>1</sort_order>
760
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
761
+ <frontend_type>label</frontend_type>
762
+ <show_in_default>1</show_in_default>
763
+ <show_in_website>1</show_in_website>
764
+ <show_in_store>1</show_in_store>
765
+ </version> -->
766
+ <active translate="label">
767
+ <label>BACKEND_CH_ACTIVE</label>
768
+ <comment>All Countries</comment>
769
+ <sort_order>2</sort_order>
770
+ <frontend_type>select</frontend_type>
771
+ <config_path>payment/skrill_amx/active</config_path>
772
+ <source_model>adminhtml/system_config_source_yesno</source_model>
773
+ <show_in_default>1</show_in_default>
774
+ <show_in_website>1</show_in_website>
775
+ <show_in_store>1</show_in_store>
776
+ </active>
777
+ <show_separately translate="label">
778
+ <label>SKRILL_BACKEND_PM_MODE</label>
779
+ <sort_order>3</sort_order>
780
+ <frontend_type>select</frontend_type>
781
+ <config_path>payment/skrill_amx/show_separately</config_path>
782
+ <source_model>adminhtml/system_config_source_yesno</source_model>
783
+ <show_in_default>1</show_in_default>
784
+ <show_in_website>1</show_in_website>
785
+ <show_in_store>1</show_in_store>
786
+ </show_separately>
787
+ <sort_order translate="label">
788
+ <label>BACKEND_CH_ORDER</label>
789
+ <frontend_type>text</frontend_type>
790
+ <config_path>payment/skrill_amx/sort_order</config_path>
791
+ <sort_order>6</sort_order>
792
+ <show_in_default>1</show_in_default>
793
+ <show_in_website>1</show_in_website>
794
+ <show_in_store>1</show_in_store>
795
+ </sort_order>
796
+ </fields>
797
+ </skrill_amx>
798
+ <skrill_din translate="label">
799
+ <label>SKRILL_BACKEND_PM_DIN</label>
800
+ <frontend_type>text</frontend_type>
801
+ <sort_order>110</sort_order>
802
+ <show_in_default>1</show_in_default>
803
+ <show_in_website>1</show_in_website>
804
+ <show_in_store>1</show_in_store>
805
+ <fields>
806
+ <!-- <version>
807
+ <label>v1.0.24</label>
808
+ <sort_order>1</sort_order>
809
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
810
+ <frontend_type>label</frontend_type>
811
+ <show_in_default>1</show_in_default>
812
+ <show_in_website>1</show_in_website>
813
+ <show_in_store>1</show_in_store>
814
+ </version> -->
815
+ <active translate="label">
816
+ <label>BACKEND_CH_ACTIVE</label>
817
+ <comment>All Countries</comment>
818
+ <sort_order>2</sort_order>
819
+ <frontend_type>select</frontend_type>
820
+ <config_path>payment/skrill_din/active</config_path>
821
+ <source_model>adminhtml/system_config_source_yesno</source_model>
822
+ <show_in_default>1</show_in_default>
823
+ <show_in_website>1</show_in_website>
824
+ <show_in_store>1</show_in_store>
825
+ </active>
826
+ <show_separately translate="label">
827
+ <label>SKRILL_BACKEND_PM_MODE</label>
828
+ <sort_order>3</sort_order>
829
+ <frontend_type>select</frontend_type>
830
+ <config_path>payment/skrill_din/show_separately</config_path>
831
+ <source_model>adminhtml/system_config_source_yesno</source_model>
832
+ <show_in_default>1</show_in_default>
833
+ <show_in_website>1</show_in_website>
834
+ <show_in_store>1</show_in_store>
835
+ </show_separately>
836
+ <sort_order translate="label">
837
+ <label>BACKEND_CH_ORDER</label>
838
+ <frontend_type>text</frontend_type>
839
+ <config_path>payment/skrill_din/sort_order</config_path>
840
+ <sort_order>6</sort_order>
841
+ <show_in_default>1</show_in_default>
842
+ <show_in_website>1</show_in_website>
843
+ <show_in_store>1</show_in_store>
844
+ </sort_order>
845
+ </fields>
846
+ </skrill_din>
847
+ <skrill_jcb translate="label">
848
+ <label>SKRILL_BACKEND_PM_JCB</label>
849
+ <frontend_type>text</frontend_type>
850
+ <sort_order>111</sort_order>
851
+ <show_in_default>1</show_in_default>
852
+ <show_in_website>1</show_in_website>
853
+ <show_in_store>1</show_in_store>
854
+ <fields>
855
+ <!-- <version>
856
+ <label>v1.0.24</label>
857
+ <sort_order>1</sort_order>
858
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
859
+ <frontend_type>label</frontend_type>
860
+ <show_in_default>1</show_in_default>
861
+ <show_in_website>1</show_in_website>
862
+ <show_in_store>1</show_in_store>
863
+ </version> -->
864
+ <active translate="label">
865
+ <label>BACKEND_CH_ACTIVE</label>
866
+ <comment>All Countries</comment>
867
+ <sort_order>2</sort_order>
868
+ <frontend_type>select</frontend_type>
869
+ <config_path>payment/skrill_jcb/active</config_path>
870
+ <source_model>adminhtml/system_config_source_yesno</source_model>
871
+ <show_in_default>1</show_in_default>
872
+ <show_in_website>1</show_in_website>
873
+ <show_in_store>1</show_in_store>
874
+ </active>
875
+ <show_separately translate="label">
876
+ <label>SKRILL_BACKEND_PM_MODE</label>
877
+ <sort_order>3</sort_order>
878
+ <frontend_type>select</frontend_type>
879
+ <config_path>payment/skrill_jcb/show_separately</config_path>
880
+ <source_model>adminhtml/system_config_source_yesno</source_model>
881
+ <show_in_default>1</show_in_default>
882
+ <show_in_website>1</show_in_website>
883
+ <show_in_store>1</show_in_store>
884
+ </show_separately>
885
+ <sort_order translate="label">
886
+ <label>BACKEND_CH_ORDER</label>
887
+ <frontend_type>text</frontend_type>
888
+ <config_path>payment/skrill_jcb/sort_order</config_path>
889
+ <sort_order>6</sort_order>
890
+ <show_in_default>1</show_in_default>
891
+ <show_in_website>1</show_in_website>
892
+ <show_in_store>1</show_in_store>
893
+ </sort_order>
894
+ </fields>
895
+ </skrill_jcb>
896
+ <skrill_gcb translate="label">
897
+ <label>SKRILL_BACKEND_PM_GCB</label>
898
+ <frontend_type>text</frontend_type>
899
+ <sort_order>112</sort_order>
900
+ <show_in_default>1</show_in_default>
901
+ <show_in_website>1</show_in_website>
902
+ <show_in_store>1</show_in_store>
903
+ <fields>
904
+ <!-- <version>
905
+ <label>v1.0.24</label>
906
+ <sort_order>1</sort_order>
907
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
908
+ <frontend_type>label</frontend_type>
909
+ <show_in_default>1</show_in_default>
910
+ <show_in_website>1</show_in_website>
911
+ <show_in_store>1</show_in_store>
912
+ </version> -->
913
+ <active translate="label">
914
+ <label>BACKEND_CH_ACTIVE</label>
915
+ <comment>France</comment>
916
+ <sort_order>2</sort_order>
917
+ <frontend_type>select</frontend_type>
918
+ <config_path>payment/skrill_gcb/active</config_path>
919
+ <source_model>adminhtml/system_config_source_yesno</source_model>
920
+ <show_in_default>1</show_in_default>
921
+ <show_in_website>1</show_in_website>
922
+ <show_in_store>1</show_in_store>
923
+ </active>
924
+ <show_separately translate="label">
925
+ <label>SKRILL_BACKEND_PM_MODE</label>
926
+ <sort_order>3</sort_order>
927
+ <frontend_type>select</frontend_type>
928
+ <config_path>payment/skrill_gcb/show_separately</config_path>
929
+ <source_model>adminhtml/system_config_source_yesno</source_model>
930
+ <show_in_default>1</show_in_default>
931
+ <show_in_website>1</show_in_website>
932
+ <show_in_store>1</show_in_store>
933
+ </show_separately>
934
+ <sort_order translate="label">
935
+ <label>BACKEND_CH_ORDER</label>
936
+ <frontend_type>text</frontend_type>
937
+ <config_path>payment/skrill_gcb/sort_order</config_path>
938
+ <sort_order>6</sort_order>
939
+ <show_in_default>1</show_in_default>
940
+ <show_in_website>1</show_in_website>
941
+ <show_in_store>1</show_in_store>
942
+ </sort_order>
943
+ </fields>
944
+ </skrill_gcb>
945
+ <skrill_dnk translate="label">
946
+ <label>SKRILL_BACKEND_PM_DNK</label>
947
+ <frontend_type>text</frontend_type>
948
+ <sort_order>113</sort_order>
949
+ <show_in_default>1</show_in_default>
950
+ <show_in_website>1</show_in_website>
951
+ <show_in_store>1</show_in_store>
952
+ <fields>
953
+ <!-- <version>
954
+ <label>v1.0.24</label>
955
+ <sort_order>1</sort_order>
956
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
957
+ <frontend_type>label</frontend_type>
958
+ <show_in_default>1</show_in_default>
959
+ <show_in_website>1</show_in_website>
960
+ <show_in_store>1</show_in_store>
961
+ </version> -->
962
+ <active translate="label">
963
+ <label>BACKEND_CH_ACTIVE</label>
964
+ <comment>Denmark</comment>
965
+ <sort_order>2</sort_order>
966
+ <frontend_type>select</frontend_type>
967
+ <config_path>payment/skrill_dnk/active</config_path>
968
+ <source_model>adminhtml/system_config_source_yesno</source_model>
969
+ <show_in_default>1</show_in_default>
970
+ <show_in_website>1</show_in_website>
971
+ <show_in_store>1</show_in_store>
972
+ </active>
973
+ <show_separately translate="label">
974
+ <label>SKRILL_BACKEND_PM_MODE</label>
975
+ <sort_order>3</sort_order>
976
+ <frontend_type>select</frontend_type>
977
+ <config_path>payment/skrill_dnk/show_separately</config_path>
978
+ <source_model>adminhtml/system_config_source_yesno</source_model>
979
+ <show_in_default>1</show_in_default>
980
+ <show_in_website>1</show_in_website>
981
+ <show_in_store>1</show_in_store>
982
+ </show_separately>
983
+ <sort_order translate="label">
984
+ <label>BACKEND_CH_ORDER</label>
985
+ <frontend_type>text</frontend_type>
986
+ <config_path>payment/skrill_dnk/sort_order</config_path>
987
+ <sort_order>6</sort_order>
988
+ <show_in_default>1</show_in_default>
989
+ <show_in_website>1</show_in_website>
990
+ <show_in_store>1</show_in_store>
991
+ </sort_order>
992
+ </fields>
993
+ </skrill_dnk>
994
+ <skrill_psp translate="label">
995
+ <label>SKRILL_BACKEND_PM_PSP</label>
996
+ <frontend_type>text</frontend_type>
997
+ <sort_order>114</sort_order>
998
+ <show_in_default>1</show_in_default>
999
+ <show_in_website>1</show_in_website>
1000
+ <show_in_store>1</show_in_store>
1001
+ <fields>
1002
+ <!-- <version>
1003
+ <label>v1.0.24</label>
1004
+ <sort_order>1</sort_order>
1005
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1006
+ <frontend_type>label</frontend_type>
1007
+ <show_in_default>1</show_in_default>
1008
+ <show_in_website>1</show_in_website>
1009
+ <show_in_store>1</show_in_store>
1010
+ </version> -->
1011
+ <active translate="label">
1012
+ <label>BACKEND_CH_ACTIVE</label>
1013
+ <comment>Italy</comment>
1014
+ <sort_order>2</sort_order>
1015
+ <frontend_type>select</frontend_type>
1016
+ <config_path>payment/skrill_psp/active</config_path>
1017
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1018
+ <show_in_default>1</show_in_default>
1019
+ <show_in_website>1</show_in_website>
1020
+ <show_in_store>1</show_in_store>
1021
+ </active>
1022
+ <show_separately translate="label">
1023
+ <label>SKRILL_BACKEND_PM_MODE</label>
1024
+ <sort_order>3</sort_order>
1025
+ <frontend_type>select</frontend_type>
1026
+ <config_path>payment/skrill_psp/show_separately</config_path>
1027
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1028
+ <show_in_default>1</show_in_default>
1029
+ <show_in_website>1</show_in_website>
1030
+ <show_in_store>1</show_in_store>
1031
+ </show_separately>
1032
+ <sort_order translate="label">
1033
+ <label>BACKEND_CH_ORDER</label>
1034
+ <frontend_type>text</frontend_type>
1035
+ <config_path>payment/skrill_psp/sort_order</config_path>
1036
+ <sort_order>6</sort_order>
1037
+ <show_in_default>1</show_in_default>
1038
+ <show_in_website>1</show_in_website>
1039
+ <show_in_store>1</show_in_store>
1040
+ </sort_order>
1041
+ </fields>
1042
+ </skrill_psp>
1043
+ <skrill_csi translate="label">
1044
+ <label>SKRILL_BACKEND_PM_CSI</label>
1045
+ <frontend_type>text</frontend_type>
1046
+ <sort_order>115</sort_order>
1047
+ <show_in_default>1</show_in_default>
1048
+ <show_in_website>1</show_in_website>
1049
+ <show_in_store>1</show_in_store>
1050
+ <fields>
1051
+ <!-- <version>
1052
+ <label>v1.0.24</label>
1053
+ <sort_order>1</sort_order>
1054
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1055
+ <frontend_type>label</frontend_type>
1056
+ <show_in_default>1</show_in_default>
1057
+ <show_in_website>1</show_in_website>
1058
+ <show_in_store>1</show_in_store>
1059
+ </version> -->
1060
+ <active translate="label">
1061
+ <label>BACKEND_CH_ACTIVE</label>
1062
+ <comment>Italy</comment>
1063
+ <sort_order>2</sort_order>
1064
+ <frontend_type>select</frontend_type>
1065
+ <config_path>payment/skrill_csi/active</config_path>
1066
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1067
+ <show_in_default>1</show_in_default>
1068
+ <show_in_website>1</show_in_website>
1069
+ <show_in_store>1</show_in_store>
1070
+ </active>
1071
+ <show_separately translate="label">
1072
+ <label>SKRILL_BACKEND_PM_MODE</label>
1073
+ <sort_order>3</sort_order>
1074
+ <frontend_type>select</frontend_type>
1075
+ <config_path>payment/skrill_csi/show_separately</config_path>
1076
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1077
+ <show_in_default>1</show_in_default>
1078
+ <show_in_website>1</show_in_website>
1079
+ <show_in_store>1</show_in_store>
1080
+ </show_separately>
1081
+ <sort_order translate="label">
1082
+ <label>BACKEND_CH_ORDER</label>
1083
+ <frontend_type>text</frontend_type>
1084
+ <config_path>payment/skrill_csi/sort_order</config_path>
1085
+ <sort_order>6</sort_order>
1086
+ <show_in_default>1</show_in_default>
1087
+ <show_in_website>1</show_in_website>
1088
+ <show_in_store>1</show_in_store>
1089
+ </sort_order>
1090
+ </fields>
1091
+ </skrill_csi>
1092
+ <skrill_obt translate="label">
1093
+ <label>SKRILL_BACKEND_PM_OBT</label>
1094
+ <frontend_type>text</frontend_type>
1095
+ <sort_order>116</sort_order>
1096
+ <show_in_default>1</show_in_default>
1097
+ <show_in_website>1</show_in_website>
1098
+ <show_in_store>1</show_in_store>
1099
+ <fields>
1100
+ <!-- <version>
1101
+ <label>v1.0.24</label>
1102
+ <sort_order>1</sort_order>
1103
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1104
+ <frontend_type>label</frontend_type>
1105
+ <show_in_default>1</show_in_default>
1106
+ <show_in_website>1</show_in_website>
1107
+ <show_in_store>1</show_in_store>
1108
+ </version> -->
1109
+ <active translate="label">
1110
+ <label>BACKEND_CH_ACTIVE</label>
1111
+ <comment>Germany, United Kingdom, France, Italy, Spain, Hungary and Austria</comment>
1112
+ <sort_order>2</sort_order>
1113
+ <frontend_type>select</frontend_type>
1114
+ <config_path>payment/skrill_obt/active</config_path>
1115
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1116
+ <show_in_default>1</show_in_default>
1117
+ <show_in_website>1</show_in_website>
1118
+ <show_in_store>1</show_in_store>
1119
+ </active>
1120
+ <show_separately translate="label">
1121
+ <label>SKRILL_BACKEND_PM_MODE</label>
1122
+ <sort_order>3</sort_order>
1123
+ <frontend_type>select</frontend_type>
1124
+ <config_path>payment/skrill_obt/show_separately</config_path>
1125
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1126
+ <show_in_default>1</show_in_default>
1127
+ <show_in_website>1</show_in_website>
1128
+ <show_in_store>1</show_in_store>
1129
+ </show_separately>
1130
+ <sort_order translate="label">
1131
+ <label>BACKEND_CH_ORDER</label>
1132
+ <frontend_type>text</frontend_type>
1133
+ <config_path>payment/skrill_obt/sort_order</config_path>
1134
+ <sort_order>6</sort_order>
1135
+ <show_in_default>1</show_in_default>
1136
+ <show_in_website>1</show_in_website>
1137
+ <show_in_store>1</show_in_store>
1138
+ </sort_order>
1139
+ </fields>
1140
+ </skrill_obt>
1141
+ <skrill_ntl translate="label">
1142
+ <label>SKRILL_BACKEND_PM_NTL</label>
1143
+ <frontend_type>text</frontend_type>
1144
+ <sort_order>127</sort_order>
1145
+ <show_in_default>1</show_in_default>
1146
+ <show_in_website>1</show_in_website>
1147
+ <show_in_store>1</show_in_store>
1148
+ <fields>
1149
+ <!-- <version>
1150
+ <label>v1.0.6</label>
1151
+ <sort_order>1</sort_order>
1152
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1153
+ <frontend_type>label</frontend_type>
1154
+ <show_in_default>1</show_in_default>
1155
+ <show_in_website>1</show_in_website>
1156
+ <show_in_store>1</show_in_store>
1157
+ </version> -->
1158
+ <active translate="label">
1159
+ <label>BACKEND_CH_ACTIVE</label>
1160
+ <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>
1161
+ <sort_order>2</sort_order>
1162
+ <frontend_type>select</frontend_type>
1163
+ <config_path>payment/skrill_ntl/active</config_path>
1164
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1165
+ <show_in_default>1</show_in_default>
1166
+ <show_in_website>1</show_in_website>
1167
+ <show_in_store>1</show_in_store>
1168
+ </active>
1169
+ <show_separately translate="label">
1170
+ <label>SKRILL_BACKEND_PM_MODE</label>
1171
+ <sort_order>3</sort_order>
1172
+ <frontend_type>select</frontend_type>
1173
+ <config_path>payment/skrill_ntl/show_separately</config_path>
1174
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1175
+ <show_in_default>1</show_in_default>
1176
+ <show_in_website>1</show_in_website>
1177
+ <show_in_store>1</show_in_store>
1178
+ </show_separately>
1179
+ <sort_order translate="label">
1180
+ <label>BACKEND_CH_ORDER</label>
1181
+ <frontend_type>text</frontend_type>
1182
+ <config_path>payment/skrill_ntl/sort_order</config_path>
1183
+ <sort_order>6</sort_order>
1184
+ <show_in_default>1</show_in_default>
1185
+ <show_in_website>1</show_in_website>
1186
+ <show_in_store>1</show_in_store>
1187
+ </sort_order>
1188
+ </fields>
1189
+ </skrill_ntl>
1190
+ <skrill_gir translate="label">
1191
+ <label>SKRILL_BACKEND_PM_GIR</label>
1192
+ <frontend_type>text</frontend_type>
1193
+ <sort_order>117</sort_order>
1194
+ <show_in_default>1</show_in_default>
1195
+ <show_in_website>1</show_in_website>
1196
+ <show_in_store>1</show_in_store>
1197
+ <fields>
1198
+ <!-- <version>
1199
+ <label>v1.0.24</label>
1200
+ <sort_order>1</sort_order>
1201
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1202
+ <frontend_type>label</frontend_type>
1203
+ <show_in_default>1</show_in_default>
1204
+ <show_in_website>1</show_in_website>
1205
+ <show_in_store>1</show_in_store>
1206
+ </version> -->
1207
+ <active translate="label">
1208
+ <label>BACKEND_CH_ACTIVE</label>
1209
+ <comment>Germany</comment>
1210
+ <sort_order>2</sort_order>
1211
+ <frontend_type>select</frontend_type>
1212
+ <config_path>payment/skrill_gir/active</config_path>
1213
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1214
+ <show_in_default>1</show_in_default>
1215
+ <show_in_website>1</show_in_website>
1216
+ <show_in_store>1</show_in_store>
1217
+ </active>
1218
+ <!-- <gateway translate="label">
1219
+ <label>SKRILL_BACKEND_GATE</label>
1220
+ <sort_order>3</sort_order>
1221
+ <frontend_type>select</frontend_type>
1222
+ <config_path>payment/skrill_gir/gateway</config_path>
1223
+ <source_model>skrill/source_gateway</source_model>
1224
+ <show_in_default>1</show_in_default>
1225
+ <show_in_website>1</show_in_website>
1226
+ <show_in_store>1</show_in_store>
1227
+ </gateway> -->
1228
+ <show_separately translate="label">
1229
+ <label>SKRILL_BACKEND_PM_MODE</label>
1230
+ <sort_order>4</sort_order>
1231
+ <frontend_type>select</frontend_type>
1232
+ <config_path>payment/skrill_gir/show_separately</config_path>
1233
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1234
+ <show_in_default>1</show_in_default>
1235
+ <show_in_website>1</show_in_website>
1236
+ <show_in_store>1</show_in_store>
1237
+ </show_separately>
1238
+ <!-- <server_mode translate="label">
1239
+ <label>BACKEND_CH_SERVER</label>
1240
+ <frontend_type>select</frontend_type>
1241
+ <config_path>payment/skrill_gir/server_mode</config_path>
1242
+ <sort_order>5</sort_order>
1243
+ <source_model>skrill/source_mode</source_model>
1244
+ <show_in_default>1</show_in_default>
1245
+ <show_in_website>1</show_in_website>
1246
+ <show_in_store>1</show_in_store>
1247
+ </server_mode>
1248
+ <channel_id translate="label">
1249
+ <label>BACKEND_CH_CHANNEL</label>
1250
+ <sort_order>6</sort_order>
1251
+ <frontend_type>text</frontend_type>
1252
+ <config_path>payment/skrill_gir/channel_id</config_path>
1253
+ <show_in_default>1</show_in_default>
1254
+ <show_in_website>1</show_in_website>
1255
+ <show_in_store>1</show_in_store>
1256
+ </channel_id>
1257
+ <sender translate="label">
1258
+ <label>BACKEND_CH_SENDER</label>
1259
+ <sort_order>7</sort_order>
1260
+ <frontend_type>text</frontend_type>
1261
+ <config_path>payment/skrill_gir/sender</config_path>
1262
+ <show_in_default>1</show_in_default>
1263
+ <show_in_website>1</show_in_website>
1264
+ <show_in_store>1</show_in_store>
1265
+ </sender>
1266
+ <login translate="label">
1267
+ <label>BACKEND_CH_LOGIN</label>
1268
+ <sort_order>8</sort_order>
1269
+ <frontend_type>text</frontend_type>
1270
+ <config_path>payment/skrill_gir/login</config_path>
1271
+ <show_in_default>1</show_in_default>
1272
+ <show_in_website>1</show_in_website>
1273
+ <show_in_store>1</show_in_store>
1274
+ </login>
1275
+ <password translate="label">
1276
+ <label>BACKEND_CH_PASSWORD</label>
1277
+ <sort_order>9</sort_order>
1278
+ <frontend_type>text</frontend_type>
1279
+ <config_path>payment/skrill_gir/password</config_path>
1280
+ <show_in_default>1</show_in_default>
1281
+ <show_in_website>1</show_in_website>
1282
+ <show_in_store>1</show_in_store>
1283
+ </password>
1284
+ <allowspecific translate="label">
1285
+ <label>BACKEND_CH_COUNTRIES</label>
1286
+ <sort_order>10</sort_order>
1287
+ <frontend_type>allowspecific</frontend_type>
1288
+ <config_path>payment/skrill_gir/allowspecific</config_path>
1289
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1290
+ <show_in_default>1</show_in_default>
1291
+ <show_in_website>1</show_in_website>
1292
+ <show_in_store>1</show_in_store>
1293
+ </allowspecific>
1294
+ <specificcountry translate="label">
1295
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1296
+ <sort_order>11</sort_order>
1297
+ <frontend_type>multiselect</frontend_type>
1298
+ <config_path>payment/skrill_gir/specificcountry</config_path>
1299
+ <source_model>adminhtml/system_config_source_country</source_model>
1300
+ <can_be_empty>1</can_be_empty>
1301
+ <show_in_default>1</show_in_default>
1302
+ <show_in_website>1</show_in_website>
1303
+ <show_in_store>1</show_in_store>
1304
+ </specificcountry> -->
1305
+ <sort_order translate="label">
1306
+ <label>BACKEND_CH_ORDER</label>
1307
+ <frontend_type>text</frontend_type>
1308
+ <config_path>payment/skrill_gir/sort_order</config_path>
1309
+ <sort_order>12</sort_order>
1310
+ <show_in_default>1</show_in_default>
1311
+ <show_in_website>1</show_in_website>
1312
+ <show_in_store>1</show_in_store>
1313
+ </sort_order>
1314
+ </fields>
1315
+ </skrill_gir>
1316
+ <skrill_did translate="label">
1317
+ <label>SKRILL_BACKEND_PM_DID</label>
1318
+ <frontend_type>text</frontend_type>
1319
+ <sort_order>118</sort_order>
1320
+ <show_in_default>1</show_in_default>
1321
+ <show_in_website>1</show_in_website>
1322
+ <show_in_store>1</show_in_store>
1323
+ <fields>
1324
+ <!-- <version>
1325
+ <label>v1.0.24</label>
1326
+ <sort_order>1</sort_order>
1327
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1328
+ <frontend_type>label</frontend_type>
1329
+ <show_in_default>1</show_in_default>
1330
+ <show_in_website>1</show_in_website>
1331
+ <show_in_store>1</show_in_store>
1332
+ </version> -->
1333
+ <active translate="label">
1334
+ <label>BACKEND_CH_ACTIVE</label>
1335
+ <comment>Germany</comment>
1336
+ <sort_order>2</sort_order>
1337
+ <frontend_type>select</frontend_type>
1338
+ <config_path>payment/skrill_did/active</config_path>
1339
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1340
+ <show_in_default>1</show_in_default>
1341
+ <show_in_website>1</show_in_website>
1342
+ <show_in_store>1</show_in_store>
1343
+ </active>
1344
+ <!-- <gateway translate="label">
1345
+ <label>SKRILL_BACKEND_GATE</label>
1346
+ <sort_order>3</sort_order>
1347
+ <frontend_type>select</frontend_type>
1348
+ <config_path>payment/skrill_did/gateway</config_path>
1349
+ <source_model>skrill/source_gateway</source_model>
1350
+ <show_in_default>1</show_in_default>
1351
+ <show_in_website>1</show_in_website>
1352
+ <show_in_store>1</show_in_store>
1353
+ </gateway> -->
1354
+ <show_separately translate="label">
1355
+ <label>SKRILL_BACKEND_PM_MODE</label>
1356
+ <sort_order>4</sort_order>
1357
+ <frontend_type>select</frontend_type>
1358
+ <config_path>payment/skrill_did/show_separately</config_path>
1359
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1360
+ <show_in_default>1</show_in_default>
1361
+ <show_in_website>1</show_in_website>
1362
+ <show_in_store>1</show_in_store>
1363
+ </show_separately>
1364
+ <!-- <server_mode translate="label">
1365
+ <label>BACKEND_CH_SERVER</label>
1366
+ <frontend_type>select</frontend_type>
1367
+ <config_path>payment/skrill_did/server_mode</config_path>
1368
+ <sort_order>5</sort_order>
1369
+ <source_model>skrill/source_mode</source_model>
1370
+ <show_in_default>1</show_in_default>
1371
+ <show_in_website>1</show_in_website>
1372
+ <show_in_store>1</show_in_store>
1373
+ </server_mode>
1374
+ <channel_id translate="label">
1375
+ <label>BACKEND_CH_CHANNEL</label>
1376
+ <sort_order>6</sort_order>
1377
+ <frontend_type>text</frontend_type>
1378
+ <config_path>payment/skrill_did/channel_id</config_path>
1379
+ <show_in_default>1</show_in_default>
1380
+ <show_in_website>1</show_in_website>
1381
+ <show_in_store>1</show_in_store>
1382
+ </channel_id>
1383
+ <sender translate="label">
1384
+ <label>BACKEND_CH_SENDER</label>
1385
+ <sort_order>7</sort_order>
1386
+ <frontend_type>text</frontend_type>
1387
+ <config_path>payment/skrill_did/sender</config_path>
1388
+ <show_in_default>1</show_in_default>
1389
+ <show_in_website>1</show_in_website>
1390
+ <show_in_store>1</show_in_store>
1391
+ </sender>
1392
+ <login translate="label">
1393
+ <label>BACKEND_CH_LOGIN</label>
1394
+ <sort_order>8</sort_order>
1395
+ <frontend_type>text</frontend_type>
1396
+ <config_path>payment/skrill_did/login</config_path>
1397
+ <show_in_default>1</show_in_default>
1398
+ <show_in_website>1</show_in_website>
1399
+ <show_in_store>1</show_in_store>
1400
+ </login>
1401
+ <password translate="label">
1402
+ <label>BACKEND_CH_PASSWORD</label>
1403
+ <sort_order>9</sort_order>
1404
+ <frontend_type>text</frontend_type>
1405
+ <config_path>payment/skrill_did/password</config_path>
1406
+ <show_in_default>1</show_in_default>
1407
+ <show_in_website>1</show_in_website>
1408
+ <show_in_store>1</show_in_store>
1409
+ </password>
1410
+ <allowspecific translate="label">
1411
+ <label>BACKEND_CH_COUNTRIES</label>
1412
+ <sort_order>10</sort_order>
1413
+ <frontend_type>allowspecific</frontend_type>
1414
+ <config_path>payment/skrill_did/allowspecific</config_path>
1415
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1416
+ <show_in_default>1</show_in_default>
1417
+ <show_in_website>1</show_in_website>
1418
+ <show_in_store>1</show_in_store>
1419
+ </allowspecific>
1420
+ <specificcountry translate="label">
1421
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1422
+ <sort_order>11</sort_order>
1423
+ <frontend_type>multiselect</frontend_type>
1424
+ <config_path>payment/skrill_did/specificcountry</config_path>
1425
+ <source_model>adminhtml/system_config_source_country</source_model>
1426
+ <can_be_empty>1</can_be_empty>
1427
+ <show_in_default>1</show_in_default>
1428
+ <show_in_website>1</show_in_website>
1429
+ <show_in_store>1</show_in_store>
1430
+ </specificcountry> -->
1431
+ <sort_order translate="label">
1432
+ <label>BACKEND_CH_ORDER</label>
1433
+ <frontend_type>text</frontend_type>
1434
+ <config_path>payment/skrill_did/sort_order</config_path>
1435
+ <sort_order>12</sort_order>
1436
+ <show_in_default>1</show_in_default>
1437
+ <show_in_website>1</show_in_website>
1438
+ <show_in_store>1</show_in_store>
1439
+ </sort_order>
1440
+ </fields>
1441
+ </skrill_did>
1442
+ <skrill_sft translate="label">
1443
+ <label>SKRILL_BACKEND_PM_SFT</label>
1444
+ <frontend_type>text</frontend_type>
1445
+ <sort_order>119</sort_order>
1446
+ <show_in_default>1</show_in_default>
1447
+ <show_in_website>1</show_in_website>
1448
+ <show_in_store>1</show_in_store>
1449
+ <fields>
1450
+ <!-- <version>
1451
+ <label>v1.0.24</label>
1452
+ <sort_order>1</sort_order>
1453
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1454
+ <frontend_type>label</frontend_type>
1455
+ <show_in_default>1</show_in_default>
1456
+ <show_in_website>1</show_in_website>
1457
+ <show_in_store>1</show_in_store>
1458
+ </version> -->
1459
+ <active translate="label">
1460
+ <label>BACKEND_CH_ACTIVE</label>
1461
+ <comment>Germany, Austria, Belgium, Netherlands, Italy, France, Poland and United Kingdom</comment>
1462
+ <sort_order>2</sort_order>
1463
+ <frontend_type>select</frontend_type>
1464
+ <config_path>payment/skrill_sft/active</config_path>
1465
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1466
+ <show_in_default>1</show_in_default>
1467
+ <show_in_website>1</show_in_website>
1468
+ <show_in_store>1</show_in_store>
1469
+ </active>
1470
+ <!-- <gateway translate="label">
1471
+ <label>SKRILL_BACKEND_GATE</label>
1472
+ <sort_order>3</sort_order>
1473
+ <frontend_type>select</frontend_type>
1474
+ <config_path>payment/skrill_sft/gateway</config_path>
1475
+ <source_model>skrill/source_gateway</source_model>
1476
+ <show_in_default>1</show_in_default>
1477
+ <show_in_website>1</show_in_website>
1478
+ <show_in_store>1</show_in_store>
1479
+ </gateway> -->
1480
+ <show_separately translate="label">
1481
+ <label>SKRILL_BACKEND_PM_MODE</label>
1482
+ <sort_order>4</sort_order>
1483
+ <frontend_type>select</frontend_type>
1484
+ <config_path>payment/skrill_sft/show_separately</config_path>
1485
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1486
+ <show_in_default>1</show_in_default>
1487
+ <show_in_website>1</show_in_website>
1488
+ <show_in_store>1</show_in_store>
1489
+ </show_separately>
1490
+ <!-- <server_mode translate="label">
1491
+ <label>BACKEND_CH_SERVER</label>
1492
+ <frontend_type>select</frontend_type>
1493
+ <config_path>payment/skrill_sft/server_mode</config_path>
1494
+ <sort_order>5</sort_order>
1495
+ <source_model>skrill/source_mode</source_model>
1496
+ <show_in_default>1</show_in_default>
1497
+ <show_in_website>1</show_in_website>
1498
+ <show_in_store>1</show_in_store>
1499
+ </server_mode>
1500
+ <channel_id translate="label">
1501
+ <label>BACKEND_CH_CHANNEL</label>
1502
+ <sort_order>6</sort_order>
1503
+ <frontend_type>text</frontend_type>
1504
+ <config_path>payment/skrill_sft/channel_id</config_path>
1505
+ <show_in_default>1</show_in_default>
1506
+ <show_in_website>1</show_in_website>
1507
+ <show_in_store>1</show_in_store>
1508
+ </channel_id>
1509
+ <sender translate="label">
1510
+ <label>BACKEND_CH_SENDER</label>
1511
+ <sort_order>7</sort_order>
1512
+ <frontend_type>text</frontend_type>
1513
+ <config_path>payment/skrill_sft/sender</config_path>
1514
+ <show_in_default>1</show_in_default>
1515
+ <show_in_website>1</show_in_website>
1516
+ <show_in_store>1</show_in_store>
1517
+ </sender>
1518
+ <login translate="label">
1519
+ <label>BACKEND_CH_LOGIN</label>
1520
+ <sort_order>8</sort_order>
1521
+ <frontend_type>text</frontend_type>
1522
+ <config_path>payment/skrill_sft/login</config_path>
1523
+ <show_in_default>1</show_in_default>
1524
+ <show_in_website>1</show_in_website>
1525
+ <show_in_store>1</show_in_store>
1526
+ </login>
1527
+ <password translate="label">
1528
+ <label>BACKEND_CH_PASSWORD</label>
1529
+ <sort_order>9</sort_order>
1530
+ <frontend_type>text</frontend_type>
1531
+ <config_path>payment/skrill_sft/password</config_path>
1532
+ <show_in_default>1</show_in_default>
1533
+ <show_in_website>1</show_in_website>
1534
+ <show_in_store>1</show_in_store>
1535
+ </password>
1536
+ <allowspecific translate="label">
1537
+ <label>BACKEND_CH_COUNTRIES</label>
1538
+ <sort_order>10</sort_order>
1539
+ <frontend_type>allowspecific</frontend_type>
1540
+ <config_path>payment/skrill_sft/allowspecific</config_path>
1541
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1542
+ <show_in_default>1</show_in_default>
1543
+ <show_in_website>1</show_in_website>
1544
+ <show_in_store>1</show_in_store>
1545
+ </allowspecific>
1546
+ <specificcountry translate="label">
1547
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1548
+ <sort_order>11</sort_order>
1549
+ <frontend_type>multiselect</frontend_type>
1550
+ <config_path>payment/skrill_sft/specificcountry</config_path>
1551
+ <source_model>adminhtml/system_config_source_country</source_model>
1552
+ <can_be_empty>1</can_be_empty>
1553
+ <show_in_default>1</show_in_default>
1554
+ <show_in_website>1</show_in_website>
1555
+ <show_in_store>1</show_in_store>
1556
+ </specificcountry> -->
1557
+ <sort_order translate="label">
1558
+ <label>BACKEND_CH_ORDER</label>
1559
+ <frontend_type>text</frontend_type>
1560
+ <config_path>payment/skrill_sft/sort_order</config_path>
1561
+ <sort_order>12</sort_order>
1562
+ <show_in_default>1</show_in_default>
1563
+ <show_in_website>1</show_in_website>
1564
+ <show_in_store>1</show_in_store>
1565
+ </sort_order>
1566
+ </fields>
1567
+ </skrill_sft>
1568
+ <skrill_ebt translate="label">
1569
+ <label>SKRILL_BACKEND_PM_EBT</label>
1570
+ <frontend_type>text</frontend_type>
1571
+ <sort_order>121</sort_order>
1572
+ <show_in_default>1</show_in_default>
1573
+ <show_in_website>1</show_in_website>
1574
+ <show_in_store>1</show_in_store>
1575
+ <fields>
1576
+ <!-- <version>
1577
+ <label>v1.0.24</label>
1578
+ <sort_order>1</sort_order>
1579
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1580
+ <frontend_type>label</frontend_type>
1581
+ <show_in_default>1</show_in_default>
1582
+ <show_in_website>1</show_in_website>
1583
+ <show_in_store>1</show_in_store>
1584
+ </version> -->
1585
+ <active translate="label">
1586
+ <label>BACKEND_CH_ACTIVE</label>
1587
+ <comment>Sweden</comment>
1588
+ <sort_order>2</sort_order>
1589
+ <frontend_type>select</frontend_type>
1590
+ <config_path>payment/skrill_ebt/active</config_path>
1591
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1592
+ <show_in_default>1</show_in_default>
1593
+ <show_in_website>1</show_in_website>
1594
+ <show_in_store>1</show_in_store>
1595
+ </active>
1596
+ <show_separately translate="label">
1597
+ <label>SKRILL_BACKEND_PM_MODE</label>
1598
+ <sort_order>3</sort_order>
1599
+ <frontend_type>select</frontend_type>
1600
+ <config_path>payment/skrill_ebt/show_separately</config_path>
1601
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1602
+ <show_in_default>1</show_in_default>
1603
+ <show_in_website>1</show_in_website>
1604
+ <show_in_store>1</show_in_store>
1605
+ </show_separately>
1606
+ <sort_order translate="label">
1607
+ <label>BACKEND_CH_ORDER</label>
1608
+ <frontend_type>text</frontend_type>
1609
+ <config_path>payment/skrill_ebt/sort_order</config_path>
1610
+ <sort_order>6</sort_order>
1611
+ <show_in_default>1</show_in_default>
1612
+ <show_in_website>1</show_in_website>
1613
+ <show_in_store>1</show_in_store>
1614
+ </sort_order>
1615
+ </fields>
1616
+ </skrill_ebt>
1617
+ <skrill_idl translate="label">
1618
+ <label>SKRILL_BACKEND_PM_IDL</label>
1619
+ <frontend_type>text</frontend_type>
1620
+ <sort_order>122</sort_order>
1621
+ <show_in_default>1</show_in_default>
1622
+ <show_in_website>1</show_in_website>
1623
+ <show_in_store>1</show_in_store>
1624
+ <fields>
1625
+ <!-- <version>
1626
+ <label>v1.0.24</label>
1627
+ <sort_order>1</sort_order>
1628
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1629
+ <frontend_type>label</frontend_type>
1630
+ <show_in_default>1</show_in_default>
1631
+ <show_in_website>1</show_in_website>
1632
+ <show_in_store>1</show_in_store>
1633
+ </version> -->
1634
+ <active translate="label">
1635
+ <label>BACKEND_CH_ACTIVE</label>
1636
+ <comment>Netherlands</comment>
1637
+ <sort_order>2</sort_order>
1638
+ <frontend_type>select</frontend_type>
1639
+ <config_path>payment/skrill_idl/active</config_path>
1640
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1641
+ <show_in_default>1</show_in_default>
1642
+ <show_in_website>1</show_in_website>
1643
+ <show_in_store>1</show_in_store>
1644
+ </active>
1645
+ <!-- <gateway translate="label">
1646
+ <label>SKRILL_BACKEND_GATE</label>
1647
+ <sort_order>3</sort_order>
1648
+ <frontend_type>select</frontend_type>
1649
+ <config_path>payment/skrill_idl/gateway</config_path>
1650
+ <source_model>skrill/source_gateway</source_model>
1651
+ <show_in_default>1</show_in_default>
1652
+ <show_in_website>1</show_in_website>
1653
+ <show_in_store>1</show_in_store>
1654
+ </gateway> -->
1655
+ <show_separately translate="label">
1656
+ <label>SKRILL_BACKEND_PM_MODE</label>
1657
+ <sort_order>4</sort_order>
1658
+ <frontend_type>select</frontend_type>
1659
+ <config_path>payment/skrill_idl/show_separately</config_path>
1660
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1661
+ <show_in_default>1</show_in_default>
1662
+ <show_in_website>1</show_in_website>
1663
+ <show_in_store>1</show_in_store>
1664
+ </show_separately>
1665
+ <!-- <server_mode translate="label">
1666
+ <label>BACKEND_CH_SERVER</label>
1667
+ <frontend_type>select</frontend_type>
1668
+ <config_path>payment/skrill_idl/server_mode</config_path>
1669
+ <sort_order>5</sort_order>
1670
+ <source_model>skrill/source_mode</source_model>
1671
+ <show_in_default>1</show_in_default>
1672
+ <show_in_website>1</show_in_website>
1673
+ <show_in_store>1</show_in_store>
1674
+ </server_mode>
1675
+ <channel_id translate="label">
1676
+ <label>BACKEND_CH_CHANNEL</label>
1677
+ <sort_order>6</sort_order>
1678
+ <frontend_type>text</frontend_type>
1679
+ <config_path>payment/skrill_idl/channel_id</config_path>
1680
+ <show_in_default>1</show_in_default>
1681
+ <show_in_website>1</show_in_website>
1682
+ <show_in_store>1</show_in_store>
1683
+ </channel_id>
1684
+ <sender translate="label">
1685
+ <label>BACKEND_CH_SENDER</label>
1686
+ <sort_order>7</sort_order>
1687
+ <frontend_type>text</frontend_type>
1688
+ <config_path>payment/skrill_idl/sender</config_path>
1689
+ <show_in_default>1</show_in_default>
1690
+ <show_in_website>1</show_in_website>
1691
+ <show_in_store>1</show_in_store>
1692
+ </sender>
1693
+ <login translate="label">
1694
+ <label>BACKEND_CH_LOGIN</label>
1695
+ <sort_order>8</sort_order>
1696
+ <frontend_type>text</frontend_type>
1697
+ <config_path>payment/skrill_idl/login</config_path>
1698
+ <show_in_default>1</show_in_default>
1699
+ <show_in_website>1</show_in_website>
1700
+ <show_in_store>1</show_in_store>
1701
+ </login>
1702
+ <password translate="label">
1703
+ <label>BACKEND_CH_PASSWORD</label>
1704
+ <sort_order>9</sort_order>
1705
+ <frontend_type>text</frontend_type>
1706
+ <config_path>payment/skrill_idl/password</config_path>
1707
+ <show_in_default>1</show_in_default>
1708
+ <show_in_website>1</show_in_website>
1709
+ <show_in_store>1</show_in_store>
1710
+ </password>
1711
+ <allowspecific translate="label">
1712
+ <label>BACKEND_CH_COUNTRIES</label>
1713
+ <sort_order>10</sort_order>
1714
+ <frontend_type>allowspecific</frontend_type>
1715
+ <config_path>payment/skrill_idl/allowspecific</config_path>
1716
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1717
+ <show_in_default>1</show_in_default>
1718
+ <show_in_website>1</show_in_website>
1719
+ <show_in_store>1</show_in_store>
1720
+ </allowspecific>
1721
+ <specificcountry translate="label">
1722
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1723
+ <sort_order>11</sort_order>
1724
+ <frontend_type>multiselect</frontend_type>
1725
+ <config_path>payment/skrill_idl/specificcountry</config_path>
1726
+ <source_model>adminhtml/system_config_source_country</source_model>
1727
+ <can_be_empty>1</can_be_empty>
1728
+ <show_in_default>1</show_in_default>
1729
+ <show_in_website>1</show_in_website>
1730
+ <show_in_store>1</show_in_store>
1731
+ </specificcountry> -->
1732
+ <sort_order translate="label">
1733
+ <label>BACKEND_CH_ORDER</label>
1734
+ <frontend_type>text</frontend_type>
1735
+ <config_path>payment/skrill_idl/sort_order</config_path>
1736
+ <sort_order>12</sort_order>
1737
+ <show_in_default>1</show_in_default>
1738
+ <show_in_website>1</show_in_website>
1739
+ <show_in_store>1</show_in_store>
1740
+ </sort_order>
1741
+ </fields>
1742
+ </skrill_idl>
1743
+ <skrill_npy translate="label">
1744
+ <label>SKRILL_BACKEND_PM_NPY</label>
1745
+ <frontend_type>text</frontend_type>
1746
+ <sort_order>123</sort_order>
1747
+ <show_in_default>1</show_in_default>
1748
+ <show_in_website>1</show_in_website>
1749
+ <show_in_store>1</show_in_store>
1750
+ <fields>
1751
+ <!-- <version>
1752
+ <label>v1.0.24</label>
1753
+ <sort_order>1</sort_order>
1754
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1755
+ <frontend_type>label</frontend_type>
1756
+ <show_in_default>1</show_in_default>
1757
+ <show_in_website>1</show_in_website>
1758
+ <show_in_store>1</show_in_store>
1759
+ </version> -->
1760
+ <active translate="label">
1761
+ <label>BACKEND_CH_ACTIVE</label>
1762
+ <comment>Austria</comment>
1763
+ <sort_order>2</sort_order>
1764
+ <frontend_type>select</frontend_type>
1765
+ <config_path>payment/skrill_npy/active</config_path>
1766
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1767
+ <show_in_default>1</show_in_default>
1768
+ <show_in_website>1</show_in_website>
1769
+ <show_in_store>1</show_in_store>
1770
+ </active>
1771
+ <!-- <gateway translate="label">
1772
+ <label>SKRILL_BACKEND_GATE</label>
1773
+ <sort_order>3</sort_order>
1774
+ <frontend_type>select</frontend_type>
1775
+ <config_path>payment/skrill_npy/gateway</config_path>
1776
+ <source_model>skrill/source_gateway</source_model>
1777
+ <show_in_default>1</show_in_default>
1778
+ <show_in_website>1</show_in_website>
1779
+ <show_in_store>1</show_in_store>
1780
+ </gateway> -->
1781
+ <show_separately translate="label">
1782
+ <label>SKRILL_BACKEND_PM_MODE</label>
1783
+ <sort_order>4</sort_order>
1784
+ <frontend_type>select</frontend_type>
1785
+ <config_path>payment/skrill_npy/show_separately</config_path>
1786
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1787
+ <show_in_default>1</show_in_default>
1788
+ <show_in_website>1</show_in_website>
1789
+ <show_in_store>1</show_in_store>
1790
+ </show_separately>
1791
+ <!-- <server_mode translate="label">
1792
+ <label>BACKEND_CH_SERVER</label>
1793
+ <frontend_type>select</frontend_type>
1794
+ <config_path>payment/skrill_npy/server_mode</config_path>
1795
+ <sort_order>5</sort_order>
1796
+ <source_model>skrill/source_mode</source_model>
1797
+ <show_in_default>1</show_in_default>
1798
+ <show_in_website>1</show_in_website>
1799
+ <show_in_store>1</show_in_store>
1800
+ </server_mode>
1801
+ <channel_id translate="label">
1802
+ <label>BACKEND_CH_CHANNEL</label>
1803
+ <sort_order>6</sort_order>
1804
+ <frontend_type>text</frontend_type>
1805
+ <config_path>payment/skrill_npy/channel_id</config_path>
1806
+ <show_in_default>1</show_in_default>
1807
+ <show_in_website>1</show_in_website>
1808
+ <show_in_store>1</show_in_store>
1809
+ </channel_id>
1810
+ <sender translate="label">
1811
+ <label>BACKEND_CH_SENDER</label>
1812
+ <sort_order>7</sort_order>
1813
+ <frontend_type>text</frontend_type>
1814
+ <config_path>payment/skrill_npy/sender</config_path>
1815
+ <show_in_default>1</show_in_default>
1816
+ <show_in_website>1</show_in_website>
1817
+ <show_in_store>1</show_in_store>
1818
+ </sender>
1819
+ <login translate="label">
1820
+ <label>BACKEND_CH_LOGIN</label>
1821
+ <sort_order>8</sort_order>
1822
+ <frontend_type>text</frontend_type>
1823
+ <config_path>payment/skrill_npy/login</config_path>
1824
+ <show_in_default>1</show_in_default>
1825
+ <show_in_website>1</show_in_website>
1826
+ <show_in_store>1</show_in_store>
1827
+ </login>
1828
+ <password translate="label">
1829
+ <label>BACKEND_CH_PASSWORD</label>
1830
+ <sort_order>9</sort_order>
1831
+ <frontend_type>text</frontend_type>
1832
+ <config_path>payment/skrill_npy/password</config_path>
1833
+ <show_in_default>1</show_in_default>
1834
+ <show_in_website>1</show_in_website>
1835
+ <show_in_store>1</show_in_store>
1836
+ </password>
1837
+ <allowspecific translate="label">
1838
+ <label>BACKEND_CH_COUNTRIES</label>
1839
+ <sort_order>10</sort_order>
1840
+ <frontend_type>allowspecific</frontend_type>
1841
+ <config_path>payment/skrill_npy/allowspecific</config_path>
1842
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1843
+ <show_in_default>1</show_in_default>
1844
+ <show_in_website>1</show_in_website>
1845
+ <show_in_store>1</show_in_store>
1846
+ </allowspecific>
1847
+ <specificcountry translate="label">
1848
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
1849
+ <sort_order>11</sort_order>
1850
+ <frontend_type>multiselect</frontend_type>
1851
+ <config_path>payment/skrill_npy/specificcountry</config_path>
1852
+ <source_model>adminhtml/system_config_source_country</source_model>
1853
+ <can_be_empty>1</can_be_empty>
1854
+ <show_in_default>1</show_in_default>
1855
+ <show_in_website>1</show_in_website>
1856
+ <show_in_store>1</show_in_store>
1857
+ </specificcountry> -->
1858
+ <sort_order translate="label">
1859
+ <label>BACKEND_CH_ORDER</label>
1860
+ <frontend_type>text</frontend_type>
1861
+ <config_path>payment/skrill_npy/sort_order</config_path>
1862
+ <sort_order>12</sort_order>
1863
+ <show_in_default>1</show_in_default>
1864
+ <show_in_website>1</show_in_website>
1865
+ <show_in_store>1</show_in_store>
1866
+ </sort_order>
1867
+ </fields>
1868
+ </skrill_npy>
1869
+ <skrill_pli translate="label">
1870
+ <label>SKRILL_BACKEND_PM_PLI</label>
1871
+ <frontend_type>text</frontend_type>
1872
+ <sort_order>124</sort_order>
1873
+ <show_in_default>1</show_in_default>
1874
+ <show_in_website>1</show_in_website>
1875
+ <show_in_store>1</show_in_store>
1876
+ <fields>
1877
+ <!-- <version>
1878
+ <label>v1.0.24</label>
1879
+ <sort_order>1</sort_order>
1880
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1881
+ <frontend_type>label</frontend_type>
1882
+ <show_in_default>1</show_in_default>
1883
+ <show_in_website>1</show_in_website>
1884
+ <show_in_store>1</show_in_store>
1885
+ </version> -->
1886
+ <active translate="label">
1887
+ <label>BACKEND_CH_ACTIVE</label>
1888
+ <comment>Australia</comment>
1889
+ <sort_order>2</sort_order>
1890
+ <frontend_type>select</frontend_type>
1891
+ <config_path>payment/skrill_pli/active</config_path>
1892
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1893
+ <show_in_default>1</show_in_default>
1894
+ <show_in_website>1</show_in_website>
1895
+ <show_in_store>1</show_in_store>
1896
+ </active>
1897
+ <show_separately translate="label">
1898
+ <label>SKRILL_BACKEND_PM_MODE</label>
1899
+ <sort_order>3</sort_order>
1900
+ <frontend_type>select</frontend_type>
1901
+ <config_path>payment/skrill_pli/show_separately</config_path>
1902
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1903
+ <show_in_default>1</show_in_default>
1904
+ <show_in_website>1</show_in_website>
1905
+ <show_in_store>1</show_in_store>
1906
+ </show_separately>
1907
+ <sort_order translate="label">
1908
+ <label>BACKEND_CH_ORDER</label>
1909
+ <frontend_type>text</frontend_type>
1910
+ <config_path>payment/skrill_pli/sort_order</config_path>
1911
+ <sort_order>6</sort_order>
1912
+ <show_in_default>1</show_in_default>
1913
+ <show_in_website>1</show_in_website>
1914
+ <show_in_store>1</show_in_store>
1915
+ </sort_order>
1916
+ </fields>
1917
+ </skrill_pli>
1918
+ <skrill_pwy translate="label">
1919
+ <label>SKRILL_BACKEND_PM_PWY</label>
1920
+ <frontend_type>text</frontend_type>
1921
+ <sort_order>125</sort_order>
1922
+ <show_in_default>1</show_in_default>
1923
+ <show_in_website>1</show_in_website>
1924
+ <show_in_store>1</show_in_store>
1925
+ <fields>
1926
+ <!-- <version>
1927
+ <label>v1.0.24</label>
1928
+ <sort_order>1</sort_order>
1929
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1930
+ <frontend_type>label</frontend_type>
1931
+ <show_in_default>1</show_in_default>
1932
+ <show_in_website>1</show_in_website>
1933
+ <show_in_store>1</show_in_store>
1934
+ </version> -->
1935
+ <active translate="label">
1936
+ <label>BACKEND_CH_ACTIVE</label>
1937
+ <comment>Poland</comment>
1938
+ <sort_order>2</sort_order>
1939
+ <frontend_type>select</frontend_type>
1940
+ <config_path>payment/skrill_pwy/active</config_path>
1941
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1942
+ <show_in_default>1</show_in_default>
1943
+ <show_in_website>1</show_in_website>
1944
+ <show_in_store>1</show_in_store>
1945
+ </active>
1946
+ <show_separately translate="label">
1947
+ <label>SKRILL_BACKEND_PM_MODE</label>
1948
+ <sort_order>3</sort_order>
1949
+ <frontend_type>select</frontend_type>
1950
+ <config_path>payment/skrill_pwy/show_separately</config_path>
1951
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1952
+ <show_in_default>1</show_in_default>
1953
+ <show_in_website>1</show_in_website>
1954
+ <show_in_store>1</show_in_store>
1955
+ </show_separately>
1956
+ <sort_order translate="label">
1957
+ <label>BACKEND_CH_ORDER</label>
1958
+ <frontend_type>text</frontend_type>
1959
+ <config_path>payment/skrill_pwy/sort_order</config_path>
1960
+ <sort_order>6</sort_order>
1961
+ <show_in_default>1</show_in_default>
1962
+ <show_in_website>1</show_in_website>
1963
+ <show_in_store>1</show_in_store>
1964
+ </sort_order>
1965
+ </fields>
1966
+ </skrill_pwy>
1967
+ <skrill_epy translate="label">
1968
+ <label>SKRILL_BACKEND_PM_EPY</label>
1969
+ <frontend_type>text</frontend_type>
1970
+ <sort_order>126</sort_order>
1971
+ <show_in_default>1</show_in_default>
1972
+ <show_in_website>1</show_in_website>
1973
+ <show_in_store>1</show_in_store>
1974
+ <fields>
1975
+ <!-- <version>
1976
+ <label>v1.0.24</label>
1977
+ <sort_order>1</sort_order>
1978
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1979
+ <frontend_type>label</frontend_type>
1980
+ <show_in_default>1</show_in_default>
1981
+ <show_in_website>1</show_in_website>
1982
+ <show_in_store>1</show_in_store>
1983
+ </version> -->
1984
+ <active translate="label">
1985
+ <label>BACKEND_CH_ACTIVE</label>
1986
+ <comment>Bulgaria</comment>
1987
+ <sort_order>2</sort_order>
1988
+ <frontend_type>select</frontend_type>
1989
+ <config_path>payment/skrill_epy/active</config_path>
1990
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1991
+ <show_in_default>1</show_in_default>
1992
+ <show_in_website>1</show_in_website>
1993
+ <show_in_store>1</show_in_store>
1994
+ </active>
1995
+ <show_separately translate="label">
1996
+ <label>SKRILL_BACKEND_PM_MODE</label>
1997
+ <sort_order>3</sort_order>
1998
+ <frontend_type>select</frontend_type>
1999
+ <config_path>payment/skrill_epy/show_separately</config_path>
2000
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2001
+ <show_in_default>1</show_in_default>
2002
+ <show_in_website>1</show_in_website>
2003
+ <show_in_store>1</show_in_store>
2004
+ </show_separately>
2005
+ <sort_order translate="label">
2006
+ <label>BACKEND_CH_ORDER</label>
2007
+ <frontend_type>text</frontend_type>
2008
+ <config_path>payment/skrill_epy/sort_order</config_path>
2009
+ <sort_order>6</sort_order>
2010
+ <show_in_default>1</show_in_default>
2011
+ <show_in_website>1</show_in_website>
2012
+ <show_in_store>1</show_in_store>
2013
+ </sort_order>
2014
+ </fields>
2015
+ </skrill_epy>
2016
+ <skrill_glu translate="label">
2017
+ <label>SKRILL_BACKEND_PM_GLU</label>
2018
+ <frontend_type>text</frontend_type>
2019
+ <sort_order>127</sort_order>
2020
+ <show_in_default>1</show_in_default>
2021
+ <show_in_website>1</show_in_website>
2022
+ <show_in_store>1</show_in_store>
2023
+ <fields>
2024
+ <!-- <version>
2025
+ <label>v1.0.24</label>
2026
+ <sort_order>1</sort_order>
2027
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2028
+ <frontend_type>label</frontend_type>
2029
+ <show_in_default>1</show_in_default>
2030
+ <show_in_website>1</show_in_website>
2031
+ <show_in_store>1</show_in_store>
2032
+ </version> -->
2033
+ <active translate="label">
2034
+ <label>BACKEND_CH_ACTIVE</label>
2035
+ <comment>Sweden, Finland, Estonia, Denmark, Spain, Poland, Italy, France, Germany, Portugal, Austria, Latvia, Lithuania, Netherlands</comment>
2036
+ <sort_order>2</sort_order>
2037
+ <frontend_type>select</frontend_type>
2038
+ <config_path>payment/skrill_glu/active</config_path>
2039
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2040
+ <show_in_default>1</show_in_default>
2041
+ <show_in_website>1</show_in_website>
2042
+ <show_in_store>1</show_in_store>
2043
+ </active>
2044
+ <show_separately translate="label">
2045
+ <label>SKRILL_BACKEND_PM_MODE</label>
2046
+ <sort_order>3</sort_order>
2047
+ <frontend_type>select</frontend_type>
2048
+ <config_path>payment/skrill_glu/show_separately</config_path>
2049
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2050
+ <show_in_default>1</show_in_default>
2051
+ <show_in_website>1</show_in_website>
2052
+ <show_in_store>1</show_in_store>
2053
+ </show_separately>
2054
+ <sort_order translate="label">
2055
+ <label>BACKEND_CH_ORDER</label>
2056
+ <frontend_type>text</frontend_type>
2057
+ <config_path>payment/skrill_glu/sort_order</config_path>
2058
+ <sort_order>6</sort_order>
2059
+ <show_in_default>1</show_in_default>
2060
+ <show_in_website>1</show_in_website>
2061
+ <show_in_store>1</show_in_store>
2062
+ </sort_order>
2063
+ </fields>
2064
+ </skrill_glu>
2065
+ <skrill_ali translate="label">
2066
+ <label>SKRILL_BACKEND_PM_ALI</label>
2067
+ <frontend_type>text</frontend_type>
2068
+ <sort_order>127</sort_order>
2069
+ <show_in_default>1</show_in_default>
2070
+ <show_in_website>1</show_in_website>
2071
+ <show_in_store>1</show_in_store>
2072
+ <fields>
2073
+ <!-- <version>
2074
+ <label>v1.0.24</label>
2075
+ <sort_order>1</sort_order>
2076
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2077
+ <frontend_type>label</frontend_type>
2078
+ <show_in_default>1</show_in_default>
2079
+ <show_in_website>1</show_in_website>
2080
+ <show_in_store>1</show_in_store>
2081
+ </version> -->
2082
+ <active translate="label">
2083
+ <label>BACKEND_CH_ACTIVE</label>
2084
+ <comment>Consumer location: China only. Merchant location: This is available for merchants in all countries except China.</comment>
2085
+ <sort_order>2</sort_order>
2086
+ <frontend_type>select</frontend_type>
2087
+ <config_path>payment/skrill_ali/active</config_path>
2088
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2089
+ <show_in_default>1</show_in_default>
2090
+ <show_in_website>1</show_in_website>
2091
+ <show_in_store>1</show_in_store>
2092
+ </active>
2093
+ <show_separately translate="label">
2094
+ <label>SKRILL_BACKEND_PM_MODE</label>
2095
+ <sort_order>3</sort_order>
2096
+ <frontend_type>select</frontend_type>
2097
+ <config_path>payment/skrill_ali/show_separately</config_path>
2098
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2099
+ <show_in_default>1</show_in_default>
2100
+ <show_in_website>1</show_in_website>
2101
+ <show_in_store>1</show_in_store>
2102
+ </show_separately>
2103
+ <sort_order translate="label">
2104
+ <label>BACKEND_CH_ORDER</label>
2105
+ <frontend_type>text</frontend_type>
2106
+ <config_path>payment/skrill_ali/sort_order</config_path>
2107
+ <sort_order>6</sort_order>
2108
+ <show_in_default>1</show_in_default>
2109
+ <show_in_website>1</show_in_website>
2110
+ <show_in_store>1</show_in_store>
2111
+ </sort_order>
2112
+ </fields>
2113
+ </skrill_ali>
2114
+
2115
+ <!-- <skrill_paypal module="skrill" translate="label">
2116
+ <label>SKRILL_BACKEND_PM_PAYPAL</label>
2117
+ <show_in_default>1</show_in_default>
2118
+ <show_in_website>1</show_in_website>
2119
+ <show_in_store>1</show_in_store>
2120
+ <sort_order>1600</sort_order>
2121
+ <fields>
2122
+ <version>
2123
+ <label>v1.0.24</label>
2124
+ <sort_order>1</sort_order>
2125
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2126
+ <frontend_type>label</frontend_type>
2127
+ <show_in_default>1</show_in_default>
2128
+ <show_in_website>1</show_in_website>
2129
+ <show_in_store>1</show_in_store>
2130
+ </version>
2131
+
2132
+ <active translate="label,comment">
2133
+ <label>BACKEND_CH_ACTIVE</label>
2134
+ <comment>SKRILL_BACKEND_TT_PAYPAL</comment>
2135
+ <sort_order>2</sort_order>
2136
+ <frontend_type>select</frontend_type>
2137
+ <config_path>payment/skrill_paypal/active</config_path>
2138
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2139
+ <show_in_default>1</show_in_default>
2140
+ <show_in_website>1</show_in_website>
2141
+ <show_in_store>1</show_in_store>
2142
+ </active>
2143
+
2144
+ <server_mode translate="label">
2145
+ <label>BACKEND_CH_SERVER</label>
2146
+ <frontend_type>select</frontend_type>
2147
+ <config_path>payment/skrill_paypal/server_mode</config_path>
2148
+ <sort_order>3</sort_order>
2149
+ <source_model>skrill/source_mode</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
+ </server_mode>
2154
+
2155
+ <channel_id translate="label">
2156
+ <label>BACKEND_CH_CHANNEL</label>
2157
+ <sort_order>6</sort_order>
2158
+ <frontend_type>text</frontend_type>
2159
+ <config_path>payment/skrill_paypal/channel_id</config_path>
2160
+ <show_in_default>1</show_in_default>
2161
+ <show_in_website>1</show_in_website>
2162
+ <show_in_store>1</show_in_store>
2163
+ </channel_id>
2164
+
2165
+ <sender translate="label">
2166
+ <label>BACKEND_CH_SENDER</label>
2167
+ <sort_order>7</sort_order>
2168
+ <frontend_type>text</frontend_type>
2169
+ <config_path>payment/skrill_paypal/sender</config_path>
2170
+ <show_in_default>1</show_in_default>
2171
+ <show_in_website>1</show_in_website>
2172
+ <show_in_store>1</show_in_store>
2173
+ </sender>
2174
+
2175
+ <login translate="label">
2176
+ <label>BACKEND_CH_LOGIN</label>
2177
+ <sort_order>8</sort_order>
2178
+ <frontend_type>text</frontend_type>
2179
+ <config_path>payment/skrill_paypal/login</config_path>
2180
+ <show_in_default>1</show_in_default>
2181
+ <show_in_website>1</show_in_website>
2182
+ <show_in_store>1</show_in_store>
2183
+ </login>
2184
+
2185
+ <password translate="label">
2186
+ <label>BACKEND_CH_PASSWORD</label>
2187
+ <sort_order>9</sort_order>
2188
+ <frontend_type>text</frontend_type>
2189
+ <config_path>payment/skrill_paypal/password</config_path>
2190
+ <show_in_default>1</show_in_default>
2191
+ <show_in_website>1</show_in_website>
2192
+ <show_in_store>1</show_in_store>
2193
+ </password>
2194
+
2195
+ <allowspecific translate="label">
2196
+ <label>BACKEND_CH_COUNTRIES</label>
2197
+ <sort_order>10</sort_order>
2198
+ <frontend_type>allowspecific</frontend_type>
2199
+ <config_path>payment/skrill_paypal/allowspecific</config_path>
2200
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2201
+ <show_in_default>1</show_in_default>
2202
+ <show_in_website>1</show_in_website>
2203
+ <show_in_store>1</show_in_store>
2204
+ </allowspecific>
2205
+
2206
+ <specificcountry translate="label">
2207
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2208
+ <sort_order>11</sort_order>
2209
+ <frontend_type>multiselect</frontend_type>
2210
+ <config_path>payment/skrill_paypal/specificcountry</config_path>
2211
+ <source_model>adminhtml/system_config_source_country</source_model>
2212
+ <can_be_empty>1</can_be_empty>
2213
+ <show_in_default>1</show_in_default>
2214
+ <show_in_website>1</show_in_website>
2215
+ <show_in_store>1</show_in_store>
2216
+ </specificcountry>
2217
+ <sort_order translate="label">
2218
+ <label>BACKEND_CH_ORDER</label>
2219
+ <frontend_type>text</frontend_type>
2220
+ <config_path>payment/skrill_paypal/sort_order</config_path>
2221
+ <sort_order>15</sort_order>
2222
+ <show_in_default>1</show_in_default>
2223
+ <show_in_website>1</show_in_website>
2224
+ <show_in_store>1</show_in_store>
2225
+ </sort_order>
2226
+ </fields>
2227
+ </skrill_paypal> -->
2228
+
2229
+ <!-- <skrill_payolutioninv module="skrill" translate="label">
2230
+ <label>SKRILL_BACKEND_PM_PAYOLUTIONINV</label>
2231
+ <show_in_default>1</show_in_default>
2232
+ <show_in_website>1</show_in_website>
2233
+ <show_in_store>1</show_in_store>
2234
+ <sort_order>1800</sort_order>
2235
+ <fields>
2236
+ <version>
2237
+ <label>v1.0.24</label>
2238
+ <sort_order>1</sort_order>
2239
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2240
+ <frontend_type>label</frontend_type>
2241
+ <show_in_default>1</show_in_default>
2242
+ <show_in_website>1</show_in_website>
2243
+ <show_in_store>1</show_in_store>
2244
+ </version>
2245
+
2246
+ <active translate="label,comment">
2247
+ <label>BACKEND_CH_ACTIVE</label>
2248
+ <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2249
+ <sort_order>2</sort_order>
2250
+ <frontend_type>select</frontend_type>
2251
+ <config_path>payment/skrill_payolutioninv/active</config_path>
2252
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2253
+ <show_in_default>1</show_in_default>
2254
+ <show_in_website>1</show_in_website>
2255
+ <show_in_store>1</show_in_store>
2256
+ </active>
2257
+
2258
+ <server_mode translate="label">
2259
+ <label>BACKEND_CH_SERVER</label>
2260
+ <frontend_type>select</frontend_type>
2261
+ <config_path>payment/skrill_payolutioninv/server_mode</config_path>
2262
+ <sort_order>3</sort_order>
2263
+ <source_model>skrill/source_mode</source_model>
2264
+ <show_in_default>1</show_in_default>
2265
+ <show_in_website>1</show_in_website>
2266
+ <show_in_store>1</show_in_store>
2267
+ </server_mode>
2268
+
2269
+ <channel_id translate="label">
2270
+ <label>BACKEND_CH_CHANNEL</label>
2271
+ <sort_order>6</sort_order>
2272
+ <frontend_type>text</frontend_type>
2273
+ <config_path>payment/skrill_payolutioninv/channel_id</config_path>
2274
+ <show_in_default>1</show_in_default>
2275
+ <show_in_website>1</show_in_website>
2276
+ <show_in_store>1</show_in_store>
2277
+ </channel_id>
2278
+
2279
+ <sender translate="label">
2280
+ <label>BACKEND_CH_SENDER</label>
2281
+ <sort_order>7</sort_order>
2282
+ <frontend_type>text</frontend_type>
2283
+ <config_path>payment/skrill_payolutioninv/sender</config_path>
2284
+ <show_in_default>1</show_in_default>
2285
+ <show_in_website>1</show_in_website>
2286
+ <show_in_store>1</show_in_store>
2287
+ </sender>
2288
+
2289
+ <login translate="label">
2290
+ <label>BACKEND_CH_LOGIN</label>
2291
+ <sort_order>8</sort_order>
2292
+ <frontend_type>text</frontend_type>
2293
+ <config_path>payment/skrill_payolutioninv/login</config_path>
2294
+ <show_in_default>1</show_in_default>
2295
+ <show_in_website>1</show_in_website>
2296
+ <show_in_store>1</show_in_store>
2297
+ </login>
2298
+
2299
+ <password translate="label">
2300
+ <label>BACKEND_CH_PASSWORD</label>
2301
+ <sort_order>9</sort_order>
2302
+ <frontend_type>text</frontend_type>
2303
+ <config_path>payment/skrill_payolutioninv/password</config_path>
2304
+ <show_in_default>1</show_in_default>
2305
+ <show_in_website>1</show_in_website>
2306
+ <show_in_store>1</show_in_store>
2307
+ </password>
2308
+
2309
+ <allowspecific translate="label">
2310
+ <label>BACKEND_CH_COUNTRIES</label>
2311
+ <sort_order>10</sort_order>
2312
+ <frontend_type>allowspecific</frontend_type>
2313
+ <config_path>payment/skrill_payolutioninv/allowspecific</config_path>
2314
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
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
+ </allowspecific>
2319
+
2320
+ <specificcountry translate="label">
2321
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2322
+ <sort_order>11</sort_order>
2323
+ <frontend_type>multiselect</frontend_type>
2324
+ <config_path>payment/skrill_payolutioninv/specificcountry</config_path>
2325
+ <source_model>adminhtml/system_config_source_country</source_model>
2326
+ <can_be_empty>1</can_be_empty>
2327
+ <show_in_default>1</show_in_default>
2328
+ <show_in_website>1</show_in_website>
2329
+ <show_in_store>1</show_in_store>
2330
+ </specificcountry>
2331
+ <sort_order translate="label">
2332
+ <label>BACKEND_CH_ORDER</label>
2333
+ <frontend_type>text</frontend_type>
2334
+ <config_path>payment/skrill_payolutioninv/sort_order</config_path>
2335
+ <sort_order>15</sort_order>
2336
+ <show_in_default>1</show_in_default>
2337
+ <show_in_website>1</show_in_website>
2338
+ <show_in_store>1</show_in_store>
2339
+ </sort_order>
2340
+ </fields>
2341
+ </skrill_payolutioninv>
2342
+
2343
+ <skrill_payolutionins module="skrill" translate="label">
2344
+ <label>SKRILL_BACKEND_PM_PAYOLUTIONINS</label>
2345
+ <show_in_default>1</show_in_default>
2346
+ <show_in_website>1</show_in_website>
2347
+ <show_in_store>1</show_in_store>
2348
+ <sort_order>1900</sort_order>
2349
+ <fields>
2350
+ <version>
2351
+ <label>v1.0.24</label>
2352
+ <sort_order>1</sort_order>
2353
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2354
+ <frontend_type>label</frontend_type>
2355
+ <show_in_default>1</show_in_default>
2356
+ <show_in_website>1</show_in_website>
2357
+ <show_in_store>1</show_in_store>
2358
+ </version>
2359
+
2360
+ <active translate="label,comment">
2361
+ <label>BACKEND_CH_ACTIVE</label>
2362
+ <comment>SKRILL_BACKEND_TT_PAYOLUTION</comment>
2363
+ <sort_order>2</sort_order>
2364
+ <frontend_type>select</frontend_type>
2365
+ <config_path>payment/skrill_payolutionins/active</config_path>
2366
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2367
+ <show_in_default>1</show_in_default>
2368
+ <show_in_website>1</show_in_website>
2369
+ <show_in_store>1</show_in_store>
2370
+ </active>
2371
+
2372
+ <server_mode translate="label">
2373
+ <label>BACKEND_CH_SERVER</label>
2374
+ <frontend_type>select</frontend_type>
2375
+ <config_path>payment/skrill_payolutionins/server_mode</config_path>
2376
+ <sort_order>3</sort_order>
2377
+ <source_model>skrill/source_mode</source_model>
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
+ </server_mode>
2382
+
2383
+ <channel_id translate="label">
2384
+ <label>BACKEND_CH_CHANNEL</label>
2385
+ <sort_order>6</sort_order>
2386
+ <frontend_type>text</frontend_type>
2387
+ <config_path>payment/skrill_payolutionins/channel_id</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
+ </channel_id>
2392
+
2393
+ <sender translate="label">
2394
+ <label>BACKEND_CH_SENDER</label>
2395
+ <sort_order>7</sort_order>
2396
+ <frontend_type>text</frontend_type>
2397
+ <config_path>payment/skrill_payolutionins/sender</config_path>
2398
+ <show_in_default>1</show_in_default>
2399
+ <show_in_website>1</show_in_website>
2400
+ <show_in_store>1</show_in_store>
2401
+ </sender>
2402
+
2403
+ <login translate="label">
2404
+ <label>BACKEND_CH_LOGIN</label>
2405
+ <sort_order>8</sort_order>
2406
+ <frontend_type>text</frontend_type>
2407
+ <config_path>payment/skrill_payolutionins/login</config_path>
2408
+ <show_in_default>1</show_in_default>
2409
+ <show_in_website>1</show_in_website>
2410
+ <show_in_store>1</show_in_store>
2411
+ </login>
2412
+
2413
+ <password translate="label">
2414
+ <label>BACKEND_CH_PASSWORD</label>
2415
+ <sort_order>9</sort_order>
2416
+ <frontend_type>text</frontend_type>
2417
+ <config_path>payment/skrill_payolutionins/password</config_path>
2418
+ <show_in_default>1</show_in_default>
2419
+ <show_in_website>1</show_in_website>
2420
+ <show_in_store>1</show_in_store>
2421
+ </password>
2422
+
2423
+ <allowspecific translate="label">
2424
+ <label>BACKEND_CH_COUNTRIES</label>
2425
+ <sort_order>10</sort_order>
2426
+ <frontend_type>allowspecific</frontend_type>
2427
+ <config_path>payment/skrill_payolutionins/allowspecific</config_path>
2428
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
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
+ </allowspecific>
2433
+
2434
+ <specificcountry translate="label">
2435
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2436
+ <sort_order>11</sort_order>
2437
+ <frontend_type>multiselect</frontend_type>
2438
+ <config_path>payment/skrill_payolutionins/specificcountry</config_path>
2439
+ <source_model>adminhtml/system_config_source_country</source_model>
2440
+ <can_be_empty>1</can_be_empty>
2441
+ <show_in_default>1</show_in_default>
2442
+ <show_in_website>1</show_in_website>
2443
+ <show_in_store>1</show_in_store>
2444
+ </specificcountry>
2445
+ <sort_order translate="label">
2446
+ <label>BACKEND_CH_ORDER</label>
2447
+ <frontend_type>text</frontend_type>
2448
+ <config_path>payment/skrill_payolutionins/sort_order</config_path>
2449
+ <sort_order>15</sort_order>
2450
+ <show_in_default>1</show_in_default>
2451
+ <show_in_website>1</show_in_website>
2452
+ <show_in_store>1</show_in_store>
2453
+ </sort_order>
2454
+ </fields>
2455
+ </skrill_payolutionins> -->
2456
+
2457
+ <!-- <skrill_paytrail module="skrill" translate="label">
2458
+ <label>SKRILL_BACKEND_PM_PAYTRAIL</label>
2459
+ <show_in_default>1</show_in_default>
2460
+ <show_in_website>1</show_in_website>
2461
+ <show_in_store>1</show_in_store>
2462
+ <sort_order>2000</sort_order>
2463
+ <fields>
2464
+ <version>
2465
+ <label>v1.0.24</label>
2466
+ <sort_order>1</sort_order>
2467
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2468
+ <frontend_type>label</frontend_type>
2469
+ <show_in_default>1</show_in_default>
2470
+ <show_in_website>1</show_in_website>
2471
+ <show_in_store>1</show_in_store>
2472
+ </version>
2473
+
2474
+ <active translate="label">
2475
+ <label>BACKEND_CH_ACTIVE</label>
2476
+ <sort_order>2</sort_order>
2477
+ <frontend_type>select</frontend_type>
2478
+ <config_path>payment/skrill_paytrail/active</config_path>
2479
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2480
+ <show_in_default>1</show_in_default>
2481
+ <show_in_website>1</show_in_website>
2482
+ <show_in_store>1</show_in_store>
2483
+ </active>
2484
+
2485
+ <server_mode translate="label">
2486
+ <label>BACKEND_CH_SERVER</label>
2487
+ <frontend_type>select</frontend_type>
2488
+ <config_path>payment/skrill_paytrail/server_mode</config_path>
2489
+ <sort_order>3</sort_order>
2490
+ <source_model>skrill/source_mode</source_model>
2491
+ <show_in_default>1</show_in_default>
2492
+ <show_in_website>1</show_in_website>
2493
+ <show_in_store>1</show_in_store>
2494
+ </server_mode>
2495
+
2496
+ <channel_id translate="label">
2497
+ <label>BACKEND_CH_CHANNEL</label>
2498
+ <sort_order>6</sort_order>
2499
+ <frontend_type>text</frontend_type>
2500
+ <config_path>payment/skrill_paytrail/channel_id</config_path>
2501
+ <show_in_default>1</show_in_default>
2502
+ <show_in_website>1</show_in_website>
2503
+ <show_in_store>1</show_in_store>
2504
+ </channel_id>
2505
+
2506
+ <sender translate="label">
2507
+ <label>BACKEND_CH_SENDER</label>
2508
+ <sort_order>7</sort_order>
2509
+ <frontend_type>text</frontend_type>
2510
+ <config_path>payment/skrill_paytrail/sender</config_path>
2511
+ <show_in_default>1</show_in_default>
2512
+ <show_in_website>1</show_in_website>
2513
+ <show_in_store>1</show_in_store>
2514
+ </sender>
2515
+
2516
+ <login translate="label">
2517
+ <label>BACKEND_CH_LOGIN</label>
2518
+ <sort_order>8</sort_order>
2519
+ <frontend_type>text</frontend_type>
2520
+ <config_path>payment/skrill_paytrail/login</config_path>
2521
+ <show_in_default>1</show_in_default>
2522
+ <show_in_website>1</show_in_website>
2523
+ <show_in_store>1</show_in_store>
2524
+ </login>
2525
+
2526
+ <password translate="label">
2527
+ <label>BACKEND_CH_PASSWORD</label>
2528
+ <sort_order>9</sort_order>
2529
+ <frontend_type>text</frontend_type>
2530
+ <config_path>payment/skrill_paytrail/password</config_path>
2531
+ <show_in_default>1</show_in_default>
2532
+ <show_in_website>1</show_in_website>
2533
+ <show_in_store>1</show_in_store>
2534
+ </password>
2535
+
2536
+ <allowspecific translate="label">
2537
+ <label>BACKEND_CH_COUNTRIES</label>
2538
+ <sort_order>10</sort_order>
2539
+ <frontend_type>allowspecific</frontend_type>
2540
+ <config_path>payment/skrill_paytrail/allowspecific</config_path>
2541
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2542
+ <show_in_default>1</show_in_default>
2543
+ <show_in_website>1</show_in_website>
2544
+ <show_in_store>1</show_in_store>
2545
+ </allowspecific>
2546
+
2547
+ <specificcountry translate="label">
2548
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2549
+ <sort_order>11</sort_order>
2550
+ <frontend_type>multiselect</frontend_type>
2551
+ <config_path>payment/skrill_paytrail/specificcountry</config_path>
2552
+ <source_model>adminhtml/system_config_source_country</source_model>
2553
+ <can_be_empty>1</can_be_empty>
2554
+ <show_in_default>1</show_in_default>
2555
+ <show_in_website>1</show_in_website>
2556
+ <show_in_store>1</show_in_store>
2557
+ </specificcountry>
2558
+ <sort_order translate="label">
2559
+ <label>BACKEND_CH_ORDER</label>
2560
+ <frontend_type>text</frontend_type>
2561
+ <config_path>payment/skrill_paytrail/sort_order</config_path>
2562
+ <sort_order>15</sort_order>
2563
+ <show_in_default>1</show_in_default>
2564
+ <show_in_website>1</show_in_website>
2565
+ <show_in_store>1</show_in_store>
2566
+ </sort_order>
2567
+ </fields>
2568
+ </skrill_paytrail> -->
2569
+
2570
+ <!-- <skrill_yandex module="skrill" translate="label">
2571
+ <label>SKRILL_BACKEND_PM_YANDEX</label>
2572
+ <show_in_default>1</show_in_default>
2573
+ <show_in_website>1</show_in_website>
2574
+ <show_in_store>1</show_in_store>
2575
+ <sort_order>2100</sort_order>
2576
+ <fields>
2577
+ <version>
2578
+ <label>v1.0.24</label>
2579
+ <sort_order>1</sort_order>
2580
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2581
+ <frontend_type>label</frontend_type>
2582
+ <show_in_default>1</show_in_default>
2583
+ <show_in_website>1</show_in_website>
2584
+ <show_in_store>1</show_in_store>
2585
+ </version>
2586
+
2587
+ <active translate="label">
2588
+ <label>BACKEND_CH_ACTIVE</label>
2589
+ <sort_order>2</sort_order>
2590
+ <frontend_type>select</frontend_type>
2591
+ <config_path>payment/skrill_yandex/active</config_path>
2592
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2593
+ <show_in_default>1</show_in_default>
2594
+ <show_in_website>1</show_in_website>
2595
+ <show_in_store>1</show_in_store>
2596
+ </active>
2597
+
2598
+ <server_mode translate="label">
2599
+ <label>BACKEND_CH_SERVER</label>
2600
+ <frontend_type>select</frontend_type>
2601
+ <config_path>payment/skrill_yandex/server_mode</config_path>
2602
+ <sort_order>3</sort_order>
2603
+ <source_model>skrill/source_mode</source_model>
2604
+ <show_in_default>1</show_in_default>
2605
+ <show_in_website>1</show_in_website>
2606
+ <show_in_store>1</show_in_store>
2607
+ </server_mode>
2608
+
2609
+ <channel_id translate="label">
2610
+ <label>BACKEND_CH_CHANNEL</label>
2611
+ <sort_order>6</sort_order>
2612
+ <frontend_type>text</frontend_type>
2613
+ <config_path>payment/skrill_yandex/channel_id</config_path>
2614
+ <show_in_default>1</show_in_default>
2615
+ <show_in_website>1</show_in_website>
2616
+ <show_in_store>1</show_in_store>
2617
+ </channel_id>
2618
+
2619
+ <sender translate="label">
2620
+ <label>BACKEND_CH_SENDER</label>
2621
+ <sort_order>7</sort_order>
2622
+ <frontend_type>text</frontend_type>
2623
+ <config_path>payment/skrill_yandex/sender</config_path>
2624
+ <show_in_default>1</show_in_default>
2625
+ <show_in_website>1</show_in_website>
2626
+ <show_in_store>1</show_in_store>
2627
+ </sender>
2628
+
2629
+ <login translate="label">
2630
+ <label>BACKEND_CH_LOGIN</label>
2631
+ <sort_order>8</sort_order>
2632
+ <frontend_type>text</frontend_type>
2633
+ <config_path>payment/skrill_yandex/login</config_path>
2634
+ <show_in_default>1</show_in_default>
2635
+ <show_in_website>1</show_in_website>
2636
+ <show_in_store>1</show_in_store>
2637
+ </login>
2638
+
2639
+ <password translate="label">
2640
+ <label>BACKEND_CH_PASSWORD</label>
2641
+ <sort_order>9</sort_order>
2642
+ <frontend_type>text</frontend_type>
2643
+ <config_path>payment/skrill_yandex/password</config_path>
2644
+ <show_in_default>1</show_in_default>
2645
+ <show_in_website>1</show_in_website>
2646
+ <show_in_store>1</show_in_store>
2647
+ </password>
2648
+
2649
+ <allowspecific translate="label">
2650
+ <label>BACKEND_CH_COUNTRIES</label>
2651
+ <sort_order>10</sort_order>
2652
+ <frontend_type>allowspecific</frontend_type>
2653
+ <config_path>payment/skrill_yandex/allowspecific</config_path>
2654
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2655
+ <show_in_default>1</show_in_default>
2656
+ <show_in_website>1</show_in_website>
2657
+ <show_in_store>1</show_in_store>
2658
+ </allowspecific>
2659
+
2660
+ <specificcountry translate="label">
2661
+ <label>BACKEND_CH_COUNTRIESSPEC</label>
2662
+ <sort_order>11</sort_order>
2663
+ <frontend_type>multiselect</frontend_type>
2664
+ <config_path>payment/skrill_yandex/specificcountry</config_path>
2665
+ <source_model>adminhtml/system_config_source_country</source_model>
2666
+ <can_be_empty>1</can_be_empty>
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
+ </specificcountry>
2671
+ <sort_order translate="label">
2672
+ <label>BACKEND_CH_ORDER</label>
2673
+ <frontend_type>text</frontend_type>
2674
+ <config_path>payment/skrill_yandex/sort_order</config_path>
2675
+ <sort_order>15</sort_order>
2676
+ <show_in_default>1</show_in_default>
2677
+ <show_in_website>1</show_in_website>
2678
+ <show_in_store>1</show_in_store>
2679
+ </sort_order>
2680
+ </fields>
2681
+ </skrill_yandex> -->
2682
+
2683
+ </groups>
2684
+ </skrill>
2685
+ </sections>
2686
+ </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/code/community/Skrill/sql/skrill_setup/mysql4-upgrade-1.0.22-1.0.23.php ADDED
@@ -0,0 +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_pa' ");
6
+ $installer->endSetup();
app/design/adminhtml/default/Skrill/template/system/config/edit.phtml CHANGED
@@ -1,368 +1,368 @@
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 default_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
- /**
29
- * @methods
30
- * getTitle() - string
31
- * getSaveUrl() - string
32
- * getSections() - array
33
- * getForm() - html
34
- */
35
- ?>
36
- <style type='text/css'>
37
- .input-disabled{
38
- background-color:#EBEBE4 !important;
39
- border:1px solid #ABADB3 !important;
40
- padding:2px 1px !important;
41
- }
42
- .scope-label {
43
- display: none !important;
44
- }
45
- </style>
46
- <div class="content-header">
47
- <table cellspacing="0">
48
- <tr>
49
- <td>
50
- <h3<?php if($this->getHeaderCss()): ?> class="<?php echo $this->getHeaderCss()?>"<?php endif; ?>><?php echo Mage::helper('adminhtml')->__($this->getTitle()) ?></h3>
51
- </td>
52
- <td class="form-buttons"><?php echo $this->getSaveButtonHtml() ?></td>
53
- </tr>
54
- </table>
55
- </div>
56
- <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="config_edit_form" enctype="multipart/form-data">
57
- <?php echo $this->getBlockHtml('formkey')?>
58
- <?php echo $this->getChildHtml('form') ?>
59
- </form>
60
- <script src="<?php echo $this->getSkinUrl('js/skrill/md5.js')?>" type="text/javascript"></script>
61
- <script src="<?php echo $this->getSkinUrl('js/skrill/system_config_edit.js')?>" type="text/javascript"></script>
62
- <script type="text/javascript">
63
- //<![CDATA[
64
- var configForm = new varienForm('config_edit_form');
65
- var apipasswdold = document.getElementById("skrill_skrill_settings_api_passwd").value;
66
- var secretwordold = document.getElementById("skrill_skrill_settings_secret_word").value;
67
- configForm.validator.options.onFormValidate = function(result, form) {
68
- var apipasswd = document.getElementById("skrill_skrill_settings_api_passwd").value;
69
- if (apipasswd != '' && apipasswd != null && apipasswd != apipasswdold)
70
- {
71
- var hashapi = CryptoJS.MD5(apipasswd);
72
- document.getElementById("skrill_skrill_settings_api_passwd").value = hashapi;
73
- }
74
- var secretword = document.getElementById("skrill_skrill_settings_secret_word").value;
75
- if (secretword != '' && secretword != null && secretword != secretwordold)
76
- {
77
- var hashsecret = CryptoJS.MD5(secretword);
78
- document.getElementById("skrill_skrill_settings_secret_word").value = hashsecret;
79
- }
80
- if (result) {
81
- $$('.requires').each(function(element) {
82
- var scopeElement = adminSystemConfig.getScopeElement(element);
83
- if (!scopeElement || !scopeElement.checked) {
84
- $(element).disabled = false;
85
- }
86
- });
87
- }
88
- };
89
-
90
- var adminSystemConfig = {
91
- getUp: function (element, tag) {
92
- var $element = $(element);
93
- if (typeof $element.upTag == 'undefined') {
94
- $element.upTag = {};
95
- }
96
- if (typeof $element.upTag[tag] == 'undefined') {
97
- $element.upTag[tag] = $($element.up(tag));
98
- }
99
- return $element.upTag[tag];
100
- },
101
- getUpTd: function (element) {
102
- return this.getUp(element, 'td');
103
- },
104
- getUpTr: function (element) {
105
- return this.getUp(element, 'tr');
106
- },
107
- getScopeElement: function(element) {
108
- var $element = $(element);
109
- if (typeof $element.scopeElement == 'undefined') {
110
- var scopeElementName = element.getAttribute('name').replace(/\[value\]$/, '[inherit]');
111
- $element.scopeElement = this.getUpTr(element).select('input[name="' + scopeElementName + '"]')[0];
112
- if (typeof $element.scopeElement == 'undefined') {
113
- $element.scopeElement = false;
114
- }
115
- }
116
- return $element.scopeElement;
117
- },
118
- getDeleteElement: function(element) {
119
- var $element = $(element);
120
- if (typeof $element.deleteElement == 'undefined') {
121
- $element.deleteElement = this.getUpTd(element)
122
- .select('input[name="'+ element.getAttribute('name') + '[delete]"]')[0];
123
- if (typeof $element.deleteElement == 'undefined') {
124
- $element.deleteElement = false;
125
- }
126
- }
127
- return $element.deleteElement;
128
- },
129
- mapClasses: function(element, full, callback, classPrefix) {
130
- if (typeof classPrefix == 'undefined') {
131
- classPrefix = 'shared'
132
- }
133
- element.classNames().each(function(className) {
134
- if (className.indexOf(classPrefix + '-') == 0
135
- || (full && className.indexOf(classPrefix + '_') == 0)
136
- ) {
137
- callback(className);
138
- }
139
- });
140
- },
141
- getRegisteredEvents: function(element) {
142
- var events = [];
143
- var registry = Element.retrieve($(element), 'prototype_event_registry');
144
- if (!registry) {
145
- return events;
146
- }
147
- registry.each(function(pair) {
148
- var eventName = pair.key;
149
- if (!eventName) {
150
- return;
151
- }
152
- var responders = registry.get(eventName);
153
- if (!responders) {
154
- return;
155
- }
156
- responders.each(function(responder) {
157
- if (!responder.handler) {
158
- return;
159
- }
160
- events.push({
161
- 'eventName': eventName,
162
- 'handler': responder.handler
163
- });
164
- });
165
- });
166
- return events;
167
- },
168
- onchangeSharedElement: function(event) {
169
- var element = $(Event.element(event));
170
- adminSystemConfig.mapClasses(element, true, function(className) {
171
- $$('.' + className).each(function(el) {
172
- if (element == el) {
173
- return;
174
- }
175
-
176
- var tagName = el.tagName.toLowerCase();
177
- if (tagName == 'input' && el.getAttribute('type') == 'file') {
178
- var $el = $(el);
179
- var events = adminSystemConfig.getRegisteredEvents(el);
180
- $el.stopObserving('change');
181
- var elId = $el.id;
182
- $el.replace($el.outerHTML);
183
- events.each(function(event) {
184
- Event.observe($(elId), event.eventName, event.handler);
185
- });
186
- } else {
187
- el.stopObserving('change', adminSystemConfig.onchangeSharedElement);
188
- if (tagName == 'input' && el.getAttribute('type') == 'checkbox') {
189
- if (el.checked != element.checked) {
190
- $(el).click();
191
- }
192
- } else if (tagName == 'select') {
193
- var $el = $(el);
194
- $(element).select('option').each(function(option) {
195
- var relatedOption = $el.select('option[value="' + option.value + '"]')[0];
196
- if (typeof relatedOption != 'undefined') {
197
- relatedOption.selected = option.selected;
198
- }
199
- });
200
- } else {
201
- el.value = element.getValue();
202
- }
203
- if ($(el).requiresObj) {
204
- $(el).requiresObj.indicateEnabled();
205
- }
206
- fireEvent(el, 'change');
207
- Event.observe(el, 'change', adminSystemConfig.onchangeSharedElement);
208
- }
209
- });
210
- });
211
- },
212
- checkRequired: function(element, callback) {
213
- var tagName = this.tagName.toLowerCase();
214
- if (tagName != 'fieldset') {
215
- if (adminSystemConfig.getUpTr(this).visible()) {
216
-
217
- if (this.hasClassName('not-required')) {
218
- return;
219
- }
220
-
221
- var typeAttr = null;
222
- if (tagName == 'input') {
223
- typeAttr = this.getAttribute('type').toLowerCase();
224
- }
225
- var valueIsEmpty = false;
226
- var scopeElement = adminSystemConfig.getScopeElement(this);
227
- if (!scopeElement || !scopeElement.checked) {
228
- if (typeAttr == 'file') {
229
- var deleteUploadedElement = adminSystemConfig.getDeleteElement(this);
230
- valueIsEmpty = !deleteUploadedElement && this.value == ''
231
- || deleteUploadedElement && deleteUploadedElement.checked;
232
- }
233
- valueIsEmpty = valueIsEmpty
234
- || (typeAttr == 'text' || typeAttr == 'password') && this.value == ''
235
- || (tagName == 'select') && (this.getAttribute('multiple') != null)
236
- && this.getValue().length == 0
237
- || (tagName == 'select') && (this.getAttribute('multiple') == null)
238
- && this.getValue() == null;
239
- }
240
-
241
- if (valueIsEmpty) {
242
- if (element.value != 0) {
243
- element.value = 0;
244
- fireEvent(element, 'change');
245
- }
246
- element.disable();
247
- }
248
- }
249
- } else {
250
- this.select('input,select').each(function(inputElement) {
251
- adminSystemConfig.checkRequired.call($(inputElement), element, callback);
252
- });
253
- }
254
- callback(this);
255
- }
256
- };
257
-
258
- $$('.shared').each(function(element){
259
- Event.observe(element, 'change', adminSystemConfig.onchangeSharedElement);
260
-
261
- // scope should be shared together with the field
262
- var scopeElement = adminSystemConfig.getScopeElement(element);
263
- if (scopeElement) {
264
- adminSystemConfig.mapClasses(element, false, function(className) {
265
- scopeElement.addClassName('shared_scope-' + className.substr(7));
266
- });
267
- Event.observe(scopeElement, 'change', adminSystemConfig.onchangeSharedElement);
268
- }
269
-
270
- // file fields should share deletion
271
- if (element.tagName.toLowerCase() == 'input' && element.getAttribute('type') == 'file') {
272
- var deleteUploadedElement = adminSystemConfig.getDeleteElement(element);
273
- if (deleteUploadedElement) {
274
- adminSystemConfig.mapClasses(element, false, function(className) {
275
- deleteUploadedElement.addClassName('shared_delete-' + className.substr(7));
276
- });
277
- Event.observe(deleteUploadedElement, 'change', adminSystemConfig.onchangeSharedElement);
278
- }
279
- }
280
-
281
- // process situation, when control is complex
282
- adminSystemConfig.mapClasses(element, true, function(className) {
283
- var controls = adminSystemConfig.getUpTd(element).select('.' + className);
284
- if (controls.length < 2) {
285
- return;
286
- }
287
-
288
- var counter = 0;
289
- controls.each(function(controlElement) {
290
- controlElement.removeClassName(className);
291
- controlElement.addClassName('shared_' + counter + className.substr(6));
292
- counter++;
293
- });
294
- });
295
- });
296
-
297
- $$('.requires').each(function(element) {
298
- var eventObj = {
299
- 'element': $(element),
300
- 'requires': [],
301
- 'callback': function(required) {},
302
- checkRequirements: function() {
303
- var scopeElement = adminSystemConfig.getScopeElement(eventObj.element);
304
- if (!scopeElement || !scopeElement.checked) {
305
- eventObj.element.enable();
306
- eventObj.requires.each(function(required) {
307
- adminSystemConfig.checkRequired.call($(required), eventObj.element, eventObj.callback);
308
- }.bind(this));
309
- }
310
- },
311
- keydownCheckRequirements: function() {
312
- window.setTimeout(eventObj.checkRequirements, 1);
313
- },
314
- bindCheckingObserver: function(element) {
315
- if (element.tagName.toLowerCase() == 'fieldset') {
316
- $(element).select('input,select').each(function(subElement) {
317
- eventObj.bindCheckingObserver(subElement);
318
- })
319
- } else {
320
- var scopeElement = adminSystemConfig.getScopeElement(element);
321
- if (scopeElement) {
322
- Event.observe(scopeElement, 'click', eventObj.checkRequirements);
323
- }
324
- Event.observe(element, 'change', eventObj.checkRequirements);
325
- Event.observe(element, 'keydown', eventObj.keydownCheckRequirements);
326
- }
327
- },
328
- indicateEnabled: function() {
329
- var labelElement = adminSystemConfig.getUpTr(eventObj.element).select('td.label label')[0];
330
- if (typeof labelElement != 'undefined') {
331
- if (eventObj.element.value == 1) {
332
- labelElement.addClassName('enabled');
333
- } else {
334
- labelElement.removeClassName('enabled');
335
- }
336
- }
337
- }
338
- };
339
-
340
- // fill eventObj with required elements
341
- adminSystemConfig.mapClasses(element, false, function(className) {
342
- var requiredElement = $(className.substr(9));
343
- if (typeof requiredElement != 'undefined') {
344
- eventObj.requires.push(requiredElement);
345
- }
346
- }, 'requires');
347
- $(element).requiresObj = eventObj;
348
-
349
- // replacing "Use Default" action with checking requirements
350
- var scopeElement = adminSystemConfig.getScopeElement(element);
351
- if (scopeElement) {
352
- Event.stopObserving(scopeElement, 'click');
353
- Event.observe(scopeElement, 'click', function(event) {
354
- toggleValueElements(scopeElement, Element.previous(scopeElement.parentNode));
355
- eventObj.checkRequirements();
356
- });
357
- }
358
-
359
- // binding events
360
- eventObj.requires.each(function(required) {
361
- eventObj.bindCheckingObserver(required);
362
- });
363
- Event.observe(eventObj.element, 'change', eventObj.indicateEnabled);
364
- eventObj.checkRequirements();
365
- eventObj.indicateEnabled();
366
- });
367
- //]]>
368
- </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 default_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
+ /**
29
+ * @methods
30
+ * getTitle() - string
31
+ * getSaveUrl() - string
32
+ * getSections() - array
33
+ * getForm() - html
34
+ */
35
+ ?>
36
+ <style type='text/css'>
37
+ .input-disabled{
38
+ background-color:#EBEBE4 !important;
39
+ border:1px solid #ABADB3 !important;
40
+ padding:2px 1px !important;
41
+ }
42
+ .scope-label {
43
+ display: none !important;
44
+ }
45
+ </style>
46
+ <div class="content-header">
47
+ <table cellspacing="0">
48
+ <tr>
49
+ <td>
50
+ <h3<?php if($this->getHeaderCss()): ?> class="<?php echo $this->getHeaderCss()?>"<?php endif; ?>><?php echo Mage::helper('adminhtml')->__($this->getTitle()) ?></h3>
51
+ </td>
52
+ <td class="form-buttons"><?php echo $this->getSaveButtonHtml() ?></td>
53
+ </tr>
54
+ </table>
55
+ </div>
56
+ <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="config_edit_form" enctype="multipart/form-data">
57
+ <?php echo $this->getBlockHtml('formkey')?>
58
+ <?php echo $this->getChildHtml('form') ?>
59
+ </form>
60
+ <script src="<?php echo $this->getSkinUrl('js/skrill/md5.js')?>" type="text/javascript"></script>
61
+ <script src="<?php echo $this->getSkinUrl('js/skrill/system_config_edit.js')?>" type="text/javascript"></script>
62
+ <script type="text/javascript">
63
+ //<![CDATA[
64
+ var configForm = new varienForm('config_edit_form');
65
+ var apipasswdold = document.getElementById("skrill_skrill_settings_api_passwd").value;
66
+ var secretwordold = document.getElementById("skrill_skrill_settings_secret_word").value;
67
+ configForm.validator.options.onFormValidate = function(result, form) {
68
+ var apipasswd = document.getElementById("skrill_skrill_settings_api_passwd").value;
69
+ if (apipasswd != '' && apipasswd != null && apipasswd != apipasswdold)
70
+ {
71
+ var hashapi = CryptoJS.MD5(apipasswd);
72
+ document.getElementById("skrill_skrill_settings_api_passwd").value = hashapi;
73
+ }
74
+ var secretword = document.getElementById("skrill_skrill_settings_secret_word").value;
75
+ if (secretword != '' && secretword != null && secretword != secretwordold)
76
+ {
77
+ var hashsecret = CryptoJS.MD5(secretword);
78
+ document.getElementById("skrill_skrill_settings_secret_word").value = hashsecret;
79
+ }
80
+ if (result) {
81
+ $$('.requires').each(function(element) {
82
+ var scopeElement = adminSystemConfig.getScopeElement(element);
83
+ if (!scopeElement || !scopeElement.checked) {
84
+ $(element).disabled = false;
85
+ }
86
+ });
87
+ }
88
+ };
89
+
90
+ var adminSystemConfig = {
91
+ getUp: function (element, tag) {
92
+ var $element = $(element);
93
+ if (typeof $element.upTag == 'undefined') {
94
+ $element.upTag = {};
95
+ }
96
+ if (typeof $element.upTag[tag] == 'undefined') {
97
+ $element.upTag[tag] = $($element.up(tag));
98
+ }
99
+ return $element.upTag[tag];
100
+ },
101
+ getUpTd: function (element) {
102
+ return this.getUp(element, 'td');
103
+ },
104
+ getUpTr: function (element) {
105
+ return this.getUp(element, 'tr');
106
+ },
107
+ getScopeElement: function(element) {
108
+ var $element = $(element);
109
+ if (typeof $element.scopeElement == 'undefined') {
110
+ var scopeElementName = element.getAttribute('name').replace(/\[value\]$/, '[inherit]');
111
+ $element.scopeElement = this.getUpTr(element).select('input[name="' + scopeElementName + '"]')[0];
112
+ if (typeof $element.scopeElement == 'undefined') {
113
+ $element.scopeElement = false;
114
+ }
115
+ }
116
+ return $element.scopeElement;
117
+ },
118
+ getDeleteElement: function(element) {
119
+ var $element = $(element);
120
+ if (typeof $element.deleteElement == 'undefined') {
121
+ $element.deleteElement = this.getUpTd(element)
122
+ .select('input[name="'+ element.getAttribute('name') + '[delete]"]')[0];
123
+ if (typeof $element.deleteElement == 'undefined') {
124
+ $element.deleteElement = false;
125
+ }
126
+ }
127
+ return $element.deleteElement;
128
+ },
129
+ mapClasses: function(element, full, callback, classPrefix) {
130
+ if (typeof classPrefix == 'undefined') {
131
+ classPrefix = 'shared'
132
+ }
133
+ element.classNames().each(function(className) {
134
+ if (className.indexOf(classPrefix + '-') == 0
135
+ || (full && className.indexOf(classPrefix + '_') == 0)
136
+ ) {
137
+ callback(className);
138
+ }
139
+ });
140
+ },
141
+ getRegisteredEvents: function(element) {
142
+ var events = [];
143
+ var registry = Element.retrieve($(element), 'prototype_event_registry');
144
+ if (!registry) {
145
+ return events;
146
+ }
147
+ registry.each(function(pair) {
148
+ var eventName = pair.key;
149
+ if (!eventName) {
150
+ return;
151
+ }
152
+ var responders = registry.get(eventName);
153
+ if (!responders) {
154
+ return;
155
+ }
156
+ responders.each(function(responder) {
157
+ if (!responder.handler) {
158
+ return;
159
+ }
160
+ events.push({
161
+ 'eventName': eventName,
162
+ 'handler': responder.handler
163
+ });
164
+ });
165
+ });
166
+ return events;
167
+ },
168
+ onchangeSharedElement: function(event) {
169
+ var element = $(Event.element(event));
170
+ adminSystemConfig.mapClasses(element, true, function(className) {
171
+ $$('.' + className).each(function(el) {
172
+ if (element == el) {
173
+ return;
174
+ }
175
+
176
+ var tagName = el.tagName.toLowerCase();
177
+ if (tagName == 'input' && el.getAttribute('type') == 'file') {
178
+ var $el = $(el);
179
+ var events = adminSystemConfig.getRegisteredEvents(el);
180
+ $el.stopObserving('change');
181
+ var elId = $el.id;
182
+ $el.replace($el.outerHTML);
183
+ events.each(function(event) {
184
+ Event.observe($(elId), event.eventName, event.handler);
185
+ });
186
+ } else {
187
+ el.stopObserving('change', adminSystemConfig.onchangeSharedElement);
188
+ if (tagName == 'input' && el.getAttribute('type') == 'checkbox') {
189
+ if (el.checked != element.checked) {
190
+ $(el).click();
191
+ }
192
+ } else if (tagName == 'select') {
193
+ var $el = $(el);
194
+ $(element).select('option').each(function(option) {
195
+ var relatedOption = $el.select('option[value="' + option.value + '"]')[0];
196
+ if (typeof relatedOption != 'undefined') {
197
+ relatedOption.selected = option.selected;
198
+ }
199
+ });
200
+ } else {
201
+ el.value = element.getValue();
202
+ }
203
+ if ($(el).requiresObj) {
204
+ $(el).requiresObj.indicateEnabled();
205
+ }
206
+ fireEvent(el, 'change');
207
+ Event.observe(el, 'change', adminSystemConfig.onchangeSharedElement);
208
+ }
209
+ });
210
+ });
211
+ },
212
+ checkRequired: function(element, callback) {
213
+ var tagName = this.tagName.toLowerCase();
214
+ if (tagName != 'fieldset') {
215
+ if (adminSystemConfig.getUpTr(this).visible()) {
216
+
217
+ if (this.hasClassName('not-required')) {
218
+ return;
219
+ }
220
+
221
+ var typeAttr = null;
222
+ if (tagName == 'input') {
223
+ typeAttr = this.getAttribute('type').toLowerCase();
224
+ }
225
+ var valueIsEmpty = false;
226
+ var scopeElement = adminSystemConfig.getScopeElement(this);
227
+ if (!scopeElement || !scopeElement.checked) {
228
+ if (typeAttr == 'file') {
229
+ var deleteUploadedElement = adminSystemConfig.getDeleteElement(this);
230
+ valueIsEmpty = !deleteUploadedElement && this.value == ''
231
+ || deleteUploadedElement && deleteUploadedElement.checked;
232
+ }
233
+ valueIsEmpty = valueIsEmpty
234
+ || (typeAttr == 'text' || typeAttr == 'password') && this.value == ''
235
+ || (tagName == 'select') && (this.getAttribute('multiple') != null)
236
+ && this.getValue().length == 0
237
+ || (tagName == 'select') && (this.getAttribute('multiple') == null)
238
+ && this.getValue() == null;
239
+ }
240
+
241
+ if (valueIsEmpty) {
242
+ if (element.value != 0) {
243
+ element.value = 0;
244
+ fireEvent(element, 'change');
245
+ }
246
+ element.disable();
247
+ }
248
+ }
249
+ } else {
250
+ this.select('input,select').each(function(inputElement) {
251
+ adminSystemConfig.checkRequired.call($(inputElement), element, callback);
252
+ });
253
+ }
254
+ callback(this);
255
+ }
256
+ };
257
+
258
+ $$('.shared').each(function(element){
259
+ Event.observe(element, 'change', adminSystemConfig.onchangeSharedElement);
260
+
261
+ // scope should be shared together with the field
262
+ var scopeElement = adminSystemConfig.getScopeElement(element);
263
+ if (scopeElement) {
264
+ adminSystemConfig.mapClasses(element, false, function(className) {
265
+ scopeElement.addClassName('shared_scope-' + className.substr(7));
266
+ });
267
+ Event.observe(scopeElement, 'change', adminSystemConfig.onchangeSharedElement);
268
+ }
269
+
270
+ // file fields should share deletion
271
+ if (element.tagName.toLowerCase() == 'input' && element.getAttribute('type') == 'file') {
272
+ var deleteUploadedElement = adminSystemConfig.getDeleteElement(element);
273
+ if (deleteUploadedElement) {
274
+ adminSystemConfig.mapClasses(element, false, function(className) {
275
+ deleteUploadedElement.addClassName('shared_delete-' + className.substr(7));
276
+ });
277
+ Event.observe(deleteUploadedElement, 'change', adminSystemConfig.onchangeSharedElement);
278
+ }
279
+ }
280
+
281
+ // process situation, when control is complex
282
+ adminSystemConfig.mapClasses(element, true, function(className) {
283
+ var controls = adminSystemConfig.getUpTd(element).select('.' + className);
284
+ if (controls.length < 2) {
285
+ return;
286
+ }
287
+
288
+ var counter = 0;
289
+ controls.each(function(controlElement) {
290
+ controlElement.removeClassName(className);
291
+ controlElement.addClassName('shared_' + counter + className.substr(6));
292
+ counter++;
293
+ });
294
+ });
295
+ });
296
+
297
+ $$('.requires').each(function(element) {
298
+ var eventObj = {
299
+ 'element': $(element),
300
+ 'requires': [],
301
+ 'callback': function(required) {},
302
+ checkRequirements: function() {
303
+ var scopeElement = adminSystemConfig.getScopeElement(eventObj.element);
304
+ if (!scopeElement || !scopeElement.checked) {
305
+ eventObj.element.enable();
306
+ eventObj.requires.each(function(required) {
307
+ adminSystemConfig.checkRequired.call($(required), eventObj.element, eventObj.callback);
308
+ }.bind(this));
309
+ }
310
+ },
311
+ keydownCheckRequirements: function() {
312
+ window.setTimeout(eventObj.checkRequirements, 1);
313
+ },
314
+ bindCheckingObserver: function(element) {
315
+ if (element.tagName.toLowerCase() == 'fieldset') {
316
+ $(element).select('input,select').each(function(subElement) {
317
+ eventObj.bindCheckingObserver(subElement);
318
+ })
319
+ } else {
320
+ var scopeElement = adminSystemConfig.getScopeElement(element);
321
+ if (scopeElement) {
322
+ Event.observe(scopeElement, 'click', eventObj.checkRequirements);
323
+ }
324
+ Event.observe(element, 'change', eventObj.checkRequirements);
325
+ Event.observe(element, 'keydown', eventObj.keydownCheckRequirements);
326
+ }
327
+ },
328
+ indicateEnabled: function() {
329
+ var labelElement = adminSystemConfig.getUpTr(eventObj.element).select('td.label label')[0];
330
+ if (typeof labelElement != 'undefined') {
331
+ if (eventObj.element.value == 1) {
332
+ labelElement.addClassName('enabled');
333
+ } else {
334
+ labelElement.removeClassName('enabled');
335
+ }
336
+ }
337
+ }
338
+ };
339
+
340
+ // fill eventObj with required elements
341
+ adminSystemConfig.mapClasses(element, false, function(className) {
342
+ var requiredElement = $(className.substr(9));
343
+ if (typeof requiredElement != 'undefined') {
344
+ eventObj.requires.push(requiredElement);
345
+ }
346
+ }, 'requires');
347
+ $(element).requiresObj = eventObj;
348
+
349
+ // replacing "Use Default" action with checking requirements
350
+ var scopeElement = adminSystemConfig.getScopeElement(element);
351
+ if (scopeElement) {
352
+ Event.stopObserving(scopeElement, 'click');
353
+ Event.observe(scopeElement, 'click', function(event) {
354
+ toggleValueElements(scopeElement, Element.previous(scopeElement.parentNode));
355
+ eventObj.checkRequirements();
356
+ });
357
+ }
358
+
359
+ // binding events
360
+ eventObj.requires.each(function(required) {
361
+ eventObj.bindCheckingObserver(required);
362
+ });
363
+ Event.observe(eventObj.element, 'change', eventObj.indicateEnabled);
364
+ eventObj.checkRequirements();
365
+ eventObj.indicateEnabled();
366
+ });
367
+ //]]>
368
+ </script>
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,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
- * @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 $order = Mage::registry('sales_order'); ?>
43
- <?php if ($order && $this->getInfo()->getAdditionalInformation('skrill_status') != "-4") { ?>
44
- <form action="<?php echo Mage::helper("adminhtml")->getUrl("adminhtml/updateorder/index"); ?>" method="post">
45
- <input type="hidden" name="order_id" value="<?php echo $order->getId(); ?>"/>
46
- <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
47
- <button style="float:right;" type="submit"><?php echo Mage::helper('skrill')->__('BACKEND_TT_UPDATE_ORDER'); ?></button>
48
- </form>
49
  <?php } ?>
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 $order = Mage::registry('sales_order'); ?>
43
+ <?php if ($order && $this->getInfo()->getAdditionalInformation('skrill_status') != "-4") { ?>
44
+ <form action="<?php echo Mage::helper("adminhtml")->getUrl("adminhtml/updateorder/index"); ?>" method="post">
45
+ <input type="hidden" name="order_id" value="<?php echo $order->getId(); ?>"/>
46
+ <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
47
+ <button style="float:right;" type="submit"><?php echo Mage::helper('skrill')->__('BACKEND_TT_UPDATE_ORDER'); ?></button>
48
+ </form>
49
  <?php } ?>
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,58 +1,58 @@
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
- <action method="addCheckoutLink"></action>
11
- </block>
12
- </reference>
13
-
14
- <reference name="header">
15
- <block type="checkout/cart_minicart" name="minicart_head" template="checkout/cart/minicart.phtml" before="-">
16
- <block type="checkout/cart_sidebar" name="minicart_content" template="checkout/cart/minicart/items.phtml">
17
- <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
18
- <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
19
- <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
20
- <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
21
-
22
- <block type="core/text_list" name="cart_sidebar.cart_promotion" as="cart_promotion" translate="label" module="checkout">
23
- <label>Mini-cart promotion block</label>
24
- </block>
25
- <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
26
- <label>Shopping Cart Sidebar Extra Actions</label>
27
- </block>
28
- </block>
29
- </block>
30
- </reference>
31
-
32
- <reference name="right">
33
- <!--<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">-->
34
- <!--<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
35
- <!--<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
36
- <!--<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
37
- <!--<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">-->
38
- <!--<label>Shopping Cart Sidebar Extra Actions</label>-->
39
- <!--</block>-->
40
- <!--</block>-->
41
- </reference>
42
- </default>
43
-
44
- <!--
45
- One page checkout payment methods block
46
- -->
47
- <checkout_onepage_paymentmethod>
48
- <remove name="right"/>
49
- <remove name="left"/>
50
-
51
- <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/skrill/methods.phtml">
52
- <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
53
- <block type="core/template" name="checkout.onepage.payment.methods.scripts" as="scripts" />
54
- <block type="core/template" name="checkout.onepage.payment.methods.additional" as="additional" />
55
- </block>
56
- </checkout_onepage_paymentmethod>
57
-
58
- </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
+ <action method="addCheckoutLink"></action>
11
+ </block>
12
+ </reference>
13
+
14
+ <reference name="header">
15
+ <block type="checkout/cart_minicart" name="minicart_head" template="checkout/cart/minicart.phtml" before="-">
16
+ <block type="checkout/cart_sidebar" name="minicart_content" template="checkout/cart/minicart/items.phtml">
17
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
18
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
19
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
20
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/minicart/skrill/default.phtml</template></action>
21
+
22
+ <block type="core/text_list" name="cart_sidebar.cart_promotion" as="cart_promotion" translate="label" module="checkout">
23
+ <label>Mini-cart promotion block</label>
24
+ </block>
25
+ <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
26
+ <label>Shopping Cart Sidebar Extra Actions</label>
27
+ </block>
28
+ </block>
29
+ </block>
30
+ </reference>
31
+
32
+ <reference name="right">
33
+ <!--<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">-->
34
+ <!--<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
35
+ <!--<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
36
+ <!--<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
37
+ <!--<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">-->
38
+ <!--<label>Shopping Cart Sidebar Extra Actions</label>-->
39
+ <!--</block>-->
40
+ <!--</block>-->
41
+ </reference>
42
+ </default>
43
+
44
+ <!--
45
+ One page checkout payment methods block
46
+ -->
47
+ <checkout_onepage_paymentmethod>
48
+ <remove name="right"/>
49
+ <remove name="left"/>
50
+
51
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/skrill/methods.phtml">
52
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
53
+ <block type="core/template" name="checkout.onepage.payment.methods.scripts" as="scripts" />
54
+ <block type="core/template" name="checkout.onepage.payment.methods.additional" as="additional" />
55
+ </block>
56
+ </checkout_onepage_paymentmethod>
57
+
58
+ </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,249 +1,264 @@
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"
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_GCB", "Carte Bleue by Visa"
12
- "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
13
- "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
14
- "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
15
- "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
16
- "SKRILL_FRONTEND_PM_GIR", "Giropay"
17
- "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
18
- "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
19
- "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
20
- "SKRILL_FRONTEND_PM_IDL", "iDEAL"
21
- "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
22
- "SKRILL_FRONTEND_PM_PLI", "POLi"
23
- "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
24
- "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
25
- "SKRILL_FRONTEND_PM_GLU", "Trustly"
26
- "SKRILL_FRONTEND_PM_NTL", "Neteller"
27
- "SKRILL_FRONTEND_PM_ALI", "Alipay"
28
- "FRONTEND_PM_CC", "Credit Card"
29
- "FRONTEND_PM_DD", "Lastschrift (ELV)"
30
- "FRONTEND_PM_EPS", "eps"
31
- "FRONTEND_PM_GIROPAY", "giropay"
32
- "FRONTEND_PM_IDEAL", "iDeal"
33
- "FRONTEND_PM_PAYPAL", "PayPal"
34
- "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
35
- "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
36
- "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
37
- "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
38
- "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
39
- "FRONTEND_PM_PAYTRAIL", "Paytrail"
40
- "FRONTEND_PM_YANDEX", "Yandex"
41
-
42
- "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
43
- "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
44
- "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
45
- "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
46
- "SKRILL_BACKEND_PM_PSC", "Paysafecard"
47
- "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX"
48
- "SKRILL_BACKEND_PM_VSA", "Visa"
49
- "SKRILL_BACKEND_PM_MSC", "MasterCard"
50
- "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
51
- "SKRILL_BACKEND_PM_VSE", "Visa Electron"
52
- "SKRILL_BACKEND_PM_MAE", "Maestro"
53
- "SKRILL_BACKEND_PM_AMX", "American Express"
54
- "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
55
- "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
56
- "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
57
- "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
58
- "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
59
- "SKRILL_BACKEND_PM_GIR", "Giropay"
60
- "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
61
- "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
62
- "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
63
- "SKRILL_BACKEND_PM_IDL", "iDEAL"
64
- "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
65
- "SKRILL_BACKEND_PM_PLI", "POLi"
66
- "SKRILL_BACKEND_PM_PWY", "Przelewy24"
67
- "SKRILL_BACKEND_PM_EPY", "ePay.bg"
68
- "SKRILL_BACKEND_PM_GLU", "Trustly"
69
- "SKRILL_BACKEND_PM_NTL", "Neteller"
70
- "SKRILL_BACKEND_PM_ALI", "Alipay"
71
- "BACKEND_PM_CC", "Credit Card (Enterprise)"
72
- "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
73
- "BACKEND_PM_EPS", "eps (Enterprise)"
74
- "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
75
- "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
76
- "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
77
- "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
78
- "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
79
- "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
80
- "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
81
- "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
82
- "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
83
-
84
- "SKRILL_BACKEND_MID", "Merchant ID"
85
- "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
86
- "SKRILL_BACKEND_RECIPIENT", "Recipient"
87
- "SKRILL_BACKEND_LOGO", "Logo Url"
88
- "SKRILL_BACKEND_SHOPURL", "Shop Url"
89
- "SKRILL_BACKEND_APIPASS", "API Password"
90
- "SKRILL_BACKEND_SECRETWORD", "Secret word"
91
- "SKRILL_BACKEND_DISPLAY", "Display"
92
-
93
- "SKRILL_BACKEND_IFRAME", "IFrame"
94
- "SKRILL_BACKEND_REDIRECT", "Redirect"
95
-
96
- "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
97
- "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
98
-
99
- "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
100
- "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
101
- "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
102
- "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."
103
- "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."
104
- "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."
105
- "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."
106
- "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
107
- "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard and Amex will automatically be disabled as an option to show separately."
108
- "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
109
- "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
110
-
111
- "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
112
- "SKRILL_BACKEND_PM_MODE", "Show separately"
113
- "SKRILL_BACKEND_GATE", "Select Gateway"
114
- "BACKEND_CH_ACTIVE", "Enabled"
115
- "BACKEND_CH_SERVER", "Server"
116
- "BACKEND_CH_MODE", "Transaction-Mode"
117
- "BACKEND_CH_CARDS", "Cards types"
118
- "BACKEND_CH_CHANNEL","Channel ID"
119
- "BACKEND_CH_SENDER","Sender"
120
- "BACKEND_CH_LOGIN", "Login"
121
- "BACKEND_CH_PASSWORD", "Password"
122
- "BACKEND_CH_COUNTRIES", "Applicable Countries"
123
- "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
124
- "BACKEND_CH_ORDER", "Sort Order"
125
- "BACKEND_CH_AMOUNT","Amount for Registration"
126
-
127
- "ERROR_GENERAL_REDIRECT", "Error before redirect"
128
- "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
129
- "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
130
-
131
- "BACKEND_CH_MODE_TEST", "TEST"
132
- "BACKEND_CH_MODE_LIVE", "LIVE"
133
-
134
- "BACKEND_CH_MODEDEBIT", "Debit"
135
- "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
136
-
137
- "BACKEND_CC_AMEX", "American Express"
138
- "BACKEND_CC_VISA", "VISA"
139
- "BACKEND_CC_MASTER", "MasterCard"
140
- "BACKEND_CC_MAESTRO", "Maestro"
141
-
142
- "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
143
- "FRONTEND_CC_NUMBER", "Card number"
144
- "FRONTEND_CC_EXPIRY", "Expires Month / Year"
145
- "FRONTEND_CC_CVC", "CVC-Code"
146
- "FRONTEND_CC_HELP", "Help"
147
- "FRONTEND_BT_CANCEL", "Cancel"
148
- "FRONTEND_BT_CONFIRM", "Confirm"
149
- "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
150
- "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
151
- "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
152
- "FRONTEND_CC_HOLDER", "Card holder"
153
-
154
- "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
155
- "FRONTEND_DD_IBAN", "Account Number / IBAN"
156
- "FRONTEND_DD_BIC", "Bank Code / BIC"
157
- "FRONTEND_DD_BANK", "Bank"
158
-
159
- "SUCCESS_PAYMENT_ACC", "Payment Accepted"
160
- "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
161
-
162
- "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
163
- "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
164
- "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
165
- "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
166
- "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
167
- "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
168
- "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
169
- "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
170
- "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
171
- "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
172
- "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
173
- "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
174
- "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
175
- "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
176
- "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
177
- "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
178
- "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
179
- "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
180
- "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
181
- "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
182
- "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
183
- "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
184
- "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
185
- "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
186
- "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
187
- "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
188
- "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
189
-
190
- "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
191
- "SKRILL_BACKEND_ORDER_PM", "Used payment method"
192
- "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
193
-
194
- "BACKEND_TT_PROCESSED", "Processed"
195
- "BACKEND_TT_PENDING", "Pending"
196
- "BACKEND_TT_CANCELLED", "Cancelled"
197
- "BACKEND_TT_FAILED", "Failed"
198
- "BACKEND_TT_CHARGEBACK", "Chargeback"
199
- "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
200
-
201
- "BACKEND_TT_ACC", "Payment Accepted"
202
- "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
203
-
204
- "BACKEND_TT_CAPTURED", "Capture successfull"
205
- "BACKEND_TT_REFUNDED", "Refund successfull"
206
-
207
- "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
208
- "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
209
-
210
- "BACKEND_TT_BY_PAYON", "by Enterprise"
211
- "BACKEND_TT_BY_SKRILL", "by Skrill"
212
-
213
- "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
214
- "BACKEND_TT_UPDATE_ORDER", "Update Order"
215
-
216
- "Order was placed using %s", "Order was placed using %s"
217
-
218
- "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
219
- "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
220
- "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
221
- "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."
222
-
223
- "SKRILL_ERROR_01", "Referred by card issuer"
224
- "SKRILL_ERROR_02", "Invalid Merchant"
225
- "SKRILL_ERROR_03", "Stolen card"
226
- "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
227
- "SKRILL_ERROR_05", "Insufficient funds"
228
- "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
229
- "SKRILL_ERROR_09", "Invalid Transaction"
230
- "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
231
- "SKRILL_ERROR_12", "Invalid credit card or bank account"
232
- "SKRILL_ERROR_15", "Duplicate transaction"
233
- "SKRILL_ERROR_19", "Unknown failure reason. Try again"
234
- "SKRILL_ERROR_24", "Card expired"
235
- "SKRILL_ERROR_28", "Lost/Stolen card"
236
- "SKRILL_ERROR_32", "Card Security Code check failed"
237
- "SKRILL_ERROR_37", "Card restricted by card issuer"
238
- "SKRILL_ERROR_38", "Security violation"
239
- "SKRILL_ERROR_42", "Card blocked by card issuer"
240
- "SKRILL_ERROR_44", "Customer's issuing bank not available"
241
- "SKRILL_ERROR_51", "Processing system error"
242
- "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
243
- "SKRILL_ERROR_70", "Customer failed to complete 3DS"
244
- "SKRILL_ERROR_71", "Customer failed SMS verification"
245
- "SKRILL_ERROR_80", "Fraud engine declined"
246
- "SKRILL_ERROR_98", "Error in communication with provider"
247
- "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
248
- "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
249
- "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
app/locale/ar_DZ/Skrill.csv CHANGED
@@ -1,249 +1,264 @@
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"
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_GCB", "Carte Bleue by Visa"
12
- "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
13
- "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
14
- "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
15
- "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
16
- "SKRILL_FRONTEND_PM_GIR", "Giropay"
17
- "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
18
- "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
19
- "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
20
- "SKRILL_FRONTEND_PM_IDL", "iDEAL"
21
- "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
22
- "SKRILL_FRONTEND_PM_PLI", "POLi"
23
- "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
24
- "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
25
- "SKRILL_FRONTEND_PM_GLU", "Trustly"
26
- "SKRILL_FRONTEND_PM_NTL", "Neteller"
27
- "SKRILL_FRONTEND_PM_ALI", "Alipay"
28
- "FRONTEND_PM_CC", "Credit Card"
29
- "FRONTEND_PM_DD", "Lastschrift (ELV)"
30
- "FRONTEND_PM_EPS", "eps"
31
- "FRONTEND_PM_GIROPAY", "giropay"
32
- "FRONTEND_PM_IDEAL", "iDeal"
33
- "FRONTEND_PM_PAYPAL", "PayPal"
34
- "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
35
- "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
36
- "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
37
- "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
38
- "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
39
- "FRONTEND_PM_PAYTRAIL", "Paytrail"
40
- "FRONTEND_PM_YANDEX", "Yandex"
41
-
42
- "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
43
- "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
44
- "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
45
- "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
46
- "SKRILL_BACKEND_PM_PSC", "Paysafecard"
47
- "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX"
48
- "SKRILL_BACKEND_PM_VSA", "Visa"
49
- "SKRILL_BACKEND_PM_MSC", "MasterCard"
50
- "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
51
- "SKRILL_BACKEND_PM_VSE", "Visa Electron"
52
- "SKRILL_BACKEND_PM_MAE", "Maestro"
53
- "SKRILL_BACKEND_PM_AMX", "American Express"
54
- "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
55
- "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
56
- "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
57
- "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
58
- "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
59
- "SKRILL_BACKEND_PM_GIR", "Giropay"
60
- "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
61
- "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
62
- "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
63
- "SKRILL_BACKEND_PM_IDL", "iDEAL"
64
- "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
65
- "SKRILL_BACKEND_PM_PLI", "POLi"
66
- "SKRILL_BACKEND_PM_PWY", "Przelewy24"
67
- "SKRILL_BACKEND_PM_EPY", "ePay.bg"
68
- "SKRILL_BACKEND_PM_GLU", "Trustly"
69
- "SKRILL_BACKEND_PM_NTL", "Neteller"
70
- "SKRILL_BACKEND_PM_ALI", "Alipay"
71
- "BACKEND_PM_CC", "Credit Card (Enterprise)"
72
- "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
73
- "BACKEND_PM_EPS", "eps (Enterprise)"
74
- "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
75
- "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
76
- "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
77
- "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
78
- "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
79
- "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
80
- "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
81
- "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
82
- "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
83
-
84
- "SKRILL_BACKEND_MID", "Merchant ID"
85
- "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
86
- "SKRILL_BACKEND_RECIPIENT", "Recipient"
87
- "SKRILL_BACKEND_LOGO", "Logo Url"
88
- "SKRILL_BACKEND_SHOPURL", "Shop Url"
89
- "SKRILL_BACKEND_APIPASS", "API Password"
90
- "SKRILL_BACKEND_SECRETWORD", "Secret word"
91
- "SKRILL_BACKEND_DISPLAY", "Display"
92
-
93
- "SKRILL_BACKEND_IFRAME", "IFrame"
94
- "SKRILL_BACKEND_REDIRECT", "Redirect"
95
-
96
- "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
97
- "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
98
-
99
- "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
100
- "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
101
- "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
102
- "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."
103
- "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."
104
- "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."
105
- "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."
106
- "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
107
- "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard and Amex will automatically be disabled as an option to show separately."
108
- "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
109
- "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
110
-
111
- "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
112
- "SKRILL_BACKEND_PM_MODE", "Show separately"
113
- "SKRILL_BACKEND_GATE", "Select Gateway"
114
- "BACKEND_CH_ACTIVE", "Enabled"
115
- "BACKEND_CH_SERVER", "Server"
116
- "BACKEND_CH_MODE", "Transaction-Mode"
117
- "BACKEND_CH_CARDS", "Cards types"
118
- "BACKEND_CH_CHANNEL","Channel ID"
119
- "BACKEND_CH_SENDER","Sender"
120
- "BACKEND_CH_LOGIN", "Login"
121
- "BACKEND_CH_PASSWORD", "Password"
122
- "BACKEND_CH_COUNTRIES", "Applicable Countries"
123
- "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
124
- "BACKEND_CH_ORDER", "Sort Order"
125
- "BACKEND_CH_AMOUNT","Amount for Registration"
126
-
127
- "ERROR_GENERAL_REDIRECT", "Error before redirect"
128
- "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
129
- "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
130
-
131
- "BACKEND_CH_MODE_TEST", "TEST"
132
- "BACKEND_CH_MODE_LIVE", "LIVE"
133
-
134
- "BACKEND_CH_MODEDEBIT", "Debit"
135
- "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
136
-
137
- "BACKEND_CC_AMEX", "American Express"
138
- "BACKEND_CC_VISA", "VISA"
139
- "BACKEND_CC_MASTER", "MasterCard"
140
- "BACKEND_CC_MAESTRO", "Maestro"
141
-
142
- "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
143
- "FRONTEND_CC_NUMBER", "Card number"
144
- "FRONTEND_CC_EXPIRY", "Expires Month / Year"
145
- "FRONTEND_CC_CVC", "CVC-Code"
146
- "FRONTEND_CC_HELP", "Help"
147
- "FRONTEND_BT_CANCEL", "Cancel"
148
- "FRONTEND_BT_CONFIRM", "Confirm"
149
- "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
150
- "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
151
- "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
152
- "FRONTEND_CC_HOLDER", "Card holder"
153
-
154
- "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
155
- "FRONTEND_DD_IBAN", "Account Number / IBAN"
156
- "FRONTEND_DD_BIC", "Bank Code / BIC"
157
- "FRONTEND_DD_BANK", "Bank"
158
-
159
- "SUCCESS_PAYMENT_ACC", "Payment Accepted"
160
- "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
161
-
162
- "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
163
- "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
164
- "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
165
- "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
166
- "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
167
- "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
168
- "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
169
- "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
170
- "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
171
- "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
172
- "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
173
- "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
174
- "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
175
- "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
176
- "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
177
- "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
178
- "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
179
- "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
180
- "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
181
- "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
182
- "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
183
- "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
184
- "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
185
- "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
186
- "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
187
- "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
188
- "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
189
-
190
- "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
191
- "SKRILL_BACKEND_ORDER_PM", "Used payment method"
192
- "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
193
-
194
- "BACKEND_TT_PROCESSED", "Processed"
195
- "BACKEND_TT_PENDING", "Pending"
196
- "BACKEND_TT_CANCELLED", "Cancelled"
197
- "BACKEND_TT_FAILED", "Failed"
198
- "BACKEND_TT_CHARGEBACK", "Chargeback"
199
- "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
200
-
201
- "BACKEND_TT_ACC", "Payment Accepted"
202
- "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
203
-
204
- "BACKEND_TT_CAPTURED", "Capture successfull"
205
- "BACKEND_TT_REFUNDED", "Refund successfull"
206
-
207
- "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
208
- "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
209
-
210
- "BACKEND_TT_BY_PAYON", "by Enterprise"
211
- "BACKEND_TT_BY_SKRILL", "by Skrill"
212
-
213
- "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
214
- "BACKEND_TT_UPDATE_ORDER", "Update Order"
215
-
216
- "Order was placed using %s", "Order was placed using %s"
217
-
218
- "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
219
- "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
220
- "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
221
- "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."
222
-
223
- "SKRILL_ERROR_01", "Referred by card issuer"
224
- "SKRILL_ERROR_02", "Invalid Merchant"
225
- "SKRILL_ERROR_03", "Stolen card"
226
- "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
227
- "SKRILL_ERROR_05", "Insufficient funds"
228
- "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
229
- "SKRILL_ERROR_09", "Invalid Transaction"
230
- "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
231
- "SKRILL_ERROR_12", "Invalid credit card or bank account"
232
- "SKRILL_ERROR_15", "Duplicate transaction"
233
- "SKRILL_ERROR_19", "Unknown failure reason. Try again"
234
- "SKRILL_ERROR_24", "Card expired"
235
- "SKRILL_ERROR_28", "Lost/Stolen card"
236
- "SKRILL_ERROR_32", "Card Security Code check failed"
237
- "SKRILL_ERROR_37", "Card restricted by card issuer"
238
- "SKRILL_ERROR_38", "Security violation"
239
- "SKRILL_ERROR_42", "Card blocked by card issuer"
240
- "SKRILL_ERROR_44", "Customer's issuing bank not available"
241
- "SKRILL_ERROR_51", "Processing system error"
242
- "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
243
- "SKRILL_ERROR_70", "Customer failed to complete 3DS"
244
- "SKRILL_ERROR_71", "Customer failed SMS verification"
245
- "SKRILL_ERROR_80", "Fraud engine declined"
246
- "SKRILL_ERROR_98", "Error in communication with provider"
247
- "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
248
- "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
249
- "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
app/locale/ar_EG/Skrill.csv CHANGED
@@ -1,249 +1,264 @@
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"
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_GCB", "Carte Bleue by Visa"
12
- "SKRILL_FRONTEND_PM_DNK", "Dankort by Visa"
13
- "SKRILL_FRONTEND_PM_PSP", "PostePay by Visa"
14
- "SKRILL_FRONTEND_PM_CSI", "CartaSi by Visa"
15
- "SKRILL_FRONTEND_PM_OBT", "Rapid Transfer"
16
- "SKRILL_FRONTEND_PM_GIR", "Giropay"
17
- "SKRILL_FRONTEND_PM_DID", "Direct Debit / ELV"
18
- "SKRILL_FRONTEND_PM_SFT", "Sofortueberweisung"
19
- "SKRILL_FRONTEND_PM_EBT", "Nordea Solo"
20
- "SKRILL_FRONTEND_PM_IDL", "iDEAL"
21
- "SKRILL_FRONTEND_PM_NPY", "EPS (Netpay)"
22
- "SKRILL_FRONTEND_PM_PLI", "POLi"
23
- "SKRILL_FRONTEND_PM_PWY", "Przelewy24"
24
- "SKRILL_FRONTEND_PM_EPY", "ePay.bg"
25
- "SKRILL_FRONTEND_PM_GLU", "Trustly"
26
- "SKRILL_FRONTEND_PM_NTL", "Neteller"
27
- "SKRILL_FRONTEND_PM_ALI", "Alipay"
28
- "FRONTEND_PM_CC", "Credit Card"
29
- "FRONTEND_PM_DD", "Lastschrift (ELV)"
30
- "FRONTEND_PM_EPS", "eps"
31
- "FRONTEND_PM_GIROPAY", "giropay"
32
- "FRONTEND_PM_IDEAL", "iDeal"
33
- "FRONTEND_PM_PAYPAL", "PayPal"
34
- "FRONTEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung"
35
- "FRONTEND_PM_SOFORT", "SOFORT &Uuml;berweisung"
36
- "FRONTEND_PM_PAYOLUTIONINV", "Payolution Invoice"
37
- "FRONTEND_PM_PAYOLUTIONINS", "Payolution Installment"
38
- "FRONTEND_PM_PAYSAFECARD", "Paysafecard"
39
- "FRONTEND_PM_PAYTRAIL", "Paytrail"
40
- "FRONTEND_PM_YANDEX", "Yandex"
41
-
42
- "SKRILL_BACKEND_GENERAL_SKRILL_PLUGIN_NAME", "Skrill Hosted Payment Solution"
43
- "SKRILL_BACKEND_PM_SETTINGS", "Skrill Settings"
44
- "SKRILL_BACKEND_PM_FLEXIBLE", "All Cards and Alternative Payment Methods"
45
- "SKRILL_BACKEND_PM_WLT", "Skrill Wallet"
46
- "SKRILL_BACKEND_PM_PSC", "Paysafecard"
47
- "SKRILL_BACKEND_PM_ACC", "Credit Card / Visa, Mastercard, AMEX"
48
- "SKRILL_BACKEND_PM_VSA", "Visa"
49
- "SKRILL_BACKEND_PM_MSC", "MasterCard"
50
- "SKRILL_BACKEND_PM_VSD", "Visa Delta/Debit"
51
- "SKRILL_BACKEND_PM_VSE", "Visa Electron"
52
- "SKRILL_BACKEND_PM_MAE", "Maestro"
53
- "SKRILL_BACKEND_PM_AMX", "American Express"
54
- "SKRILL_BACKEND_PM_GCB", "Carte Bleue by Visa"
55
- "SKRILL_BACKEND_PM_DNK", "Dankort by Visa"
56
- "SKRILL_BACKEND_PM_PSP", "PostePay by Visa"
57
- "SKRILL_BACKEND_PM_CSI", "CartaSi by Visa"
58
- "SKRILL_BACKEND_PM_OBT", "Rapid Transfer"
59
- "SKRILL_BACKEND_PM_GIR", "Giropay"
60
- "SKRILL_BACKEND_PM_DID", "Direct Debit / ELV"
61
- "SKRILL_BACKEND_PM_SFT", "Sofortueberweisung"
62
- "SKRILL_BACKEND_PM_EBT", "Nordea Solo"
63
- "SKRILL_BACKEND_PM_IDL", "iDEAL"
64
- "SKRILL_BACKEND_PM_NPY", "EPS (Netpay)"
65
- "SKRILL_BACKEND_PM_PLI", "POLi"
66
- "SKRILL_BACKEND_PM_PWY", "Przelewy24"
67
- "SKRILL_BACKEND_PM_EPY", "ePay.bg"
68
- "SKRILL_BACKEND_PM_GLU", "Trustly"
69
- "SKRILL_BACKEND_PM_NTL", "Neteller"
70
- "SKRILL_BACKEND_PM_ALI", "Alipay"
71
- "BACKEND_PM_CC", "Credit Card (Enterprise)"
72
- "BACKEND_PM_DD", "Lastschrift (ELV) (Enterprise)"
73
- "BACKEND_PM_EPS", "eps (Enterprise)"
74
- "BACKEND_PM_GIROPAY", "giropay (Enterprise)"
75
- "BACKEND_PM_IDEAL", "iDeal (Enterprise)"
76
- "SKRILL_BACKEND_PM_PAYPAL", "PayPal (Enterprise)"
77
- "BACKEND_PM_SOFORTBANK", "SOFORT &Uuml;berweisung (Enterprise)"
78
- "SKRILL_BACKEND_PM_PAYOLUTIONINV", "Payolution Invoice (Enterprise)"
79
- "SKRILL_BACKEND_PM_PAYOLUTIONINS", "Payolution Installment (Enterprise)"
80
- "BACKEND_PM_PAYSAFECARD", "Paysafecard (Enterprise)"
81
- "SKRILL_BACKEND_PM_PAYTRAIL", "Paytrail (Enterprise)"
82
- "SKRILL_BACKEND_PM_YANDEX", "Yandex (Enterprise)"
83
-
84
- "SKRILL_BACKEND_MID", "Merchant ID"
85
- "SKRILL_BACKEND_MERCHANT", "Merchant Account (email)"
86
- "SKRILL_BACKEND_RECIPIENT", "Recipient"
87
- "SKRILL_BACKEND_LOGO", "Logo Url"
88
- "SKRILL_BACKEND_SHOPURL", "Shop Url"
89
- "SKRILL_BACKEND_APIPASS", "API Password"
90
- "SKRILL_BACKEND_SECRETWORD", "Secret word"
91
- "SKRILL_BACKEND_DISPLAY", "Display"
92
-
93
- "SKRILL_BACKEND_IFRAME", "IFrame"
94
- "SKRILL_BACKEND_REDIRECT", "Redirect"
95
-
96
- "SKRILL_BACKEND_CH_SKRILL", "Skrill Quick Checkout"
97
- "SKRILL_BACKEND_CH_PAYON", "Quick Checkout (Enterprise)"
98
-
99
- "SKRILL_BACKEND_TT_MID", "Your Skrill customer ID. It is displayed in the upper-right corner of your Skrill account."
100
- "SKRILL_BACKEND_TT_MEMAIL", "Your Skrill account email address."
101
- "SKRILL_BACKEND_TT_RECIPIENT", "A description to be shown on Quick Checkout. This can be your company name (max 30 characters)."
102
- "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."
103
- "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."
104
- "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."
105
- "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."
106
- "SKRILL_BACKEND_TT_APM", "When enabled to show separately all other payment methods will automatically default to 'disabled'."
107
- "SKRILL_BACKEND_TT_ACC", "When enabled to show separately, Visa, MasterCard and Amex will automatically be disabled as an option to show separately."
108
- "SKRILL_BACKEND_TT_PAYPAL", "Skrill only provides the technical connection. You must have your own account and contract with PayPal."
109
- "SKRILL_BACKEND_TT_PAYOLUTION", "Skrill only provides the technical connection. You must have your own account and contract with Payolution."
110
-
111
- "SKRILL_BACKEND_PM_PAYONSETTING", "Quick Checkout (Enterprise) Settings"
112
- "SKRILL_BACKEND_PM_MODE", "Show separately"
113
- "SKRILL_BACKEND_GATE", "Select Gateway"
114
- "BACKEND_CH_ACTIVE", "Enabled"
115
- "BACKEND_CH_SERVER", "Server"
116
- "BACKEND_CH_MODE", "Transaction-Mode"
117
- "BACKEND_CH_CARDS", "Cards types"
118
- "BACKEND_CH_CHANNEL","Channel ID"
119
- "BACKEND_CH_SENDER","Sender"
120
- "BACKEND_CH_LOGIN", "Login"
121
- "BACKEND_CH_PASSWORD", "Password"
122
- "BACKEND_CH_COUNTRIES", "Applicable Countries"
123
- "BACKEND_CH_COUNTRIESSPEC", "Specific Countries"
124
- "BACKEND_CH_ORDER", "Sort Order"
125
- "BACKEND_CH_AMOUNT","Amount for Registration"
126
-
127
- "ERROR_GENERAL_REDIRECT", "Error before redirect"
128
- "ERROR_GENERAL_PROCESSING", "An error occurred while processing"
129
- "BACKEND_GENERAL_PAYMENT_ID", "Payment ID"
130
-
131
- "BACKEND_CH_MODE_TEST", "TEST"
132
- "BACKEND_CH_MODE_LIVE", "LIVE"
133
-
134
- "BACKEND_CH_MODEDEBIT", "Debit"
135
- "BACKEND_CH_MODEPREAUTH", "Pre-Authorization"
136
-
137
- "BACKEND_CC_AMEX", "American Express"
138
- "BACKEND_CC_VISA", "VISA"
139
- "BACKEND_CC_MASTER", "MasterCard"
140
- "BACKEND_CC_MAESTRO", "Maestro"
141
-
142
- "FRONTEND_PAYMENT_SSL", "This page is SSL-encrypted in order to protect your data."
143
- "FRONTEND_CC_NUMBER", "Card number"
144
- "FRONTEND_CC_EXPIRY", "Expires Month / Year"
145
- "FRONTEND_CC_CVC", "CVC-Code"
146
- "FRONTEND_CC_HELP", "Help"
147
- "FRONTEND_BT_CANCEL", "Cancel"
148
- "FRONTEND_BT_CONFIRM", "Confirm"
149
- "FRONTEND_CC_CVCHELP", "What is the Card Validation Code?"
150
- "FRONTEND_CC_BRANDS", "Amex, Visa, MasterCard, Maestro"
151
- "FRONTEND_TT_CVCWHERE", "The last three digits in or next to the signature field on the back of your card."
152
- "FRONTEND_CC_HOLDER", "Card holder"
153
-
154
- "FRONTEND_DD_HEADLINE", "Direct debit from bank account"
155
- "FRONTEND_DD_IBAN", "Account Number / IBAN"
156
- "FRONTEND_DD_BIC", "Bank Code / BIC"
157
- "FRONTEND_DD_BANK", "Bank"
158
-
159
- "SUCCESS_PAYMENT_ACC", "Payment Accepted"
160
- "SUCCESS_PREAUTH_ACC", "Pre-Authorization of Payment"
161
-
162
- "ERROR_CC_ACCOUNT", "The account holder entered does not match your name. Please use an account that is registered on your name."
163
- "ERROR_CC_INVALIDDATA", "Unfortunately, the card/account data you entered was not correct. Please try again."
164
- "ERROR_CC_BLACKLIST", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
165
- "ERROR_CC_DECLINED_CARD", "Unfortunately, the credit card you entered can not be accepted. Please choose a different card or payment method."
166
- "ERROR_CC_EXPIRED", "Unfortunately, the credit card you entered is expired. Please choose a different card or payment method."
167
- "ERROR_CC_INVALIDCVV", "Unfortunately, the CVV/CVC you entered is not correct. Please try again."
168
- "ERROR_CC_EXPIRY", "Unfortunately, the expiration date you entered is not correct. Please try again."
169
- "ERROR_CC_LIMIT_EXCEED", "Unfortunately, the limit of your credit card is exceeded. Please choose a different card or payment method."
170
- "ERROR_CC_3DAUTH", "Unfortunately, the password you entered was not correct. Please try again."
171
- "ERROR_CC_3DERROR", "Unfortunately, there has been an error while processing your request. Please try again."
172
- "ERROR_CC_NOBRAND", "Unfortunately, there has been an error while processing your request. Please try again."
173
- "ERROR_GENERAL_LIMIT_AMOUNT", "Unfortunately, your credit limit is exceeded. Please choose a different card or payment method."
174
- "ERROR_GENERAL_LIMIT_TRANSACTIONS", "Unfortunately, your limit of transaction is exceeded. Please try again later. "
175
- "ERROR_CC_DECLINED_AUTH", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
176
- "ERROR_GENERAL_DECLINED_RISK", "Unfortunately, your transaction has failed. Please choose a different card or payment method."
177
- "ERROR_CC_ADDRESS", "We are sorry. We could no accept your card as its origin does not match your address."
178
- "ERROR_GENERAL_CANCEL", "You cancelled the payment prior to its execution. Please try again."
179
- "ERROR_CC_RECURRING", "Recurring transactions have been deactivated for this credit card. Please choose a different card or payment method."
180
- "ERROR_CC_REPEATED", "Unfortunately, your transaction has been declined due to invalid data. Please choose a different card or payment method."
181
- "ERROR_GENERAL_ADDRESS", "Unfortunately, your transaction has failed. Please check the personal data you entered."
182
- "ERROR_GENERAL_BLACKLIST", "The chosen payment method is not available at the moment. Please choose a different card or payment method."
183
- "ERROR_GENERAL_GENERAL", "Unfortunately, your transaction has failed. Please try again."
184
- "ERROR_GENERAL_TIMEOUT", "Unfortunately, your transaction has failed. Please try again. "
185
- "ERROR_GIRO_NOSUPPORT", "Giropay is not supported for this transaction. Please choose a different payment method."
186
- "ERROR_SEPA_MANDATE", "Your SEPA mandate is invalid. Please choose a different payment method."
187
- "ERROR_UNKNOWN", "Unfortunately, your transaction has failed. Please try again."
188
- "ERROR_GENERAL_NORESPONSE", "Unfortunately, the confirmation of your payment failed. Please contact your merchant for clarification."
189
-
190
- "SKRILL_BACKEND_ORDER_STATUS", "Payment status"
191
- "SKRILL_BACKEND_ORDER_PM", "Used payment method"
192
- "SKRILL_BACKEND_ORDER_COUNTRY", "Country (of the card-issuer)"
193
-
194
- "BACKEND_TT_PROCESSED", "Processed"
195
- "BACKEND_TT_PENDING", "Pending"
196
- "BACKEND_TT_CANCELLED", "Cancelled"
197
- "BACKEND_TT_FAILED", "Failed"
198
- "BACKEND_TT_CHARGEBACK", "Chargeback"
199
- "ERROR_GENERAL_ABANDONED_BYUSER", "Abandoned by user"
200
-
201
- "BACKEND_TT_ACC", "Payment Accepted"
202
- "BACKEND_TT_PREAUTH", "Pre-authorization successfull"
203
-
204
- "BACKEND_TT_CAPTURED", "Capture successfull"
205
- "BACKEND_TT_REFUNDED", "Refund successfull"
206
-
207
- "BACKEND_TT_CAPTURED_FAILED", "Capture failed"
208
- "BACKEND_TT_REFUNDED_FAILED", "Refund failed"
209
-
210
- "BACKEND_TT_BY_PAYON", "by Enterprise"
211
- "BACKEND_TT_BY_SKRILL", "by Skrill"
212
-
213
- "SKRILL_BACKEND_ORDER_ORIGIN", "Order originated from"
214
- "BACKEND_TT_UPDATE_ORDER", "Update Order"
215
-
216
- "Order was placed using %s", "Order was placed using %s"
217
-
218
- "SKRILL_BACKEND_GENERAL_TRANSACTION", "Transaction"
219
- "BACKEND_GENERAL_FRAUD", "was considered fraudulent"
220
- "SKRILL_BACKEND_GENERAL_TRANSACTION_ID", "Transaction ID"
221
- "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."
222
-
223
- "SKRILL_ERROR_01", "Referred by card issuer"
224
- "SKRILL_ERROR_02", "Invalid Merchant"
225
- "SKRILL_ERROR_03", "Stolen card"
226
- "SKRILL_ERROR_04", "Declined by customer's Card Issuer"
227
- "SKRILL_ERROR_05", "Insufficient funds"
228
- "SKRILL_ERROR_08", "PIN tries exceeded - card blocked"
229
- "SKRILL_ERROR_09", "Invalid Transaction"
230
- "SKRILL_ERROR_10", "Transaction frequency limit exceeded"
231
- "SKRILL_ERROR_12", "Invalid credit card or bank account"
232
- "SKRILL_ERROR_15", "Duplicate transaction"
233
- "SKRILL_ERROR_19", "Unknown failure reason. Try again"
234
- "SKRILL_ERROR_24", "Card expired"
235
- "SKRILL_ERROR_28", "Lost/Stolen card"
236
- "SKRILL_ERROR_32", "Card Security Code check failed"
237
- "SKRILL_ERROR_37", "Card restricted by card issuer"
238
- "SKRILL_ERROR_38", "Security violation"
239
- "SKRILL_ERROR_42", "Card blocked by card issuer"
240
- "SKRILL_ERROR_44", "Customer's issuing bank not available"
241
- "SKRILL_ERROR_51", "Processing system error"
242
- "SKRILL_ERROR_63", "Transaction not permitted to cardholder "
243
- "SKRILL_ERROR_70", "Customer failed to complete 3DS"
244
- "SKRILL_ERROR_71", "Customer failed SMS verification"
245
- "SKRILL_ERROR_80", "Fraud engine declined"
246
- "SKRILL_ERROR_98", "Error in communication with provider"
247
- "SKRILL_ERROR_99_GENERAL", "Failure reason not specified"
248
- "SKRILL_BACKEND_MERCHANTEMAIL", "Merchant Email"
249
- "SKRILL_BACKEND_TT_MERCHANTEMAIL", "Your email address to receive payment notification"
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