Paymill_Paymill - Version 3.8.0

Version Notes

* switch for base and order currency
* rewrite js to remove jQuery usage and only use the magento native Prototype library
* allow to configure a prototype selector for the token creation

Download this release

Release Info

Developer PayIntelligent
Extension Paymill_Paymill
Version 3.8.0
Comparing to
See all releases


Code changes from version 3.6.9 to 3.8.0

Files changed (99) hide show
  1. app/code/community/Paymill/Paymill/Block/Adminhtml/Log.php +43 -43
  2. app/code/community/Paymill/Paymill/Block/Adminhtml/Log/Grid.php +140 -140
  3. app/code/community/Paymill/Paymill/Block/Adminhtml/Log/View.php +45 -45
  4. app/code/community/Paymill/Paymill/Block/Adminhtml/Log/View/Plane.php +64 -64
  5. app/code/community/Paymill/Paymill/Block/Adminhtml/Log/View/Tabs.php +33 -33
  6. app/code/community/Paymill/Paymill/Block/Payment/Form/PaymentFormAbstract.php +47 -47
  7. app/code/community/Paymill/Paymill/Block/Payment/Form/PaymentFormCreditcard.php +123 -120
  8. app/code/community/Paymill/Paymill/Block/Payment/Form/PaymentFormDirectdebit.php +46 -46
  9. app/code/community/Paymill/Paymill/Block/Payment/Info/PaymentFormCreditcard.php +60 -63
  10. app/code/community/Paymill/Paymill/Block/Payment/Info/PaymentFormDirectdebit.php +64 -64
  11. app/code/community/Paymill/Paymill/Helper/CustomerHelper.php +95 -94
  12. app/code/community/Paymill/Paymill/Helper/Data.php +92 -92
  13. app/code/community/Paymill/Paymill/Helper/FastCheckoutHelper.php +116 -116
  14. app/code/community/Paymill/Paymill/Helper/LoggingHelper.php +49 -49
  15. app/code/community/Paymill/Paymill/Helper/OptionHelper.php +143 -125
  16. app/code/community/Paymill/Paymill/Helper/PaymentHelper.php +216 -200
  17. app/code/community/Paymill/Paymill/Helper/RefundHelper.php +89 -85
  18. app/code/community/Paymill/Paymill/Helper/TransactionHelper.php +0 -114
  19. app/code/community/Paymill/Paymill/Model/Fastcheckout.php +138 -138
  20. app/code/community/Paymill/Paymill/Model/Log.php +51 -51
  21. app/code/community/Paymill/Paymill/Model/Log/Search.php +55 -55
  22. app/code/community/Paymill/Paymill/Model/Method/MethodModelAbstract.php +370 -361
  23. app/code/community/Paymill/Paymill/Model/Method/MethodModelCreditcard.php +78 -85
  24. app/code/community/Paymill/Paymill/Model/Method/MethodModelDirectdebit.php +44 -45
  25. app/code/community/Paymill/Paymill/Model/Mysql4/Fastcheckout.php +29 -29
  26. app/code/community/Paymill/Paymill/Model/Mysql4/Fastcheckout/Collection.php +29 -29
  27. app/code/community/Paymill/Paymill/Model/Mysql4/Log.php +29 -29
  28. app/code/community/Paymill/Paymill/Model/Mysql4/Log/Collection.php +29 -29
  29. app/code/community/Paymill/Paymill/Model/Observer.php +62 -60
  30. app/code/community/Paymill/Paymill/Model/Source/Creditcard/Creditcards.php +78 -58
  31. app/code/community/Paymill/Paymill/Model/TransactionData.php +0 -72
  32. app/code/community/Paymill/Paymill/controllers/Adminhtml/LogController.php +86 -86
  33. app/code/community/Paymill/Paymill/controllers/TokenController.php +23 -23
  34. app/code/community/Paymill/Paymill/etc/adminhtml.xml +15 -15
  35. app/code/community/Paymill/Paymill/etc/config.xml +162 -159
  36. app/code/community/Paymill/Paymill/etc/system.xml +312 -284
  37. app/code/community/Paymill/Paymill/sql/paymill_setup/mysql4-install-3.0.0.php +53 -53
  38. app/design/adminhtml/base/default/layout/paymill.xml +12 -12
  39. app/design/adminhtml/base/default/template/paymill/log/view.phtml +31 -31
  40. app/design/adminhtml/base/default/template/paymill/payment/info/creditcard.phtml +21 -14
  41. app/design/adminhtml/base/default/template/paymill/payment/info/creditcard_pdf.phtml +2 -2
  42. app/design/adminhtml/base/default/template/paymill/payment/info/directdebit.phtml +13 -13
  43. app/design/adminhtml/base/default/template/paymill/payment/info/directdebit_pdf.phtml +2 -2
  44. app/design/frontend/base/default/layout/paymill.xml +12 -5
  45. app/design/frontend/base/default/template/paymill/form/paymill.phtml +0 -299
  46. app/design/frontend/base/default/template/paymill/form/paymill_elv.phtml +0 -184
  47. app/design/frontend/base/default/template/paymill/payment/form/creditcard.phtml +96 -97
  48. app/design/frontend/base/default/template/paymill/payment/form/directdebit.phtml +70 -71
  49. app/design/frontend/base/default/template/paymill/payment/info/creditcard.phtml +5 -5
  50. app/design/frontend/base/default/template/paymill/payment/info/directdebit.phtml +12 -12
  51. app/etc/modules/Paymill_Paymill.xml +16 -16
  52. app/locale/de_AT/Paymill_Paymill.csv +137 -130
  53. app/locale/de_CH/Paymill_Paymill.csv +137 -130
  54. app/locale/de_DE/Paymill_Paymill.csv +137 -130
  55. app/locale/en_AU/Paymill_Paymill.csv +137 -130
  56. app/locale/en_CA/Paymill_Paymill.csv +137 -130
  57. app/locale/en_GB/Paymill_Paymill.csv +137 -130
  58. app/locale/en_IE/Paymill_Paymill.csv +137 -130
  59. app/locale/en_NZ/Paymill_Paymill.csv +137 -130
  60. app/locale/en_US/Paymill_Paymill.csv +137 -130
  61. app/locale/en_ZA/Paymill_Paymill.csv +137 -130
  62. app/locale/es_AR/Paymill_Paymill.csv +137 -130
  63. app/locale/es_CL/Paymill_Paymill.csv +0 -130
  64. app/locale/es_CO/Paymill_Paymill.csv +0 -130
  65. app/locale/es_CR/Paymill_Paymill.csv +0 -130
  66. app/locale/es_ES/Paymill_Paymill.csv +137 -130
  67. app/locale/es_MX/Paymill_Paymill.csv +0 -130
  68. app/locale/es_PA/Paymill_Paymill.csv +0 -130
  69. app/locale/es_PE/Paymill_Paymill.csv +0 -130
  70. app/locale/es_VE/Paymill_Paymill.csv +0 -130
  71. app/locale/fr_CA/Paymill_Paymill.csv +0 -128
  72. app/locale/fr_FR/Paymill_Paymill.csv +0 -128
  73. app/locale/it_CH/Paymill_Paymill.csv +0 -130
  74. app/locale/it_IT/Paymill_Paymill.csv +0 -130
  75. app/locale/pt_BR/Paymill_Paymill.csv +0 -130
  76. app/locale/pt_PT/Paymill_Paymill.csv +0 -130
  77. js/paymill/BrandDetection.js +99 -99
  78. js/paymill/Creditcard.js +258 -0
  79. js/paymill/Elv.js +171 -0
  80. js/paymill/Paymill.js +201 -0
  81. js/paymill/PaymillHelper.js +47 -0
  82. js/paymill/paymentForm.js +0 -611
  83. lib/Services/Paymill/Apiclient/Curl.php +158 -158
  84. lib/Services/Paymill/Apiclient/Interface.php +19 -19
  85. lib/Services/Paymill/Apiclient/paymill.crt +25 -25
  86. lib/Services/Paymill/Base.php +143 -143
  87. lib/Services/Paymill/Clients.php +11 -11
  88. lib/Services/Paymill/Exception.php +16 -16
  89. lib/Services/Paymill/LoggingInterface.php +14 -14
  90. lib/Services/Paymill/Offers.php +11 -11
  91. lib/Services/Paymill/PaymentProcessor.php +691 -691
  92. lib/Services/Paymill/Payments.php +24 -24
  93. lib/Services/Paymill/Preauthorizations.php +24 -24
  94. lib/Services/Paymill/Refunds.php +53 -53
  95. lib/Services/Paymill/Subscriptions.php +11 -11
  96. lib/Services/Paymill/Transactions.php +24 -24
  97. lib/Services/Paymill/Webhooks.php +11 -11
  98. package.xml +7 -6
  99. skin/frontend/base/default/css/paymill/logo.css +127 -127
app/code/community/Paymill/Paymill/Block/Adminhtml/Log.php CHANGED
@@ -1,44 +1,44 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Adminhtml_Log extends Mage_Adminhtml_Block_Widget_Grid_Container
22
- {
23
-
24
- /**
25
- * Construct
26
- */
27
- public function __construct()
28
- {
29
- $this->_blockGroup = 'paymill';
30
- $this->_controller = 'adminhtml_log';
31
- $this->_headerText = Mage::helper('paymill')->__('paymill_log');
32
- parent::__construct();
33
- }
34
-
35
- /**
36
- * @see Mage_Adminhtml_Block_Widget_Grid_Container::_prepareLayout()
37
- */
38
- protected function _prepareLayout()
39
- {
40
- $this->_removeButton('add');
41
- return parent::_prepareLayout();
42
- }
43
-
44
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Adminhtml_Log extends Mage_Adminhtml_Block_Widget_Grid_Container
22
+ {
23
+
24
+ /**
25
+ * Construct
26
+ */
27
+ public function __construct()
28
+ {
29
+ $this->_blockGroup = 'paymill';
30
+ $this->_controller = 'adminhtml_log';
31
+ $this->_headerText = Mage::helper('paymill')->__('paymill_log');
32
+ parent::__construct();
33
+ }
34
+
35
+ /**
36
+ * @see Mage_Adminhtml_Block_Widget_Grid_Container::_prepareLayout()
37
+ */
38
+ protected function _prepareLayout()
39
+ {
40
+ $this->_removeButton('add');
41
+ return parent::_prepareLayout();
42
+ }
43
+
44
  }
app/code/community/Paymill/Paymill/Block/Adminhtml/Log/Grid.php CHANGED
@@ -1,140 +1,140 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Adminhtml_Log_Grid extends Mage_Adminhtml_Block_Widget_Grid
22
- {
23
-
24
- /**
25
- * Is filter allowed
26
- *
27
- * @var boolean
28
- */
29
- protected $_isFilterAllowed = true;
30
-
31
- /**
32
- * Is sortable
33
- *
34
- * @var boolean
35
- */
36
- protected $_isSortable = true;
37
-
38
- /**
39
- * Construct
40
- */
41
- public function __construct()
42
- {
43
- parent::__construct();
44
- $this->setId('log_grid');
45
- $this->setDefaultSort('id');
46
- $this->setDefaultDir('DESC');
47
- $this->setSaveParametersInSession(true);
48
- }
49
-
50
- /**
51
- * Is filter allowed
52
- */
53
- protected function _isFilterAllowed()
54
- {
55
- return $this->_isFilterAllowed;
56
- }
57
-
58
- /**
59
- * Is sortable
60
- */
61
- protected function _isSortable()
62
- {
63
- return $this->_isSortable;
64
- }
65
-
66
- /**
67
- * Retrive massaction block
68
- *
69
- * @return Mage_Adminhtml_Block_Widget_Grid_Massaction
70
- */
71
- public function getMassactionBlock()
72
- {
73
- return $this->getChild('massaction')->setErrorText(Mage::helper('paymill')->__('paymill_error_text_no_entry_selected'));
74
- }
75
-
76
- /**
77
- * Prepare Collection
78
- *
79
- * @return Paymill_Paymill_Block_Adminhtml_Log_Grid
80
- */
81
- protected function _prepareCollection()
82
- {
83
- $collection = Mage::getModel('paymill/log')->getCollection();
84
- $this->setCollection($collection);
85
- return parent::_prepareCollection();
86
- }
87
-
88
- /**
89
- * Gets Row Url
90
- *
91
- * @return string
92
- */
93
- public function getRowUrl($row)
94
- {
95
- return $this->getUrl('*/*/view', array('id' => $row->getId()));
96
- }
97
-
98
- /**
99
- * Prepare Columns
100
- *
101
- * @return Paymill_Paymill_Block_Adminhtml_Log_Grid
102
- */
103
- protected function _prepareColumns()
104
- {
105
- $this->addColumn('entry_date', array(
106
- 'header' => Mage::helper('paymill')->__('paymill_backend_log_entry_date'),
107
- 'index' => 'entry_date',
108
- ));
109
- $this->addColumn('version', array(
110
- 'header' => Mage::helper('paymill')->__('paymill_backend_log_version'),
111
- 'index' => 'version',
112
- ));
113
- $this->addColumn('merchant_info', array(
114
- 'header' => Mage::helper('paymill')->__('paymill_backend_log_merchant_info'),
115
- 'index' => 'merchant_info',
116
- ));
117
-
118
- return parent::_prepareColumns();
119
- }
120
-
121
- /**
122
- * Prepares Massaction for deletion of Logentries
123
- *
124
- * @return Paymill_Paymill_Block_Adminhtml_Log_Grid
125
- */
126
- protected function _prepareMassaction()
127
- {
128
- $this->setMassactionIdField('id');
129
- $this->getMassactionBlock()->setFormFieldName('log_id');
130
-
131
- $this->getMassactionBlock()->addItem('delete', array(
132
- 'label' => Mage::helper('paymill')->__('paymill_action_delete'),
133
- 'url' => $this->getUrl('*/*/massDelete'),
134
- 'confirm' => Mage::helper('paymill')->__('paymill_dialog_confirm'),
135
- ));
136
-
137
- return $this;
138
- }
139
-
140
- }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Adminhtml_Log_Grid extends Mage_Adminhtml_Block_Widget_Grid
22
+ {
23
+
24
+ /**
25
+ * Is filter allowed
26
+ *
27
+ * @var boolean
28
+ */
29
+ protected $_isFilterAllowed = true;
30
+
31
+ /**
32
+ * Is sortable
33
+ *
34
+ * @var boolean
35
+ */
36
+ protected $_isSortable = true;
37
+
38
+ /**
39
+ * Construct
40
+ */
41
+ public function __construct()
42
+ {
43
+ parent::__construct();
44
+ $this->setId('log_grid');
45
+ $this->setDefaultSort('id');
46
+ $this->setDefaultDir('DESC');
47
+ $this->setSaveParametersInSession(true);
48
+ }
49
+
50
+ /**
51
+ * Is filter allowed
52
+ */
53
+ protected function _isFilterAllowed()
54
+ {
55
+ return $this->_isFilterAllowed;
56
+ }
57
+
58
+ /**
59
+ * Is sortable
60
+ */
61
+ protected function _isSortable()
62
+ {
63
+ return $this->_isSortable;
64
+ }
65
+
66
+ /**
67
+ * Retrive massaction block
68
+ *
69
+ * @return Mage_Adminhtml_Block_Widget_Grid_Massaction
70
+ */
71
+ public function getMassactionBlock()
72
+ {
73
+ return $this->getChild('massaction')->setErrorText(Mage::helper('paymill')->__('paymill_error_text_no_entry_selected'));
74
+ }
75
+
76
+ /**
77
+ * Prepare Collection
78
+ *
79
+ * @return Paymill_Paymill_Block_Adminhtml_Log_Grid
80
+ */
81
+ protected function _prepareCollection()
82
+ {
83
+ $collection = Mage::getModel('paymill/log')->getCollection();
84
+ $this->setCollection($collection);
85
+ return parent::_prepareCollection();
86
+ }
87
+
88
+ /**
89
+ * Gets Row Url
90
+ *
91
+ * @return string
92
+ */
93
+ public function getRowUrl($row)
94
+ {
95
+ return $this->getUrl('*/*/view', array('id' => $row->getId()));
96
+ }
97
+
98
+ /**
99
+ * Prepare Columns
100
+ *
101
+ * @return Paymill_Paymill_Block_Adminhtml_Log_Grid
102
+ */
103
+ protected function _prepareColumns()
104
+ {
105
+ $this->addColumn('entry_date', array(
106
+ 'header' => Mage::helper('paymill')->__('paymill_backend_log_entry_date'),
107
+ 'index' => 'entry_date',
108
+ ));
109
+ $this->addColumn('version', array(
110
+ 'header' => Mage::helper('paymill')->__('paymill_backend_log_version'),
111
+ 'index' => 'version',
112
+ ));
113
+ $this->addColumn('merchant_info', array(
114
+ 'header' => Mage::helper('paymill')->__('paymill_backend_log_merchant_info'),
115
+ 'index' => 'merchant_info',
116
+ ));
117
+
118
+ return parent::_prepareColumns();
119
+ }
120
+
121
+ /**
122
+ * Prepares Massaction for deletion of Logentries
123
+ *
124
+ * @return Paymill_Paymill_Block_Adminhtml_Log_Grid
125
+ */
126
+ protected function _prepareMassaction()
127
+ {
128
+ $this->setMassactionIdField('id');
129
+ $this->getMassactionBlock()->setFormFieldName('log_id');
130
+
131
+ $this->getMassactionBlock()->addItem('delete', array(
132
+ 'label' => Mage::helper('paymill')->__('paymill_action_delete'),
133
+ 'url' => $this->getUrl('*/*/massDelete'),
134
+ 'confirm' => Mage::helper('paymill')->__('paymill_dialog_confirm'),
135
+ ));
136
+
137
+ return $this;
138
+ }
139
+
140
+ }
app/code/community/Paymill/Paymill/Block/Adminhtml/Log/View.php CHANGED
@@ -1,46 +1,46 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Adminhtml_Log_View extends Mage_Adminhtml_Block_Widget_View_Container
22
- {
23
- /**
24
- * Construct
25
- */
26
- public function __construct()
27
- {
28
- $this->_objectId = 'id';
29
- $this->_controller = 'adminhtml_log';
30
- $this->_mode = 'view';
31
- $this->_headerText = Mage::helper('paymill')->__('Log Entry');
32
-
33
- parent::__construct();
34
-
35
- $this->_removeButton('edit');
36
- }
37
-
38
- /**
39
- * @see Mage_Adminhtml_Block_Widget_View_Container::_prepareLayout()
40
- */
41
- protected function _prepareLayout()
42
- {
43
- $this->setChild('plane', $this->getLayout()->createBlock('paymill/' . $this->_controller . '_view_plane'));
44
- }
45
-
46
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Adminhtml_Log_View extends Mage_Adminhtml_Block_Widget_View_Container
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ public function __construct()
27
+ {
28
+ $this->_objectId = 'id';
29
+ $this->_controller = 'adminhtml_log';
30
+ $this->_mode = 'view';
31
+ $this->_headerText = Mage::helper('paymill')->__('Log Entry');
32
+
33
+ parent::__construct();
34
+
35
+ $this->_removeButton('edit');
36
+ }
37
+
38
+ /**
39
+ * @see Mage_Adminhtml_Block_Widget_View_Container::_prepareLayout()
40
+ */
41
+ protected function _prepareLayout()
42
+ {
43
+ $this->setChild('plane', $this->getLayout()->createBlock('paymill/' . $this->_controller . '_view_plane'));
44
+ }
45
+
46
  }
app/code/community/Paymill/Paymill/Block/Adminhtml/Log/View/Plane.php CHANGED
@@ -1,65 +1,65 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Adminhtml_Log_View_Plane extends Mage_Adminhtml_Block_Widget_Form
22
- {
23
-
24
- /**
25
- * Prepare form before rendering HTML
26
- *
27
- * @return Paymill_Paymill_Block_Adminhtml_Log_View_Plane
28
- */
29
- protected function _prepareForm()
30
- {
31
- $this->setTemplate('paymill/log/view.phtml');
32
- return parent::_prepareForm();
33
- }
34
-
35
- /**
36
- * Returns Log Model
37
- *
38
- * @return Paymill_Paymill_Model_Log
39
- */
40
- public function getEntry()
41
- {
42
- return Mage::registry('paymill_log_entry');
43
- }
44
-
45
- /**
46
- * Gets the formatted Request Xml
47
- *
48
- * @return string
49
- */
50
- public function getDevInfo()
51
- {
52
- return $this->getEntry()->getDevInfo();
53
- }
54
-
55
- /**
56
- * Gets the formatted Response Xml
57
- *
58
- * @return string
59
- */
60
- public function getDevInfoAdditional()
61
- {
62
- return $this->getEntry()->getDevInfoAdditional();
63
- }
64
-
65
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Adminhtml_Log_View_Plane extends Mage_Adminhtml_Block_Widget_Form
22
+ {
23
+
24
+ /**
25
+ * Prepare form before rendering HTML
26
+ *
27
+ * @return Paymill_Paymill_Block_Adminhtml_Log_View_Plane
28
+ */
29
+ protected function _prepareForm()
30
+ {
31
+ $this->setTemplate('paymill/log/view.phtml');
32
+ return parent::_prepareForm();
33
+ }
34
+
35
+ /**
36
+ * Returns Log Model
37
+ *
38
+ * @return Paymill_Paymill_Model_Log
39
+ */
40
+ public function getEntry()
41
+ {
42
+ return Mage::registry('paymill_log_entry');
43
+ }
44
+
45
+ /**
46
+ * Gets the formatted Request Xml
47
+ *
48
+ * @return string
49
+ */
50
+ public function getDevInfo()
51
+ {
52
+ return $this->getEntry()->getDevInfo();
53
+ }
54
+
55
+ /**
56
+ * Gets the formatted Response Xml
57
+ *
58
+ * @return string
59
+ */
60
+ public function getDevInfoAdditional()
61
+ {
62
+ return $this->getEntry()->getDevInfoAdditional();
63
+ }
64
+
65
  }
app/code/community/Paymill/Paymill/Block/Adminhtml/Log/View/Tabs.php CHANGED
@@ -1,34 +1,34 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Adminhtml_Log_View_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
22
- {
23
- /**
24
- * Construct
25
- */
26
- public function __construct()
27
- {
28
- parent::__construct();
29
- $this->setId('log_view_tabs');
30
- $this->setDestElementId('log_view');
31
- $this->setTitle(Mage::helper('paymill')->__('Log Information View'));
32
- }
33
-
34
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Adminhtml_Log_View_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
22
+ {
23
+ /**
24
+ * Construct
25
+ */
26
+ public function __construct()
27
+ {
28
+ parent::__construct();
29
+ $this->setId('log_view_tabs');
30
+ $this->setDestElementId('log_view');
31
+ $this->setTitle(Mage::helper('paymill')->__('Log Information View'));
32
+ }
33
+
34
  }
app/code/community/Paymill/Paymill/Block/Payment/Form/PaymentFormAbstract.php CHANGED
@@ -1,48 +1,48 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Payment_Form_PaymentFormAbstract extends Mage_Payment_Block_Form
22
- {
23
- public function getPaymentData($code)
24
- {
25
- return Mage::helper('paymill/fastCheckoutHelper')->getPaymentData($code);
26
- }
27
-
28
- public function getPaymentEntry($code, $key)
29
- {
30
- $data = $this->getPaymentData($code);
31
- return array_key_exists($key, $data) ? $data[$key] : null;
32
- }
33
-
34
- public function isPaymentDataAvailable($code)
35
- {
36
- return Mage::helper('paymill/fastCheckoutHelper')->hasData($code);
37
- }
38
-
39
- /**
40
- * Returns a boolean deciding if the template is going to be displayed of not
41
- * @param String $code payment code
42
- * @return boolean
43
- */
44
- public function isNormalCheckout($code)
45
- {
46
- return is_null(Mage::helper('paymill/fastCheckoutHelper')->getPaymentData($code)) ? 'false' : 'true';
47
- }
48
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Payment_Form_PaymentFormAbstract extends Mage_Payment_Block_Form
22
+ {
23
+ public function getPaymentData($code)
24
+ {
25
+ return Mage::helper('paymill/fastCheckoutHelper')->getPaymentData($code);
26
+ }
27
+
28
+ public function getPaymentEntry($code, $key)
29
+ {
30
+ $data = $this->getPaymentData($code);
31
+ return array_key_exists($key, $data) ? $data[$key] : null;
32
+ }
33
+
34
+ public function isPaymentDataAvailable($code)
35
+ {
36
+ return Mage::helper('paymill/fastCheckoutHelper')->hasData($code);
37
+ }
38
+
39
+ /**
40
+ * Returns a boolean deciding if the template is going to be displayed of not
41
+ * @param String $code payment code
42
+ * @return boolean
43
+ */
44
+ public function isNormalCheckout($code)
45
+ {
46
+ return is_null(Mage::helper('paymill/fastCheckoutHelper')->getPaymentData($code)) ? 'false' : 'true';
47
+ }
48
  }
app/code/community/Paymill/Paymill/Block/Payment/Form/PaymentFormCreditcard.php CHANGED
@@ -1,120 +1,123 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Payment_Form_PaymentFormCreditcard extends Paymill_Paymill_Block_Payment_Form_PaymentFormAbstract
22
- {
23
-
24
- /**
25
- * This var is used for the Branddetection, if empty all will be shown, else only the selected ones
26
- *
27
- * @var string
28
- */
29
- private $creditCardLogosBrand = '';
30
-
31
- /**
32
- * This var is used to show the logos in the checkout, if empty none will be shown
33
- *
34
- * @var string
35
- */
36
- private $creditCardLogosDisplay = '';
37
-
38
- /**
39
- * Construct
40
- */
41
- protected function _construct()
42
- {
43
- parent::_construct();
44
-
45
- $this->setPaymillCcLogos();
46
-
47
- $this->setTemplate('paymill/payment/form/creditcard.phtml');
48
- }
49
-
50
- /**
51
- * Retrieve credit card expire months for Paymill
52
- *
53
- * @return array
54
- */
55
- public function getPaymillCcMonths()
56
- {
57
- $months[0] = $this->__('Month');
58
- $months = array_merge($months, Mage::getSingleton('payment/config')->getMonths());
59
-
60
- return $months;
61
- }
62
-
63
- /**
64
- * Retrieve credit card expire years for Paymill
65
- *
66
- * @return array
67
- */
68
- public function getPaymillCcYears()
69
- {
70
- $years = Mage::getSingleton('payment/config')->getYears();
71
- $years = array(0 => $this->__('Year')) + $years;
72
-
73
- return $years;
74
- }
75
-
76
- public function getPaymentData($code)
77
- {
78
- $payment = parent::getPaymentData($code);
79
-
80
- $data = array();
81
- if (!empty($payment)) {
82
- $data['cc_number'] = '************' . $payment['last4'];
83
- $data['expire_year'] = $payment['expire_year'];
84
- $data['expire_month'] = $payment['expire_month'];
85
- $data['cvc'] = '***';
86
- $data['card_holder'] = $payment['card_holder'];
87
- $data['card_type'] = $payment['card_type'];
88
- }
89
-
90
- return $data;
91
- }
92
-
93
- private function setPaymillCcLogos() {
94
-
95
- $cards = explode(',', Mage::getStoreConfig('payment/paymill_creditcard/specificcreditcard'));
96
- $this->creditCardLogosDisplay = '';
97
- $this->creditCardLogosBrand = 'var paymillCcBrands = new Array();';
98
- if(Mage::getStoreConfig('payment/paymill_creditcard/showspecificcreditcard')) {
99
- foreach($cards as $card) {
100
- $this->creditCardLogosDisplay .= sprintf(
101
- '<img style="display: inline" src="%s" alt="%s"/>',
102
- $this->getSkinUrl('images/paymill/icon_32x20_' . $card . '.png'),
103
- $card
104
- );
105
- $this->creditCardLogosBrand .= sprintf(
106
- 'paymillCcBrands.push("%s");',
107
- $card
108
- );
109
- }
110
- }
111
- }
112
-
113
- public function getCreditCardLogosBrand() {
114
- return $this->creditCardLogosBrand;
115
- }
116
-
117
- public function getCreditCardLogosDisplay() {
118
- return $this->creditCardLogosDisplay;
119
- }
120
- }
 
 
 
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Payment_Form_PaymentFormCreditcard extends Paymill_Paymill_Block_Payment_Form_PaymentFormAbstract
22
+ {
23
+
24
+ /**
25
+ * This var is used for the Branddetection, if empty all will be shown, else only the selected ones
26
+ *
27
+ * @var string
28
+ */
29
+ private $creditCardLogosBrand = '';
30
+
31
+ /**
32
+ * This var is used to show the logos in the checkout, if empty none will be shown
33
+ *
34
+ * @var string
35
+ */
36
+ private $creditCardLogosDisplay = '';
37
+
38
+ /**
39
+ * Construct
40
+ */
41
+ protected function _construct()
42
+ {
43
+ parent::_construct();
44
+
45
+ $this->setPaymillCcLogos();
46
+
47
+ $this->setTemplate('paymill/payment/form/creditcard.phtml');
48
+ }
49
+
50
+ /**
51
+ * Retrieve credit card expire months for Paymill
52
+ *
53
+ * @return array
54
+ */
55
+ public function getPaymillCcMonths()
56
+ {
57
+ $months[0] = $this->__('Month');
58
+ $months = array_merge($months, Mage::getSingleton('payment/config')->getMonths());
59
+
60
+ return $months;
61
+ }
62
+
63
+ /**
64
+ * Retrieve credit card expire years for Paymill
65
+ *
66
+ * @return array
67
+ */
68
+ public function getPaymillCcYears()
69
+ {
70
+ $years = Mage::getSingleton('payment/config')->getYears();
71
+ $years = array(0 => $this->__('Year')) + $years;
72
+
73
+ return $years;
74
+ }
75
+
76
+ public function getPaymentData($code)
77
+ {
78
+ $payment = parent::getPaymentData($code);
79
+
80
+ $data = array();
81
+ if (!empty($payment)) {
82
+ $data['cc_number'] = '************' . $payment['last4'];
83
+ $data['expire_year'] = $payment['expire_year'];
84
+ $data['expire_month'] = $payment['expire_month'];
85
+ $data['cvc'] = '***';
86
+ $data['card_holder'] = $payment['card_holder'];
87
+ $data['card_type'] = $payment['card_type'];
88
+ }
89
+
90
+ return $data;
91
+ }
92
+
93
+ private function setPaymillCcLogos()
94
+ {
95
+
96
+ $cards = explode(',', Mage::getStoreConfig('payment/paymill_creditcard/specificcreditcard'));
97
+ $this->creditCardLogosDisplay = '';
98
+ $this->creditCardLogosBrand = 'var paymillCcBrands = new Array();';
99
+ if(Mage::getStoreConfig('payment/paymill_creditcard/showspecificcreditcard')) {
100
+ foreach($cards as $card) {
101
+ $this->creditCardLogosDisplay .= sprintf(
102
+ '<img style="display: inline" src="%s" alt="%s"/>',
103
+ $this->getSkinUrl('images/paymill/icon_32x20_' . $card . '.png'),
104
+ $card
105
+ );
106
+ $this->creditCardLogosBrand .= sprintf(
107
+ "\n" . 'paymillCcBrands.push("%s");',
108
+ $card
109
+ );
110
+ }
111
+ }
112
+ }
113
+
114
+ public function getCreditCardLogosBrand()
115
+ {
116
+ return $this->creditCardLogosBrand;
117
+ }
118
+
119
+ public function getCreditCardLogosDisplay()
120
+ {
121
+ return $this->creditCardLogosDisplay;
122
+ }
123
+ }
app/code/community/Paymill/Paymill/Block/Payment/Form/PaymentFormDirectdebit.php CHANGED
@@ -1,46 +1,46 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Payment_Form_PaymentFormDirectdebit extends Paymill_Paymill_Block_Payment_Form_PaymentFormAbstract
22
- {
23
-
24
- /**
25
- * Construct
26
- */
27
- protected function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('paymill/payment/form/directdebit.phtml');
31
- }
32
-
33
- public function getPaymentEntryElv($code)
34
- {
35
- $data = $this->getPaymentData($code);
36
- $fastCheckoutData = array(null,null);
37
- if(isset($data['iban'])) {
38
- $fastCheckoutData[0] = $data['iban'];
39
- $fastCheckoutData[1] = $data['bic'];
40
- } elseif(isset($data['account'])) {
41
- $fastCheckoutData[0] = $data['account'];
42
- $fastCheckoutData[1] = $data['code'];
43
- }
44
- return $fastCheckoutData;
45
- }
46
- }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Payment_Form_PaymentFormDirectdebit extends Paymill_Paymill_Block_Payment_Form_PaymentFormAbstract
22
+ {
23
+
24
+ /**
25
+ * Construct
26
+ */
27
+ protected function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('paymill/payment/form/directdebit.phtml');
31
+ }
32
+
33
+ public function getPaymentEntryElv($code)
34
+ {
35
+ $data = $this->getPaymentData($code);
36
+ $fastCheckoutData = array(null,null);
37
+ if(isset($data['iban'])) {
38
+ $fastCheckoutData[0] = $data['iban'];
39
+ $fastCheckoutData[1] = $data['bic'];
40
+ } elseif(isset($data['account'])) {
41
+ $fastCheckoutData[0] = $data['account'];
42
+ $fastCheckoutData[1] = $data['code'];
43
+ }
44
+ return $fastCheckoutData;
45
+ }
46
+ }
app/code/community/Paymill/Paymill/Block/Payment/Info/PaymentFormCreditcard.php CHANGED
@@ -1,63 +1,60 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Payment_Info_PaymentFormCreditcard extends Mage_Payment_Block_Info
22
- {
23
-
24
- /**
25
- * Construct
26
- */
27
- protected function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('paymill/payment/info/creditcard.phtml');
31
- }
32
-
33
- /**
34
- * Render as PDF
35
- *
36
- * @return string
37
- */
38
- public function toPdf()
39
- {
40
- $this->setTemplate('paymill/payment/info/creditcard_pdf.phtml');
41
- return $this->toHtml();
42
- }
43
-
44
- /**
45
- * Add custom information to payment method information
46
- *
47
- * @param Varien_Object|array $transport
48
- */
49
- protected function _prepareSpecificInformation($transport = null)
50
- {
51
- if (null !== $this->_paymentSpecificInformation) {
52
- return $this->_paymentSpecificInformation;
53
- }
54
- $transport = parent::_prepareSpecificInformation($transport);
55
-
56
- $data = array();
57
- $data['paymillTransactionId'] = $this->getInfo()->getAdditionalInformation('paymillTransactionId');
58
- $data['imgUrl'] = Mage::helper('paymill')->getImagePath() . "icon_paymill.png";
59
-
60
- return $transport->setData(array_merge($data, $transport->getData()));
61
- }
62
-
63
- }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Payment_Info_PaymentFormCreditcard extends Mage_Payment_Block_Info
22
+ {
23
+
24
+ /**
25
+ * Construct
26
+ */
27
+ protected function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('paymill/payment/info/creditcard.phtml');
31
+ }
32
+
33
+ /**
34
+ * Render as PDF
35
+ *
36
+ * @return string
37
+ */
38
+ public function toPdf()
39
+ {
40
+ $this->setTemplate('paymill/payment/info/creditcard_pdf.phtml');
41
+ return $this->toHtml();
42
+ }
43
+
44
+ /**
45
+ * Add custom information to payment method information
46
+ *
47
+ * @param Varien_Object|array $transport
48
+ */
49
+ protected function _prepareSpecificInformation($transport = null)
50
+ {
51
+ $transport = parent::_prepareSpecificInformation($transport);
52
+
53
+ $data = $this->getInfo()->getAdditionalInformation();
54
+ $data['imgUrl'] = Mage::helper('paymill')->getImagePath() . "icon_paymill.png";
55
+
56
+
57
+ return $transport->setData(array_merge($data, $transport->getData()));
58
+ }
59
+
60
+ }
 
 
 
app/code/community/Paymill/Paymill/Block/Payment/Info/PaymentFormDirectdebit.php 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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Block_Payment_Info_PaymentFormDirectdebit extends Mage_Payment_Block_Info
22
- {
23
-
24
- /**
25
- * Construct
26
- */
27
- protected function _construct()
28
- {
29
- parent::_construct();
30
- $this->setTemplate('paymill/payment/info/directdebit.phtml');
31
- }
32
-
33
- /**
34
- * Render as PDF
35
- *
36
- * @return string
37
- */
38
- public function toPdf()
39
- {
40
- $this->setTemplate('paymill/payment/info/directdebit_pdf.phtml');
41
- return $this->toHtml();
42
- }
43
-
44
- /**
45
- * Add custom information to payment method information
46
- *
47
- * @param Varien_Object|array $transport
48
- */
49
- protected function _prepareSpecificInformation($transport = null)
50
- {
51
- if (null !== $this->_paymentSpecificInformation) {
52
- return $this->_paymentSpecificInformation;
53
- }
54
- $transport = parent::_prepareSpecificInformation($transport);
55
-
56
- $data = array();
57
- $data['paymillTransactionId'] = $this->getInfo()->getAdditionalInformation('paymillTransactionId');
58
- $data['paymillPrenotificationDate'] = $this->getInfo()->getAdditionalInformation('paymillPrenotificationDate');
59
- $data['imgUrl'] = Mage::helper('paymill')->getImagePath() . "icon_paymill.png";
60
-
61
- return $transport->setData(array_merge($data, $transport->getData()));
62
- }
63
-
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Block_Payment_Info_PaymentFormDirectdebit extends Mage_Payment_Block_Info
22
+ {
23
+
24
+ /**
25
+ * Construct
26
+ */
27
+ protected function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->setTemplate('paymill/payment/info/directdebit.phtml');
31
+ }
32
+
33
+ /**
34
+ * Render as PDF
35
+ *
36
+ * @return string
37
+ */
38
+ public function toPdf()
39
+ {
40
+ $this->setTemplate('paymill/payment/info/directdebit_pdf.phtml');
41
+ return $this->toHtml();
42
+ }
43
+
44
+ /**
45
+ * Add custom information to payment method information
46
+ *
47
+ * @param Varien_Object|array $transport
48
+ */
49
+ protected function _prepareSpecificInformation($transport = null)
50
+ {
51
+ if (null !== $this->_paymentSpecificInformation) {
52
+ return $this->_paymentSpecificInformation;
53
+ }
54
+ $transport = parent::_prepareSpecificInformation($transport);
55
+
56
+ $data = array();
57
+ $data['paymillTransactionId'] = $this->getInfo()->getAdditionalInformation('paymillTransactionId');
58
+ $data['paymillPrenotificationDate'] = $this->getInfo()->getAdditionalInformation('paymillPrenotificationDate');
59
+ $data['imgUrl'] = Mage::helper('paymill')->getImagePath() . "icon_paymill.png";
60
+
61
+ return $transport->setData(array_merge($data, $transport->getData()));
62
+ }
63
+
64
+ }
app/code/community/Paymill/Paymill/Helper/CustomerHelper.php CHANGED
@@ -1,95 +1,96 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The Customer Helper contains methods dealing customer information.
24
- */
25
- class Paymill_Paymill_Helper_CustomerHelper extends Mage_Core_Helper_Abstract
26
- {
27
-
28
- /**
29
- * Returns the current customers full name
30
- * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
31
- * @return string the customers full name
32
- */
33
- public function getCustomerName($object)
34
- {
35
- $custFirstName = $object->getBillingAddress()->getFirstname();
36
- $custLastName = $object->getBillingAddress()->getLastname();
37
- $custFullName = $custFirstName . " " . $custLastName;
38
- return $custFullName;
39
- }
40
-
41
- /**
42
- * Returns the current customers email adress.
43
- * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
44
- * @return string the customers email adress
45
- */
46
- public function getCustomerEmail($object)
47
- {
48
- $email = $object->getCustomerEmail();
49
-
50
- if (empty($email)) {
51
- $email = $object->getBillingAddress()->getEmail();
52
- }
53
-
54
- return $email;
55
- }
56
-
57
- /**
58
- * Return paymill client data
59
- * @return array
60
- */
61
- public function getClientData()
62
- {
63
- $clients = new Services_Paymill_Clients(
64
- Mage::helper('paymill/optionHelper')->getPrivateKey(), Mage::helper('paymill')->getApiUrl()
65
- );
66
-
67
- $clientId = Mage::helper("paymill/fastCheckoutHelper")->getClientId();
68
-
69
- $client = null;
70
- if (!empty($clientId)) {
71
- $client = $clients->getOne($clientId);
72
- if (!array_key_exists('email', $client)) {
73
- $client = null;
74
- }
75
- }
76
-
77
- return $client;
78
- }
79
-
80
- /**
81
- * Returns the Id of the user currently logged in.
82
- * Returns null if there is no logged in user.
83
- * @return String userId
84
- */
85
- public function getUserId()
86
- {
87
- $result = null;
88
- if (Mage::getSingleton('customer/session')->isLoggedIn()) {
89
- $result = Mage::getSingleton('customer/session')->getId();
90
- }
91
-
92
- return $result;
93
- }
94
-
 
95
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * The Customer Helper contains methods dealing customer information.
24
+ */
25
+ class Paymill_Paymill_Helper_CustomerHelper extends Mage_Core_Helper_Abstract
26
+ {
27
+
28
+ /**
29
+ * Returns the current customers full name
30
+ * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
31
+ * @return string the customers full name
32
+ */
33
+ public function getCustomerName($object)
34
+ {
35
+ $custFirstName = $object->getBillingAddress()->getFirstname();
36
+ $custLastName = $object->getBillingAddress()->getLastname();
37
+ $custFullName = $custFirstName . " " . $custLastName;
38
+ return $custFullName;
39
+ }
40
+
41
+ /**
42
+ * Returns the current customers email adress.
43
+ * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
44
+ * @return string the customers email adress
45
+ */
46
+ public function getCustomerEmail($object)
47
+ {
48
+ $email = $object->getCustomerEmail();
49
+
50
+ if (empty($email)) {
51
+ $email = $object->getBillingAddress()->getEmail();
52
+ }
53
+
54
+ return $email;
55
+ }
56
+
57
+ /**
58
+ * Return paymill client data
59
+ * @return array
60
+ */
61
+ public function getClientData()
62
+ {
63
+ $clients = new Services_Paymill_Clients(
64
+ Mage::helper('paymill/optionHelper')->getPrivateKey(),
65
+ Mage::helper('paymill')->getApiUrl()
66
+ );
67
+
68
+ $clientId = Mage::helper("paymill/fastCheckoutHelper")->getClientId();
69
+
70
+ $client = null;
71
+ if (!empty($clientId)) {
72
+ $client = $clients->getOne($clientId);
73
+ if (!array_key_exists('email', $client)) {
74
+ $client = null;
75
+ }
76
+ }
77
+
78
+ return $client;
79
+ }
80
+
81
+ /**
82
+ * Returns the Id of the user currently logged in.
83
+ * Returns null if there is no logged in user.
84
+ * @return String userId
85
+ */
86
+ public function getUserId()
87
+ {
88
+ $result = null;
89
+ if (Mage::getSingleton('customer/session')->isLoggedIn()) {
90
+ $result = Mage::getSingleton('customer/session')->getId();
91
+ }
92
+
93
+ return $result;
94
+ }
95
+
96
  }
app/code/community/Paymill/Paymill/Helper/Data.php CHANGED
@@ -1,92 +1,92 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The Data Helper contains methods dealing with shopiformation.
24
- * Examples for this might be f.Ex backend option states or pathes.
25
- */
26
- class Paymill_Paymill_Helper_Data extends Mage_Core_Helper_Abstract
27
- {
28
-
29
- /**
30
- * Returns the path to the image directory as a string
31
- * @return string Path
32
- */
33
- public function getImagePath()
34
- {
35
- return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'skin/frontend/base/default/images/paymill/';
36
- }
37
-
38
- /**
39
- * Returns the path to the js directory as a string
40
- * @return string Path
41
- */
42
- public function getJscriptPath()
43
- {
44
- return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'js/paymill/';
45
- }
46
-
47
- /**
48
- * Returns the API Url
49
- * @return string
50
- */
51
- public function getApiUrl()
52
- {
53
- return "https://api.paymill.com/v2/";
54
- }
55
-
56
- /**
57
- * Returns the version of the plugin as a string
58
- * @return String Version
59
- */
60
- public function getVersion()
61
- {
62
- return (string) Mage::getConfig()->getNode()->modules->Paymill_Paymill->version;
63
- }
64
-
65
- /**
66
- * Returns the Source string passt to every transaction
67
- * @return String Source
68
- */
69
- public function getSourceString()
70
- {
71
- return $this->getVersion() . "_Magento_" . Mage::getVersion();
72
- }
73
-
74
- /**
75
- * Validates the private key value by comparing it to an empty string
76
- * @return boolean
77
- */
78
- public function isPrivateKeySet()
79
- {
80
- return Mage::helper('paymill/OptionHelper')->getPrivateKey() !== "";
81
- }
82
-
83
- /**
84
- * Validates the public key value by comparing it to an empty string
85
- * @return boolean
86
- */
87
- public function isPublicKeySet()
88
- {
89
- return Mage::helper('paymill/OptionHelper')->getPublicKey() !== "";
90
- }
91
-
92
- }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * The Data Helper contains methods dealing with shopiformation.
24
+ * Examples for this might be f.Ex backend option states or pathes.
25
+ */
26
+ class Paymill_Paymill_Helper_Data extends Mage_Core_Helper_Abstract
27
+ {
28
+
29
+ /**
30
+ * Returns the path to the image directory as a string
31
+ * @return string Path
32
+ */
33
+ public function getImagePath()
34
+ {
35
+ return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'skin/frontend/base/default/images/paymill/';
36
+ }
37
+
38
+ /**
39
+ * Returns the path to the js directory as a string
40
+ * @return string Path
41
+ */
42
+ public function getJscriptPath()
43
+ {
44
+ return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'js/paymill/';
45
+ }
46
+
47
+ /**
48
+ * Returns the API Url
49
+ * @return string
50
+ */
51
+ public function getApiUrl()
52
+ {
53
+ return "https://api.paymill.com/v2/";
54
+ }
55
+
56
+ /**
57
+ * Returns the version of the plugin as a string
58
+ * @return String Version
59
+ */
60
+ public function getVersion()
61
+ {
62
+ return (string) Mage::getConfig()->getNode()->modules->Paymill_Paymill->version;
63
+ }
64
+
65
+ /**
66
+ * Returns the Source string passt to every transaction
67
+ * @return String Source
68
+ */
69
+ public function getSourceString()
70
+ {
71
+ return $this->getVersion() . "_Magento_" . Mage::getVersion();
72
+ }
73
+
74
+ /**
75
+ * Validates the private key value by comparing it to an empty string
76
+ * @return boolean
77
+ */
78
+ public function isPrivateKeySet()
79
+ {
80
+ return Mage::helper('paymill/OptionHelper')->getPrivateKey() !== "";
81
+ }
82
+
83
+ /**
84
+ * Validates the public key value by comparing it to an empty string
85
+ * @return boolean
86
+ */
87
+ public function isPublicKeySet()
88
+ {
89
+ return Mage::helper('paymill/OptionHelper')->getPublicKey() !== "";
90
+ }
91
+
92
+ }
app/code/community/Paymill/Paymill/Helper/FastCheckoutHelper.php CHANGED
@@ -1,117 +1,117 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The FastCheckout Helper contains methods dealing with the fast checkout process.
24
- * Examples for this might be f.Ex a customers userId used for matching client data or methods to grant easier access the db information.
25
- */
26
- class Paymill_Paymill_Helper_FastCheckoutHelper extends Mage_Core_Helper_Abstract
27
- {
28
-
29
- /**
30
- * Calls the Data helper to get the state of the Fast Checkout option
31
- */
32
- public function isFastCheckoutEnabled()
33
- {
34
- return Mage::helper("paymill/optionHelper")->isFastCheckoutEnabled();
35
- }
36
-
37
- /**
38
- * Returns the clientId matched with the userId passed as an argument.
39
- * If no match is found, the return value will be null.
40
- * @param String $userId Unique identifier of the customer
41
- * @return String clientId matched with the userId <b>can be null if no match is found</b>
42
- */
43
- public function getClientId()
44
- {
45
- $userId = Mage::helper("paymill/customerHelper")->getUserId();
46
- $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
47
- $collection->addFilter('user_id', $userId);
48
- $obj = $collection->getFirstItem();
49
- return $obj->getClientId();
50
- }
51
-
52
- /**
53
- * Returns the PaymentId associated with the current user
54
- * @param String $code PaymentMethodCode
55
- * @return String paymentId
56
- */
57
- public function getPaymentId($code)
58
- {
59
- $userId = Mage::helper("paymill/customerHelper")->getUserId();
60
- return Mage::getModel("paymill/fastcheckout")->getPaymentId($userId, $code);
61
- }
62
-
63
- /**
64
- * Returns a boolean describing whether there is saved fc data for the current user
65
- * @param String $code PaymentMethodCode
66
- * @return boolean
67
- */
68
- public function hasData($code)
69
- {
70
- $userId = Mage::helper("paymill/customerHelper")->getUserId();
71
- if (Mage::getModel("paymill/fastcheckout")->hasFcData($userId, $code)) {
72
- return true;
73
- }
74
-
75
- return false;
76
- }
77
-
78
- /**
79
- * Return payment data if available
80
- *
81
- * @param string $code
82
- * @return array
83
- */
84
- public function getPaymentData($code)
85
- {
86
- $payment = array();
87
- if ($this->hasData($code)) {
88
- $payments = new Services_Paymill_Payments(
89
- Mage::helper('paymill/optionHelper')->getPrivateKey(),
90
- Mage::helper('paymill')->getApiUrl()
91
- );
92
-
93
- $payment = $payments->getOne($this->getPaymentId($code));
94
-
95
- if (!array_key_exists('last4', $payment) && !array_key_exists('code', $payment)) {
96
- $payment = array();
97
- }
98
- }
99
-
100
- return $payment;
101
- }
102
-
103
- /**
104
- * Saves the dataset into the database
105
- * @param String $code paymentCode
106
- * @param String $clientId Description
107
- * @param String $name Description
108
- */
109
- public function saveData($code, $clientId, $paymentId = null)
110
- {
111
- $userId = Mage::helper("paymill/customerHelper")->getUserId();
112
- if (isset($userId)) {
113
- Mage::getModel("paymill/fastcheckout")->saveFcData($code, $userId, $clientId, $paymentId);
114
- }
115
- }
116
-
117
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * The FastCheckout Helper contains methods dealing with the fast checkout process.
24
+ * Examples for this might be f.Ex a customers userId used for matching client data or methods to grant easier access the db information.
25
+ */
26
+ class Paymill_Paymill_Helper_FastCheckoutHelper extends Mage_Core_Helper_Abstract
27
+ {
28
+
29
+ /**
30
+ * Calls the Data helper to get the state of the Fast Checkout option
31
+ */
32
+ public function isFastCheckoutEnabled()
33
+ {
34
+ return Mage::helper("paymill/optionHelper")->isFastCheckoutEnabled();
35
+ }
36
+
37
+ /**
38
+ * Returns the clientId matched with the userId passed as an argument.
39
+ * If no match is found, the return value will be null.
40
+ * @param String $userId Unique identifier of the customer
41
+ * @return String clientId matched with the userId <b>can be null if no match is found</b>
42
+ */
43
+ public function getClientId()
44
+ {
45
+ $userId = Mage::helper("paymill/customerHelper")->getUserId();
46
+ $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
47
+ $collection->addFilter('user_id', $userId);
48
+ $obj = $collection->getFirstItem();
49
+ return $obj->getClientId();
50
+ }
51
+
52
+ /**
53
+ * Returns the PaymentId associated with the current user
54
+ * @param String $code PaymentMethodCode
55
+ * @return String paymentId
56
+ */
57
+ public function getPaymentId($code)
58
+ {
59
+ $userId = Mage::helper("paymill/customerHelper")->getUserId();
60
+ return Mage::getModel("paymill/fastcheckout")->getPaymentId($userId, $code);
61
+ }
62
+
63
+ /**
64
+ * Returns a boolean describing whether there is saved fc data for the current user
65
+ * @param String $code PaymentMethodCode
66
+ * @return boolean
67
+ */
68
+ public function hasData($code)
69
+ {
70
+ $userId = Mage::helper("paymill/customerHelper")->getUserId();
71
+ if (Mage::getModel("paymill/fastcheckout")->hasFcData($userId, $code)) {
72
+ return true;
73
+ }
74
+
75
+ return false;
76
+ }
77
+
78
+ /**
79
+ * Return payment data if available
80
+ *
81
+ * @param string $code
82
+ * @return array
83
+ */
84
+ public function getPaymentData($code)
85
+ {
86
+ $payment = array();
87
+ if ($this->hasData($code)) {
88
+ $payments = new Services_Paymill_Payments(
89
+ Mage::helper('paymill/optionHelper')->getPrivateKey(),
90
+ Mage::helper('paymill')->getApiUrl()
91
+ );
92
+
93
+ $payment = $payments->getOne($this->getPaymentId($code));
94
+
95
+ if (!array_key_exists('last4', $payment) && !array_key_exists('code', $payment)) {
96
+ $payment = array();
97
+ }
98
+ }
99
+
100
+ return $payment;
101
+ }
102
+
103
+ /**
104
+ * Saves the dataset into the database
105
+ * @param String $code paymentCode
106
+ * @param String $clientId Description
107
+ * @param String $name Description
108
+ */
109
+ public function saveData($code, $clientId, $paymentId = null)
110
+ {
111
+ $userId = Mage::helper("paymill/customerHelper")->getUserId();
112
+ if (isset($userId)) {
113
+ Mage::getModel("paymill/fastcheckout")->saveFcData($code, $userId, $clientId, $paymentId);
114
+ }
115
+ }
116
+
117
  }
app/code/community/Paymill/Paymill/Helper/LoggingHelper.php CHANGED
@@ -1,50 +1,50 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The Logging Helper contains methods dealing with Log entries.
24
- * Examples for this might be f.Ex logging data or reading from the log.
25
- */
26
- class Paymill_Paymill_Helper_LoggingHelper extends Mage_Core_Helper_Abstract implements Services_Paymill_LoggingInterface
27
- {
28
-
29
- /**
30
- * Inserts the arguments into the db log
31
- * @param String $merchantInfo
32
- * @param String $devInfo
33
- * @param String $devInfoAdditional
34
- */
35
- public function log($merchantInfo, $devInfo = null, $devInfoAdditional = null)
36
- {
37
- Mage::getModel('paymill/log')->log($merchantInfo, $devInfo, $devInfoAdditional);
38
- }
39
-
40
- /**
41
- * Returns a collection of all log-entries
42
- * @return Collection Description
43
- */
44
- public function getEntries()
45
- {
46
- $collection = Mage::getModel('paymill/log')->getCollection();
47
- return $collection;
48
- }
49
-
50
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * The Logging Helper contains methods dealing with Log entries.
24
+ * Examples for this might be f.Ex logging data or reading from the log.
25
+ */
26
+ class Paymill_Paymill_Helper_LoggingHelper extends Mage_Core_Helper_Abstract implements Services_Paymill_LoggingInterface
27
+ {
28
+
29
+ /**
30
+ * Inserts the arguments into the db log
31
+ * @param String $merchantInfo
32
+ * @param String $devInfo
33
+ * @param String $devInfoAdditional
34
+ */
35
+ public function log($merchantInfo, $devInfo = null, $devInfoAdditional = null)
36
+ {
37
+ Mage::getModel('paymill/log')->log($merchantInfo, $devInfo, $devInfoAdditional);
38
+ }
39
+
40
+ /**
41
+ * Returns a collection of all log-entries
42
+ * @return Collection Description
43
+ */
44
+ public function getEntries()
45
+ {
46
+ $collection = Mage::getModel('paymill/log')->getCollection();
47
+ return $collection;
48
+ }
49
+
50
  }
app/code/community/Paymill/Paymill/Helper/OptionHelper.php CHANGED
@@ -1,125 +1,143 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The Option Helper contains methods dealing with reading out backend options.
24
- */
25
- class Paymill_Paymill_Helper_OptionHelper extends Mage_Core_Helper_Abstract
26
- {
27
-
28
- /**
29
- * Returns the Public Key from the Backend as a string
30
- * @return String
31
- */
32
- public function getPublicKey()
33
- {
34
- return trim($this->_getGeneralOption("public_key"));
35
- }
36
-
37
- /**
38
- * Returns the Private Key from the Backend as a string
39
- * @return String
40
- */
41
- public function getPrivateKey()
42
- {
43
- return trim($this->_getGeneralOption("private_key"));
44
- }
45
-
46
- /**
47
- * Returns the state of the "Logging" Switch from the Backend as a Boolean
48
- * @return Boolean
49
- */
50
- public function isLogging()
51
- {
52
- return $this->_getGeneralOption("logging_active");
53
- }
54
-
55
- /**
56
- * Returns the state of the "FastCheckout" Switch from the Backend as a Boolean
57
- * @return Boolean
58
- */
59
- public function isFastCheckoutEnabled()
60
- {
61
- return $this->_getGeneralOption("fc_active");
62
- }
63
-
64
- /**
65
- * Returns the state of the "Debug" Switch from the Backend as a Boolean
66
- * @return Boolean
67
- */
68
- public function isInDebugMode()
69
- {
70
- return $this->_getGeneralOption("debugging_active");
71
- }
72
-
73
- /**
74
- * Returns the state of the "Show Labels" Switch from the Backend as a Boolean
75
- * @return Boolean
76
- */
77
- public function isShowingLabels()
78
- {
79
- return $this->_getGeneralOption("show_label");
80
- }
81
-
82
- /**
83
- * Returns the value of the given backend option.
84
- * <p align = "center">Needs the $_storeId to be set to work properly</p>
85
- * @param String $choice Name of the desired category as a string
86
- * @param String $optionName Name of the desired option as a string
87
- * @return mixed Value of the Backend Option
88
- * @throws Exception "No Store Id has been set."
89
- */
90
- private function _getBackendOption($choice, $optionName)
91
- {
92
- $value = Mage::getStoreConfig('payment/' . $choice . '/' . $optionName, Mage::app()->getStore()->getStoreId());
93
-
94
- return $value;
95
- }
96
-
97
- /**
98
- * Returns the Value of the general Option with the given name.
99
- * <p align = "center">Needs the $_storeId to be set to work properly</p>
100
- * @param String $optionName
101
- * @return mixed Value
102
- */
103
- private function _getGeneralOption($optionName)
104
- {
105
- return $this->_getBackendOption("paymill", $optionName);
106
- }
107
-
108
- /**
109
- * Returns the state of the "preAuth" Switch from the Backend as a Boolean
110
- * @return boolean
111
- */
112
- public function isPreAuthorizing()
113
- {
114
- return $this->_getBackendOption("paymill_creditcard", "preAuth_active");
115
- }
116
-
117
- /**
118
- * Returns the value of the "prenotification" config from the Backend as a string
119
- * @return string
120
- */
121
- public function getPrenotificationDays()
122
- {
123
- return $this->_getBackendOption("paymill_directdebit", "prenotification");
124
- }
125
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * The Option Helper contains methods dealing with reading out backend options.
24
+ */
25
+ class Paymill_Paymill_Helper_OptionHelper extends Mage_Core_Helper_Abstract
26
+ {
27
+
28
+ /**
29
+ * Returns the Public Key from the Backend as a string
30
+ * @return String
31
+ */
32
+ public function getPublicKey()
33
+ {
34
+ return trim($this->_getGeneralOption("public_key"));
35
+ }
36
+
37
+ /**
38
+ * Returns the Private Key from the Backend as a string
39
+ * @return String
40
+ */
41
+ public function getPrivateKey()
42
+ {
43
+ return trim($this->_getGeneralOption("private_key"));
44
+ }
45
+
46
+ /**
47
+ * Returns the state of the "Logging" Switch from the Backend as a Boolean
48
+ * @return Boolean
49
+ */
50
+ public function isLogging()
51
+ {
52
+ return $this->_getGeneralOption("logging_active");
53
+ }
54
+
55
+ /**
56
+ * Returns the state of the "FastCheckout" Switch from the Backend as a Boolean
57
+ * @return Boolean
58
+ */
59
+ public function isFastCheckoutEnabled()
60
+ {
61
+ return $this->_getGeneralOption("fc_active");
62
+ }
63
+
64
+ /**
65
+ * Returns the state of the "Debug" Switch from the Backend as a Boolean
66
+ * @return Boolean
67
+ */
68
+ public function isInDebugMode()
69
+ {
70
+ return $this->_getGeneralOption("debugging_active");
71
+ }
72
+
73
+ /**
74
+ * Returns the state of the "Show Labels" Switch from the Backend as a Boolean
75
+ * @return Boolean
76
+ */
77
+ public function isShowingLabels()
78
+ {
79
+ return $this->_getGeneralOption("show_label");
80
+ }
81
+
82
+ /**
83
+ * Is base currency in use
84
+ * @return boolean
85
+ */
86
+ public function isBaseCurrency()
87
+ {
88
+ return $this->_getGeneralOption("base_currency");
89
+ }
90
+
91
+ /**
92
+ * Return token selector
93
+ * @return string
94
+ */
95
+ public function getTokenSelector()
96
+ {
97
+ return $this->_getGeneralOption("token_creation_identifier_id");
98
+ }
99
+
100
+ /**
101
+ * Returns the value of the given backend option.
102
+ * <p align = "center">Needs the $_storeId to be set to work properly</p>
103
+ * @param String $choice Name of the desired category as a string
104
+ * @param String $optionName Name of the desired option as a string
105
+ * @return mixed Value of the Backend Option
106
+ * @throws Exception "No Store Id has been set."
107
+ */
108
+ private function _getBackendOption($choice, $optionName)
109
+ {
110
+ $value = Mage::getStoreConfig('payment/' . $choice . '/' . $optionName, Mage::app()->getStore()->getStoreId());
111
+
112
+ return $value;
113
+ }
114
+
115
+ /**
116
+ * Returns the Value of the general Option with the given name.
117
+ * <p align = "center">Needs the $_storeId to be set to work properly</p>
118
+ * @param String $optionName
119
+ * @return mixed Value
120
+ */
121
+ private function _getGeneralOption($optionName)
122
+ {
123
+ return $this->_getBackendOption("paymill", $optionName);
124
+ }
125
+
126
+ /**
127
+ * Returns the state of the "preAuth" Switch from the Backend as a Boolean
128
+ * @return boolean
129
+ */
130
+ public function isPreAuthorizing()
131
+ {
132
+ return $this->_getBackendOption("paymill_creditcard", "preAuth_active");
133
+ }
134
+
135
+ /**
136
+ * Returns the value of the "prenotification" config from the Backend as a string
137
+ * @return string
138
+ */
139
+ public function getPrenotificationDays()
140
+ {
141
+ return $this->_getBackendOption("paymill_directdebit", "prenotification");
142
+ }
143
+ }
app/code/community/Paymill/Paymill/Helper/PaymentHelper.php CHANGED
@@ -1,200 +1,216 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The Payment Helper contains methods dealing with payment relevant information.
24
- * Examples for this might be f.Ex customer data, formating of basket amounts or similar.
25
- */
26
- class Paymill_Paymill_Helper_PaymentHelper extends Mage_Core_Helper_Abstract
27
- {
28
-
29
- /**
30
- * Error code mapping
31
- * @var array
32
- */
33
- protected $_responseCodes = array(
34
- '10001' => 'General undefined response.',
35
- '10002' => 'Still waiting on something.',
36
- '20000' => 'General success response.',
37
- '40000' => 'General problem with data.',
38
- '40001' => 'General problem with payment data.',
39
- '40100' => 'Problem with credit card data.',
40
- '40101' => 'Problem with cvv.',
41
- '40102' => 'Card expired or not yet valid.',
42
- '40103' => 'Limit exceeded.',
43
- '40104' => 'Card invalid.',
44
- '40105' => 'Expiry date not valid.',
45
- '40106' => 'Credit card brand required.',
46
- '40200' => 'Problem with bank account data.',
47
- '40201' => 'Bank account data combination mismatch.',
48
- '40202' => 'User authentication failed.',
49
- '40300' => 'Problem with 3d secure data.',
50
- '40301' => 'Currency / amount mismatch',
51
- '40400' => 'Problem with input data.',
52
- '40401' => 'Amount too low or zero.',
53
- '40402' => 'Usage field too long.',
54
- '40403' => 'Currency not allowed.',
55
- '50000' => 'General problem with backend.',
56
- '50001' => 'Country blacklisted.',
57
- '50100' => 'Technical error with credit card.',
58
- '50101' => 'Error limit exceeded.',
59
- '50102' => 'Card declined by authorization system.',
60
- '50103' => 'Manipulation or stolen card.',
61
- '50104' => 'Card restricted.',
62
- '50105' => 'Invalid card configuration data.',
63
- '50200' => 'Technical error with bank account.',
64
- '50201' => 'Card blacklisted.',
65
- '50300' => 'Technical error with 3D secure.',
66
- '50400' => 'Decline because of risk issues.',
67
- '50500' => 'General timeout.',
68
- '50501' => 'Timeout on side of the acquirer.',
69
- '50502' => 'Risk management transaction timeout.',
70
- '50600' => 'Duplicate transaction.'
71
- );
72
-
73
- /**
74
- * Return message for the given error code
75
- *
76
- * @param string $code
77
- * @return string
78
- */
79
- public function getErrorMessage($code)
80
- {
81
- $message = 'General undefined response.';
82
- if (array_key_exists($code, $this->_responseCodes)) {
83
- $message = $this->_responseCodes[$code];
84
- }
85
-
86
- return $message;
87
- }
88
-
89
- /**
90
- * Returns the order amount in the smallest possible unit (f.Ex. cent for the EUR currency)
91
- * <p align = "center" color = "red">At the moment, only currencies with a 1:100 conversion are supported. Special cases need to be added if necessary</p>
92
- * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
93
- * @return int Amount in the smallest possible unit
94
- */
95
- public function getAmount($object = null)
96
- {
97
- if ($object == null) {
98
- $object = Mage::getSingleton('checkout/session')->getQuote();
99
- }
100
- $decimalTotal = $object->getBaseGrandTotal();
101
- $amountTotal = $decimalTotal * 100;
102
- return round($amountTotal);
103
- }
104
-
105
- /**
106
- * Returns the currency compliant to ISO 4217 (3 char code)
107
- * @return string 3 Character long currency code
108
- *
109
- * @param Mage_Sales_Model_Quote $quote
110
- * @return string
111
- */
112
- public function getCurrency($quote)
113
- {
114
- return $quote->getBaseCurrencyCode();
115
- }
116
-
117
- /**
118
- * Returns the description you want to display in the Paymill Backend.
119
- * The current format is [OrderId] [Email adress of the customer]
120
- * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
121
- * @return string
122
- */
123
- public function getDescription($object)
124
- {
125
- $orderId = $this->getOrderId($object);
126
- $customerEmail = Mage::helper("paymill/customerHelper")->getCustomerEmail($object);
127
- $description = $orderId . ", " . $customerEmail;
128
-
129
- return $description;
130
- }
131
-
132
- /**
133
- * Returns the short tag of the Payment
134
- * @param String $code
135
- * @return string
136
- */
137
- public function getPaymentType($code)
138
- {
139
- //Creditcard
140
- if ($code === "paymill_creditcard") {
141
- $type = "cc";
142
- }
143
- //Directdebit
144
- if ($code === "paymill_directdebit") {
145
- $type = "elv";
146
- }
147
-
148
- return $type;
149
- }
150
-
151
- /**
152
- * Returns the reserved order id
153
- * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
154
- * @return String OrderId
155
- */
156
- public function getOrderId($object)
157
- {
158
- $orderId = null;
159
-
160
- if ($object instanceof Mage_Sales_Model_Order) {
161
- $orderId = $object->getIncrementId();
162
- }
163
-
164
- if ($object instanceof Mage_Sales_Model_Quote) {
165
- $orderId = $object->getReservedOrderId();
166
- }
167
-
168
-
169
- return $orderId;
170
- }
171
-
172
- /**
173
- * Returns an instance of the paymentProcessor class.
174
- * @param String $paymentCode name of the payment
175
- * @param String $token Token generated by the Javascript
176
- * @return Services_Paymill_PaymentProcessor
177
- */
178
- public function createPaymentProcessor($paymentCode, $token)
179
- {
180
- $privateKey = Mage::helper('paymill/optionHelper')->getPrivateKey();
181
- $apiUrl = Mage::helper('paymill')->getApiUrl();
182
- $quote = Mage::getSingleton('checkout/session')->getQuote();
183
- $libBase = null;
184
-
185
- $params = array();
186
- $params['token'] = $token;
187
- $params['amount'] = (int) $this->getAmount();
188
- $params['currency'] = $this->getCurrency($quote);
189
- $params['payment'] = $this->getPaymentType($paymentCode); // The chosen payment (cc | elv)
190
- $params['name'] = Mage::helper("paymill/customerHelper")->getCustomerName($quote);
191
- $params['email'] = Mage::helper("paymill/customerHelper")->getCustomerEmail($quote);
192
- $params['description'] = substr($this->getDescription($quote), 0, 128);
193
-
194
- $paymentProcessor = new Services_Paymill_PaymentProcessor($privateKey, $apiUrl, $libBase, $params, Mage::helper('paymill/loggingHelper'));
195
- $paymentProcessor->setSource(Mage::helper('paymill')->getSourceString());
196
-
197
- return $paymentProcessor;
198
- }
199
-
200
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * The Payment Helper contains methods dealing with payment relevant information.
24
+ * Examples for this might be f.Ex customer data, formating of basket amounts or similar.
25
+ */
26
+ class Paymill_Paymill_Helper_PaymentHelper extends Mage_Core_Helper_Abstract
27
+ {
28
+
29
+ /**
30
+ * Error code mapping
31
+ * @var array
32
+ */
33
+ protected $_responseCodes = array(
34
+ '10001' => 'General undefined response.',
35
+ '10002' => 'Still waiting on something.',
36
+ '20000' => 'General success response.',
37
+ '40000' => 'General problem with data.',
38
+ '40001' => 'General problem with payment data.',
39
+ '40100' => 'Problem with credit card data.',
40
+ '40101' => 'Problem with cvv.',
41
+ '40102' => 'Card expired or not yet valid.',
42
+ '40103' => 'Limit exceeded.',
43
+ '40104' => 'Card invalid.',
44
+ '40105' => 'Expiry date not valid.',
45
+ '40106' => 'Credit card brand required.',
46
+ '40200' => 'Problem with bank account data.',
47
+ '40201' => 'Bank account data combination mismatch.',
48
+ '40202' => 'User authentication failed.',
49
+ '40300' => 'Problem with 3d secure data.',
50
+ '40301' => 'Currency / amount mismatch',
51
+ '40400' => 'Problem with input data.',
52
+ '40401' => 'Amount too low or zero.',
53
+ '40402' => 'Usage field too long.',
54
+ '40403' => 'Currency not allowed.',
55
+ '50000' => 'General problem with backend.',
56
+ '50001' => 'Country blacklisted.',
57
+ '50100' => 'Technical error with credit card.',
58
+ '50101' => 'Error limit exceeded.',
59
+ '50102' => 'Card declined by authorization system.',
60
+ '50103' => 'Manipulation or stolen card.',
61
+ '50104' => 'Card restricted.',
62
+ '50105' => 'Invalid card configuration data.',
63
+ '50200' => 'Technical error with bank account.',
64
+ '50201' => 'Card blacklisted.',
65
+ '50300' => 'Technical error with 3D secure.',
66
+ '50400' => 'Decline because of risk issues.',
67
+ '50500' => 'General timeout.',
68
+ '50501' => 'Timeout on side of the acquirer.',
69
+ '50502' => 'Risk management transaction timeout.',
70
+ '50600' => 'Duplicate transaction.'
71
+ );
72
+
73
+ /**
74
+ * Return message for the given error code
75
+ *
76
+ * @param string $code
77
+ * @return string
78
+ */
79
+ public function getErrorMessage($code)
80
+ {
81
+ $message = 'General undefined response.';
82
+ if (array_key_exists($code, $this->_responseCodes)) {
83
+ $message = $this->_responseCodes[$code];
84
+ }
85
+
86
+ return $message;
87
+ }
88
+
89
+ /**
90
+ * Returns the order amount in the smallest possible unit (f.Ex. cent for the EUR currency)
91
+ * <p align = "center" color = "red">At the moment, only currencies with a 1:100 conversion are supported. Special cases need to be added if necessary</p>
92
+ * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
93
+ * @return int Amount in the smallest possible unit
94
+ */
95
+ public function getAmount($object = null)
96
+ {
97
+ if (is_null($object)) {
98
+ $object = Mage::getSingleton('checkout/session')->getQuote();
99
+ }
100
+
101
+ $amount = $object->getBaseGrandTotal();
102
+
103
+ if (!Mage::helper('paymill/optionHelper')->isBaseCurrency()) {
104
+ $amount = $object->getGrandTotal();
105
+ }
106
+
107
+ return round($amount * 100);
108
+ }
109
+
110
+ /**
111
+ * Returns the currency compliant to ISO 4217 (3 char code)
112
+ * @return string 3 Character long currency code
113
+ *
114
+ * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order|Mage_Sales_Model_Order_Invoice|Mage_Sales_Model_Order_Creditmemo $object
115
+ * @return string
116
+ */
117
+ public function getCurrency($object)
118
+ {
119
+ $currency = $object->getBaseCurrencyCode();
120
+ if (!Mage::helper('paymill/optionHelper')->isBaseCurrency()) {
121
+ if ($object instanceof Mage_Sales_Model_Quote) {
122
+ $currency = $object->getQuoteCurrencyCode();
123
+ } else {
124
+ $currency = $object->getOrderCurrencyCode();
125
+ }
126
+ }
127
+
128
+ return $currency;
129
+ }
130
+
131
+ /**
132
+ * Returns the description you want to display in the Paymill Backend.
133
+ * The current format is [OrderId] [Email adress of the customer]
134
+ * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
135
+ * @return string
136
+ */
137
+ public function getDescription($object)
138
+ {
139
+ return $this->getOrderId($object) . ", " . Mage::helper("paymill/customerHelper")->getCustomerEmail($object);
140
+ }
141
+
142
+ /**
143
+ * Returns the short tag of the Payment
144
+ * @param String $code
145
+ * @return string
146
+ */
147
+ public function getPaymentType($code)
148
+ {
149
+ $type = null;
150
+
151
+ //Creditcard
152
+ if ($code === "paymill_creditcard") {
153
+ $type = "cc";
154
+ }
155
+ //Directdebit
156
+ if ($code === "paymill_directdebit") {
157
+ $type = "elv";
158
+ }
159
+
160
+ return $type;
161
+ }
162
+
163
+ /**
164
+ * Returns the reserved order id
165
+ * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
166
+ * @return String OrderId
167
+ */
168
+ public function getOrderId($object)
169
+ {
170
+ $orderId = null;
171
+
172
+ if ($object instanceof Mage_Sales_Model_Order) {
173
+ $orderId = $object->getIncrementId();
174
+ }
175
+
176
+ if ($object instanceof Mage_Sales_Model_Quote) {
177
+ $orderId = $object->getReservedOrderId();
178
+ }
179
+
180
+
181
+ return $orderId;
182
+ }
183
+
184
+ /**
185
+ * Returns an instance of the paymentProcessor class.
186
+ * @param String $paymentCode name of the payment
187
+ * @param String $token Token generated by the Javascript
188
+ * @return Services_Paymill_PaymentProcessor
189
+ */
190
+ public function createPaymentProcessor($paymentCode, $token)
191
+ {
192
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
193
+
194
+ $params = array();
195
+ $params['token'] = $token;
196
+ $params['amount'] = (int) $this->getAmount();
197
+ $params['currency'] = $this->getCurrency($quote);
198
+ $params['payment'] = $this->getPaymentType($paymentCode); // The chosen payment (cc | elv)
199
+ $params['name'] = Mage::helper("paymill/customerHelper")->getCustomerName($quote);
200
+ $params['email'] = Mage::helper("paymill/customerHelper")->getCustomerEmail($quote);
201
+ $params['description'] = substr($this->getDescription($quote), 0, 128);
202
+
203
+ $paymentProcessor = new Services_Paymill_PaymentProcessor(
204
+ Mage::helper('paymill/optionHelper')->getPrivateKey(),
205
+ Mage::helper('paymill')->getApiUrl(),
206
+ null,
207
+ $params,
208
+ Mage::helper('paymill/loggingHelper')
209
+ );
210
+
211
+ $paymentProcessor->setSource(Mage::helper('paymill')->getSourceString());
212
+
213
+ return $paymentProcessor;
214
+ }
215
+
216
+ }
app/code/community/Paymill/Paymill/Helper/RefundHelper.php CHANGED
@@ -1,86 +1,90 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The Refund Helper contains methods dealing with refund processes.
24
- */
25
- class Paymill_Paymill_Helper_RefundHelper extends Mage_Core_Helper_Abstract
26
- {
27
-
28
- /**
29
- * Validates the result of the refund
30
- * @param mixed $refund
31
- * @return boolean
32
- */
33
- private function validateRefund($refund)
34
- {
35
- //Logs errorfeedback in case of any other response than ok
36
- if (isset($refund['data']['response_code']) && $refund['data']['response_code'] !== 20000) {
37
- Mage::helper('paymill/loggingHelper')->log("An Error occured: " . $refund['data']['response_code'], var_export($refund, true));
38
- return false;
39
- }
40
-
41
- //Logs feedback in case of an unset id
42
- if (!isset($refund['id']) && !isset($refund['data']['id'])) {
43
- Mage::helper('paymill/loggingHelper')->log("No Refund created.", var_export($refund, true));
44
- return false;
45
- } else { //Logs success feedback for debugging purposes
46
- Mage::helper('paymill/loggingHelper')->log("Refund created.", $refund['id'], var_export($refund, true));
47
- }
48
-
49
- return true;
50
- }
51
-
52
- /**
53
- * Creates a refund from the ordernumber passed as an argument
54
- * @param Mage_Sales_Model_Order $order
55
- * @return boolean Indicator of success
56
- */
57
- public function createRefund($order, $amount)
58
- {
59
- //Gather Data
60
- try {
61
- $privateKey = Mage::helper('paymill/optionHelper')->getPrivateKey();
62
- $apiUrl = Mage::helper('paymill')->getApiUrl();
63
- $refundsObject = new Services_Paymill_Refunds($privateKey, $apiUrl);
64
- $transactionId = Mage::helper('paymill/transactionHelper')->getTransactionId($order);
65
- } catch (Exception $ex) {
66
- Mage::helper('paymill/loggingHelper')->log("No Refund created due to illegal parameters.", $ex->getMessage());
67
- return false;
68
- }
69
-
70
- //Create Refund
71
- $params = array(
72
- 'transactionId' => $transactionId,
73
- 'source' => Mage::helper('paymill')->getSourceString(),
74
- 'params' => array('amount' => $amount)
75
- );
76
- try {
77
- $refund = $refundsObject->create($params);
78
- } catch (Exception $ex) {
79
- Mage::helper('paymill/loggingHelper')->log("No Refund created.", $ex->getMessage(), var_export($params, true));
80
- return false;
81
- }
82
- //Validate Refund and return feedback
83
- return $this->validateRefund($refund);
84
- }
85
-
 
 
 
 
86
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ /**
23
+ * The Refund Helper contains methods dealing with refund processes.
24
+ */
25
+ class Paymill_Paymill_Helper_RefundHelper extends Mage_Core_Helper_Abstract
26
+ {
27
+
28
+ /**
29
+ * Validates the result of the refund
30
+ * @param mixed $refund
31
+ * @return boolean
32
+ */
33
+ private function validateRefund($refund)
34
+ {
35
+ //Logs errorfeedback in case of any other response than ok
36
+ if (isset($refund['data']['response_code']) && $refund['data']['response_code'] !== 20000) {
37
+ Mage::helper('paymill/loggingHelper')->log("An Error occured: " . $refund['data']['response_code'], var_export($refund, true));
38
+ return false;
39
+ }
40
+
41
+ //Logs feedback in case of an unset id
42
+ if (!isset($refund['id']) && !isset($refund['data']['id'])) {
43
+ Mage::helper('paymill/loggingHelper')->log("No Refund created.", var_export($refund, true));
44
+ return false;
45
+ } else { //Logs success feedback for debugging purposes
46
+ Mage::helper('paymill/loggingHelper')->log("Refund created.", $refund['id'], var_export($refund, true));
47
+ }
48
+
49
+ return true;
50
+ }
51
+
52
+ /**
53
+ * Creates a refund from the ordernumber passed as an argument
54
+ * @param Mage_Sales_Model_Order_Refund $creditmemo
55
+ * @return boolean Indicator of success
56
+ */
57
+ public function createRefund($creditmemo, $payment)
58
+ {
59
+ //Gather Data
60
+ try {
61
+ $refundsObject = new Services_Paymill_Refunds(
62
+ Mage::helper('paymill/optionHelper')->getPrivateKey(),
63
+ Mage::helper('paymill')->getApiUrl()
64
+ );
65
+ } catch (Exception $ex) {
66
+ Mage::helper('paymill/loggingHelper')->log("No Refund created due to illegal parameters.", $ex->getMessage());
67
+ return false;
68
+ }
69
+
70
+ //Create Refund
71
+ $params = array(
72
+ 'transactionId' => $payment->getAdditionalInformation('paymillTransactionId'),
73
+ 'source' => Mage::helper('paymill')->getSourceString(),
74
+ 'params' => array('amount' => (int) Mage::helper("paymill/paymentHelper")->getAmount($creditmemo))
75
+ );
76
+
77
+ Mage::helper('paymill/loggingHelper')->log("Try to refund.", var_export($params, true));
78
+
79
+ try {
80
+ $refund = $refundsObject->create($params);
81
+ } catch (Exception $ex) {
82
+ Mage::helper('paymill/loggingHelper')->log("No Refund created.", $ex->getMessage(), var_export($params, true));
83
+ return false;
84
+ }
85
+
86
+ //Validate Refund and return feedback
87
+ return $this->validateRefund($refund);
88
+ }
89
+
90
  }
app/code/community/Paymill/Paymill/Helper/TransactionHelper.php DELETED
@@ -1,114 +0,0 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
-
22
- /**
23
- * The Transaction Helper contains methods dealing saving and loading additional transaction data into and from order objects.
24
- */
25
- class Paymill_Paymill_Helper_TransactionHelper extends Mage_Core_Helper_Abstract
26
- {
27
-
28
- /**
29
- * Reads the additional data string from the argumented order object and returns it as an instance of Paymill_Paymill_Model_Transaction
30
- * @param Mage_Sales_Model_Order_Payment $object
31
- * @return Paymill_Paymill_Model_TransactionData Transaction Model
32
- */
33
- public function getAdditionalInformation(Mage_Sales_Model_Order_Payment $object)
34
- {
35
- $transactionId = $object->getAdditionalInformation('paymillTransactionId');
36
- $preAuthflag = $object->getAdditionalInformation('paymillPreAuthFlag');
37
- $model = $this->createTransactionModel($transactionId, $preAuthflag);
38
- return $model;
39
- }
40
-
41
- /**
42
- * Sets the additional Data string of the argumented object to the valueS of the argumented instance of the Paymill_Paymill_Model_Transaction
43
- * @param Mage_Sales_Model_Order_Payment $object
44
- * @param Paymill_Paymill_Model_Transaction $transactionModel Instance of the Transaction Model class
45
- * @return boolean Indicator of success
46
- */
47
- public function setAdditionalInformation(Mage_Sales_Model_Order_Payment $object, Paymill_Paymill_Model_TransactionData $transactionModel)
48
- {
49
- $object->setAdditionalInformation('paymillTransactionId', $transactionModel->getTransactionId());
50
- $object->setAdditionalInformation('paymillPreAuthFlag', $transactionModel->isPreAuthorization());
51
- $object->setAdditionalInformation('paymillPrenotificationDate', $this->getPrenotificationDate($object->getOrder()));
52
-
53
- Mage::helper('paymill/loggingHelper')->log("Saved Transaction Data.", "Order " . $object->getIncrementId() .
54
- $object->getReservedOrderId(), var_export($object->getAdditionalInformation(), true));
55
-
56
- return true;
57
- }
58
-
59
- /**
60
- * Returns the state of the isPreAuthorization Flag as a boolean
61
- * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
62
- * @return booelean PreAuthorizationFlag
63
- */
64
- public function isPreAuthenticated($object)
65
- {
66
- $payment = $object->getPayment();
67
- $transactionObject = $this->getAdditionalInformation($payment);
68
- Mage::helper('paymill/loggingHelper')->log("Read Model from object to return Flag.", var_export($transactionObject, true));
69
- return $transactionObject->isPreAuthorization();
70
- }
71
-
72
- /**
73
- * Returns the transactionId as a string
74
- * @param Mage_Sales_Model_Quote|Mage_Sales_Model_Order $object
75
- * @return String transactionId
76
- */
77
- public function getTransactionId($object)
78
- {
79
- $payment = $object->getPayment();
80
- $transactionObject = $this->getAdditionalInformation($payment);
81
- Mage::helper('paymill/loggingHelper')->log("Read Model from object to return Transaction Id.", var_export($transactionObject, true));
82
- return $transactionObject->getTransactionId();
83
- }
84
-
85
- /**
86
- * Creates a Transaction Model from the given Data
87
- * @param String $transactionId
88
- * @param Boolean $isPreAuthenticated
89
- * @return Paymill_Paymill_Model_TransactionData Model with the desired attributes
90
- */
91
- public function createTransactionModel($transactionId, $isPreAuthenticated = false)
92
- {
93
- $transactionModel = new Paymill_Paymill_Model_TransactionData();
94
- $transactionModel->setTransactionId($transactionId);
95
- $transactionModel->setPreAuthorizationFlag($isPreAuthenticated);
96
- return $transactionModel;
97
- }
98
-
99
- /**
100
- * Calculates Date with the setted Prenotification Days and formats it
101
- * @param Mage_Sales_Model_Order $order
102
- * @return string
103
- */
104
- private function getPrenotificationDate(Mage_Sales_Model_Order $order)
105
- {
106
- $dateTime = new DateTime($order->getCreatedAt());
107
- $dateTime->modify('+' . Mage::helper('paymill/optionHelper')->getPrenotificationDays() . ' day');
108
- $date = Mage::app()->getLocale()->storeDate($order->getStore(), Varien_Date::toTimestamp($dateTime->format('Y-m-d H:i:s')), true);
109
- $date = Mage::helper('core')->formatDate($date, 'short', false);
110
-
111
- return $date;
112
- }
113
-
114
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Paymill/Paymill/Model/Fastcheckout.php CHANGED
@@ -1,139 +1,139 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Model_Fastcheckout extends Mage_Core_Model_Abstract
22
- {
23
-
24
- /**
25
- * Construct
26
- */
27
- public function _construct()
28
- {
29
- parent::_construct();
30
- $this->_init('paymill/fastcheckout');
31
- }
32
-
33
- /**
34
- * Returns the paymentId matched with the userId passed as an argument.
35
- * If no match is found, the return value will be null.
36
- * @param String $userId Unique identifier of the customer
37
- * @param String $code PaymentMethodCode
38
- * @return String paymentId matched with the userId <b>can be null if no match is found</b>
39
- */
40
- public function getPaymentId($userId, $code)
41
- {
42
- $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
43
- $collection->addFilter('user_id', $userId);
44
- $obj = $collection->getFirstItem();
45
- if ($code === "paymill_creditcard") {
46
- return $obj->getCcPaymentId();
47
- }
48
-
49
- if ($code === "paymill_directdebit") {
50
- return $obj->getElvPaymentId();
51
- }
52
- }
53
-
54
- /**
55
- * Saves a set of arguments (paymentMethodCode, clientId and paymentId) as a match to the Id of the current user.
56
- * The paymentMethodCode is used to bind the Data to the correct payment type.
57
- * @param String $paymentMethodCode $_code from the payment model
58
- * @param String $clientId Code returned from the PaymentProcessor used to recreate the current client object
59
- * @param String $paymentId Code returned from the PaymentProcessor used to recreate the current payment object
60
- * @return boolean Indicator of Success
61
- */
62
- public function saveFcData($paymentMethodCode, $userId, $clientId, $paymentId)
63
- {
64
- $logger = Mage::helper("paymill/loggingHelper");
65
- $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
66
- $collection->addFilter('user_id', $userId);
67
- $customerExists = $collection->count();
68
-
69
- if ($customerExists == 1) {
70
- $obj = $collection->getFirstItem();
71
-
72
- $obj->setClientId($clientId)->save();
73
-
74
- if ($paymentMethodCode === 'paymill_creditcard') {
75
- $logger->log("Saving Fast Checkout Data", "Customer data already exists. Saving CC only Data.");
76
- $obj->setCcPaymentId($paymentId)
77
- ->save();
78
- }
79
-
80
- if ($paymentMethodCode === 'paymill_directdebit') {
81
- $logger->log("Saving Fast Checkout Data", "Customer data already exists. Saving ELV only Data.");
82
- $obj->setElvPaymentId($paymentId)
83
- ->save();
84
- }
85
- return true;
86
- }
87
-
88
- //Insert into db
89
- if ($paymentMethodCode === 'paymill_creditcard') {
90
- $logger->log("Saving Fast Checkout Data", "Customer data saved with CC data");
91
- $this->setId(null)
92
- ->setUserId($userId)
93
- ->setClientId($clientId)
94
- ->setCcPaymentId($paymentId)
95
- ->save();
96
- return true;
97
- }
98
-
99
- if ($paymentMethodCode === 'paymill_directdebit') {
100
- $logger->log("Saving Fast Checkout Data", "Customer data saved with ELV data");
101
- $this->setId(null)
102
- ->setUserId($userId)
103
- ->setClientId($clientId)
104
- ->setElvPaymentId($paymentId)
105
- ->save();
106
- return true;
107
- }
108
-
109
- return false;
110
- }
111
-
112
- /**
113
- * Returns a boolean describing if there is FC Data registered for the given userId
114
- * @param String $userId
115
- * @param String $code PaymentMethodCode
116
- * @return boolean
117
- */
118
- public function hasFcData($userId, $code)
119
- {
120
- $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
121
- $collection->addFilter('user_id', $userId);
122
-
123
- if ($code === "paymill_creditcard") {
124
- $obj = $collection->getFirstItem();
125
- if ($obj->getCcPaymentId() != null) {
126
- return true;
127
- }
128
- }
129
-
130
- if ($code === "paymill_directdebit") {
131
- $obj = $collection->getFirstItem();
132
- if ($obj->getElvPaymentId() != null) {
133
- return true;
134
- }
135
- }
136
- return false;
137
- }
138
-
139
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Model_Fastcheckout extends Mage_Core_Model_Abstract
22
+ {
23
+
24
+ /**
25
+ * Construct
26
+ */
27
+ public function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->_init('paymill/fastcheckout');
31
+ }
32
+
33
+ /**
34
+ * Returns the paymentId matched with the userId passed as an argument.
35
+ * If no match is found, the return value will be null.
36
+ * @param String $userId Unique identifier of the customer
37
+ * @param String $code PaymentMethodCode
38
+ * @return String paymentId matched with the userId <b>can be null if no match is found</b>
39
+ */
40
+ public function getPaymentId($userId, $code)
41
+ {
42
+ $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
43
+ $collection->addFilter('user_id', $userId);
44
+ $obj = $collection->getFirstItem();
45
+ if ($code === "paymill_creditcard") {
46
+ return $obj->getCcPaymentId();
47
+ }
48
+
49
+ if ($code === "paymill_directdebit") {
50
+ return $obj->getElvPaymentId();
51
+ }
52
+ }
53
+
54
+ /**
55
+ * Saves a set of arguments (paymentMethodCode, clientId and paymentId) as a match to the Id of the current user.
56
+ * The paymentMethodCode is used to bind the Data to the correct payment type.
57
+ * @param String $paymentMethodCode $_code from the payment model
58
+ * @param String $clientId Code returned from the PaymentProcessor used to recreate the current client object
59
+ * @param String $paymentId Code returned from the PaymentProcessor used to recreate the current payment object
60
+ * @return boolean Indicator of Success
61
+ */
62
+ public function saveFcData($paymentMethodCode, $userId, $clientId, $paymentId)
63
+ {
64
+ $logger = Mage::helper("paymill/loggingHelper");
65
+ $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
66
+ $collection->addFilter('user_id', $userId);
67
+ $customerExists = $collection->count();
68
+
69
+ if ($customerExists == 1) {
70
+ $obj = $collection->getFirstItem();
71
+
72
+ $obj->setClientId($clientId)->save();
73
+
74
+ if ($paymentMethodCode === 'paymill_creditcard') {
75
+ $logger->log("Saving Fast Checkout Data", "Customer data already exists. Saving CC only Data.");
76
+ $obj->setCcPaymentId($paymentId)
77
+ ->save();
78
+ }
79
+
80
+ if ($paymentMethodCode === 'paymill_directdebit') {
81
+ $logger->log("Saving Fast Checkout Data", "Customer data already exists. Saving ELV only Data.");
82
+ $obj->setElvPaymentId($paymentId)
83
+ ->save();
84
+ }
85
+ return true;
86
+ }
87
+
88
+ //Insert into db
89
+ if ($paymentMethodCode === 'paymill_creditcard') {
90
+ $logger->log("Saving Fast Checkout Data", "Customer data saved with CC data");
91
+ $this->setId(null)
92
+ ->setUserId($userId)
93
+ ->setClientId($clientId)
94
+ ->setCcPaymentId($paymentId)
95
+ ->save();
96
+ return true;
97
+ }
98
+
99
+ if ($paymentMethodCode === 'paymill_directdebit') {
100
+ $logger->log("Saving Fast Checkout Data", "Customer data saved with ELV data");
101
+ $this->setId(null)
102
+ ->setUserId($userId)
103
+ ->setClientId($clientId)
104
+ ->setElvPaymentId($paymentId)
105
+ ->save();
106
+ return true;
107
+ }
108
+
109
+ return false;
110
+ }
111
+
112
+ /**
113
+ * Returns a boolean describing if there is FC Data registered for the given userId
114
+ * @param String $userId
115
+ * @param String $code PaymentMethodCode
116
+ * @return boolean
117
+ */
118
+ public function hasFcData($userId, $code)
119
+ {
120
+ $collection = Mage::getModel('paymill/fastcheckout')->getCollection();
121
+ $collection->addFilter('user_id', $userId);
122
+
123
+ if ($code === "paymill_creditcard") {
124
+ $obj = $collection->getFirstItem();
125
+ if ($obj->getCcPaymentId() != null) {
126
+ return true;
127
+ }
128
+ }
129
+
130
+ if ($code === "paymill_directdebit") {
131
+ $obj = $collection->getFirstItem();
132
+ if ($obj->getElvPaymentId() != null) {
133
+ return true;
134
+ }
135
+ }
136
+ return false;
137
+ }
138
+
139
  }
app/code/community/Paymill/Paymill/Model/Log.php CHANGED
@@ -1,52 +1,52 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Model_Log extends Mage_Core_Model_Abstract
22
- {
23
-
24
- /**
25
- * Construct
26
- */
27
- public function _construct()
28
- {
29
- parent::_construct();
30
- $this->_init('paymill/log');
31
- }
32
-
33
- /**
34
- * Inserts the arguments into the db log
35
- * @param String $merchantInfo
36
- * @param String $devInfo
37
- * @param String $devInfoAdditional
38
- */
39
- public function log($merchantInfo, $devInfo, $devInfoAdditional = null)
40
- {
41
- if (Mage::helper("paymill/optionHelper")->isLogging()) {
42
- $this->setId(null)
43
- ->setEntryDate(null)
44
- ->setVersion(Mage::helper("paymill")->getVersion())
45
- ->setMerchantInfo($merchantInfo)
46
- ->setDevInfo($devInfo)
47
- ->setDevInfoAdditional($devInfoAdditional)
48
- ->save();
49
- }
50
- }
51
-
52
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Model_Log extends Mage_Core_Model_Abstract
22
+ {
23
+
24
+ /**
25
+ * Construct
26
+ */
27
+ public function _construct()
28
+ {
29
+ parent::_construct();
30
+ $this->_init('paymill/log');
31
+ }
32
+
33
+ /**
34
+ * Inserts the arguments into the db log
35
+ * @param String $merchantInfo
36
+ * @param String $devInfo
37
+ * @param String $devInfoAdditional
38
+ */
39
+ public function log($merchantInfo, $devInfo, $devInfoAdditional = null)
40
+ {
41
+ if (Mage::helper("paymill/optionHelper")->isLogging()) {
42
+ $this->setId(null)
43
+ ->setEntryDate(null)
44
+ ->setVersion(Mage::helper("paymill")->getVersion())
45
+ ->setMerchantInfo($merchantInfo)
46
+ ->setDevInfo($devInfo)
47
+ ->setDevInfoAdditional($devInfoAdditional)
48
+ ->save();
49
+ }
50
+ }
51
+
52
  }
app/code/community/Paymill/Paymill/Model/Log/Search.php CHANGED
@@ -1,56 +1,56 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it 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 Paymill
16
- * @package Paymill_Paymill
17
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- class Paymill_Paymill_Model_Log_Search extends Varien_Object
22
- {
23
-
24
- /**
25
- * Load search results
26
- *
27
- * @return Paymill_Paymill_Model_Log_Search
28
- */
29
- public function load()
30
- {
31
- $arr = array();
32
- $searchText = $this->getQuery();
33
- $collection = Mage::getModel('paymill/log')->getCollection()
34
- ->addFieldToFilter(
35
- array('dev_info', 'dev_info_additional'), array(
36
- array('like' => '%' . $searchText . '%'),
37
- array('like' => '%' . $searchText . '%')
38
- )
39
- )
40
- ->load();
41
-
42
- foreach ($collection as $model) {
43
- $arr[] = array(
44
- 'id' => 'paymill/search/' . $model->getId(),
45
- 'type' => Mage::helper('adminhtml')->__('Paymill Log Entry'),
46
- 'name' => $model->getMerchantInfo(),
47
- 'description' => $model->getEntryDate(),
48
- 'url' => Mage::helper('adminhtml')->getUrl('paymill/adminhtml_log/view', array('id' => $model->getId())),
49
- );
50
- }
51
-
52
- $this->setResults($arr);
53
- return $this;
54
- }
55
-
56
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it 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 Paymill
16
+ * @package Paymill_Paymill
17
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class Paymill_Paymill_Model_Log_Search extends Varien_Object
22
+ {
23
+
24
+ /**
25
+ * Load search results
26
+ *
27
+ * @return Paymill_Paymill_Model_Log_Search
28
+ */
29
+ public function load()
30
+ {
31
+ $arr = array();
32
+ $searchText = $this->getQuery();
33
+ $collection = Mage::getModel('paymill/log')->getCollection()
34
+ ->addFieldToFilter(
35
+ array('dev_info', 'dev_info_additional'), array(
36
+ array('like' => '%' . $searchText . '%'),
37
+ array('like' => '%' . $searchText . '%')
38
+ )
39
+ )
40
+ ->load();
41
+
42
+ foreach ($collection as $model) {
43
+ $arr[] = array(
44
+ 'id' => 'paymill/search/' . $model->getId(),
45
+ 'type' => Mage::helper('adminhtml')->__('Paymill Log Entry'),
46
+ 'name' => $model->getMerchantInfo(),
47
+ 'description' => $model->getEntryDate(),
48
+ 'url' => Mage::helper('adminhtml')->getUrl('paymill/adminhtml_log/view', array('id' => $model->getId())),
49
+ );
50
+ }
51
+
52
+ $this->setResults($arr);
53
+ return $this;
54
+ }
55
+
56
  }
app/code/community/Paymill/Paymill/Model/Method/MethodModelAbstract.php CHANGED
@@ -1,362 +1,371 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- abstract class Paymill_Paymill_Model_Method_MethodModelAbstract extends Mage_Payment_Model_Method_Abstract
22
- {
23
- /**
24
- * Can use the Authorize method
25
- *
26
- * @var boolean
27
- */
28
- protected $_canAuthorize = true;
29
-
30
- /**
31
- * Can use the Refund method
32
- *
33
- * @var boolean
34
- */
35
- protected $_canRefund = true;
36
-
37
- /**
38
- * Can use the Refund method to refund less than the full amount
39
- *
40
- * @var boolean
41
- */
42
- protected $_canRefundInvoicePartial = true;
43
-
44
- /**
45
- * Can use the Capture method
46
- *
47
- * @var boolean
48
- */
49
- protected $_canCapture = true;
50
-
51
- /**
52
- * Can use the partial capture method
53
- *
54
- * @var boolean
55
- */
56
- protected $_canCapturePartial = false;
57
-
58
- /**
59
- * Can this method use for checkout
60
- *
61
- * @var boolean
62
- */
63
- protected $_canUseCheckout = true;
64
-
65
- /**
66
- * Can this method use for multishipping
67
- *
68
- * @var boolean
69
- */
70
- protected $_canUseForMultishipping = false;
71
-
72
-
73
- /**
74
- * Payment Title
75
- *
76
- * @var type
77
- */
78
- protected $_methodTitle = '';
79
-
80
- /**
81
- * Magento method code
82
- *
83
- * @var string
84
- */
85
- protected $_code = 'paymill_abstract';
86
-
87
- /**
88
- * Paymill error code
89
- *
90
- * @var string
91
- */
92
- protected $_errorCode;
93
-
94
- /**
95
- * Is pre-auth
96
- *
97
- * @var boolean
98
- */
99
- protected $_preAuthFlag;
100
-
101
- /**
102
- * Can use for internal payments
103
- *
104
- * @var boolean
105
- */
106
- protected $_canUseInternal = false;
107
-
108
- /**
109
- * Check if currency is avaible for this payment
110
- *
111
- * @param string $currencyCode
112
- * @return boolean
113
- */
114
- public function canUseForCurrency($currencyCode)
115
- {
116
- $availableCurrencies = explode(',', $this->getConfigData('currency', Mage::app()->getStore()->getId()));
117
- if (!in_array($currencyCode, $availableCurrencies)) {
118
- return false;
119
- }
120
- return true;
121
- }
122
-
123
- /**
124
- * Defines if the payment method is available for checkout
125
- * @param Mage_Sales_Model_Quote $quote
126
- * @return boolean
127
- */
128
- public function isAvailable($quote = null)
129
- {
130
- $keysAreSet = Mage::helper("paymill")->isPublicKeySet() && Mage::helper("paymill")->isPrivateKeySet();
131
- return parent::isAvailable($quote) && $keysAreSet;
132
- }
133
-
134
- /**
135
- * Return Quote or Order Object depending on the type of the payment info
136
- *
137
- * @return Mage_Sales_Model_Order | Mage_Sales_Model_Order_Quote
138
- */
139
- public function getOrder()
140
- {
141
- $paymentInfo = $this->getInfoInstance();
142
-
143
- if ($paymentInfo instanceof Mage_Sales_Model_Order_Payment) {
144
- return $paymentInfo->getOrder();
145
- }
146
-
147
- return $paymentInfo->getQuote();
148
- }
149
-
150
- /**
151
- * Get the title of every payment option with payment fee if available
152
- *
153
- * @return string
154
- */
155
- public function getTitle()
156
- {
157
- $quote = Mage::getSingleton('checkout/session')->getQuote();
158
- $storeId = $quote ? $quote->getStoreId() : null;
159
-
160
- return $this->_getHelper()->__($this->getConfigData('title', $storeId));
161
- }
162
-
163
- /**
164
- * Assing data to information model object for fast checkout
165
- * Saves Session Variables.
166
- * @param mixed $data
167
- */
168
- public function assignData($data)
169
- {
170
- parent::assignData($data);
171
- if (is_array($data)) {
172
- $post = $data;
173
- } else {
174
- $post = $data->getData();
175
- }
176
-
177
- if (array_key_exists('paymill-payment-token-' . $this->_getShortCode(), $post)
178
- && !empty($post['paymill-payment-token-' . $this->_getShortCode()])) {
179
- //Save Data into session
180
- Mage::getSingleton('core/session')->setToken($post['paymill-payment-token-' . $this->_getShortCode()]);
181
- Mage::getSingleton('core/session')->setPaymentCode($this->getCode());
182
- } else {
183
- if (Mage::helper('paymill/fastCheckoutHelper')->hasData($this->_code)) {
184
- Mage::getSingleton('core/session')->setToken('dummyToken');
185
- }
186
- }
187
-
188
- //Finish as usual
189
- return $this;
190
- }
191
-
192
- /**
193
- * Gets Excecuted when the checkout button is pressed.
194
- * @param Varien_Object $payment
195
- * @param float $amount
196
- * @throws Exception
197
- */
198
- public function authorize(Varien_Object $payment, $amount)
199
- {
200
- $token = Mage::getSingleton('core/session')->getToken();
201
- if (empty($token)) {
202
- Mage::helper('paymill/loggingHelper')->log("No token found.");
203
- Mage::throwException("There was an error processing your payment.");
204
- }
205
-
206
- if (Mage::helper('paymill/optionHelper')->isPreAuthorizing() && $this->_code === "paymill_creditcard") {
207
- Mage::helper('paymill/loggingHelper')->log("Starting payment process as preAuth");
208
- $this->_preAuthFlag = true;
209
- } else {
210
- Mage::helper('paymill/loggingHelper')->log("Starting payment process as debit");
211
- $this->_preAuthFlag = false;
212
-
213
- }
214
-
215
- $success = $this->payment($payment, $amount);
216
-
217
- if (!$success) {
218
- Mage::helper('paymill/loggingHelper')->log(Mage::helper("paymill/paymentHelper")->getErrorMessage($this->_errorCode));
219
- Mage::getSingleton('checkout/session')->setGotoSection('payment');
220
- Mage::throwException(Mage::helper("paymill/paymentHelper")->getErrorMessage($this->_errorCode));
221
- }
222
-
223
- //Finish as usual
224
- return parent::authorize($payment, $amount);
225
- }
226
-
227
- /**
228
- * Deals with payment processing when debit mode is active
229
- * @return booelan Indicator of success
230
- */
231
- public function payment(Varien_Object $payment, $amount)
232
- {
233
- //Gathering data from session
234
- $token = Mage::getSingleton('core/session')->getToken();
235
- //Create Payment Processor
236
- $paymentHelper = Mage::helper("paymill/paymentHelper");
237
- $fcHelper = Mage::helper("paymill/fastCheckoutHelper");
238
- $paymentProcessor = $paymentHelper->createPaymentProcessor($this->getCode(), $token);
239
-
240
- //Always load client if email doesn't change
241
- $clientId = $fcHelper->getClientId();
242
- if (isset($clientId) && !is_null(Mage::helper("paymill/customerHelper")->getClientData())) {
243
- $paymentProcessor->setClientId($clientId);
244
- }
245
-
246
- //Loading Fast Checkout Data (if enabled and given)
247
- if ($fcHelper->hasData($this->_code) && $token === 'dummyToken') {
248
- $paymentId = $fcHelper->getPaymentId($this->_code);
249
- if (isset($paymentId) && !is_null($fcHelper->getPaymentData($this->_code))) {
250
- $paymentProcessor->setPaymentId($paymentId);
251
- }
252
- }
253
-
254
- $success = $paymentProcessor->processPayment(!$this->_preAuthFlag);
255
-
256
- $this->_existingClientHandling($clientId);
257
-
258
- if ($success) {
259
- //Save Transaction Data
260
- $transactionHelper = Mage::helper("paymill/transactionHelper");
261
-
262
- $id = $paymentProcessor->getTransactionId();
263
- if ($this->_preAuthFlag) {
264
- $id = $paymentProcessor->getPreauthId();
265
- }
266
-
267
- $transactionModel = $transactionHelper->createTransactionModel($id, $this->_preAuthFlag);
268
- $transactionHelper->setAdditionalInformation($payment, $transactionModel);
269
-
270
- //Allways update the client
271
- $clientId = $paymentProcessor->getClientId();
272
- $fcHelper->saveData($this->_code, $clientId);
273
-
274
- //Save payment data for FastCheckout (if enabled)
275
- if ($fcHelper->isFastCheckoutEnabled()) { //Fast checkout enabled
276
- $paymentId = $paymentProcessor->getPaymentId();
277
- $fcHelper->saveData($this->_code, $clientId, $paymentId);
278
- }
279
-
280
- return true;
281
- }
282
-
283
- $this->_errorCode = $paymentProcessor->getErrorCode();
284
-
285
- return false;
286
- }
287
-
288
- /**
289
- * Handle paymill client update if exist
290
- *
291
- * @param string $clientId
292
- */
293
- private function _existingClientHandling($clientId)
294
- {
295
- if (!empty($clientId)) {
296
- $clients = new Services_Paymill_Clients(
297
- trim(Mage::helper('paymill/optionHelper')->getPrivateKey()),
298
- Mage::helper('paymill')->getApiUrl()
299
- );
300
-
301
- $quote = Mage::getSingleton('checkout/session')->getQuote();
302
-
303
- $client = $clients->getOne($clientId);
304
- if (Mage::helper("paymill/customerHelper")->getCustomerEmail($quote) !== $client['email']) {
305
- $clients->update(
306
- array(
307
- 'id' => $clientId,
308
- 'email' => Mage::helper("paymill/customerHelper")->getCustomerEmail($quote)
309
- )
310
- );
311
- }
312
- }
313
- }
314
-
315
- /**
316
- * Return paymill short code
317
- * @return string
318
- */
319
- protected function _getShortCode()
320
- {
321
- $methods = array(
322
- 'paymill_creditcard' => 'cc',
323
- 'paymill_directdebit' => 'elv'
324
- );
325
-
326
- return $methods[$this->_code];
327
- }
328
-
329
- /**
330
- * Handle online refunds and trigger the refund at paymill side
331
- *
332
- * @param Varien_Object $payment
333
- * @param float $amount
334
- * @return Paymill_Paymill_Model_Method_MethodModelAbstract
335
- */
336
- public function refund(Varien_Object $payment, $amount)
337
- {
338
- parent::refund($payment, $amount);
339
- $order = $payment->getOrder();
340
- if ($order->getPayment()->getMethod() === 'paymill_creditcard' || $order->getPayment()->getMethod() === 'paymill_directdebit') {
341
- $amount = (int) ((string) ($amount * 100));
342
- Mage::helper('paymill/loggingHelper')->log("Trying to Refund.", var_export($order->getIncrementId(), true), $amount);
343
-
344
- if (!Mage::helper('paymill/refundHelper')->createRefund($order, $amount)) {
345
- Mage::throwException('Refund failed.');
346
- }
347
- }
348
- return $this;
349
- }
350
-
351
- /**
352
- * Set invoice transaction id
353
- *
354
- * @param Mage_Sales_Model_Order_Invoice $invoice
355
- * @param type $payment
356
- */
357
- public function processInvoice($invoice, $payment)
358
- {
359
- parent::processInvoice($invoice, $payment);
360
- $invoice->setTransactionId(Mage::helper('paymill/transactionHelper')->getTransactionId($payment->getOrder()));
361
- }
 
 
 
 
 
 
 
 
 
362
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ abstract class Paymill_Paymill_Model_Method_MethodModelAbstract extends Mage_Payment_Model_Method_Abstract
22
+ {
23
+ /**
24
+ * Can use the Authorize method
25
+ *
26
+ * @var boolean
27
+ */
28
+ protected $_canAuthorize = true;
29
+
30
+ /**
31
+ * Can use the Refund method
32
+ *
33
+ * @var boolean
34
+ */
35
+ protected $_canRefund = true;
36
+
37
+ /**
38
+ * Can use the Refund method to refund less than the full amount
39
+ *
40
+ * @var boolean
41
+ */
42
+ protected $_canRefundInvoicePartial = true;
43
+
44
+ /**
45
+ * Can use the Capture method
46
+ *
47
+ * @var boolean
48
+ */
49
+ protected $_canCapture = true;
50
+
51
+ /**
52
+ * Can use the partial capture method
53
+ *
54
+ * @var boolean
55
+ */
56
+ protected $_canCapturePartial = false;
57
+
58
+ /**
59
+ * Can this method use for checkout
60
+ *
61
+ * @var boolean
62
+ */
63
+ protected $_canUseCheckout = true;
64
+
65
+ /**
66
+ * Can this method use for multishipping
67
+ *
68
+ * @var boolean
69
+ */
70
+ protected $_canUseForMultishipping = false;
71
+
72
+
73
+ /**
74
+ * Payment Title
75
+ *
76
+ * @var type
77
+ */
78
+ protected $_methodTitle = '';
79
+
80
+ /**
81
+ * Magento method code
82
+ *
83
+ * @var string
84
+ */
85
+ protected $_code = 'paymill_abstract';
86
+
87
+ /**
88
+ * Paymill error code
89
+ *
90
+ * @var string
91
+ */
92
+ protected $_errorCode;
93
+
94
+ /**
95
+ * Is pre-auth
96
+ *
97
+ * @var boolean
98
+ */
99
+ protected $_preauthFlag;
100
+
101
+ /**
102
+ * Can use for internal payments
103
+ *
104
+ * @var boolean
105
+ */
106
+ protected $_canUseInternal = false;
107
+
108
+ /**
109
+ * Check if currency is avaible for this payment
110
+ *
111
+ * @param string $currencyCode
112
+ * @return boolean
113
+ */
114
+ public function canUseForCurrency($currencyCode)
115
+ {
116
+ $availableCurrencies = explode(',', $this->getConfigData('currency', Mage::app()->getStore()->getId()));
117
+ if (!in_array($currencyCode, $availableCurrencies)) {
118
+ return false;
119
+ }
120
+ return true;
121
+ }
122
+
123
+ /**
124
+ * Defines if the payment method is available for checkout
125
+ * @param Mage_Sales_Model_Quote $quote
126
+ * @return boolean
127
+ */
128
+ public function isAvailable($quote = null)
129
+ {
130
+ $keysAreSet = Mage::helper("paymill")->isPublicKeySet() && Mage::helper("paymill")->isPrivateKeySet();
131
+ return parent::isAvailable($quote) && $keysAreSet;
132
+ }
133
+
134
+ /**
135
+ * Return Quote or Order Object depending on the type of the payment info
136
+ *
137
+ * @return Mage_Sales_Model_Order | Mage_Sales_Model_Order_Quote
138
+ */
139
+ public function getOrder()
140
+ {
141
+ $paymentInfo = $this->getInfoInstance();
142
+
143
+ if ($paymentInfo instanceof Mage_Sales_Model_Order_Payment) {
144
+ return $paymentInfo->getOrder();
145
+ }
146
+
147
+ return $paymentInfo->getQuote();
148
+ }
149
+
150
+ /**
151
+ * Get the title of every payment option with payment fee if available
152
+ *
153
+ * @return string
154
+ */
155
+ public function getTitle()
156
+ {
157
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
158
+ $storeId = $quote ? $quote->getStoreId() : null;
159
+
160
+ return $this->_getHelper()->__($this->getConfigData('title', $storeId));
161
+ }
162
+
163
+ /**
164
+ * Assing data to information model object for fast checkout
165
+ * Saves Session Variables.
166
+ * @param mixed $data
167
+ */
168
+ public function assignData($data)
169
+ {
170
+ parent::assignData($data);
171
+ if (is_array($data)) {
172
+ $post = $data;
173
+ } else {
174
+ $post = $data->getData();
175
+ }
176
+
177
+ if (array_key_exists('paymill-payment-token-' . $this->_getShortCode(), $post)
178
+ && !empty($post['paymill-payment-token-' . $this->_getShortCode()])) {
179
+ //Save Data into session
180
+ Mage::getSingleton('core/session')->setToken($post['paymill-payment-token-' . $this->_getShortCode()]);
181
+ Mage::getSingleton('core/session')->setPaymentCode($this->getCode());
182
+ } else {
183
+ if (Mage::helper('paymill/fastCheckoutHelper')->hasData($this->_code)) {
184
+ Mage::getSingleton('core/session')->setToken('dummyToken');
185
+ }
186
+ }
187
+
188
+ //Finish as usual
189
+ return $this;
190
+ }
191
+
192
+ /**
193
+ * Gets Excecuted when the checkout button is pressed.
194
+ * @param Varien_Object $payment
195
+ * @param float $amount
196
+ * @throws Exception
197
+ */
198
+ public function authorize(Varien_Object $payment, $amount)
199
+ {
200
+ $token = Mage::getSingleton('core/session')->getToken();
201
+ if (empty($token)) {
202
+ Mage::helper('paymill/loggingHelper')->log("No token found.");
203
+ Mage::throwException("There was an error processing your payment.");
204
+ }
205
+
206
+ if (Mage::helper('paymill/optionHelper')->isPreAuthorizing() && $this->_code === "paymill_creditcard") {
207
+ Mage::helper('paymill/loggingHelper')->log("Starting payment process as preAuth");
208
+ $this->_preauthFlag = true;
209
+ } else {
210
+ Mage::helper('paymill/loggingHelper')->log("Starting payment process as debit");
211
+ $this->_preauthFlag = false;
212
+
213
+ }
214
+
215
+ $success = $this->payment($payment, $amount);
216
+
217
+ if (!$success) {
218
+ Mage::helper('paymill/loggingHelper')->log(Mage::helper("paymill/paymentHelper")->getErrorMessage($this->_errorCode));
219
+ Mage::getSingleton('checkout/session')->setGotoSection('payment');
220
+ Mage::throwException(Mage::helper("paymill/paymentHelper")->getErrorMessage($this->_errorCode));
221
+ }
222
+
223
+ //Finish as usual
224
+ return parent::authorize($payment, $amount);
225
+ }
226
+
227
+ /**
228
+ * Processing the payment or preauth
229
+ * @return booelan Indicator of success
230
+ */
231
+ public function payment(Varien_Object $payment, $amount)
232
+ {
233
+ //Gathering data from session
234
+ $token = Mage::getSingleton('core/session')->getToken();
235
+ //Create Payment Processor
236
+ $paymentHelper = Mage::helper("paymill/paymentHelper");
237
+ $fcHelper = Mage::helper("paymill/fastCheckoutHelper");
238
+ $paymentProcessor = $paymentHelper->createPaymentProcessor($this->getCode(), $token);
239
+
240
+ //Always load client if email doesn't change
241
+ $clientId = $fcHelper->getClientId();
242
+ if (isset($clientId) && !is_null(Mage::helper("paymill/customerHelper")->getClientData())) {
243
+ $paymentProcessor->setClientId($clientId);
244
+ }
245
+
246
+ //Loading Fast Checkout Data (if enabled and given)
247
+ if ($fcHelper->hasData($this->_code) && $token === 'dummyToken') {
248
+ $paymentId = $fcHelper->getPaymentId($this->_code);
249
+ if (isset($paymentId) && !is_null($fcHelper->getPaymentData($this->_code))) {
250
+ $paymentProcessor->setPaymentId($paymentId);
251
+ }
252
+ }
253
+
254
+ $success = $paymentProcessor->processPayment(!$this->_preauthFlag);
255
+
256
+ $this->_existingClientHandling($clientId);
257
+
258
+ if ($success) {
259
+
260
+ if ($this->_preauthFlag) {
261
+ $payment->setAdditionalInformation('paymillPreauthId', $paymentProcessor->getPreauthId());
262
+ } else {
263
+ $payment->setAdditionalInformation('paymillTransactionId', $paymentProcessor->getTransactionId());
264
+ }
265
+
266
+ $payment->setAdditionalInformation(
267
+ 'paymillPrenotificationDate',
268
+ $this->_getPrenotificationDate($payment->getOrder())
269
+ );
270
+
271
+ //Allways update the client
272
+ $clientId = $paymentProcessor->getClientId();
273
+ $fcHelper->saveData($this->_code, $clientId);
274
+
275
+ //Save payment data for FastCheckout (if enabled)
276
+ if ($fcHelper->isFastCheckoutEnabled()) { //Fast checkout enabled
277
+ $paymentId = $paymentProcessor->getPaymentId();
278
+ $fcHelper->saveData($this->_code, $clientId, $paymentId);
279
+ }
280
+
281
+ return true;
282
+ }
283
+
284
+ $this->_errorCode = $paymentProcessor->getErrorCode();
285
+
286
+ return false;
287
+ }
288
+
289
+ /**
290
+ * Calculates Date with the setted Prenotification Days and formats it
291
+ * @param Mage_Sales_Model_Order $order
292
+ * @return string
293
+ */
294
+ private function _getPrenotificationDate($order)
295
+ {
296
+ $dateTime = new DateTime($order->getCreatedAt());
297
+ $dateTime->modify('+' . Mage::helper('paymill/optionHelper')->getPrenotificationDays() . ' day');
298
+ $date = Mage::app()->getLocale()->storeDate(
299
+ $order->getStore(),
300
+ Varien_Date::toTimestamp($dateTime->format('Y-m-d H:i:s')),
301
+ true
302
+ );
303
+
304
+ return Mage::helper('core')->formatDate($date, 'short', false);
305
+ }
306
+
307
+ /**
308
+ * Handle paymill client update if exist
309
+ *
310
+ * @param string $clientId
311
+ */
312
+ private function _existingClientHandling($clientId)
313
+ {
314
+ if (!empty($clientId)) {
315
+ $clients = new Services_Paymill_Clients(
316
+ trim(Mage::helper('paymill/optionHelper')->getPrivateKey()),
317
+ Mage::helper('paymill')->getApiUrl()
318
+ );
319
+
320
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
321
+
322
+ $client = $clients->getOne($clientId);
323
+ if (Mage::helper("paymill/customerHelper")->getCustomerEmail($quote) !== $client['email']) {
324
+ $clients->update(
325
+ array(
326
+ 'id' => $clientId,
327
+ 'email' => Mage::helper("paymill/customerHelper")->getCustomerEmail($quote)
328
+ )
329
+ );
330
+ }
331
+ }
332
+ }
333
+
334
+ /**
335
+ * Return paymill short code
336
+ * @return string
337
+ */
338
+ protected function _getShortCode()
339
+ {
340
+ $methods = array(
341
+ 'paymill_creditcard' => 'cc',
342
+ 'paymill_directdebit' => 'elv'
343
+ );
344
+
345
+ return $methods[$this->_code];
346
+ }
347
+
348
+ public function processCreditmemo($creditmemo, $payment)
349
+ {
350
+ parent::processCreditmemo($creditmemo, $payment);
351
+ $order = $payment->getOrder();
352
+ if ($order->getPayment()->getMethod() === 'paymill_creditcard' || $order->getPayment()->getMethod() === 'paymill_directdebit') {
353
+ if (!Mage::helper('paymill/refundHelper')->createRefund($creditmemo, $payment)) {
354
+ Mage::throwException('Refund failed.');
355
+ }
356
+ }
357
+ }
358
+
359
+
360
+ /**
361
+ * Set invoice transaction id
362
+ *
363
+ * @param Mage_Sales_Model_Order_Invoice $invoice
364
+ * @param type $payment
365
+ */
366
+ public function processInvoice($invoice, $payment)
367
+ {
368
+ parent::processInvoice($invoice, $payment);
369
+ $invoice->setTransactionId($payment->getAdditionalInformation('paymillTransactionId'));
370
+ }
371
  }
app/code/community/Paymill/Paymill/Model/Method/MethodModelCreditcard.php CHANGED
@@ -1,85 +1,78 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Model_Method_MethodModelCreditcard extends Paymill_Paymill_Model_Method_MethodModelAbstract
22
- {
23
- /**
24
- * Magento method code
25
- *
26
- * @var string
27
- */
28
- protected $_code = "paymill_creditcard";
29
-
30
- /**
31
- * Form block identifier
32
- *
33
- * @var string
34
- */
35
- protected $_formBlockType = 'paymill/payment_form_paymentFormCreditcard';
36
-
37
- /**
38
- * Info block identifier
39
- *
40
- * @var string
41
- */
42
- protected $_infoBlockType = 'paymill/payment_info_paymentFormCreditcard';
43
-
44
- /**
45
- * Gets called when a capture gets triggered (default on invoice generation)
46
- *
47
- * @throws Exception
48
- */
49
- public function capture(Varien_Object $payment, $amount)
50
- {
51
- parent::capture($payment, $amount);
52
- //Initalizing variables and helpers
53
- $transactionHelper = Mage::helper("paymill/transactionHelper");
54
- $order = $payment->getOrder();
55
-
56
- if ($transactionHelper->isPreAuthenticated($order)) {
57
- //Capture preAuth
58
- $preAuthorization = $transactionHelper->getTransactionId($order);
59
- $privateKey = Mage::helper('paymill/optionHelper')->getPrivateKey();
60
- $apiUrl = Mage::helper('paymill')->getApiUrl();
61
- $libBase = null;
62
-
63
- $params = array();
64
- $params['amount'] = (int) (string) ($amount * 100);
65
- $params['currency'] = $order->getBaseCurrencyCode();
66
- $params['description'] = Mage::helper('paymill/paymentHelper')->getDescription($order);
67
- $params['source'] = Mage::helper('paymill')->getSourceString();
68
-
69
- $paymentProcessor = new Services_Paymill_PaymentProcessor($privateKey, $apiUrl, $libBase, $params, Mage::helper('paymill/loggingHelper'));
70
- $paymentProcessor->setPreauthId($preAuthorization);
71
-
72
- if (!$paymentProcessor->capture()) {
73
- Mage::throwException(Mage::helper("paymill/paymentHelper")->getErrorMessage($paymentProcessor->getErrorCode()));
74
- }
75
-
76
- Mage::helper('paymill/loggingHelper')->log("Capture created", var_export($paymentProcessor->getLastResponse(), true));
77
-
78
- //Save Transaction Data
79
- $transactionId = $paymentProcessor->getTransactionId();
80
- $transactionModel = $transactionHelper->createTransactionModel($transactionId, true);
81
- $transactionHelper->setAdditionalInformation($payment, $transactionModel);
82
- }
83
- }
84
-
85
- }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Model_Method_MethodModelCreditcard extends Paymill_Paymill_Model_Method_MethodModelAbstract
22
+ {
23
+ /**
24
+ * Magento method code
25
+ *
26
+ * @var string
27
+ */
28
+ protected $_code = "paymill_creditcard";
29
+
30
+ /**
31
+ * Form block identifier
32
+ *
33
+ * @var string
34
+ */
35
+ protected $_formBlockType = 'paymill/payment_form_paymentFormCreditcard';
36
+
37
+ /**
38
+ * Info block identifier
39
+ *
40
+ * @var string
41
+ */
42
+ protected $_infoBlockType = 'paymill/payment_info_paymentFormCreditcard';
43
+
44
+ public function processInvoice($invoice, $payment)
45
+ {
46
+ $data = $payment->getAdditionalInformation();
47
+
48
+ if (array_key_exists('paymillPreauthId', $data) && !empty($data['paymillPreauthId'])) {
49
+
50
+ $params = array();
51
+ $params['amount'] = (int) Mage::helper("paymill/paymentHelper")->getAmount($invoice);
52
+ $params['currency'] = Mage::helper("paymill/paymentHelper")->getCurrency($invoice);
53
+ $params['description'] = Mage::helper('paymill/paymentHelper')->getDescription($payment->getOrder());
54
+ $params['source'] = Mage::helper('paymill')->getSourceString();
55
+
56
+ $paymentProcessor = new Services_Paymill_PaymentProcessor(
57
+ Mage::helper('paymill/optionHelper')->getPrivateKey(),
58
+ Mage::helper('paymill')->getApiUrl(),
59
+ null,
60
+ $params,
61
+ Mage::helper('paymill/loggingHelper')
62
+ );
63
+
64
+ $paymentProcessor->setPreauthId($data['paymillPreauthId']);
65
+
66
+ if (!$paymentProcessor->capture()) {
67
+ Mage::throwException(Mage::helper("paymill/paymentHelper")->getErrorMessage($paymentProcessor->getErrorCode()));
68
+ }
69
+
70
+ Mage::helper('paymill/loggingHelper')->log("Capture created", var_export($paymentProcessor->getLastResponse(), true));
71
+
72
+ $payment->setAdditionalInformation('paymillTransactionId', $paymentProcessor->getTransactionId());
73
+ }
74
+
75
+ parent::processInvoice($invoice, $payment);
76
+ }
77
+
78
+ }
 
 
 
 
 
 
 
app/code/community/Paymill/Paymill/Model/Method/MethodModelDirectdebit.php CHANGED
@@ -1,45 +1,44 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Model_Method_MethodModelDirectdebit extends Paymill_Paymill_Model_Method_MethodModelAbstract
22
- {
23
-
24
- /**
25
- * Magento method code
26
- *
27
- * @var string
28
- */
29
- protected $_code = "paymill_directdebit";
30
-
31
- /**
32
- * Form block identifier
33
- *
34
- * @var string
35
- */
36
- protected $_formBlockType = 'paymill/payment_form_paymentFormDirectdebit';
37
-
38
- /**
39
- * Info block identifier
40
- *
41
- * @var string
42
- */
43
- protected $_infoBlockType = 'paymill/payment_info_paymentFormDirectdebit';
44
-
45
- }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Model_Method_MethodModelDirectdebit extends Paymill_Paymill_Model_Method_MethodModelAbstract
22
+ {
23
+
24
+ /**
25
+ * Magento method code
26
+ *
27
+ * @var string
28
+ */
29
+ protected $_code = "paymill_directdebit";
30
+
31
+ /**
32
+ * Form block identifier
33
+ *
34
+ * @var string
35
+ */
36
+ protected $_formBlockType = 'paymill/payment_form_paymentFormDirectdebit';
37
+
38
+ /**
39
+ * Info block identifier
40
+ *
41
+ * @var string
42
+ */
43
+ protected $_infoBlockType = 'paymill/payment_info_paymentFormDirectdebit';
44
+ }
 
app/code/community/Paymill/Paymill/Model/Mysql4/Fastcheckout.php CHANGED
@@ -1,30 +1,30 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it 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 Paymill
16
- * @package Paymill_Paymill
17
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- class Paymill_Paymill_Model_Mysql4_Fastcheckout extends Mage_Core_Model_Mysql4_Abstract
21
- {
22
-
23
- /**
24
- * Construct
25
- */
26
- public function _construct()
27
- {
28
- $this->_init('paymill/fastcheckout', 'id');
29
- }
30
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it 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 Paymill
16
+ * @package Paymill_Paymill
17
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ class Paymill_Paymill_Model_Mysql4_Fastcheckout extends Mage_Core_Model_Mysql4_Abstract
21
+ {
22
+
23
+ /**
24
+ * Construct
25
+ */
26
+ public function _construct()
27
+ {
28
+ $this->_init('paymill/fastcheckout', 'id');
29
+ }
30
  }
app/code/community/Paymill/Paymill/Model/Mysql4/Fastcheckout/Collection.php CHANGED
@@ -1,30 +1,30 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it 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 Paymill
16
- * @package Paymill_Paymill
17
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- class Paymill_Paymill_Model_Mysql4_FastCheckout_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
21
- {
22
- /**
23
- * Construct
24
- */
25
- public function _construct()
26
- {
27
- parent::_construct();
28
- $this->_init('paymill/fastcheckout');
29
- }
30
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it 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 Paymill
16
+ * @package Paymill_Paymill
17
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ class Paymill_Paymill_Model_Mysql4_FastCheckout_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
21
+ {
22
+ /**
23
+ * Construct
24
+ */
25
+ public function _construct()
26
+ {
27
+ parent::_construct();
28
+ $this->_init('paymill/fastcheckout');
29
+ }
30
  }
app/code/community/Paymill/Paymill/Model/Mysql4/Log.php CHANGED
@@ -1,30 +1,30 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it 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 Paymill
16
- * @package Paymill_Paymill
17
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- class Paymill_Paymill_Model_Mysql4_Log extends Mage_Core_Model_Mysql4_Abstract
21
- {
22
-
23
- /**
24
- * Construct
25
- */
26
- public function _construct()
27
- {
28
- $this->_init('paymill/log', 'id');
29
- }
30
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it 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 Paymill
16
+ * @package Paymill_Paymill
17
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ class Paymill_Paymill_Model_Mysql4_Log extends Mage_Core_Model_Mysql4_Abstract
21
+ {
22
+
23
+ /**
24
+ * Construct
25
+ */
26
+ public function _construct()
27
+ {
28
+ $this->_init('paymill/log', 'id');
29
+ }
30
  }
app/code/community/Paymill/Paymill/Model/Mysql4/Log/Collection.php CHANGED
@@ -1,30 +1,30 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it 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 Paymill
16
- * @package Paymill_Paymill
17
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- class Paymill_Paymill_Model_Mysql4_Log_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
21
- {
22
- /**
23
- * Construct
24
- */
25
- public function _construct()
26
- {
27
- parent::_construct();
28
- $this->_init('paymill/log');
29
- }
30
  }
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it 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 Paymill
16
+ * @package Paymill_Paymill
17
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ class Paymill_Paymill_Model_Mysql4_Log_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
21
+ {
22
+ /**
23
+ * Construct
24
+ */
25
+ public function _construct()
26
+ {
27
+ parent::_construct();
28
+ $this->_init('paymill/log');
29
+ }
30
  }
app/code/community/Paymill/Paymill/Model/Observer.php CHANGED
@@ -1,60 +1,62 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Model_Observer
22
- {
23
-
24
- /**
25
- * Registered for the checkout_onepage_controller_success_action event
26
- * Generates the invoice for the current order
27
- *
28
- * @param Varien_Event_Observer $observer
29
- */
30
- public function generateInvoice(Varien_Event_Observer $observer)
31
- {
32
- $order = $observer->getEvent()->getOrder();
33
- if ($order->getPayment()->getMethod() === 'paymill_creditcard') {
34
- if (Mage::helper('paymill/transactionHelper')->isPreAuthenticated($order)) { // If the transaction is not flagged as a debit (not a preAuth) transaction
35
- Mage::helper('paymill/loggingHelper')->log("Debug", "No Invoice generated, since the transaction is flagged as preauth");
36
- } else {
37
- if ($order->canInvoice()) {
38
- $invoice = $order->prepareInvoice();
39
-
40
- $invoice->register();
41
- Mage::getModel('core/resource_transaction')
42
- ->addObject($invoice)
43
- ->addObject($invoice->getOrder())
44
- ->save();
45
-
46
- $invoice->setTransactionId(Mage::helper('paymill/transactionHelper')->getTransactionId($order));
47
-
48
- $invoice->pay()->save();
49
-
50
- $invoice->sendEmail(Mage::getStoreConfig('payment/paymill_creditcard/send_invoice_mail', Mage::app()->getStore()->getStoreId()), '');
51
- } else {
52
- foreach ($order->getInvoiceCollection() as $invoice) {
53
- $invoice->pay()->save();
54
- }
55
- }
56
- }
57
- }
58
- }
59
- }
60
-
 
 
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Model_Observer
22
+ {
23
+
24
+ /**
25
+ * Registered for the checkout_onepage_controller_success_action event
26
+ * Generates the invoice for the current order
27
+ *
28
+ * @param Varien_Event_Observer $observer
29
+ */
30
+ public function generateInvoice(Varien_Event_Observer $observer)
31
+ {
32
+ $order = $observer->getEvent()->getOrder();
33
+ if ($order->getPayment()->getMethod() === 'paymill_creditcard') {
34
+ $data = $order->getPayment()->getAdditionalInformation();
35
+
36
+ if (array_key_exists('paymillPreauthId', $data) && !empty($data['paymillPreauthId'])) {
37
+ Mage::helper('paymill/loggingHelper')->log("Debug", "No Invoice generated, since the transaction is flagged as preauth");
38
+ } else {
39
+ if ($order->canInvoice()) {
40
+ $invoice = $order->prepareInvoice();
41
+
42
+ $invoice->register();
43
+ Mage::getModel('core/resource_transaction')
44
+ ->addObject($invoice)
45
+ ->addObject($invoice->getOrder())
46
+ ->save();
47
+
48
+ $invoice->setTransactionId($data['paymillTransactionId']);
49
+
50
+ $invoice->pay()->save();
51
+
52
+ $invoice->sendEmail(Mage::getStoreConfig('payment/paymill_creditcard/send_invoice_mail', Mage::app()->getStore()->getStoreId()), '');
53
+ } else {
54
+ foreach ($order->getInvoiceCollection() as $invoice) {
55
+ $invoice->pay()->save();
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+
app/code/community/Paymill/Paymill/Model/Source/Creditcard/Creditcards.php CHANGED
@@ -1,59 +1,79 @@
1
- <?php
2
- class Paymill_Paymill_Model_Source_Creditcard_Creditcards
3
- {
4
- /**
5
- * Define which Creditcard Logos are shown for payment
6
- *
7
- * @return array
8
- */
9
- public function toOptionArray()
10
- {
11
- $creditcards = array(
12
- array(
13
- 'label' => Mage::helper('core')->__('Visa'),
14
- 'value' => 'visa'
15
- ),
16
- array(
17
- 'label' => Mage::helper('core')->__('MasterCard'),
18
- 'value' => 'mastercard'
19
- ),
20
- array(
21
- 'label' => Mage::helper('core')->__('American Express'),
22
- 'value' => 'amex'
23
- ),
24
- array(
25
- 'label' => Mage::helper('core')->__('CartaSi'),
26
- 'value' => 'carta-si'
27
- ),
28
- array(
29
- 'label' => Mage::helper('core')->__('Carte Bleue'),
30
- 'value' => 'carte-bleue'
31
- ),
32
- array(
33
- 'label' => Mage::helper('core')->__('Diners Club'),
34
- 'value' => 'diners-club'
35
- ),
36
- array(
37
- 'label' => Mage::helper('core')->__('JCB'),
38
- 'value' => 'jcb'
39
- ),
40
- array(
41
- 'label' => Mage::helper('core')->__('Maestro'),
42
- 'value' => 'maestro'
43
- ),
44
- array(
45
- 'label' => Mage::helper('core')->__('China UnionPay'),
46
- 'value' => 'china-unionpay'
47
- ),
48
- array(
49
- 'label' => Mage::helper('core')->__('Discover Card'),
50
- 'value' => 'discover'
51
- ),
52
- array(
53
- 'label' => Mage::helper('core')->__('Dankort'),
54
- 'value' => 'dankort'
55
- )
56
- );
57
- return $creditcards;
58
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ class Paymill_Paymill_Model_Source_Creditcard_Creditcards
23
+ {
24
+ /**
25
+ * Define which Creditcard Logos are shown for payment
26
+ *
27
+ * @return array
28
+ */
29
+ public function toOptionArray()
30
+ {
31
+ $creditcards = array(
32
+ array(
33
+ 'label' => Mage::helper('core')->__('Visa'),
34
+ 'value' => 'visa'
35
+ ),
36
+ array(
37
+ 'label' => Mage::helper('core')->__('MasterCard'),
38
+ 'value' => 'mastercard'
39
+ ),
40
+ array(
41
+ 'label' => Mage::helper('core')->__('American Express'),
42
+ 'value' => 'amex'
43
+ ),
44
+ array(
45
+ 'label' => Mage::helper('core')->__('CartaSi'),
46
+ 'value' => 'carta-si'
47
+ ),
48
+ array(
49
+ 'label' => Mage::helper('core')->__('Carte Bleue'),
50
+ 'value' => 'carte-bleue'
51
+ ),
52
+ array(
53
+ 'label' => Mage::helper('core')->__('Diners Club'),
54
+ 'value' => 'diners-club'
55
+ ),
56
+ array(
57
+ 'label' => Mage::helper('core')->__('JCB'),
58
+ 'value' => 'jcb'
59
+ ),
60
+ array(
61
+ 'label' => Mage::helper('core')->__('Maestro'),
62
+ 'value' => 'maestro'
63
+ ),
64
+ array(
65
+ 'label' => Mage::helper('core')->__('China UnionPay'),
66
+ 'value' => 'china-unionpay'
67
+ ),
68
+ array(
69
+ 'label' => Mage::helper('core')->__('Discover Card'),
70
+ 'value' => 'discover'
71
+ ),
72
+ array(
73
+ 'label' => Mage::helper('core')->__('Dankort'),
74
+ 'value' => 'dankort'
75
+ )
76
+ );
77
+ return $creditcards;
78
+ }
79
  }
app/code/community/Paymill/Paymill/Model/TransactionData.php DELETED
@@ -1,72 +0,0 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Model_TransactionData
22
- {
23
-
24
- /**
25
- * Is pre-auth
26
- * @var boolean
27
- */
28
- private $_preAuthorizationFlag = null;
29
-
30
- /**
31
- * Paymill transaction id
32
- * @var string
33
- */
34
- private $_transactionId = null;
35
-
36
- /**
37
- * Returns the state of the PreAuthorizationFlag
38
- * @return Boolean
39
- */
40
- public function isPreAuthorization()
41
- {
42
- return $this->_preAuthorizationFlag;
43
- }
44
-
45
- /**
46
- * Returns the TransactionId as a string
47
- * @return String
48
- */
49
- public function getTransactionId()
50
- {
51
- return $this->_transactionId;
52
- }
53
-
54
- /**
55
- * Sets the PreAuthorizationFlag
56
- * @param Boolean $flag
57
- */
58
- public function setPreAuthorizationFlag($flag)
59
- {
60
- $this->_preAuthorizationFlag = $flag;
61
- }
62
-
63
- /**
64
- * Sets the transaction id
65
- * @param String $id
66
- */
67
- public function setTransactionId($id)
68
- {
69
- $this->_transactionId = $id;
70
- }
71
-
72
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Paymill/Paymill/controllers/Adminhtml/LogController.php CHANGED
@@ -1,86 +1,86 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- class Paymill_Paymill_Adminhtml_LogController extends Mage_Adminhtml_Controller_Action
22
- {
23
-
24
- /**
25
- * Initialize logs view
26
- *
27
- * @return Paymill_Paymill_Adminhtml_LogController
28
- */
29
- protected function _initAction()
30
- {
31
- $this->loadLayout()->_setActiveMenu('log/paymill_log');
32
- return $this;
33
- }
34
-
35
- /**
36
- * Action initially called
37
- */
38
- public function indexAction()
39
- {
40
- // Let's call our initAction method which will set some basic params for each action
41
- $this->_initAction()
42
- ->renderLayout();
43
- }
44
-
45
- /**
46
- * View single xml request or response
47
- */
48
- public function viewAction()
49
- {
50
- $id = $this->getRequest()->getParam('id');
51
- $model = Mage::getModel('paymill/log')->load($id);
52
- if ($model->getId()) {
53
- Mage::register('paymill_log_entry', $model);
54
- $this->_initAction();
55
- $this->_addContent($this->getLayout()->createBlock('paymill/adminhtml_log_view'));
56
- $this->renderLayout();
57
- } else {
58
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('ratepay')->__('Item does not exist'));
59
- $this->_redirect('*/*/');
60
- }
61
- }
62
-
63
- /**
64
- * Normal Magento delete mass action for selected entries
65
- */
66
- public function massDeleteAction()
67
- {
68
- $logIds = $this->getRequest()->getParam('log_id');
69
-
70
- if (!is_array($logIds)) {
71
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('paymill')->__('paymill_error_text_no_entry_selected'));
72
- } else {
73
- try {
74
- foreach ($logIds as $logId) {
75
- Mage::getModel('paymill/log')->load($logId)->delete();
76
- }
77
-
78
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('paymill')->__("paymill_log_action_success"));
79
- } catch (Exception $e) {
80
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
81
- }
82
- }
83
- $this->_redirect('*/*/index');
84
- }
85
-
86
- }
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Paymill_Paymill_Adminhtml_LogController extends Mage_Adminhtml_Controller_Action
22
+ {
23
+
24
+ /**
25
+ * Initialize logs view
26
+ *
27
+ * @return Paymill_Paymill_Adminhtml_LogController
28
+ */
29
+ protected function _initAction()
30
+ {
31
+ $this->loadLayout()->_setActiveMenu('log/paymill_log');
32
+ return $this;
33
+ }
34
+
35
+ /**
36
+ * Action initially called
37
+ */
38
+ public function indexAction()
39
+ {
40
+ // Let's call our initAction method which will set some basic params for each action
41
+ $this->_initAction()
42
+ ->renderLayout();
43
+ }
44
+
45
+ /**
46
+ * View single xml request or response
47
+ */
48
+ public function viewAction()
49
+ {
50
+ $id = $this->getRequest()->getParam('id');
51
+ $model = Mage::getModel('paymill/log')->load($id);
52
+ if ($model->getId()) {
53
+ Mage::register('paymill_log_entry', $model);
54
+ $this->_initAction();
55
+ $this->_addContent($this->getLayout()->createBlock('paymill/adminhtml_log_view'));
56
+ $this->renderLayout();
57
+ } else {
58
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('ratepay')->__('Item does not exist'));
59
+ $this->_redirect('*/*/');
60
+ }
61
+ }
62
+
63
+ /**
64
+ * Normal Magento delete mass action for selected entries
65
+ */
66
+ public function massDeleteAction()
67
+ {
68
+ $logIds = $this->getRequest()->getParam('log_id');
69
+
70
+ if (!is_array($logIds)) {
71
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('paymill')->__('paymill_error_text_no_entry_selected'));
72
+ } else {
73
+ try {
74
+ foreach ($logIds as $logId) {
75
+ Mage::getModel('paymill/log')->load($logId)->delete();
76
+ }
77
+
78
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('paymill')->__("paymill_log_action_success"));
79
+ } catch (Exception $e) {
80
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
81
+ }
82
+ }
83
+ $this->_redirect('*/*/index');
84
+ }
85
+
86
+ }
app/code/community/Paymill/Paymill/controllers/TokenController.php CHANGED
@@ -1,24 +1,24 @@
1
- <?php
2
-
3
- class Paymill_Paymill_TokenController extends Mage_Core_Controller_Front_Action
4
- {
5
- public function totalAction()
6
- {
7
- echo Mage::helper('paymill/paymentHelper')->getAmount();
8
- }
9
-
10
- public function logAction()
11
- {
12
- $post = $this->getRequest()->getPost();
13
- if (array_key_exists('error', $post) && array_key_exists('apierror', $post['error'])) {
14
- Mage::helper('paymill/loggingHelper')->log(
15
- "Token creation failed for the following reason: " . $post['error']['apierror'],
16
- print_r($post['error'], true)
17
- );
18
- } else {
19
- Mage::helper('paymill/loggingHelper')->log(
20
- "Token creation failed for the following reason: Unkown reason."
21
- );
22
- }
23
- }
24
  }
1
+ <?php
2
+
3
+ class Paymill_Paymill_TokenController extends Mage_Core_Controller_Front_Action
4
+ {
5
+ public function totalAction()
6
+ {
7
+ echo Mage::helper('paymill/paymentHelper')->getAmount();
8
+ }
9
+
10
+ public function logAction()
11
+ {
12
+ $post = $this->getRequest()->getPost();
13
+ if (array_key_exists('error', $post) && array_key_exists('apierror', $post['error'])) {
14
+ Mage::helper('paymill/loggingHelper')->log(
15
+ "Token creation failed for the following reason: " . $post['error']['apierror'],
16
+ print_r($post['error'], true)
17
+ );
18
+ } else {
19
+ Mage::helper('paymill/loggingHelper')->log(
20
+ "Token creation failed for the following reason: Unkown reason."
21
+ );
22
+ }
23
+ }
24
  }
app/code/community/Paymill/Paymill/etc/adminhtml.xml CHANGED
@@ -1,16 +1,16 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <menu>
4
- <logs>
5
- <title>Paymill</title>
6
- <sort_order>60</sort_order>
7
- <children>
8
- <paymill_log translate="title" module="paymill">
9
- <title>paymill_log</title>
10
- <sort_order>10</sort_order>
11
- <action>paymill/adminhtml_log</action>
12
- </paymill_log>
13
- </children>
14
- </logs>
15
- </menu>
16
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <logs>
5
+ <title>Paymill</title>
6
+ <sort_order>60</sort_order>
7
+ <children>
8
+ <paymill_log translate="title" module="paymill">
9
+ <title>paymill_log</title>
10
+ <sort_order>10</sort_order>
11
+ <action>paymill/adminhtml_log</action>
12
+ </paymill_log>
13
+ </children>
14
+ </logs>
15
+ </menu>
16
  </config>
app/code/community/Paymill/Paymill/etc/config.xml CHANGED
@@ -1,160 +1,163 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Paymill_Paymill>
5
- <version>3.6.9</version>
6
- </Paymill_Paymill>
7
- </modules>
8
-
9
-
10
- <global>
11
- <blocks>
12
- <paymill>
13
- <class>Paymill_Paymill_Block</class>
14
- </paymill>
15
- </blocks>
16
-
17
- <models>
18
- <paymill>
19
- <class>Paymill_Paymill_Model</class>
20
- <resourceModel>paymill_mysql4</resourceModel>
21
- </paymill>
22
- <paymill_mysql4>
23
- <class>Paymill_Paymill_Model_Mysql4</class>
24
- <entities>
25
- <log>
26
- <table>paymill_log</table>
27
- </log>
28
- <fastcheckout>
29
- <table>paymill_fastCheckout</table>
30
- </fastcheckout>
31
- </entities>
32
- </paymill_mysql4>
33
- </models>
34
-
35
- <helpers>
36
- <paymill>
37
- <class>Paymill_Paymill_Helper</class>
38
- </paymill>
39
- </helpers>
40
-
41
- <resources>
42
- <paymill_setup>
43
- <setup>
44
- <module>Paymill_Paymill</module>
45
- </setup>
46
- <connection>
47
- <use>core_setup</use>
48
- </connection>
49
- </paymill_setup>
50
-
51
- <paymill_write>
52
- <connection>
53
- <use>core_write</use>
54
- </connection>
55
- </paymill_write>
56
-
57
- <paymill_read>
58
- <connection>
59
- <use>core_read</use>
60
- </connection>
61
- </paymill_read>
62
- </resources>
63
-
64
- <events>
65
- <sales_order_place_after>
66
- <observers>
67
- <paymill_paymill_model_observer>
68
- <type>singleton</type>
69
- <class>paymill/observer</class>
70
- <method>generateInvoice</method>
71
- </paymill_paymill_model_observer>
72
- </observers>
73
- </sales_order_place_after>
74
- </events>
75
- </global>
76
-
77
-
78
- <!-- declare default configuration values for this module -->
79
- <default>
80
- <!-- 'payment' configuration section (tab) -->
81
- <payment>
82
- <paymill_creditcard>
83
- <active>0</active>
84
- <currency>EUR,USD</currency>
85
- <model>paymill/method_methodModelCreditcard</model>
86
- <order_status>processing</order_status>
87
- <title>paymill_credit_card</title>
88
- <payment_action>authorize</payment_action>
89
- </paymill_creditcard>
90
-
91
- <paymill_directdebit>
92
- <active>0</active>
93
- <prenotification>7</prenotification>
94
- <currency>EUR,USD</currency>
95
- <model>paymill/method_methodModelDirectdebit</model>
96
- <order_status>pending</order_status>
97
- <title>paymill_direct_debit</title>
98
- <payment_action>authorize</payment_action>
99
- </paymill_directdebit>
100
- </payment>
101
- </default>
102
-
103
- <frontend>
104
- <layout>
105
- <updates>
106
- <paymill>
107
- <file>paymill.xml</file>
108
- </paymill>
109
- </updates>
110
- </layout>
111
- <translate>
112
- <modules>
113
- <Paymill_Paymill>
114
- <files>
115
- <default>Paymill_Paymill.csv</default>
116
- </files>
117
- </Paymill_Paymill>
118
- </modules>
119
- </translate>
120
- </frontend>
121
-
122
- <adminhtml>
123
- <translate>
124
- <modules>
125
- <Paymill_Paymill>
126
- <files>
127
- <default>Paymill_Paymill.csv</default>
128
- </files>
129
- </Paymill_Paymill>
130
- </modules>
131
- </translate>
132
- <layout>
133
- <updates>
134
- <paymill>
135
- <file>paymill.xml</file>
136
- </paymill>
137
- </updates>
138
- </layout>
139
-
140
- <global_search>
141
- <paymill_search>
142
- <class>paymill/log_search</class>
143
- <acl>paymill</acl>
144
- </paymill_search>
145
- </global_search>
146
- </adminhtml>
147
-
148
- <admin>
149
- <routers>
150
- <paymill>
151
- <use>admin</use>
152
- <args>
153
- <module>Paymill_Paymill</module>
154
- <frontName>paymill</frontName>
155
- </args>
156
- </paymill>
157
- </routers>
158
- </admin>
159
-
 
 
 
160
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Paymill_Paymill>
5
+ <version>3.8.0</version>
6
+ </Paymill_Paymill>
7
+ </modules>
8
+
9
+
10
+ <global>
11
+ <blocks>
12
+ <paymill>
13
+ <class>Paymill_Paymill_Block</class>
14
+ </paymill>
15
+ </blocks>
16
+
17
+ <models>
18
+ <paymill>
19
+ <class>Paymill_Paymill_Model</class>
20
+ <resourceModel>paymill_mysql4</resourceModel>
21
+ </paymill>
22
+ <paymill_mysql4>
23
+ <class>Paymill_Paymill_Model_Mysql4</class>
24
+ <entities>
25
+ <log>
26
+ <table>paymill_log</table>
27
+ </log>
28
+ <fastcheckout>
29
+ <table>paymill_fastCheckout</table>
30
+ </fastcheckout>
31
+ </entities>
32
+ </paymill_mysql4>
33
+ </models>
34
+
35
+ <helpers>
36
+ <paymill>
37
+ <class>Paymill_Paymill_Helper</class>
38
+ </paymill>
39
+ </helpers>
40
+
41
+ <resources>
42
+ <paymill_setup>
43
+ <setup>
44
+ <module>Paymill_Paymill</module>
45
+ </setup>
46
+ <connection>
47
+ <use>core_setup</use>
48
+ </connection>
49
+ </paymill_setup>
50
+
51
+ <paymill_write>
52
+ <connection>
53
+ <use>core_write</use>
54
+ </connection>
55
+ </paymill_write>
56
+
57
+ <paymill_read>
58
+ <connection>
59
+ <use>core_read</use>
60
+ </connection>
61
+ </paymill_read>
62
+ </resources>
63
+
64
+ <events>
65
+ <sales_order_place_after>
66
+ <observers>
67
+ <paymill_paymill_model_observer>
68
+ <type>singleton</type>
69
+ <class>paymill/observer</class>
70
+ <method>generateInvoice</method>
71
+ </paymill_paymill_model_observer>
72
+ </observers>
73
+ </sales_order_place_after>
74
+ </events>
75
+ </global>
76
+
77
+
78
+ <!-- declare default configuration values for this module -->
79
+ <default>
80
+ <!-- 'payment' configuration section (tab) -->
81
+ <payment>
82
+ <paymill>
83
+ <base_currency>1</base_currency>
84
+ </paymill>
85
+ <paymill_creditcard>
86
+ <active>0</active>
87
+ <currency>EUR,USD</currency>
88
+ <model>paymill/method_methodModelCreditcard</model>
89
+ <order_status>processing</order_status>
90
+ <title>paymill_credit_card</title>
91
+ <payment_action>authorize</payment_action>
92
+ </paymill_creditcard>
93
+
94
+ <paymill_directdebit>
95
+ <active>0</active>
96
+ <prenotification>7</prenotification>
97
+ <currency>EUR,USD</currency>
98
+ <model>paymill/method_methodModelDirectdebit</model>
99
+ <order_status>pending</order_status>
100
+ <title>paymill_direct_debit</title>
101
+ <payment_action>authorize</payment_action>
102
+ </paymill_directdebit>
103
+ </payment>
104
+ </default>
105
+
106
+ <frontend>
107
+ <layout>
108
+ <updates>
109
+ <paymill>
110
+ <file>paymill.xml</file>
111
+ </paymill>
112
+ </updates>
113
+ </layout>
114
+ <translate>
115
+ <modules>
116
+ <Paymill_Paymill>
117
+ <files>
118
+ <default>Paymill_Paymill.csv</default>
119
+ </files>
120
+ </Paymill_Paymill>
121
+ </modules>
122
+ </translate>
123
+ </frontend>
124
+
125
+ <adminhtml>
126
+ <translate>
127
+ <modules>
128
+ <Paymill_Paymill>
129
+ <files>
130
+ <default>Paymill_Paymill.csv</default>
131
+ </files>
132
+ </Paymill_Paymill>
133
+ </modules>
134
+ </translate>
135
+ <layout>
136
+ <updates>
137
+ <paymill>
138
+ <file>paymill.xml</file>
139
+ </paymill>
140
+ </updates>
141
+ </layout>
142
+
143
+ <global_search>
144
+ <paymill_search>
145
+ <class>paymill/log_search</class>
146
+ <acl>paymill</acl>
147
+ </paymill_search>
148
+ </global_search>
149
+ </adminhtml>
150
+
151
+ <admin>
152
+ <routers>
153
+ <paymill>
154
+ <use>admin</use>
155
+ <args>
156
+ <module>Paymill_Paymill</module>
157
+ <frontName>paymill</frontName>
158
+ </args>
159
+ </paymill>
160
+ </routers>
161
+ </admin>
162
+
163
  </config>
app/code/community/Paymill/Paymill/etc/system.xml CHANGED
@@ -1,285 +1,313 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <sections>
4
- <payment>
5
- <groups>
6
- <paymill translate="label">
7
- <label>paymill_Basic_Setting</label>
8
- <show_in_default>1</show_in_default>
9
- <show_in_website>1</show_in_website>
10
- <show_in_store>1</show_in_store>
11
- <sort_order>700</sort_order>
12
- <fields>
13
- <version>
14
- <label>v3.6.9</label>
15
- <sort_order>1</sort_order>
16
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
17
- <frontend_type>label</frontend_type>
18
- <show_in_default>1</show_in_default>
19
- <show_in_website>1</show_in_website>
20
- <show_in_store>1</show_in_store>
21
- </version>
22
- <private_key translate="label, tooltip, comment">
23
- <label>paymill_Private_Key</label>
24
- <sort_order>2</sort_order>
25
- <tooltip>paymill_private_key_tooltip</tooltip>
26
- <comment>paymill_private_key_comment</comment>
27
- <frontend_type>text</frontend_type>
28
- <show_in_default>1</show_in_default>
29
- <show_in_website>1</show_in_website>
30
- <show_in_store>1</show_in_store>
31
- </private_key>
32
- <public_key translate="label, tooltip, comment">
33
- <label>paymill_Public_Key</label>
34
- <sort_order>3</sort_order>
35
- <tooltip>paymill_public_key_tooltip</tooltip>
36
- <comment>paymill_public_key_comment</comment>
37
- <frontend_type>text</frontend_type>
38
- <show_in_default>1</show_in_default>
39
- <show_in_website>1</show_in_website>
40
- <show_in_store>1</show_in_store>
41
- </public_key>
42
- <debugging_active translate="label">
43
- <label>paymill_Activate_Debugging</label>
44
- <sort_order>6</sort_order>
45
- <frontend_type>select</frontend_type>
46
- <source_model>adminhtml/system_config_source_yesno</source_model>
47
- <show_in_default>1</show_in_default>
48
- <show_in_website>1</show_in_website>
49
- <show_in_store>1</show_in_store>
50
- </debugging_active>
51
- <fc_active translate="label">
52
- <label>paymill_fc_active</label>
53
- <sort_order>7</sort_order>
54
- <frontend_type>select</frontend_type>
55
- <source_model>adminhtml/system_config_source_yesno</source_model>
56
- <show_in_default>1</show_in_default>
57
- <show_in_website>1</show_in_website>
58
- <show_in_store>1</show_in_store>
59
- </fc_active>
60
- <logging_active translate="label">
61
- <label>paymill_Activate_Logging</label>
62
- <sort_order>8</sort_order>
63
- <frontend_type>select</frontend_type>
64
- <source_model>adminhtml/system_config_source_yesno</source_model>
65
- <show_in_default>1</show_in_default>
66
- <show_in_website>1</show_in_website>
67
- <show_in_store>1</show_in_store>
68
- </logging_active>
69
- </fields>
70
- </paymill>
71
-
72
- <paymill_creditcard module="paymill" translate="label">
73
- <label>paymill_credit_card_label</label>
74
- <show_in_default>1</show_in_default>
75
- <show_in_website>1</show_in_website>
76
- <show_in_store>1</show_in_store>
77
- <sort_order>800</sort_order>
78
- <fields>
79
- <version>
80
- <label>v3.6.9</label>
81
- <sort_order>100</sort_order>
82
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
83
- <frontend_type>label</frontend_type>
84
- <show_in_default>1</show_in_default>
85
- <show_in_website>1</show_in_website>
86
- <show_in_store>1</show_in_store>
87
- </version>
88
- <active translate="label">
89
- <label>paymill_opt_Enabled</label>
90
- <sort_order>200</sort_order>
91
- <frontend_type>select</frontend_type>
92
- <source_model>adminhtml/system_config_source_yesno</source_model>
93
- <show_in_default>1</show_in_default>
94
- <show_in_website>1</show_in_website>
95
- <show_in_store>1</show_in_store>
96
- </active>
97
- <showspecificcreditcard translate="label">
98
- <label>paymill_show_creditcards</label>
99
- <sort_order>205</sort_order>
100
- <frontend_type>select</frontend_type>
101
- <source_model>adminhtml/system_config_source_yesno</source_model>
102
- <show_in_default>1</show_in_default>
103
- <show_in_website>1</show_in_website>
104
- <show_in_store>1</show_in_store>
105
- </showspecificcreditcard>
106
- <specificcreditcard translate="label">
107
- <label>paymill_select_creditcards</label>
108
- <frontend_type>multiselect</frontend_type>
109
- <sort_order>210</sort_order>
110
- <source_model>paymill/source_creditcard_creditcards</source_model>
111
- <show_in_default>1</show_in_default>
112
- <show_in_website>1</show_in_website>
113
- <show_in_store>1</show_in_store>
114
- <depends><showspecificcreditcard>1</showspecificcreditcard></depends>
115
- </specificcreditcard>
116
- <allowspecific translate="label">
117
- <label>Payment from Applicable Countries</label>
118
- <sort_order>220</sort_order>
119
- <frontend_type>allowspecific</frontend_type>
120
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
121
- <show_in_default>1</show_in_default>
122
- <show_in_website>1</show_in_website>
123
- <show_in_store>1</show_in_store>
124
- </allowspecific>
125
- <specificcountry translate="label">
126
- <label>Payment from Specific Countries</label>
127
- <sort_order>300</sort_order>
128
- <frontend_type>multiselect</frontend_type>
129
- <source_model>adminhtml/system_config_source_country</source_model>
130
- <can_be_empty>1</can_be_empty>
131
- <show_in_default>1</show_in_default>
132
- <show_in_website>1</show_in_website>
133
- <show_in_store>1</show_in_store>
134
- </specificcountry>
135
- <currency translate="label">
136
- <label>paymill_accepted_currency</label>
137
- <frontend_type>multiselect</frontend_type>
138
- <source_model>adminhtml/system_config_source_currency</source_model>
139
- <sort_order>350</sort_order>
140
- <show_in_default>1</show_in_default>
141
- <show_in_website>1</show_in_website>
142
- <show_in_store>0</show_in_store>
143
- </currency>
144
- <order_status translate="label">
145
- <label>New order status</label>
146
- <frontend_type>select</frontend_type>
147
- <source_model>adminhtml/system_config_source_order_status</source_model>
148
- <sort_order>355</sort_order>
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
- </order_status>
153
- <preAuth_active translate="label">
154
- <label>paymill_preAuth_active</label>
155
- <sort_order>360</sort_order>
156
- <frontend_type>select</frontend_type>
157
- <source_model>adminhtml/system_config_source_yesno</source_model>
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
- </preAuth_active>
162
- <send_invoice_mail translate="label">
163
- <label>paymill_send_invoice_mail</label>
164
- <sort_order>370</sort_order>
165
- <frontend_type>select</frontend_type>
166
- <source_model>adminhtml/system_config_source_yesno</source_model>
167
- <show_in_default>1</show_in_default>
168
- <show_in_website>1</show_in_website>
169
- <show_in_store>1</show_in_store>
170
- <depends>
171
- <preAuth_active>0</preAuth_active>
172
- </depends>
173
- </send_invoice_mail>
174
- <checkout_desc translate="label">
175
- <label>paymill_checkout_desc</label>
176
- <sort_order>380</sort_order>
177
- <frontend_type>textarea</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
- </checkout_desc>
182
- <sort_order translate="label">
183
- <label>paymill_opt_Sort</label>
184
- <frontend_type>text</frontend_type>
185
- <sort_order>400</sort_order>
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
- </sort_order>
190
- </fields>
191
- </paymill_creditcard>
192
-
193
- <paymill_directdebit module="paymill" translate="label">
194
- <label>paymill_direct_debit_label</label>
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
- <sort_order>800</sort_order>
199
- <fields>
200
- <version>
201
- <label>v3.6.9</label>
202
- <sort_order>100</sort_order>
203
- <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
204
- <frontend_type>label</frontend_type>
205
- <show_in_default>1</show_in_default>
206
- <show_in_website>1</show_in_website>
207
- <show_in_store>1</show_in_store>
208
- </version>
209
- <active translate="label">
210
- <label>paymill_opt_Enabled</label>
211
- <sort_order>200</sort_order>
212
- <frontend_type>select</frontend_type>
213
- <source_model>adminhtml/system_config_source_yesno</source_model>
214
- <show_in_default>1</show_in_default>
215
- <show_in_website>1</show_in_website>
216
- <show_in_store>1</show_in_store>
217
- </active>
218
- <prenotification translate="label">
219
- <label>paymill_prenotification</label>
220
- <sort_order>210</sort_order>
221
- <frontend_type>text</frontend_type>
222
- <show_in_default>1</show_in_default>
223
- <show_in_website>1</show_in_website>
224
- <show_in_store>1</show_in_store>
225
- <validate>validate-digits validate-not-negative-number</validate>
226
- </prenotification>
227
- <allowspecific translate="label">
228
- <label>Payment from Applicable Countries</label>
229
- <sort_order>220</sort_order>
230
- <frontend_type>allowspecific</frontend_type>
231
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
232
- <show_in_default>1</show_in_default>
233
- <show_in_website>1</show_in_website>
234
- <show_in_store>1</show_in_store>
235
- </allowspecific>
236
- <specificcountry translate="label">
237
- <label>Payment from Specific Countries</label>
238
- <sort_order>300</sort_order>
239
- <frontend_type>multiselect</frontend_type>
240
- <source_model>adminhtml/system_config_source_country</source_model>
241
- <can_be_empty>1</can_be_empty>
242
- <show_in_default>1</show_in_default>
243
- <show_in_website>1</show_in_website>
244
- <show_in_store>1</show_in_store>
245
- </specificcountry>
246
- <currency translate="label">
247
- <label>paymill_accepted_currency</label>
248
- <frontend_type>multiselect</frontend_type>
249
- <source_model>adminhtml/system_config_source_currency</source_model>
250
- <sort_order>350</sort_order>
251
- <show_in_default>1</show_in_default>
252
- <show_in_website>1</show_in_website>
253
- <show_in_store>0</show_in_store>
254
- </currency>
255
- <order_status translate="label">
256
- <label>New order status</label>
257
- <frontend_type>select</frontend_type>
258
- <source_model>adminhtml/system_config_source_order_status</source_model>
259
- <sort_order>355</sort_order>
260
- <show_in_default>1</show_in_default>
261
- <show_in_website>1</show_in_website>
262
- <show_in_store>1</show_in_store>
263
- </order_status>
264
- <checkout_desc translate="label">
265
- <label>paymill_checkout_desc</label>
266
- <sort_order>370</sort_order>
267
- <frontend_type>textarea</frontend_type>
268
- <show_in_default>1</show_in_default>
269
- <show_in_website>1</show_in_website>
270
- <show_in_store>1</show_in_store>
271
- </checkout_desc>
272
- <sort_order translate="label">
273
- <label>paymill_opt_Sort</label>
274
- <frontend_type>text</frontend_type>
275
- <sort_order>400</sort_order>
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
- </sort_order>
280
- </fields>
281
- </paymill_directdebit>
282
- </groups>
283
- </payment>
284
- </sections>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <sections>
4
+ <payment>
5
+ <groups>
6
+ <paymill translate="label">
7
+ <label>paymill_Basic_Setting</label>
8
+ <show_in_default>1</show_in_default>
9
+ <show_in_website>1</show_in_website>
10
+ <show_in_store>1</show_in_store>
11
+ <sort_order>700</sort_order>
12
+ <fields>
13
+ <version>
14
+ <label>v3.8.0</label>
15
+ <sort_order>1</sort_order>
16
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
17
+ <frontend_type>label</frontend_type>
18
+ <show_in_default>1</show_in_default>
19
+ <show_in_website>1</show_in_website>
20
+ <show_in_store>1</show_in_store>
21
+ </version>
22
+ <private_key translate="label, tooltip, comment">
23
+ <label>paymill_Private_Key</label>
24
+ <sort_order>2</sort_order>
25
+ <tooltip>paymill_private_key_tooltip</tooltip>
26
+ <comment>paymill_private_key_comment</comment>
27
+ <frontend_type>text</frontend_type>
28
+ <show_in_default>1</show_in_default>
29
+ <show_in_website>1</show_in_website>
30
+ <show_in_store>1</show_in_store>
31
+ </private_key>
32
+ <public_key translate="label, tooltip, comment">
33
+ <label>paymill_Public_Key</label>
34
+ <sort_order>3</sort_order>
35
+ <tooltip>paymill_public_key_tooltip</tooltip>
36
+ <comment>paymill_public_key_comment</comment>
37
+ <frontend_type>text</frontend_type>
38
+ <show_in_default>1</show_in_default>
39
+ <show_in_website>1</show_in_website>
40
+ <show_in_store>1</show_in_store>
41
+ </public_key>
42
+ <debugging_active translate="label">
43
+ <label>paymill_Activate_Debugging</label>
44
+ <sort_order>6</sort_order>
45
+ <frontend_type>select</frontend_type>
46
+ <source_model>adminhtml/system_config_source_yesno</source_model>
47
+ <show_in_default>1</show_in_default>
48
+ <show_in_website>1</show_in_website>
49
+ <show_in_store>1</show_in_store>
50
+ </debugging_active>
51
+ <fc_active translate="label">
52
+ <label>paymill_fc_active</label>
53
+ <sort_order>7</sort_order>
54
+ <frontend_type>select</frontend_type>
55
+ <source_model>adminhtml/system_config_source_yesno</source_model>
56
+ <show_in_default>1</show_in_default>
57
+ <show_in_website>1</show_in_website>
58
+ <show_in_store>1</show_in_store>
59
+ </fc_active>
60
+ <logging_active translate="label">
61
+ <label>paymill_Activate_Logging</label>
62
+ <sort_order>8</sort_order>
63
+ <frontend_type>select</frontend_type>
64
+ <source_model>adminhtml/system_config_source_yesno</source_model>
65
+ <show_in_default>1</show_in_default>
66
+ <show_in_website>1</show_in_website>
67
+ <show_in_store>1</show_in_store>
68
+ </logging_active>
69
+ <version>
70
+ <label>paymill_expert_settings</label>
71
+ <sort_order>9</sort_order>
72
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
73
+ <frontend_type>label</frontend_type>
74
+ <show_in_default>1</show_in_default>
75
+ <show_in_website>1</show_in_website>
76
+ <show_in_store>1</show_in_store>
77
+ </version>
78
+ <base_currency>
79
+ <label>paymill_base_or_order_currency</label>
80
+ <tooltip>paymill_paymill_base_or_order_currency_tooltip</tooltip>
81
+ <sort_order>10</sort_order>
82
+ <frontend_type>select</frontend_type>
83
+ <source_model>adminhtml/system_config_source_yesno</source_model>
84
+ <show_in_default>1</show_in_default>
85
+ <show_in_website>1</show_in_website>
86
+ <show_in_store>1</show_in_store>
87
+ </base_currency>
88
+ <token_creation_identifier_id>
89
+ <label>paymill_token_creation_identifier_id</label>
90
+ <sort_order>11</sort_order>
91
+ <tooltip>paymill_token_creation_identifier_id_tooltip</tooltip>
92
+ <frontend_type>text</frontend_type>
93
+ <show_in_default>1</show_in_default>
94
+ <show_in_website>1</show_in_website>
95
+ <show_in_store>1</show_in_store>
96
+ </token_creation_identifier_id>
97
+ </fields>
98
+ </paymill>
99
+
100
+ <paymill_creditcard module="paymill" translate="label">
101
+ <label>paymill_credit_card_label</label>
102
+ <show_in_default>1</show_in_default>
103
+ <show_in_website>1</show_in_website>
104
+ <show_in_store>1</show_in_store>
105
+ <sort_order>800</sort_order>
106
+ <fields>
107
+ <version>
108
+ <label>v3.8.0</label>
109
+ <sort_order>100</sort_order>
110
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
111
+ <frontend_type>label</frontend_type>
112
+ <show_in_default>1</show_in_default>
113
+ <show_in_website>1</show_in_website>
114
+ <show_in_store>1</show_in_store>
115
+ </version>
116
+ <active translate="label">
117
+ <label>paymill_opt_Enabled</label>
118
+ <sort_order>200</sort_order>
119
+ <frontend_type>select</frontend_type>
120
+ <source_model>adminhtml/system_config_source_yesno</source_model>
121
+ <show_in_default>1</show_in_default>
122
+ <show_in_website>1</show_in_website>
123
+ <show_in_store>1</show_in_store>
124
+ </active>
125
+ <showspecificcreditcard translate="label">
126
+ <label>paymill_show_creditcards</label>
127
+ <sort_order>205</sort_order>
128
+ <frontend_type>select</frontend_type>
129
+ <source_model>adminhtml/system_config_source_yesno</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
+ </showspecificcreditcard>
134
+ <specificcreditcard translate="label">
135
+ <label>paymill_select_creditcards</label>
136
+ <frontend_type>multiselect</frontend_type>
137
+ <sort_order>210</sort_order>
138
+ <source_model>paymill/source_creditcard_creditcards</source_model>
139
+ <show_in_default>1</show_in_default>
140
+ <show_in_website>1</show_in_website>
141
+ <show_in_store>1</show_in_store>
142
+ <depends><showspecificcreditcard>1</showspecificcreditcard></depends>
143
+ </specificcreditcard>
144
+ <allowspecific translate="label">
145
+ <label>Payment from Applicable Countries</label>
146
+ <sort_order>220</sort_order>
147
+ <frontend_type>allowspecific</frontend_type>
148
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
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
+ </allowspecific>
153
+ <specificcountry translate="label">
154
+ <label>Payment from Specific Countries</label>
155
+ <sort_order>300</sort_order>
156
+ <frontend_type>multiselect</frontend_type>
157
+ <source_model>adminhtml/system_config_source_country</source_model>
158
+ <can_be_empty>1</can_be_empty>
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
+ </specificcountry>
163
+ <currency translate="label">
164
+ <label>paymill_accepted_currency</label>
165
+ <frontend_type>multiselect</frontend_type>
166
+ <source_model>adminhtml/system_config_source_currency</source_model>
167
+ <sort_order>350</sort_order>
168
+ <show_in_default>1</show_in_default>
169
+ <show_in_website>1</show_in_website>
170
+ <show_in_store>0</show_in_store>
171
+ </currency>
172
+ <order_status translate="label">
173
+ <label>New order status</label>
174
+ <frontend_type>select</frontend_type>
175
+ <source_model>adminhtml/system_config_source_order_status</source_model>
176
+ <sort_order>355</sort_order>
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
+ </order_status>
181
+ <preAuth_active translate="label">
182
+ <label>paymill_preAuth_active</label>
183
+ <sort_order>360</sort_order>
184
+ <frontend_type>select</frontend_type>
185
+ <source_model>adminhtml/system_config_source_yesno</source_model>
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
+ </preAuth_active>
190
+ <send_invoice_mail translate="label">
191
+ <label>paymill_send_invoice_mail</label>
192
+ <sort_order>370</sort_order>
193
+ <frontend_type>select</frontend_type>
194
+ <source_model>adminhtml/system_config_source_yesno</source_model>
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
+ <depends>
199
+ <preAuth_active>0</preAuth_active>
200
+ </depends>
201
+ </send_invoice_mail>
202
+ <checkout_desc translate="label">
203
+ <label>paymill_checkout_desc</label>
204
+ <sort_order>380</sort_order>
205
+ <frontend_type>textarea</frontend_type>
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
+ </checkout_desc>
210
+ <sort_order translate="label">
211
+ <label>paymill_opt_Sort</label>
212
+ <frontend_type>text</frontend_type>
213
+ <sort_order>400</sort_order>
214
+ <show_in_default>1</show_in_default>
215
+ <show_in_website>1</show_in_website>
216
+ <show_in_store>1</show_in_store>
217
+ </sort_order>
218
+ </fields>
219
+ </paymill_creditcard>
220
+
221
+ <paymill_directdebit module="paymill" translate="label">
222
+ <label>paymill_direct_debit_label</label>
223
+ <show_in_default>1</show_in_default>
224
+ <show_in_website>1</show_in_website>
225
+ <show_in_store>1</show_in_store>
226
+ <sort_order>800</sort_order>
227
+ <fields>
228
+ <version>
229
+ <label>v3.8.0</label>
230
+ <sort_order>100</sort_order>
231
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
232
+ <frontend_type>label</frontend_type>
233
+ <show_in_default>1</show_in_default>
234
+ <show_in_website>1</show_in_website>
235
+ <show_in_store>1</show_in_store>
236
+ </version>
237
+ <active translate="label">
238
+ <label>paymill_opt_Enabled</label>
239
+ <sort_order>200</sort_order>
240
+ <frontend_type>select</frontend_type>
241
+ <source_model>adminhtml/system_config_source_yesno</source_model>
242
+ <show_in_default>1</show_in_default>
243
+ <show_in_website>1</show_in_website>
244
+ <show_in_store>1</show_in_store>
245
+ </active>
246
+ <prenotification translate="label">
247
+ <label>paymill_prenotification</label>
248
+ <sort_order>210</sort_order>
249
+ <frontend_type>text</frontend_type>
250
+ <show_in_default>1</show_in_default>
251
+ <show_in_website>1</show_in_website>
252
+ <show_in_store>1</show_in_store>
253
+ <validate>validate-digits validate-not-negative-number</validate>
254
+ </prenotification>
255
+ <allowspecific translate="label">
256
+ <label>Payment from Applicable Countries</label>
257
+ <sort_order>220</sort_order>
258
+ <frontend_type>allowspecific</frontend_type>
259
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
260
+ <show_in_default>1</show_in_default>
261
+ <show_in_website>1</show_in_website>
262
+ <show_in_store>1</show_in_store>
263
+ </allowspecific>
264
+ <specificcountry translate="label">
265
+ <label>Payment from Specific Countries</label>
266
+ <sort_order>300</sort_order>
267
+ <frontend_type>multiselect</frontend_type>
268
+ <source_model>adminhtml/system_config_source_country</source_model>
269
+ <can_be_empty>1</can_be_empty>
270
+ <show_in_default>1</show_in_default>
271
+ <show_in_website>1</show_in_website>
272
+ <show_in_store>1</show_in_store>
273
+ </specificcountry>
274
+ <currency translate="label">
275
+ <label>paymill_accepted_currency</label>
276
+ <frontend_type>multiselect</frontend_type>
277
+ <source_model>adminhtml/system_config_source_currency</source_model>
278
+ <sort_order>350</sort_order>
279
+ <show_in_default>1</show_in_default>
280
+ <show_in_website>1</show_in_website>
281
+ <show_in_store>0</show_in_store>
282
+ </currency>
283
+ <order_status translate="label">
284
+ <label>New order status</label>
285
+ <frontend_type>select</frontend_type>
286
+ <source_model>adminhtml/system_config_source_order_status</source_model>
287
+ <sort_order>355</sort_order>
288
+ <show_in_default>1</show_in_default>
289
+ <show_in_website>1</show_in_website>
290
+ <show_in_store>1</show_in_store>
291
+ </order_status>
292
+ <checkout_desc translate="label">
293
+ <label>paymill_checkout_desc</label>
294
+ <sort_order>370</sort_order>
295
+ <frontend_type>textarea</frontend_type>
296
+ <show_in_default>1</show_in_default>
297
+ <show_in_website>1</show_in_website>
298
+ <show_in_store>1</show_in_store>
299
+ </checkout_desc>
300
+ <sort_order translate="label">
301
+ <label>paymill_opt_Sort</label>
302
+ <frontend_type>text</frontend_type>
303
+ <sort_order>400</sort_order>
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
+ </sort_order>
308
+ </fields>
309
+ </paymill_directdebit>
310
+ </groups>
311
+ </payment>
312
+ </sections>
313
  </config>
app/code/community/Paymill/Paymill/sql/paymill_setup/mysql4-install-3.0.0.php CHANGED
@@ -1,54 +1,54 @@
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
- * @category Paymill
17
- * @package Paymill_Paymill
18
- * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- $installer = $this;
22
- $installer->startSetup();
23
-
24
- $installer->run("
25
- CREATE TABLE IF NOT EXISTS `{$this->getTable('paymill_log')}` (
26
- `id` int(11) NOT NULL AUTO_INCREMENT,
27
- `entry_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
28
- `version` varchar(25) NOT NULL COLLATE utf8_unicode_ci,
29
- `merchant_info` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
30
- `dev_info` text COLLATE utf8_unicode_ci DEFAULT NULL,
31
- `dev_info_additional` text COLLATE utf8_unicode_ci DEFAULT NULL,
32
- PRIMARY KEY (`id`)
33
- ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
34
-
35
- CREATE TABLE IF NOT EXISTS `{$this->getTable('paymill_fastCheckout')}` (
36
- `id` int(11) NOT NULL AUTO_INCREMENT,
37
- `user_id` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
38
- `client_id` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
39
- `cc_payment_id` varchar(250) COLLATE utf8_unicode_ci NULL,
40
- `elv_payment_id` varchar(250) COLLATE utf8_unicode_ci NULL,
41
- PRIMARY KEY (`id`),
42
- UNIQUE KEY `userId` (`user_id`)
43
- ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
44
- ");
45
-
46
- $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_creditcard' WHERE method = 'paymillcc';");
47
-
48
- $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_creditcard' WHERE method = 'paymillcc';");
49
-
50
- $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_directdebit' WHERE method = 'paymillelv';");
51
-
52
- $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_directdebit' WHERE method = 'paymillelv';");
53
-
54
  $installer->endSetup();
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
+ * @category Paymill
17
+ * @package Paymill_Paymill
18
+ * @copyright Copyright (c) 2013 PAYMILL GmbH (https://paymill.com/en-gb/)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ $installer = $this;
22
+ $installer->startSetup();
23
+
24
+ $installer->run("
25
+ CREATE TABLE IF NOT EXISTS `{$this->getTable('paymill_log')}` (
26
+ `id` int(11) NOT NULL AUTO_INCREMENT,
27
+ `entry_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
28
+ `version` varchar(25) NOT NULL COLLATE utf8_unicode_ci,
29
+ `merchant_info` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
30
+ `dev_info` text COLLATE utf8_unicode_ci DEFAULT NULL,
31
+ `dev_info_additional` text COLLATE utf8_unicode_ci DEFAULT NULL,
32
+ PRIMARY KEY (`id`)
33
+ ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
34
+
35
+ CREATE TABLE IF NOT EXISTS `{$this->getTable('paymill_fastCheckout')}` (
36
+ `id` int(11) NOT NULL AUTO_INCREMENT,
37
+ `user_id` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
38
+ `client_id` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
39
+ `cc_payment_id` varchar(250) COLLATE utf8_unicode_ci NULL,
40
+ `elv_payment_id` varchar(250) COLLATE utf8_unicode_ci NULL,
41
+ PRIMARY KEY (`id`),
42
+ UNIQUE KEY `userId` (`user_id`)
43
+ ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
44
+ ");
45
+
46
+ $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_creditcard' WHERE method = 'paymillcc';");
47
+
48
+ $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_creditcard' WHERE method = 'paymillcc';");
49
+
50
+ $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_directdebit' WHERE method = 'paymillelv';");
51
+
52
+ $installer->run("UPDATE `{$this->getTable('sales_flat_quote_payment')}` SET method = 'paymill_directdebit' WHERE method = 'paymillelv';");
53
+
54
  $installer->endSetup();
app/design/adminhtml/base/default/layout/paymill.xml CHANGED
@@ -1,12 +1,12 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <layout version="0.1.0">
3
- <paymill_adminhtml_log_index>
4
- <reference name="content">
5
- <block type="paymill/adminhtml_log" name="adminhtml_log.grid.container" />
6
- </reference>
7
- </paymill_adminhtml_log_index>
8
- <paymill_adminhtml_log_grid>
9
- <update handle="formkey"/>
10
- <block type="paymill/adminhtml_log_grid" name="adminhtml_log.grid" output="toHtml" />
11
- </paymill_adminhtml_log_grid>
12
- </layout>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <layout version="0.1.0">
3
+ <paymill_adminhtml_log_index>
4
+ <reference name="content">
5
+ <block type="paymill/adminhtml_log" name="adminhtml_log.grid.container" />
6
+ </reference>
7
+ </paymill_adminhtml_log_index>
8
+ <paymill_adminhtml_log_grid>
9
+ <update handle="formkey"/>
10
+ <block type="paymill/adminhtml_log_grid" name="adminhtml_log.grid" output="toHtml" />
11
+ </paymill_adminhtml_log_grid>
12
+ </layout>
app/design/adminhtml/base/default/template/paymill/log/view.phtml 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
- * @category PayIntelligent
16
- * @package PayIntelligent_RatePAY
17
- * @copyright Copyright (c) 2011 PayIntelligent GmbH (http://www.payintelligent.de)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- ?>
21
-
22
- <div style="border-bottom: 4px solid #DFDFDF;margin-bottom: 18px;padding-bottom: 0.25em;">
23
- <h3>Developer Info</h3>
24
- <pre><?php echo $this->getDevInfo(); ?></pre>
25
- </div>
26
- <?php if(strlen($this->getDevInfoAdditional()) > 0): ?>
27
- <div style="border-bottom: 4px solid #DFDFDF;margin-bottom: 18px;padding-bottom: 0.25em;">
28
- <h3>Extended Developer Info</h3>
29
- <pre><?php echo $this->getDevInfoAdditional(); ?></pre>
30
- </div>
31
- <?php endif; ?>
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it 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 PayIntelligent
16
+ * @package PayIntelligent_RatePAY
17
+ * @copyright Copyright (c) 2011 PayIntelligent GmbH (http://www.payintelligent.de)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ ?>
21
+
22
+ <div style="border-bottom: 4px solid #DFDFDF;margin-bottom: 18px;padding-bottom: 0.25em;">
23
+ <h3>Developer Info</h3>
24
+ <pre><?php echo $this->getDevInfo(); ?></pre>
25
+ </div>
26
+ <?php if(strlen($this->getDevInfoAdditional()) > 0): ?>
27
+ <div style="border-bottom: 4px solid #DFDFDF;margin-bottom: 18px;padding-bottom: 0.25em;">
28
+ <h3>Extended Developer Info</h3>
29
+ <pre><?php echo $this->getDevInfoAdditional(); ?></pre>
30
+ </div>
31
+ <?php endif; ?>
app/design/adminhtml/base/default/template/paymill/payment/info/creditcard.phtml CHANGED
@@ -1,14 +1,21 @@
1
- <?php if ($_specificInfo = $this->getSpecificInformation()): ?>
2
- <table
3
- <tr>
4
- <td><img src="<?php echo $_specificInfo['imgUrl'] ?>" /></td>
5
- </tr>
6
- <tr>
7
- <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
8
- </tr>
9
- <tr>
10
- <td><?php echo $this->escapeHtml("Transaction Id: " . $_specificInfo['paymillTransactionId']); ?></td>
11
- </tr>
12
- </table>
13
- <?php endif; ?>
14
- <?php echo $this->getChildHtml() ?>
 
 
 
 
 
 
 
1
+ <?php if ($_specificInfo = $this->getSpecificInformation()): ?>
2
+ <table>
3
+ <tr>
4
+ <td><img src="<?php echo $_specificInfo['imgUrl'] ?>" /></td>
5
+ </tr>
6
+ <tr>
7
+ <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
8
+ </tr>
9
+ <?php if (array_key_exists('paymillPreauthId', $_specificInfo)): ?>
10
+ <tr>
11
+ <td><?php echo $this->escapeHtml("Preauth Id: " . $_specificInfo['paymillPreauthId']); ?></td>
12
+ </tr>
13
+ <?php endif; ?>
14
+ <?php if (array_key_exists('paymillTransactionId', $_specificInfo)): ?>
15
+ <tr>
16
+ <td><?php echo $this->escapeHtml("Transaction Id: " . $_specificInfo['paymillTransactionId']); ?></td>
17
+ </tr>
18
+ <?php endif; ?>
19
+ </table>
20
+ <?php endif; ?>
21
+ <?php echo $this->getChildHtml(); ?>
app/design/adminhtml/base/default/template/paymill/payment/info/creditcard_pdf.phtml CHANGED
@@ -1,3 +1,3 @@
1
- <?php
2
-
3
  echo $this->__(Mage::getStoreConfig('payment/paymill_creditcard/title'));
1
+ <?php
2
+
3
  echo $this->__(Mage::getStoreConfig('payment/paymill_creditcard/title'));
app/design/adminhtml/base/default/template/paymill/payment/info/directdebit.phtml CHANGED
@@ -1,14 +1,14 @@
1
- <?php if ($_specificInfo = $this->getSpecificInformation()): ?>
2
- <table
3
- <tr>
4
- <td><img src="<?php echo $_specificInfo['imgUrl'] ?>" /></td>
5
- </tr>
6
- <tr>
7
- <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
8
- </tr>
9
- <tr>
10
- <td><?php echo $this->escapeHtml("Transaction Id: " . $_specificInfo['paymillTransactionId']); ?></td>
11
- </tr>
12
- </table>
13
- <?php endif; ?>
14
  <?php echo $this->getChildHtml() ?>
1
+ <?php if ($_specificInfo = $this->getSpecificInformation()): ?>
2
+ <table>
3
+ <tr>
4
+ <td><img src="<?php echo $_specificInfo['imgUrl'] ?>" /></td>
5
+ </tr>
6
+ <tr>
7
+ <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
8
+ </tr>
9
+ <tr>
10
+ <td><?php echo $this->escapeHtml("Transaction Id: " . $_specificInfo['paymillTransactionId']); ?></td>
11
+ </tr>
12
+ </table>
13
+ <?php endif; ?>
14
  <?php echo $this->getChildHtml() ?>
app/design/adminhtml/base/default/template/paymill/payment/info/directdebit_pdf.phtml CHANGED
@@ -1,3 +1,3 @@
1
- <?php
2
-
3
  echo $this->__(Mage::getStoreConfig('payment/paymill_directdebit/title'));
1
+ <?php
2
+
3
  echo $this->__(Mage::getStoreConfig('payment/paymill_directdebit/title'));
app/design/frontend/base/default/layout/paymill.xml CHANGED
@@ -9,13 +9,11 @@ and open the template in the editor.
9
  <action method="addCss">
10
  <stylesheet>css/paymill/logo.css</stylesheet>
11
  </action>
12
- <block type="core/text" name="google.cdn.jquery">
13
- <action method="setText">
14
  <text>
15
  <![CDATA[
16
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
17
  <script type="text/javascript" src="https://bridge.paymill.com/"></script>
18
- <script type="text/javascript">pmQuery = jQuery.noConflict(true);</script>
19
  ]]>
20
  </text>
21
  </action>
@@ -27,7 +25,16 @@ and open the template in the editor.
27
  <script>paymill/BrandDetection.js</script>
28
  </action>
29
  <action method="addJs">
30
- <script>paymill/paymentForm.js</script>
 
 
 
 
 
 
 
 
 
31
  </action>
32
 
33
  </reference>
9
  <action method="addCss">
10
  <stylesheet>css/paymill/logo.css</stylesheet>
11
  </action>
12
+ <block type="core/text" name="paymill_head">
13
+ <action method="addText">
14
  <text>
15
  <![CDATA[
 
16
  <script type="text/javascript" src="https://bridge.paymill.com/"></script>
 
17
  ]]>
18
  </text>
19
  </action>
25
  <script>paymill/BrandDetection.js</script>
26
  </action>
27
  <action method="addJs">
28
+ <script>paymill/Paymill.js</script>
29
+ </action>
30
+ <action method="addJs">
31
+ <script>paymill/Elv.js</script>
32
+ </action>
33
+ <action method="addJs">
34
+ <script>paymill/Creditcard.js</script>
35
+ </action>
36
+ <action method="addJs">
37
+ <script>paymill/PaymillHelper.js</script>
38
  </action>
39
 
40
  </reference>
app/design/frontend/base/default/template/paymill/form/paymill.phtml DELETED
@@ -1,299 +0,0 @@
1
- <?php $_code = $this->getMethodCode() ?>
2
- <script src="<?php echo Mage::getDesign()->getSkinUrl('paymill/jquery.min.js'); ?>"></script>
3
- <link rel="stylesheet" type="text/css" href="<?php echo Mage::getDesign()->getSkinUrl('paymill/paymill_styles.css'); ?>" />
4
- <!--
5
- The payment form.
6
- Important: do not process any card data to the server (leave name attribute away)
7
- -->
8
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none">
9
- <li>
10
- <img src="<?php echo Mage::getDesign()->getSkinUrl('paymill/icon_visa.png'); ?>" />
11
- <img src="<?php echo Mage::getDesign()->getSkinUrl('paymill/icon_mastercard.png'); ?>" />
12
- </li>
13
- <?php if (is_null(Mage::getSingleton("paymillcc/customerdata")->loadByUserId(Mage::getSingleton('customer/session')->getCustomer()->getId()))): ?>
14
- <li>
15
- <label for="paymillcc_cardholder" class="required"><em>*</em><?php echo Mage::helper('paymillcc')->__('Credit Card Holder') ?></label>
16
- <div class="input-box">
17
- <input type="text" class="input-text" id="paymillcc_cardholder" value="" autocomplete="off">
18
- <div class="validation-advice" id="cardholder_error" style="display: none"></div>
19
- </div>
20
- </li>
21
- <li>
22
- <label for="paymillcc_number" class="required"><em>*</em><?php echo Mage::helper('paymillcc')->__('Credit Card Number') ?></label>
23
- <div class="input-box">
24
- <input type="text" id="paymillcc_number" class="input-text" value="" autocomplete="off">
25
- <div class="validation-advice" id="number_error" style="display: none"></div>
26
- <div id="paymill_card_type" style="display: none; color: #666; margin-top: 2px;"></div>
27
- </div>
28
- </li>
29
- <li>
30
- <label for="paymillcc_cvc" class="required"><em>*</em><?php echo Mage::helper('paymillcc')->__('Card Verification Number') ?></label>
31
- <div class="input-box">
32
- <input type="text" id="paymillcc_cvc" class="input-text" autocomplete="off" value="">
33
- <div class="validation-advice" id="cvc_error" style="display: none"></div>
34
- </div>
35
- </li>
36
- <li>
37
- <label for="paymillcc_expiry" class="required"><em>*</em><?php echo Mage::helper('paymillcc')->__('Expiration Date') ?></label>
38
- <div class="input-box">
39
- <div class="v-fix">
40
- <select id="paymillcc_expiry_month" class="month" autocomplete="off">
41
- <option value="" selected="selected">--</option>
42
- <option value="01">01 - <?php echo Mage::helper('paymillcc')->__('January'); ?></option>
43
- <option value="02">02 - <?php echo Mage::helper('paymillcc')->__('February'); ?></option>
44
- <option value="03">03 - <?php echo Mage::helper('paymillcc')->__('March'); ?></option>
45
- <option value="04">04 - <?php echo Mage::helper('paymillcc')->__('April'); ?></option>
46
- <option value="05">05 - <?php echo Mage::helper('paymillcc')->__('May'); ?></option>
47
- <option value="06">06 - <?php echo Mage::helper('paymillcc')->__('June'); ?></option>
48
- <option value="07">07 - <?php echo Mage::helper('paymillcc')->__('July'); ?></option>
49
- <option value="08">08 - <?php echo Mage::helper('paymillcc')->__('August'); ?></option>
50
- <option value="09">09 - <?php echo Mage::helper('paymillcc')->__('September'); ?></option>
51
- <option value="10">10 - <?php echo Mage::helper('paymillcc')->__('October'); ?></option>
52
- <option value="11">11 - <?php echo Mage::helper('paymillcc')->__('November'); ?></option>
53
- <option value="12">12 - <?php echo Mage::helper('paymillcc')->__('December'); ?></option>
54
- </select>
55
- </div>
56
- <div class="v-fix">
57
- <select id="paymillcc_expiry_year" class="year" autocomplete="off">
58
- <option value="" selected="selected">--</option>
59
- <option value="2012">2012</option>
60
- <option value="2013">2013</option>
61
- <option value="2014">2014</option>
62
- <option value="2015">2015</option>
63
- <option value="2016">2016</option>
64
- <option value="2017">2017</option>
65
- <option value="2018">2018</option>
66
- <option value="2019">2019</option>
67
- <option value="2020">2020</option>
68
- <option value="2021">2021</option>
69
- <option value="2022">2022</option>
70
- </select>
71
- </div>
72
- <div class="validation-advice" id="expiry_error" style="display: none"></div>
73
- </div>
74
- </li>
75
- <?php endif; ?>
76
- <?php if (!is_null(Mage::getSingleton("paymillcc/customerdata")->loadByUserId(Mage::getSingleton('customer/session')->getCustomer()->getId()))): ?>
77
- <input type="hidden" id="paymill_existing_customer" value="true">
78
- <?php elseif (is_null(Mage::getSingleton("paymillcc/customerdata")->loadByUserId(Mage::getSingleton('customer/session')->getCustomer()->getId()))): ?>
79
- <input type="hidden" id="paymill_existing_customer" value="false">
80
- <?php endif; ?>
81
- <!-- this gets the transaction token -->
82
- <input type="hidden" id="paymill_order_amount" value="<?php print round($this->paymillPaymentAmount * 100); ?>">
83
- <input type="hidden" id="paymill_transaction_token" type="text" value="" name="payment[paymill_transaction_token]" />
84
- <?php if ($this->showPaymillLabel) { ?>
85
- <li>
86
- <div class="paymill_powered"><div class="paymill_credits"><?php echo Mage::helper('paymillcc')->__('Secure credit card payment powered by') ?> <a href="http://www.paymill.de" target="_blank">Paymill</a></div></div>
87
- </li>
88
- <?php } ?>
89
- </ul>
90
- <!--
91
- PaymillPayment
92
- Wrapper version: <?php print $this->paymillLibVersion; ?>;
93
- API enpoint: <?php print $this->paymillApiEndpoint; ?>
94
- -->
95
- <script type="text/javascript">
96
- var PAYMILL_PUBLIC_KEY = '<?php print $this->paymillPublicApiKey; ?>';
97
- </script>
98
- <script type="text/javascript" src="<?php print $this->paymillBridgeEndpoint; ?>"></script>
99
- <script type="text/javascript">
100
- jQuery.noConflict();
101
-
102
- jQuery(document).ready(function(){
103
- jQuery('#payment-buttons-container button:first').prop("onclick", null);
104
- jQuery('#payment-buttons-container button:first').unbind('click');
105
- jQuery('#payment-buttons-container button:first').click(paymill_payment_save_override);
106
- // bind change listener to show the cardtype
107
- jQuery('#paymillcc_number').change(function() {
108
- if (paymill.cardType(jQuery('#paymillcc_number').val()) == "Visa") {
109
- jQuery('#paymill_card_type').html("Visa").show();
110
- } else if (paymill.cardType(jQuery('#paymillcc_number').val()) == "MasterCard") {
111
- jQuery('#paymill_card_type').html("MasterCard").show();
112
- } else {
113
- jQuery('#paymill_card_type').hide();
114
- }
115
- });
116
-
117
- });
118
-
119
- if (typeof paymill_payment_save_override != 'function') {
120
- function paymill_payment_save_override() {
121
- if (payment.currentMethod == "paymillcc") {
122
- if (jQuery('#paymill_existing_customer').val() == 'false') {
123
- paymill_cc_payment_save_override();
124
- } else {
125
- payment.save();
126
- }
127
- } else if (payment.currentMethod == "paymillelv") {
128
- if (jQuery('#paymill_elv_existing_customer').val() == 'false') {
129
- paymill_elv_payment_save_override();
130
- } else {
131
- payment.save();
132
- }
133
- } else {
134
- payment.save();
135
- }
136
- }
137
- }
138
-
139
- // is paymillPayment?
140
- function paymill_is_paymill_cc_payment() {
141
- return payment.currentMethod == "<?php print $_code; ?>";
142
- }
143
-
144
- // handler that is called when click on next step button
145
- function paymill_cc_payment_save_override() {
146
- if (paymill_is_paymill_cc_payment()) {
147
- paymill_cc_debug('Paymill payment method triggered');
148
- if (paymill_cc_validate()) {
149
- paymill_cc_debug('Validation successful');
150
- var cardholder = jQuery('#paymillcc_cardholder');
151
- var number = jQuery('#paymillcc_number');
152
- var expiry_month = jQuery('#paymillcc_expiry_month');
153
- var expiry_year = jQuery('#paymillcc_expiry_year');
154
- var cvc = jQuery('#paymillcc_cvc');
155
- paymill.createToken({
156
- number: number.val(),
157
- exp_month: expiry_month.val(),
158
- exp_year: expiry_year.val(),
159
- cvc: cvc.val(),
160
- cardholder: cardholder.val(),
161
- amount_int: jQuery('#paymill_order_amount').val(),
162
- currency: '<?php print $this->paymillPaymentCurrency; ?>'
163
- }, paymill_cc_response_handler
164
- );
165
- }
166
- } else {
167
- payment.save();
168
- }
169
- }
170
-
171
- // paymill response handler
172
- function paymill_cc_response_handler(error, result) {
173
- paymill_cc_debug('Start Paymill response handler');
174
- if (error) {
175
- alert("API returned error" + error.apierror);
176
- paymill_cc_debug('An API error occured ' + error.apierror);
177
- } else {
178
- paymill_cc_debug('Received a token: ' + result.token);
179
- jQuery('#paymill_transaction_token').val(result.token);
180
- payment.save();
181
- }
182
- }
183
-
184
- // validation
185
- function paymill_cc_validate() {
186
-
187
- var cardholder = jQuery('#paymillcc_cardholder');
188
- var number = jQuery('#paymillcc_number');
189
- var expiry_month = jQuery('#paymillcc_expiry_month');
190
- var expiry_year = jQuery('#paymillcc_expiry_year');
191
- var cvc = jQuery('#paymillcc_cvc');
192
- var cvc_error = jQuery('#cvc_error');
193
- var expiry_error = jQuery('#expiry_error');
194
- var number_error = jQuery('#number_error');
195
- var cardholder_error = jQuery('#cardholder_error');
196
-
197
- var result = true;
198
-
199
- paymill_cc_debug('Start form validation');
200
-
201
- // reset errors
202
- cardholder_error.hide();
203
- cvc_error.hide();
204
- expiry_error.hide();
205
- number_error.hide();
206
-
207
- // error messages
208
- error_msg_cardholder_missing = "<?php echo Mage::helper('paymillcc')->__('Credit Card Holder is missing') ?>";
209
- error_msg_cardnumber_invalid = "<?php echo Mage::helper('paymillcc')->__('Your credit card number is invalid'); ?>";
210
- error_msg_expiry_invalid = "<?php echo Mage::helper('paymillcc')->__('The expiration date is invalid'); ?>";
211
- error_msg_cvc_invalid = "<?php echo Mage::helper('paymillcc')->__('The verification number is invalid'); ?>";
212
-
213
- if (cardholder.val() == "") {
214
- cardholder_error.html(error_msg_cardholder_missing).show();
215
- cardholder.addClass('validation-failed');
216
- result = false;
217
- } else {
218
- cardholder.removeClass('validation-failed');
219
- }
220
-
221
- if (!paymill.validateCardNumber(number.val())) {
222
- number_error.html(error_msg_cardnumber_invalid).show();
223
- number.addClass('validation-failed');
224
- result = false;
225
- } else {
226
- number.removeClass('validation-failed');
227
- }
228
-
229
- if (!paymill.validateCvc(cvc.val())) {
230
- cvc_error.html(error_msg_cvc_invalid).show();
231
- cvc.addClass('validation-failed');
232
- result = false;
233
- } else {
234
- cvc.removeClass('validation-failed');
235
- }
236
-
237
- if (!paymill.validateExpiry(expiry_month.val(), expiry_year.val())) {
238
- expiry_error.html(error_msg_expiry_invalid).show();
239
- expiry_month.addClass('validation-failed');
240
- expiry_year.addClass('validation-failed');
241
- result = false;
242
- } else {
243
- expiry_month.removeClass('validation-failed');
244
- expiry_year.removeClass('validation-failed');
245
- }
246
-
247
- return result;
248
- }
249
-
250
- // debug mode
251
- function paymill_cc_debug(message) {
252
- if (<?php print $this->paymillDebugMode; ?>) {
253
- console.log("[PaymillCC] " + message);
254
- }
255
- }
256
-
257
- // handling for onestep extension
258
- function paymill_onestep_cc(onestep_callback) {
259
- if (paymill_is_paymill_cc_payment()) {
260
- paymill_cc_debug('Paymill payment method triggered');
261
- if (paymill_cc_validate()) {
262
- paymill_cc_debug('Validation successful');
263
- var cardholder = jQuery('#paymillcc_cardholder');
264
- var number = jQuery('#paymillcc_number');
265
- var expiry_month = jQuery('#paymillcc_expiry_month');
266
- var expiry_year = jQuery('#paymillcc_expiry_year');
267
- var cvc = jQuery('#paymillcc_cvc');
268
- paymill.createToken({
269
- number: number.val(),
270
- exp_month: expiry_month.val(),
271
- exp_year: expiry_year.val(),
272
- cvc: cvc.val(),
273
- cardholder: cardholder.val(),
274
- amount: '<?php print $this->paymillPaymentAmount; ?>',
275
- currency: '<?php print $this->paymillPaymentCurrency; ?>'
276
- }, function(error, result) {
277
- paymill_cc_debug('Start Paymill response handler');
278
- if (error) {
279
- paymill_cc_debug('An API error occured ' + error.apierror);
280
- return false;
281
- } else {
282
- paymill_cc_debug('Received a token: ' + result.token);
283
- jQuery('#paymill_transaction_token').val(result.token);
284
- onestep_callback();
285
- }
286
- }
287
- );
288
- return false;
289
- } else {
290
- return false;
291
- }
292
- } else {
293
- return false;
294
- }
295
- return false;
296
- }
297
-
298
- </script>
299
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/paymill/form/paymill_elv.phtml DELETED
@@ -1,184 +0,0 @@
1
- <?php $_code=$this->getMethodCode() ?>
2
- <script src="<?php echo Mage::getDesign()->getSkinUrl('paymill/jquery.min.js'); ?>"></script>
3
- <link rel="stylesheet" type="text/css" href="<?php echo Mage::getDesign()->getSkinUrl('paymill/paymill_styles.css'); ?>" />
4
- <!--
5
- The payment form.
6
- Important: do not process any card data to the server (leave name attribute away)
7
- -->
8
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none">
9
- <li>
10
- <img src="<?php echo Mage::getDesign()->getSkinUrl('paymill/icon_elv.png'); ?>" />
11
- </li>
12
- <?php if (is_null(Mage::getSingleton("paymillelv/customerdata")->loadByUserId(Mage::getSingleton('customer/session')->getCustomer()->getId()))): ?>
13
- <li>
14
- <label for="paymillelv_accountholder" class="required"><em>*</em>Kontoinhaber</label>
15
- <div class="input-box">
16
- <input type="text" class="input-text required-entry" id="paymillelv_accountholder" value="" autocomplete="off">
17
- <div class="validation-advice" id="accountholder_error" style="display: none"></div>
18
- </div>
19
- </li>
20
- <li>
21
- <label for="paymillelv_accountnumber" class="required"><em>*</em>Kontonummer</label>
22
- <div class="input-box">
23
- <input type="text" id="paymillelv_accountnumber" class="input-text" value="" autocomplete="off">
24
- <div class="validation-advice" id="accountnumber_error" style="display: none"></div>
25
- </div>
26
- </li>
27
- <li>
28
- <label for="paymillelv_banknumber" class="required"><em>*</em>Bankleitzahl</label>
29
- <div class="input-box">
30
- <input type="text" id="paymillelv_banknumber" class="input-text" autocomplete="off" value="">
31
- <div class="validation-advice" id="banknumber_error" style="display: none"></div>
32
- </div>
33
- </li>
34
- <?php endif; ?>
35
- <?php if (!is_null(Mage::getSingleton("paymillelv/customerdata")->loadByUserId(Mage::getSingleton('customer/session')->getCustomer()->getId()))): ?>
36
- <input type="hidden" id="paymill_elv_existing_customer" value="true">
37
- <?php elseif (is_null(Mage::getSingleton("paymillelv/customerdata")->loadByUserId(Mage::getSingleton('customer/session')->getCustomer()->getId()))): ?>
38
- <input type="hidden" id="paymill_elv_existing_customer" value="false">
39
- <?php endif; ?>
40
- <!-- this gets the transaction token -->
41
- <input type="hidden" id="paymill_elv_transaction_token" type="text" value="" name="payment[paymill_elv_transaction_token]" />
42
- <?php if ($this->showPaymillLabel) { ?>
43
- <li>
44
- <div class="paymill_powered"><div class="paymill_credits">Sicheres Lastschriftverfahren powered by <a href="http://www.paymill.de" target="_blank">Paymill</a></div></div>
45
- </li>
46
- <?php } ?>
47
- </ul>
48
- <!--
49
- PaymillPaymentELV
50
- API enpoint: <?php print $this->paymillApiEndpoint; ?>
51
- -->
52
- <script type="text/javascript">
53
- var PAYMILL_PUBLIC_KEY = '<?php print $this->paymillPublicApiKey; ?>';
54
- </script>
55
- <script type="text/javascript" src="<?php print $this->paymillBridgeEndpoint; ?>"></script>
56
- <script type="text/javascript">
57
- jQuery.noConflict();
58
-
59
- jQuery(document).ready(function(){
60
- jQuery('#payment-buttons-container button:first').prop("onclick", null);
61
- jQuery('#payment-buttons-container button:first').unbind('click');
62
- jQuery('#payment-buttons-container button:first').click(paymill_payment_save_override);
63
- });
64
-
65
- if (typeof paymill_payment_save_override != 'function') {
66
- function paymill_payment_save_override() {
67
- if (payment.currentMethod == "paymillcc") {
68
- if (jQuery('#paymill_existing_customer').val() == 'false') {
69
- paymill_cc_payment_save_override();
70
- } else {
71
- payment.save();
72
- }
73
- } else if (payment.currentMethod == "paymillelv") {
74
- if (jQuery('#paymill_elv_existing_customer').val() == 'false') {
75
- paymill_elv_payment_save_override();
76
- } else {
77
- payment.save();
78
- }
79
- } else {
80
- payment.save();
81
- }
82
- }
83
- }
84
-
85
- // is paymillPayment?
86
- function paymill_is_paymill_elv_payment() {
87
- return payment.currentMethod == "<?php print $_code; ?>";
88
- }
89
-
90
- // handler that is called when click on next step button
91
- function paymill_elv_payment_save_override() {
92
- if (paymill_is_paymill_elv_payment()) {
93
- paymill_elv_debug('Paymill elv payment method triggered');
94
- if (paymill_elv_validate()) {
95
- paymill_elv_debug('Validation successful');
96
- var accountholder = jQuery('#paymillelv_accountholder');
97
- var accountnumber = jQuery('#paymillelv_accountnumber');
98
- var banknumber = jQuery('#paymillelv_banknumber');
99
- paymill.createToken({
100
- number: accountnumber.val(),
101
- bank: banknumber.val(),
102
- accountholder: accountholder.val(),
103
- }, paymill_elv_response_handler
104
- );
105
- }
106
- } else {
107
- payment.save();
108
- }
109
- }
110
-
111
- // paymill response handler
112
- function paymill_elv_response_handler(error, result) {
113
- paymill_elv_debug('Start Paymill response handler');
114
- if (error) {
115
- alert("API returned error" + error.apierror);
116
- paymill_elv_debug('An API error occured ' + error.apierror);
117
- } else {
118
- paymill_elv_debug('Received a token: ' + result.token);
119
- jQuery('#paymill_elv_transaction_token').val(result.token);
120
- payment.save();
121
- }
122
- }
123
-
124
- // validation
125
- function paymill_elv_validate() {
126
-
127
- var accountholder = jQuery('#paymillelv_accountholder');
128
- var accountnumber = jQuery('#paymillelv_accountnumber');
129
- var banknumber = jQuery('#paymillelv_banknumber');
130
- var banknumber_error = jQuery('#banknumber_error');
131
- var accountnumber_error = jQuery('#accountnumber_error');
132
- var accountholder_error = jQuery('#accountholder_error');
133
-
134
- var result = true;
135
-
136
- paymill_elv_debug('Start form validation');
137
-
138
- // reset errors
139
- banknumber_error.hide();
140
- accountnumber_error.hide();
141
- accountholder_error.hide();
142
-
143
- // error messages
144
- error_msg_accountholder_missing = "<?php echo Mage::helper('paymillelv')->__("The account holder is missing"); ?>";
145
- error_msg_accountnumber_invalid = "<?php echo Mage::helper('paymillelv')->__("The account number is invalid"); ?>"
146
- error_msg_banknumber_invalid = "<?php echo Mage::helper('paymillelv')->__("The bank code is invalid"); ?>"
147
-
148
- if (accountholder.val() == "") {
149
- accountholder_error.html(error_msg_accountholder_missing).show();
150
- accountholder.addClass('validation-failed');
151
- result = false;
152
- } else {
153
- accountholder.removeClass('validation-failed');
154
- }
155
-
156
- if (!paymill.validateAccountNumber(accountnumber.val())) {
157
- accountnumber_error.html(error_msg_accountnumber_invalid).show();
158
- accountnumber.addClass('validation-failed');
159
- result = false;
160
- } else {
161
- accountnumber.removeClass('validation-failed');
162
- }
163
-
164
- if (!paymill.validateBankCode(banknumber.val())) {
165
- banknumber_error.html(error_msg_banknumber_invalid).show();
166
- banknumber.addClass('validation-failed');
167
- result = false;
168
- } else {
169
- banknumber.removeClass('validation-failed');
170
- }
171
-
172
- return result;
173
- }
174
-
175
- // debug mode
176
- function paymill_elv_debug(message) {
177
- if (<?php print $this->paymillDebugMode; ?>) {
178
- console.log("[PaymillELV] " + message);
179
- }
180
- }
181
-
182
- </script>
183
-
184
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/paymill/payment/form/creditcard.phtml CHANGED
@@ -1,98 +1,97 @@
1
- <?php $_code = $this->getMethodCode(); ?>
2
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
- <li>
4
- <?php echo $this->getCreditCardLogosDisplay();?>
5
- </li>
6
- <li>
7
- <label for="<?php echo $_code ?>_holdername" class="required"><em>*</em><?php echo $this->__("paymill_Holder") ?></label>
8
- <div class="input-box">
9
- <input value="<?php echo $this->getPaymentEntry($_code, 'card_holder'); ?>" type="text" id="<?php echo $_code ?>_holdername" class="input-text paymill-validate-cc-holder required-entry"/>
10
- </div>
11
- </li>
12
- <li>
13
- <label for="<?php echo $_code ?>_number" class="required"><em>*</em><?php echo $this->__("paymill_Number") ?></label>
14
- <div class="input-box">
15
- <input value="<?php echo $this->getPaymentEntry($_code, 'cc_number'); ?>" type="text" id="<?php echo $_code ?>_number" class="input-text paymill-validate-cc-number required-entry"/>
16
- </div>
17
- </li>
18
- <li>
19
- <label for="<?php echo $_code ?>_expiry_month" class="required"><em>*</em><?php echo $this->__("paymill_Date") ?></label>
20
- <div class="input-box">
21
- <div class="v-fix">
22
- <select id="<?php echo $_code ?>_expiry_month" class="month paymill-validate-cc-expdate-month required-entry">
23
- <?php foreach ($this->getPaymillCcMonths() as $k => $v): ?>
24
- <option value="<?php echo $k ? $k : '' ?>"<?php if($this->isPaymentDataAvailable($_code) && $this->getPaymentEntry($_code, 'expire_month') == $k): ?> selected="selected"<?php else: ?><?php if ($k == $this->getInfoData($_code . '_expiry_month')): ?> selected="selected"<?php endif ?><?php endif ?>><?php echo $v ?></option>
25
- <?php endforeach ?>
26
- </select>
27
- </div>
28
- <div class="v-fix">
29
- <select id="<?php echo $_code ?>_expiry_year" class="year paymill-validate-cc-expdate-year required-entry">
30
- <?php foreach ($this->getPaymillCcYears() as $k => $v): ?>
31
- <option value="<?php echo $k ? $k : '' ?>"<?php if($this->isPaymentDataAvailable($_code) && $this->getPaymentEntry($_code, 'expire_year') == $k): ?> selected="selected"<?php if ($k == $this->getInfoData($_code . '_expiry_year')): ?> selected="selected"<?php endif ?><?php endif ?>><?php echo $v ?></option>
32
- <?php endforeach ?>
33
- </select>
34
- </div>
35
- </div>
36
- </li>
37
- <li>
38
- <label for="<?php echo $_code ?>_cvc" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
39
- <div class="input-box">
40
- <div class="v-fix">
41
- <input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv paymill-validate-cc-cvc" id="<?php echo $_code ?>_cvc" name="payment[cc_cid]" value="<?php echo $this->getPaymentEntry($_code, 'cvc'); ?>" />
42
- </div>
43
- <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
44
- </div>
45
- </li>
46
- <li>
47
- <input class="paymill-payment-token-cc paymill-validate-cc-token" name="payment[paymill-payment-token-cc]" id="payment[paymill-payment-token-cc]" type="hidden" />
48
- <input class="paymill_3ds_cancel" type="hidden" value="<?php echo $this->__("paymill_3ds_cancel"); ?>"/>
49
- <input class="paymill-payment-token-url-cc" type="hidden" value="<?php echo $this->getUrl('paymill/token/total', array('_secure'=>true)); ?>"/>
50
- <input class="paymill-payment-token-log-cc" type="hidden" value="<?php echo $this->getUrl('paymill/token/log', array('_secure'=>true)); ?>"/>
51
- <input class="paymill-payment-currency-cc" type="hidden" value="<?php echo Mage::helper('paymill/paymentHelper')->getCurrency(Mage::getSingleton('checkout/session')->getQuote()); ?>"/>
52
- <input class="paymill-option-debug-cc" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->isInDebugMode(); ?>"/>
53
- <input class="paymill-info-public_key-cc" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->getPublicKey(); ?>"/>
54
- <input class="paymill-info-fastCheckout-cc" type="hidden" value="<?php echo $this->isNormalCheckout($_code); ?>"/>
55
- <input class="paymill-payment-error-number" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_number_cc");?>"/>
56
- <input class="paymill-payment-error-holder" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_holder_cc"); ?>"/>
57
- <input class="paymill-payment-error-expdate" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_expdate"); ?>"/>
58
- <input class="paymill-payment-error-cvc" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_cvc"); ?>"/>
59
- <input class="paymill-payment-error-cc-token" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_token"); ?>"/>
60
- <input class="PAYMILL_internal_server_error-cc" type="hidden" value="<?php echo $this->__("PAYMILL_internal_server_error"); ?>"/>
61
- <input class="PAYMILL_invalid_public_key-cc" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_public_key"); ?>"/>
62
- <input class="PAYMILL_invalid_payment_data-cc" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_payment_data"); ?>"/>
63
- <input class="PAYMILL_unknown_error-cc" type="hidden" value="<?php echo $this->__("PAYMILL_unknown_error"); ?>"/>
64
- <input class="PAYMILL_3ds_cancelled-cc" type="hidden" value="<?php echo $this->__("PAYMILL_3ds_cancelled"); ?>"/>
65
- <input class="PAYMILL_field_invalid_card_number-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_number"); ?>"/>
66
- <input class="PAYMILL_field_invalid_card_exp_year-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_year"); ?>"/>
67
- <input class="PAYMILL_field_invalid_card_exp_month-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_month"); ?>"/>
68
- <input class="PAYMILL_field_invalid_card_exp-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp"); ?>"/>
69
- <input class="PAYMILL_field_invalid_card_cvc-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_cvc"); ?>"/>
70
- <input class="PAYMILL_field_invalid_card_holder-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_holder"); ?>"/>
71
- <input class="PAYMILL_field_invalid_amount_int-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_amount_int"); ?>"/>
72
- <input class="PAYMILL_field_field_invalid_amount-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_invalid_amount"); ?>"/>
73
- <input class="PAYMILL_field_field_field_invalid_currency-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_field_invalid_currency"); ?>"/>
74
- <input class="PAYMILL_field_invalid_account_number-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_number"); ?>"/>
75
- <input class="PAYMILL_field_invalid_account_holder-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_holder"); ?>"/>
76
- <input class="PAYMILL_field_invalid_bank_code-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_code"); ?>"/>
77
- <input class="PAYMILL_field_invalid_iban-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_iban"); ?>"/>
78
- <input class="PAYMILL_field_invalid_bic-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bic"); ?>"/>
79
- <input class="PAYMILL_field_invalid_country-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_country"); ?>"/>
80
- <input class="PAYMILL_field_invalid_bank_data-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_data"); ?>"/>
81
- </li>
82
- <?php if (!is_null(Mage::getStoreConfig('payment/paymill_creditcard/checkout_desc', Mage::app()->getStore()->getStoreId()))): ?>
83
- <li>
84
- <?php echo Mage::getStoreConfig('payment/paymill_creditcard/checkout_desc', Mage::app()->getStore()->getStoreId()); ?>
85
- </li>
86
- <?php endif; ?>
87
- </ul>
88
-
89
- <script type="text/javascript">
90
- //<![CDATA[
91
- paymillCc = new Paymill();
92
- paymillCc.setPaymillCode('<?php echo $_code; ?>');
93
- paymillCc.setCodes();
94
- paymillCc.addPaymillEvents();
95
- <?php echo $this->getCreditCardLogosBrand();?>
96
- paymillCc.setBrandCreditcards(paymillCcBrands);
97
- //]]>
98
  </script>
1
+ <?php $_code = $this->getMethodCode(); ?>
2
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
3
+ <li>
4
+ <?php echo $this->getCreditCardLogosDisplay();?>
5
+ </li>
6
+ <li>
7
+ <label for="<?php echo $_code ?>_holdername" class="required"><em>*</em><?php echo $this->__("paymill_Holder") ?></label>
8
+ <div class="input-box">
9
+ <input value="<?php echo $this->getPaymentEntry($_code, 'card_holder'); ?>" type="text" id="<?php echo $_code ?>_holdername" class="input-text paymill-validate-cc-holder required-entry"/>
10
+ </div>
11
+ </li>
12
+ <li>
13
+ <label for="<?php echo $_code ?>_number" class="required"><em>*</em><?php echo $this->__("paymill_Number") ?></label>
14
+ <div class="input-box">
15
+ <input value="<?php echo $this->getPaymentEntry($_code, 'cc_number'); ?>" type="text" id="<?php echo $_code ?>_number" class="input-text paymill-validate-cc-number required-entry"/>
16
+ </div>
17
+ </li>
18
+ <li>
19
+ <label for="<?php echo $_code ?>_expiry_month" class="required"><em>*</em><?php echo $this->__("paymill_Date") ?></label>
20
+ <div class="input-box">
21
+ <div class="v-fix">
22
+ <select id="<?php echo $_code ?>_expiry_month" class="month paymill-validate-cc-expdate-month required-entry">
23
+ <?php foreach ($this->getPaymillCcMonths() as $k => $v): ?>
24
+ <option value="<?php echo $k ? $k : '' ?>"<?php if($this->isPaymentDataAvailable($_code) && $this->getPaymentEntry($_code, 'expire_month') == $k): ?> selected="selected"<?php else: ?><?php if ($k == $this->getInfoData($_code . '_expiry_month')): ?> selected="selected"<?php endif ?><?php endif ?>><?php echo $v ?></option>
25
+ <?php endforeach ?>
26
+ </select>
27
+ </div>
28
+ <div class="v-fix">
29
+ <select id="<?php echo $_code ?>_expiry_year" class="year paymill-validate-cc-expdate-year required-entry">
30
+ <?php foreach ($this->getPaymillCcYears() as $k => $v): ?>
31
+ <option value="<?php echo $k ? $k : '' ?>"<?php if($this->isPaymentDataAvailable($_code) && $this->getPaymentEntry($_code, 'expire_year') == $k): ?> selected="selected"<?php if ($k == $this->getInfoData($_code . '_expiry_year')): ?> selected="selected"<?php endif ?><?php endif ?>><?php echo $v ?></option>
32
+ <?php endforeach ?>
33
+ </select>
34
+ </div>
35
+ </div>
36
+ </li>
37
+ <li>
38
+ <label for="<?php echo $_code ?>_cvc" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
39
+ <div class="input-box">
40
+ <div class="v-fix">
41
+ <input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv paymill-validate-cc-cvc" id="<?php echo $_code ?>_cvc" value="<?php echo $this->getPaymentEntry($_code, 'cvc'); ?>" />
42
+ </div>
43
+ <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
44
+ </div>
45
+ </li>
46
+ <li>
47
+ <input class="paymill-payment-token-cc paymill-validate-cc-token" name="payment[paymill-payment-token-cc]" id="payment[paymill-payment-token-cc]" type="hidden" />
48
+ <input class="paymill_3ds_cancel" type="hidden" value="<?php echo $this->__("paymill_3ds_cancel"); ?>"/>
49
+ <input class="paymill-payment-token-url-cc" type="hidden" value="<?php echo $this->getUrl('paymill/token/total', array('_secure'=>true)); ?>"/>
50
+ <input class="paymill-payment-token-log-cc" type="hidden" value="<?php echo $this->getUrl('paymill/token/log', array('_secure'=>true)); ?>"/>
51
+ <input class="paymill-payment-currency-cc" type="hidden" value="<?php echo Mage::helper('paymill/paymentHelper')->getCurrency(Mage::getSingleton('checkout/session')->getQuote()); ?>"/>
52
+ <input class="paymill-option-debug-cc" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->isInDebugMode(); ?>"/>
53
+ <input class="paymill-info-public_key-cc" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->getPublicKey(); ?>"/>
54
+ <input class="paymill-info-fastCheckout-cc" type="hidden" value="<?php echo $this->isNormalCheckout($_code); ?>"/>
55
+ <input class="paymill-payment-error-number" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_number_cc");?>"/>
56
+ <input class="paymill-payment-error-holder" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_holder_cc"); ?>"/>
57
+ <input class="paymill-payment-error-expdate" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_expdate"); ?>"/>
58
+ <input class="paymill-payment-error-cvc" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_cvc"); ?>"/>
59
+ <input class="paymill-payment-error-cc-token" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_token"); ?>"/>
60
+ <input class="PAYMILL_internal_server_error-cc" type="hidden" value="<?php echo $this->__("PAYMILL_internal_server_error"); ?>"/>
61
+ <input class="PAYMILL_invalid_public_key-cc" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_public_key"); ?>"/>
62
+ <input class="PAYMILL_invalid_payment_data-cc" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_payment_data"); ?>"/>
63
+ <input class="PAYMILL_unknown_error-cc" type="hidden" value="<?php echo $this->__("PAYMILL_unknown_error"); ?>"/>
64
+ <input class="PAYMILL_3ds_cancelled-cc" type="hidden" value="<?php echo $this->__("PAYMILL_3ds_cancelled"); ?>"/>
65
+ <input class="PAYMILL_field_invalid_card_number-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_number"); ?>"/>
66
+ <input class="PAYMILL_field_invalid_card_exp_year-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_year"); ?>"/>
67
+ <input class="PAYMILL_field_invalid_card_exp_month-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_month"); ?>"/>
68
+ <input class="PAYMILL_field_invalid_card_exp-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp"); ?>"/>
69
+ <input class="PAYMILL_field_invalid_card_cvc-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_cvc"); ?>"/>
70
+ <input class="PAYMILL_field_invalid_card_holder-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_holder"); ?>"/>
71
+ <input class="PAYMILL_field_invalid_amount_int-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_amount_int"); ?>"/>
72
+ <input class="PAYMILL_field_field_invalid_amount-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_invalid_amount"); ?>"/>
73
+ <input class="PAYMILL_field_field_field_invalid_currency-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_field_invalid_currency"); ?>"/>
74
+ <input class="PAYMILL_field_invalid_account_number-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_number"); ?>"/>
75
+ <input class="PAYMILL_field_invalid_account_holder-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_holder"); ?>"/>
76
+ <input class="PAYMILL_field_invalid_bank_code-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_code"); ?>"/>
77
+ <input class="PAYMILL_field_invalid_iban-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_iban"); ?>"/>
78
+ <input class="PAYMILL_field_invalid_bic-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bic"); ?>"/>
79
+ <input class="PAYMILL_field_invalid_country-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_country"); ?>"/>
80
+ <input class="PAYMILL_field_invalid_bank_data-cc" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_data"); ?>"/>
81
+ </li>
82
+ <?php if (!is_null(Mage::getStoreConfig('payment/paymill_creditcard/checkout_desc', Mage::app()->getStore()->getStoreId()))): ?>
83
+ <li>
84
+ <?php echo Mage::getStoreConfig('payment/paymill_creditcard/checkout_desc', Mage::app()->getStore()->getStoreId()); ?>
85
+ </li>
86
+ <?php endif; ?>
87
+ </ul>
88
+
89
+ <script type="text/javascript">
90
+ //<![CDATA[
91
+ paymillCreditcard = new Paymill('<?php echo $_code; ?>');
92
+ paymillCreditcard.setValidationRules();
93
+ paymillCreditcard.setEventListener('<?php echo Mage::helper('paymill/optionHelper')->getTokenSelector(); ?>');
94
+ <?php echo $this->getCreditCardLogosBrand(); ?>
95
+ paymillCreditcard.setCreditcards(paymillCcBrands);
96
+ //]]>
 
97
  </script>
app/design/frontend/base/default/template/paymill/payment/form/directdebit.phtml CHANGED
@@ -1,72 +1,71 @@
1
- <?php $_code = $this->getMethodCode(); ?>
2
- <?php $fastCheckoutData = $this->getPaymentEntryElv($_code); ?>
3
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
4
- <li>
5
- <p class="paymill-payment-errors alert-error" style="display:none;"></p>
6
- </li>
7
- <li>
8
- <label for="<?php echo $_code ?>_holdername" class="required"><em>*</em><?php echo $this->__("paymill_Holder") ?></label>
9
- <div class="input-box">
10
- <input value="<?php echo $this->getPaymentEntry($_code, 'holder'); ?>" type="text" id="<?php echo $_code ?>_holdername" class="input-text paymill-validate-dd-holdername required-entry"/>
11
- </div>
12
- </li>
13
- <li>
14
- <label for="<?php echo $_code ?>_account_iban" class="required"><em>*</em><?php echo $this->__("paymill_iban") ?> / <?php echo $this->__("paymill_account") ?></label>
15
- <div class="input-box">
16
- <input value="<?php echo $fastCheckoutData[0]; ?>" type="text" id="<?php echo $_code ?>_account_iban" class="input-text paymill-validate-dd-account-iban required-entry"/>
17
- </div>
18
- </li>
19
- <li>
20
- <label for="<?php echo $_code ?>_bankcode_bic" class="required"><em>*</em><?php echo $this->__("paymill_bic") ?> / <?php echo $this->__("paymill_bankcode") ?></label>
21
- <div class="input-box">
22
- <input value="<?php echo $fastCheckoutData[1]; ?>" type="text" id="<?php echo $_code ?>_bankcode_bic" class="input-text paymill-validate-dd-bankcode-bic required-entry"/>
23
- </div>
24
- </li>
25
- <li>
26
- <input class="paymill-payment-token-elv paymill-validate-elv-token" name="payment[paymill-payment-token-elv]" id="payment[paymill-payment-token-elv]" type="hidden" />
27
- <input class="paymill-option-debug-elv" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->isInDebugMode(); ?>" />
28
- <input class="paymill-info-public_key-elv" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->getPublicKey(); ?>" />
29
- <input class="paymill-info-fastCheckout-elv" type="hidden" value="<?php echo $this->isNormalCheckout($_code); ?>" />
30
- <input class="paymill-payment-token-log-elv" type="hidden" value="<?php echo $this->getUrl('paymill/token/log', array('_secure'=>true)); ?>"/>
31
- <input class="paymill-payment-error-number-elv" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_number_elv"); ?>" />
32
- <input class="paymill-payment-error-holder-elv" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_holder_elv"); ?>" />
33
- <input class="paymill-payment-error-number-iban-elv" type="hidden" value="<?php echo $this->__("paymill_feedback_error_directdebit_number_iban"); ?>" />
34
- <input class="paymill-payment-error-bankcode" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_bankcode"); ?>" />
35
- <input class="paymill-payment-error-bankcode-bic-elv" type="hidden" value="<?php echo $this->__("paymill_feedback_error_directdebit_bankcode_bic"); ?>" />
36
- <input class="paymill-payment-error-elv-token" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_token"); ?>"/>
37
- <input class="PAYMILL_internal_server_error-elv" type="hidden" value="<?php echo $this->__("PAYMILL_internal_server_error"); ?>"/>
38
- <input class="PAYMILL_invalid_public_key-elv" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_public_key"); ?>"/>
39
- <input class="PAYMILL_invalid_payment_data-elv" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_payment_data"); ?>"/>
40
- <input class="PAYMILL_unknown_error-elv" type="hidden" value="<?php echo $this->__("PAYMILL_unknown_error"); ?>"/>
41
- <input class="PAYMILL_3ds_cancelled-elv" type="hidden" value="<?php echo $this->__("PAYMILL_3ds_cancelled"); ?>"/>
42
- <input class="PAYMILL_field_invalid_card_number-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_number"); ?>"/>
43
- <input class="PAYMILL_field_invalid_card_exp_year-ekv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_year"); ?>"/>
44
- <input class="PAYMILL_field_invalid_card_exp_month-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_month"); ?>"/>
45
- <input class="PAYMILL_field_invalid_card_exp-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp"); ?>"/>
46
- <input class="PAYMILL_field_invalid_card_cvc-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_cvc"); ?>"/>
47
- <input class="PAYMILL_field_invalid_card_holder-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_holder"); ?>"/>
48
- <input class="PAYMILL_field_invalid_amount_int-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_amount_int"); ?>"/>
49
- <input class="PAYMILL_field_field_invalid_amount-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_invalid_amount"); ?>"/>
50
- <input class="PAYMILL_field_field_field_invalid_currency-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_field_invalid_currency"); ?>"/>
51
- <input class="PAYMILL_field_invalid_account_number-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_number"); ?>"/>
52
- <input class="PAYMILL_field_invalid_account_holder-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_holder"); ?>"/>
53
- <input class="PAYMILL_field_invalid_bank_code-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_code"); ?>"/>
54
- <input class="PAYMILL_field_invalid_iban-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_iban"); ?>"/>
55
- <input class="PAYMILL_field_invalid_bic-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bic"); ?>"/>
56
- <input class="PAYMILL_field_invalid_country-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_country"); ?>"/>
57
- <input class="PAYMILL_field_invalid_bank_data-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_data"); ?>"/>
58
- </li>
59
- <?php if (!is_null(Mage::getStoreConfig('payment/paymill_directdebit/checkout_desc', Mage::app()->getStore()->getStoreId()))): ?>
60
- <li>
61
- <?php echo Mage::getStoreConfig('payment/paymill_directdebit/checkout_desc', Mage::app()->getStore()->getStoreId()); ?>
62
- </li>
63
- <?php endif; ?>
64
- </ul>
65
- <script type="text/javascript">
66
- //<![CDATA[
67
- paymillElv = new Paymill();
68
- paymillElv.setPaymillCode('<?php echo $_code; ?>');
69
- paymillElv.setCodes();
70
- paymillElv.addPaymillEvents();
71
- //]]>
72
  </script>
1
+ <?php $_code = $this->getMethodCode(); ?>
2
+ <?php $fastCheckoutData = $this->getPaymentEntryElv($_code); ?>
3
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
4
+ <li>
5
+ <p class="paymill-payment-errors alert-error" style="display:none;"></p>
6
+ </li>
7
+ <li>
8
+ <label for="<?php echo $_code ?>_holdername" class="required"><em>*</em><?php echo $this->__("paymill_Holder") ?></label>
9
+ <div class="input-box">
10
+ <input value="<?php echo $this->getPaymentEntry($_code, 'holder'); ?>" type="text" id="<?php echo $_code ?>_holdername" class="input-text paymill-validate-dd-holdername required-entry"/>
11
+ </div>
12
+ </li>
13
+ <li>
14
+ <label for="<?php echo $_code ?>_account_iban" class="required"><em>*</em><?php echo $this->__("paymill_iban") ?> / <?php echo $this->__("paymill_account") ?></label>
15
+ <div class="input-box">
16
+ <input value="<?php echo $fastCheckoutData[0]; ?>" type="text" id="<?php echo $_code ?>_account_iban" class="input-text paymill-validate-dd-account-iban required-entry"/>
17
+ </div>
18
+ </li>
19
+ <li>
20
+ <label for="<?php echo $_code ?>_bankcode_bic" class="required"><em>*</em><?php echo $this->__("paymill_bic") ?> / <?php echo $this->__("paymill_bankcode") ?></label>
21
+ <div class="input-box">
22
+ <input value="<?php echo $fastCheckoutData[1]; ?>" type="text" id="<?php echo $_code ?>_bankcode_bic" class="input-text paymill-validate-dd-bankcode-bic required-entry"/>
23
+ </div>
24
+ </li>
25
+ <li>
26
+ <input class="paymill-payment-token-elv paymill-validate-elv-token" name="payment[paymill-payment-token-elv]" id="payment[paymill-payment-token-elv]" type="hidden" />
27
+ <input class="paymill-option-debug-elv" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->isInDebugMode(); ?>" />
28
+ <input class="paymill-info-public_key-elv" type="hidden" value="<?php echo Mage::helper('paymill/optionHelper')->getPublicKey(); ?>" />
29
+ <input class="paymill-info-fastCheckout-elv" type="hidden" value="<?php echo $this->isNormalCheckout($_code); ?>" />
30
+ <input class="paymill-payment-token-log-elv" type="hidden" value="<?php echo $this->getUrl('paymill/token/log', array('_secure'=>true)); ?>"/>
31
+ <input class="paymill-payment-error-number-elv" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_number_elv"); ?>" />
32
+ <input class="paymill-payment-error-holder-elv" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_holder_elv"); ?>" />
33
+ <input class="paymill-payment-error-number-iban-elv" type="hidden" value="<?php echo $this->__("paymill_feedback_error_directdebit_number_iban"); ?>" />
34
+ <input class="paymill-payment-error-bankcode" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_bankcode"); ?>" />
35
+ <input class="paymill-payment-error-bankcode-bic-elv" type="hidden" value="<?php echo $this->__("paymill_feedback_error_directdebit_bankcode_bic"); ?>" />
36
+ <input class="paymill-payment-error-elv-token" type="hidden" value="<?php echo $this->__("paymill_error_text_invalid_token"); ?>"/>
37
+ <input class="PAYMILL_internal_server_error-elv" type="hidden" value="<?php echo $this->__("PAYMILL_internal_server_error"); ?>"/>
38
+ <input class="PAYMILL_invalid_public_key-elv" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_public_key"); ?>"/>
39
+ <input class="PAYMILL_invalid_payment_data-elv" type="hidden" value="<?php echo $this->__("PAYMILL_invalid_payment_data"); ?>"/>
40
+ <input class="PAYMILL_unknown_error-elv" type="hidden" value="<?php echo $this->__("PAYMILL_unknown_error"); ?>"/>
41
+ <input class="PAYMILL_3ds_cancelled-elv" type="hidden" value="<?php echo $this->__("PAYMILL_3ds_cancelled"); ?>"/>
42
+ <input class="PAYMILL_field_invalid_card_number-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_number"); ?>"/>
43
+ <input class="PAYMILL_field_invalid_card_exp_year-ekv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_year"); ?>"/>
44
+ <input class="PAYMILL_field_invalid_card_exp_month-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp_month"); ?>"/>
45
+ <input class="PAYMILL_field_invalid_card_exp-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_exp"); ?>"/>
46
+ <input class="PAYMILL_field_invalid_card_cvc-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_cvc"); ?>"/>
47
+ <input class="PAYMILL_field_invalid_card_holder-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_card_holder"); ?>"/>
48
+ <input class="PAYMILL_field_invalid_amount_int-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_amount_int"); ?>"/>
49
+ <input class="PAYMILL_field_field_invalid_amount-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_invalid_amount"); ?>"/>
50
+ <input class="PAYMILL_field_field_field_invalid_currency-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_field_field_invalid_currency"); ?>"/>
51
+ <input class="PAYMILL_field_invalid_account_number-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_number"); ?>"/>
52
+ <input class="PAYMILL_field_invalid_account_holder-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_account_holder"); ?>"/>
53
+ <input class="PAYMILL_field_invalid_bank_code-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_code"); ?>"/>
54
+ <input class="PAYMILL_field_invalid_iban-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_iban"); ?>"/>
55
+ <input class="PAYMILL_field_invalid_bic-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bic"); ?>"/>
56
+ <input class="PAYMILL_field_invalid_country-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_country"); ?>"/>
57
+ <input class="PAYMILL_field_invalid_bank_data-elv" type="hidden" value="<?php echo $this->__("PAYMILL_field_invalid_bank_data"); ?>"/>
58
+ </li>
59
+ <?php if (!is_null(Mage::getStoreConfig('payment/paymill_directdebit/checkout_desc', Mage::app()->getStore()->getStoreId()))): ?>
60
+ <li>
61
+ <?php echo Mage::getStoreConfig('payment/paymill_directdebit/checkout_desc', Mage::app()->getStore()->getStoreId()); ?>
62
+ </li>
63
+ <?php endif; ?>
64
+ </ul>
65
+ <script type="text/javascript">
66
+ //<![CDATA[
67
+ paymillElv = new Paymill('<?php echo $_code; ?>');
68
+ paymillElv.setValidationRules();
69
+ paymillElv.setEventListener('<?php echo Mage::helper('paymill/optionHelper')->getTokenSelector(); ?>');
70
+ //]]>
 
71
  </script>
app/design/frontend/base/default/template/paymill/payment/info/creditcard.phtml CHANGED
@@ -1,6 +1,6 @@
1
- <table>
2
- <tr>
3
- <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
4
- </tr>
5
- </table>
6
  <?php echo $this->getChildHtml() ?>
1
+ <table>
2
+ <tr>
3
+ <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
4
+ </tr>
5
+ </table>
6
  <?php echo $this->getChildHtml() ?>
app/design/frontend/base/default/template/paymill/payment/info/directdebit.phtml CHANGED
@@ -1,13 +1,13 @@
1
- <table>
2
- <tr>
3
- <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
4
- </tr>
5
- <?php if(!is_null($this->getInfo()->getAdditionalInformation('paymillPrenotificationDate'))) : ?>
6
- <tr>
7
- <td>
8
- <?php echo $this->__('paymill_prenotification_text') . " " . $this->getInfo()->getAdditionalInformation('paymillPrenotificationDate'); ?>
9
- </td>
10
- </tr>
11
- <?php endif; ?>
12
- </table>
13
  <?php echo $this->getChildHtml() ?>
1
+ <table>
2
+ <tr>
3
+ <td><?php echo $this->htmlEscape($this->getMethod()->getTitle()) ?></td>
4
+ </tr>
5
+ <?php if(!is_null($this->getInfo()->getAdditionalInformation('paymillPrenotificationDate'))) : ?>
6
+ <tr>
7
+ <td>
8
+ <?php echo $this->__('paymill_prenotification_text') . " " . $this->getInfo()->getAdditionalInformation('paymillPrenotificationDate'); ?>
9
+ </td>
10
+ </tr>
11
+ <?php endif; ?>
12
+ </table>
13
  <?php echo $this->getChildHtml() ?>
app/etc/modules/Paymill_Paymill.xml CHANGED
@@ -1,16 +1,16 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <modules>
4
- <!-- declare CompanyName_NewModule module -->
5
- <Paymill_Paymill>
6
- <!-- this is an active module -->
7
- <active>true</active>
8
- <!-- this module will be located in app/code/local code pool -->
9
- <codePool>community</codePool>
10
- <!-- specify dependencies for correct module loading order -->
11
- <depends>
12
- <Mage_Payment />
13
- </depends>
14
- </Paymill_Paymill>
15
- </modules>
16
- </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <!-- declare CompanyName_NewModule module -->
5
+ <Paymill_Paymill>
6
+ <!-- this is an active module -->
7
+ <active>true</active>
8
+ <!-- this module will be located in app/code/local code pool -->
9
+ <codePool>community</codePool>
10
+ <!-- specify dependencies for correct module loading order -->
11
+ <depends>
12
+ <Mage_Payment />
13
+ </depends>
14
+ </Paymill_Paymill>
15
+ </modules>
16
+ </config>
app/locale/de_AT/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Betrag
2
- paymill_accepted_currency,"Akzeptierte Währungen"
3
- paymill_opt_Enabled,Aktivieren
4
- paymill_opt_Countries,"Erlaubte Länder"
5
- paymill_Activate_Debugging,"Debugging aktivieren"
6
- paymill_fc_active,"Fast Checkout erlauben"
7
- paymill_Activate_Logging,"Logging aktivieren"
8
- paymill_preAuth_active,"Kreditkarten Transaktionen im Checkout autorisieren, Buchung bei Rechnungsgenerierung durchführen."
9
- paymill_private_key_comment,"Ihren Private Key können Sie dem PAYMILL Cockpit entnehmen."
10
- paymill_Private_Key,"Private Key"
11
- paymill_public_key_comment,"Ihren Public Key können Sie dem PAYMILL Cockpit entnehmen."
12
- paymill_Public_Key,"Public Key"
13
- paymill_Show_Label,"PAYMILL Label im Checkout anzeigen"
14
- paymill_opt_Sort,Reihenfolge
15
- paymill_token_tolerace_tooltip,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
16
- paymill_token_tolerace_comment,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
17
- paymill_token_tolerace,"Token Toleranz Wert"
18
- paymill_Currency,Währung
19
- paymill_error_text_invalid_cvc,"Ungültige CVC"
20
- PAYMILL_field_invalid_card_cvc,"Ungültige CVC"
21
- paymill_error_text_invalid_holder_cc,"Bitte geben Sie einen Inhabernamen an."
22
- PAYMILL_field_invalid_card_holder,"Bitte geben Sie einen Inhabernamen an."
23
- paymill_error_text_invalid_number_cc,"Bitte geben Sie eine gültige Kreditkartennummer ein."
24
- PAYMILL_field_invalid_card_number,"Bitte geben Sie eine gültige Kreditkartennummer ein."
25
- paymill_error_text_invalid_expdate,"Ungültiges Ablaufdatum"
26
- PAYMILL_field_invalid_bank_code,"Bitte geben Sie eine gültige Bankleitzahl an"
27
- paymill_error_text_invalid_bankcode,"Bitte geben Sie eine gültige Bankleitzahl an"
28
- paymill_error_text_invalid_holder_elv,"Bitte geben Sie den Namen des Kontoinhabers an"
29
- PAYMILL_field_invalid_account_holder,"Bitte geben Sie den Namen des Kontoinhabers an"
30
- paymill_error_text_invalid_number_elv,"Bitte geben Sie eine gültige Kontonummer ein"
31
- PAYMILL_field_invalid_account_number,"Bitte geben Sie eine gültige Kontonummer ein"
32
- paymill_error_text_invalid_payment,"Zahlart konnte nicht identifiziert werden. Bitte kontaktieren Sie den Support."
33
- paymill_dialog_confirm,"Sind Sie sicher?"
34
- paymill_slogan,"Sichere Kreditkartenzahlung powered by "
35
- paymill_slogan_elv,"ELV powered by "
36
- paymill_credit_card,Kreditkarte
37
- paymill_creditcard,Kreditkarte
38
- paymill_3ds_cancel,Abbrechen
39
- paymill_Cvc,CVC
40
- paymill_Holder,Karteninhaber
41
- paymill_Number,Kartennummer
42
- paymill_Date,"Gültig bis"
43
- paymill_cvc_tooltip,"Hinter dem CVV-Code bzw. CVC verbirgt sich ein Sicherheitsmerkmal von Kreditkarten, üblicherweise handelt es sich dabei um eine drei- bis vierstelligen Nummer. Der CVV-Code befindet sich auf VISA-Kreditkarten. Der gleiche Code ist auch auf MasterCard-Kreditkarten zu finden, hier allerdings unter dem Namen CVC. Die Abkürzung CVC steht dabei für Card Validation Code. Bei VISA wird der Code als Card Verification Value-Code bezeichnet. Ähnlich wie bei Mastercard und VISA gibt es auch bei Diners Club, Discover und JCB eine dreistellige Nummer, die meist auf der Rückseite der Karte zu finden ist. Bei Maestro-Karten gibt es mit und ohne dreistelligen CVV. Wird eine Maestro-Karte ohne CVV verwendet kann einfach 000 eingetragen werden. American Express verwendet die CID (Card Identification Number). Dabei handelt es sich um eine vierstellige Nummer, die meist auf der Vorderseite der Karte, rechts oberhalb der Kartennummer zu finden ist."
44
- paymill_directdebit,ELV
45
- paymill_direct_debit,ELV
46
- paymill_bankcode,Bankleitzahl
47
- paymill_account,Kontonummer
48
- paymill_backend_log_entry_date,Eintragsdatum
49
- paymill_backend_log_dev_info,"Entwickler Informationen"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Händler Informationen"
52
- paymill_log,"PAYMILL Log"
53
- paymill_backend_log_version,Modulversion
54
- paymill_credit_card_label,"PAYMILL Kreditkartenzahlung"
55
- paymill_direct_debit_label,"PAYMILL ELV"
56
- paymill_activate_sepa,"SEPA Formular anzeigen"
57
- paymill_Basic_Setting,"Paymill Grundeinstellungen"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Bitte geben Sie Ihren Public Key an."
61
- paymill_private_key_tooltip,"Bitte geben Sie Ihren Private Key an."
62
- paymill_error_text_invalid_token,"Der folgende Fehler ist aufgetreten:"
63
- paymill_error_text_no_entry_selected,"Bitte wählen Sie einen Eintrag aus"
64
- paymill_action_delete,"Eintrag löschen"
65
- paymill_backend_log_dev_info_additional,"Detail Debug Informationen"
66
- paymill_checkout_generating_invoice,"Rechnung wird generiert"
67
- paymill_log_action_success,"Ihre Operation war erfolgreich"
68
- paymill_checkout_desc,Beschreibung
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Rechnungsemail senden"
122
- paymill_error_text_invalid_iban_elv,"Bitte geben Sie eine gültige IBAN an."
123
- paymill_error_text_invalid_bic,"Bitte geben Sie eine gültige BIC an."
124
- paymill_accepted_creditcards,"Akzeptierte Kreditkarten"
125
- paymill_feedback_error_directdebit_number_iban,"Bitte geben Sie eine gültige IBAN/Kontonummer ein."
126
- paymill_feedback_error_directdebit_bankcode_bic,"Bitte geben Sie eine gültige BIC/Bankleitzahl an."
127
- paymill_prenotification,"Tage bis zum Einzug"
128
- paymill_prenotification_text,"Die Lastschrift wird zu dem folgenden Termin eingezogen:"
129
- paymill_show_creditcards,"Anzeige von Kreditkarten Logos"
130
- paymill_select_creditcards,"Selektiere Kreditkarten Logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Betrag
2
+ paymill_accepted_currency,"Akzeptierte Währungen"
3
+ paymill_opt_Enabled,Aktivieren
4
+ paymill_opt_Countries,"Erlaubte Länder"
5
+ paymill_Activate_Debugging,"Debugging aktivieren"
6
+ paymill_fc_active,"Fast Checkout erlauben"
7
+ paymill_Activate_Logging,"Logging aktivieren"
8
+ paymill_preAuth_active,"Kreditkarten Transaktionen im Checkout autorisieren, Buchung bei Rechnungsgenerierung durchführen."
9
+ paymill_private_key_comment,"Ihren Private Key können Sie dem PAYMILL Cockpit entnehmen."
10
+ paymill_Private_Key,"Private Key"
11
+ paymill_public_key_comment,"Ihren Public Key können Sie dem PAYMILL Cockpit entnehmen."
12
+ paymill_Public_Key,"Public Key"
13
+ paymill_Show_Label,"PAYMILL Label im Checkout anzeigen"
14
+ paymill_opt_Sort,Reihenfolge
15
+ paymill_token_tolerace_tooltip,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
16
+ paymill_token_tolerace_comment,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
17
+ paymill_token_tolerace,"Token Toleranz Wert"
18
+ paymill_Currency,Währung
19
+ paymill_error_text_invalid_cvc,"Ungültige CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Ungültige CVC"
21
+ paymill_error_text_invalid_holder_cc,"Bitte geben Sie einen Inhabernamen an."
22
+ PAYMILL_field_invalid_card_holder,"Bitte geben Sie einen Inhabernamen an."
23
+ paymill_error_text_invalid_number_cc,"Bitte geben Sie eine gültige Kreditkartennummer ein."
24
+ PAYMILL_field_invalid_card_number,"Bitte geben Sie eine gültige Kreditkartennummer ein."
25
+ paymill_error_text_invalid_expdate,"Ungültiges Ablaufdatum"
26
+ PAYMILL_field_invalid_bank_code,"Bitte geben Sie eine gültige Bankleitzahl an"
27
+ paymill_error_text_invalid_bankcode,"Bitte geben Sie eine gültige Bankleitzahl an"
28
+ paymill_error_text_invalid_holder_elv,"Bitte geben Sie den Namen des Kontoinhabers an"
29
+ PAYMILL_field_invalid_account_holder,"Bitte geben Sie den Namen des Kontoinhabers an"
30
+ paymill_error_text_invalid_number_elv,"Bitte geben Sie eine gültige Kontonummer ein"
31
+ PAYMILL_field_invalid_account_number,"Bitte geben Sie eine gültige Kontonummer ein"
32
+ paymill_error_text_invalid_payment,"Zahlart konnte nicht identifiziert werden. Bitte kontaktieren Sie den Support."
33
+ paymill_dialog_confirm,"Sind Sie sicher?"
34
+ paymill_slogan,"Sichere Kreditkartenzahlung powered by "
35
+ paymill_slogan_elv,"ELV powered by "
36
+ paymill_credit_card,Kreditkarte
37
+ paymill_creditcard,Kreditkarte
38
+ paymill_3ds_cancel,Abbrechen
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,Karteninhaber
41
+ paymill_Number,Kartennummer
42
+ paymill_Date,"Gültig bis"
43
+ paymill_cvc_tooltip,"Hinter dem CVV-Code bzw. CVC verbirgt sich ein Sicherheitsmerkmal von Kreditkarten, üblicherweise handelt es sich dabei um eine drei- bis vierstelligen Nummer. Der CVV-Code befindet sich auf VISA-Kreditkarten. Der gleiche Code ist auch auf MasterCard-Kreditkarten zu finden, hier allerdings unter dem Namen CVC. Die Abkürzung CVC steht dabei für Card Validation Code. Bei VISA wird der Code als Card Verification Value-Code bezeichnet. Ähnlich wie bei Mastercard und VISA gibt es auch bei Diners Club, Discover und JCB eine dreistellige Nummer, die meist auf der Rückseite der Karte zu finden ist. Bei Maestro-Karten gibt es mit und ohne dreistelligen CVV. Wird eine Maestro-Karte ohne CVV verwendet kann einfach 000 eingetragen werden. American Express verwendet die CID (Card Identification Number). Dabei handelt es sich um eine vierstellige Nummer, die meist auf der Vorderseite der Karte, rechts oberhalb der Kartennummer zu finden ist."
44
+ paymill_directdebit,ELV
45
+ paymill_direct_debit,ELV
46
+ paymill_bankcode,Bankleitzahl
47
+ paymill_account,Kontonummer
48
+ paymill_backend_log_entry_date,Eintragsdatum
49
+ paymill_backend_log_dev_info,"Entwickler Informationen"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Händler Informationen"
52
+ paymill_log,"PAYMILL Log"
53
+ paymill_backend_log_version,Modulversion
54
+ paymill_credit_card_label,"PAYMILL Kreditkartenzahlung"
55
+ paymill_direct_debit_label,"PAYMILL ELV"
56
+ paymill_activate_sepa,"SEPA Formular anzeigen"
57
+ paymill_Basic_Setting,"Paymill Grundeinstellungen"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Bitte geben Sie Ihren Public Key an."
61
+ paymill_private_key_tooltip,"Bitte geben Sie Ihren Private Key an."
62
+ paymill_error_text_invalid_token,"Der folgende Fehler ist aufgetreten:"
63
+ paymill_error_text_no_entry_selected,"Bitte wählen Sie einen Eintrag aus"
64
+ paymill_action_delete,"Eintrag löschen"
65
+ paymill_backend_log_dev_info_additional,"Detail Debug Informationen"
66
+ paymill_checkout_generating_invoice,"Rechnung wird generiert"
67
+ paymill_log_action_success,"Ihre Operation war erfolgreich"
68
+ paymill_checkout_desc,Beschreibung
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Rechnungsemail senden"
122
+ paymill_error_text_invalid_iban_elv,"Bitte geben Sie eine gültige IBAN an."
123
+ paymill_error_text_invalid_bic,"Bitte geben Sie eine gültige BIC an."
124
+ paymill_accepted_creditcards,"Akzeptierte Kreditkarten"
125
+ paymill_feedback_error_directdebit_number_iban,"Bitte geben Sie eine gültige IBAN/Kontonummer ein."
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Bitte geben Sie eine gültige BIC/Bankleitzahl an."
127
+ paymill_prenotification,"Tage bis zum Einzug"
128
+ paymill_prenotification_text,"Die Lastschrift wird zu dem folgenden Termin eingezogen:"
129
+ paymill_show_creditcards,"Anzeige von Kreditkarten Logos"
130
+ paymill_select_creditcards,"Selektiere Kreditkarten Logos"
131
+ paymill_base_or_order_currency, "Shop basis Währung"
132
+ paymill_paymill_base_or_order_currency_tooltip, "Soll zum anlegen und für die weitere Verarbeitung der Bestellung die Shop Standard Währung oder die Bestell Währung verwendet werden?"
133
+ base_currency, "Basis Währung"
134
+ order_currency, "Bestell Währung"
135
+ paymill_token_creation_identifier_id, "Button selector zur Tokenerstellung"
136
+ paymill_token_creation_identifier_id_tooltip, "Hier kann ein Prototype selector angegeben werden, dieser bekommt im Checkout ein Click Event zur Tokenerstellung zugewiesen."
137
+ paymill_expert_settings, "Experten Einstellungen"
app/locale/de_CH/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Betrag
2
- paymill_accepted_currency,"Akzeptierte Währungen"
3
- paymill_opt_Enabled,Aktivieren
4
- paymill_opt_Countries,"Erlaubte Länder"
5
- paymill_Activate_Debugging,"Debugging aktivieren"
6
- paymill_fc_active,"Fast Checkout erlauben"
7
- paymill_Activate_Logging,"Logging aktivieren"
8
- paymill_preAuth_active,"Kreditkarten Transaktionen im Checkout autorisieren, Buchung bei Rechnungsgenerierung durchführen."
9
- paymill_private_key_comment,"Ihren Private Key können Sie dem PAYMILL Cockpit entnehmen."
10
- paymill_Private_Key,"Private Key"
11
- paymill_public_key_comment,"Ihren Public Key können Sie dem PAYMILL Cockpit entnehmen."
12
- paymill_Public_Key,"Public Key"
13
- paymill_Show_Label,"PAYMILL Label im Checkout anzeigen"
14
- paymill_opt_Sort,Reihenfolge
15
- paymill_token_tolerace_tooltip,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
16
- paymill_token_tolerace_comment,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
17
- paymill_token_tolerace,"Token Toleranz Wert"
18
- paymill_Currency,Währung
19
- paymill_error_text_invalid_cvc,"Ungültige CVC"
20
- PAYMILL_field_invalid_card_cvc,"Ungültige CVC"
21
- paymill_error_text_invalid_holder_cc,"Bitte geben Sie einen Inhabernamen an."
22
- PAYMILL_field_invalid_card_holder,"Bitte geben Sie einen Inhabernamen an."
23
- paymill_error_text_invalid_number_cc,"Bitte geben Sie eine gültige Kreditkartennummer ein."
24
- PAYMILL_field_invalid_card_number,"Bitte geben Sie eine gültige Kreditkartennummer ein."
25
- paymill_error_text_invalid_expdate,"Ungültiges Ablaufdatum"
26
- PAYMILL_field_invalid_bank_code,"Bitte geben Sie eine gültige Bankleitzahl an"
27
- paymill_error_text_invalid_bankcode,"Bitte geben Sie eine gültige Bankleitzahl an"
28
- paymill_error_text_invalid_holder_elv,"Bitte geben Sie den Namen des Kontoinhabers an"
29
- PAYMILL_field_invalid_account_holder,"Bitte geben Sie den Namen des Kontoinhabers an"
30
- paymill_error_text_invalid_number_elv,"Bitte geben Sie eine gültige Kontonummer ein"
31
- PAYMILL_field_invalid_account_number,"Bitte geben Sie eine gültige Kontonummer ein"
32
- paymill_error_text_invalid_payment,"Zahlart konnte nicht identifiziert werden. Bitte kontaktieren Sie den Support."
33
- paymill_dialog_confirm,"Sind Sie sicher?"
34
- paymill_slogan,"Sichere Kreditkartenzahlung powered by "
35
- paymill_slogan_elv,"ELV powered by "
36
- paymill_credit_card,Kreditkarte
37
- paymill_creditcard,Kreditkarte
38
- paymill_3ds_cancel,Abbrechen
39
- paymill_Cvc,CVC
40
- paymill_Holder,Karteninhaber
41
- paymill_Number,Kartennummer
42
- paymill_Date,"Gültig bis"
43
- paymill_cvc_tooltip,"Hinter dem CVV-Code bzw. CVC verbirgt sich ein Sicherheitsmerkmal von Kreditkarten, üblicherweise handelt es sich dabei um eine drei- bis vierstelligen Nummer. Der CVV-Code befindet sich auf VISA-Kreditkarten. Der gleiche Code ist auch auf MasterCard-Kreditkarten zu finden, hier allerdings unter dem Namen CVC. Die Abkürzung CVC steht dabei für Card Validation Code. Bei VISA wird der Code als Card Verification Value-Code bezeichnet. Ähnlich wie bei Mastercard und VISA gibt es auch bei Diners Club, Discover und JCB eine dreistellige Nummer, die meist auf der Rückseite der Karte zu finden ist. Bei Maestro-Karten gibt es mit und ohne dreistelligen CVV. Wird eine Maestro-Karte ohne CVV verwendet kann einfach 000 eingetragen werden. American Express verwendet die CID (Card Identification Number). Dabei handelt es sich um eine vierstellige Nummer, die meist auf der Vorderseite der Karte, rechts oberhalb der Kartennummer zu finden ist."
44
- paymill_directdebit,ELV
45
- paymill_direct_debit,ELV
46
- paymill_bankcode,Bankleitzahl
47
- paymill_account,Kontonummer
48
- paymill_backend_log_entry_date,Eintragsdatum
49
- paymill_backend_log_dev_info,"Entwickler Informationen"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Händler Informationen"
52
- paymill_log,"PAYMILL Log"
53
- paymill_backend_log_version,Modulversion
54
- paymill_credit_card_label,"PAYMILL Kreditkartenzahlung"
55
- paymill_direct_debit_label,"PAYMILL ELV"
56
- paymill_activate_sepa,"SEPA Formular anzeigen"
57
- paymill_Basic_Setting,"Paymill Grundeinstellungen"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Bitte geben Sie Ihren Public Key an."
61
- paymill_private_key_tooltip,"Bitte geben Sie Ihren Private Key an."
62
- paymill_error_text_invalid_token,"Der folgende Fehler ist aufgetreten:"
63
- paymill_error_text_no_entry_selected,"Bitte wählen Sie einen Eintrag aus"
64
- paymill_action_delete,"Eintrag löschen"
65
- paymill_backend_log_dev_info_additional,"Detail Debug Informationen"
66
- paymill_checkout_generating_invoice,"Rechnung wird generiert"
67
- paymill_log_action_success,"Ihre Operation war erfolgreich"
68
- paymill_checkout_desc,Beschreibung
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Rechnungsemail senden"
122
- paymill_error_text_invalid_iban_elv,"Bitte geben Sie eine gültige IBAN an."
123
- paymill_error_text_invalid_bic,"Bitte geben Sie eine gültige BIC an."
124
- paymill_accepted_creditcards,"Akzeptierte Kreditkarten"
125
- paymill_feedback_error_directdebit_number_iban,"Bitte geben Sie eine gültige IBAN/Kontonummer ein."
126
- paymill_feedback_error_directdebit_bankcode_bic,"Bitte geben Sie eine gültige BIC/Bankleitzahl an."
127
- paymill_prenotification,"Tage bis zum Einzug"
128
- paymill_prenotification_text,"Die Lastschrift wird zu dem folgenden Termin eingezogen:"
129
- paymill_show_creditcards,"Anzeige von Kreditkarten Logos"
130
- paymill_select_creditcards,"Selektiere Kreditkarten Logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Betrag
2
+ paymill_accepted_currency,"Akzeptierte Währungen"
3
+ paymill_opt_Enabled,Aktivieren
4
+ paymill_opt_Countries,"Erlaubte Länder"
5
+ paymill_Activate_Debugging,"Debugging aktivieren"
6
+ paymill_fc_active,"Fast Checkout erlauben"
7
+ paymill_Activate_Logging,"Logging aktivieren"
8
+ paymill_preAuth_active,"Kreditkarten Transaktionen im Checkout autorisieren, Buchung bei Rechnungsgenerierung durchführen."
9
+ paymill_private_key_comment,"Ihren Private Key können Sie dem PAYMILL Cockpit entnehmen."
10
+ paymill_Private_Key,"Private Key"
11
+ paymill_public_key_comment,"Ihren Public Key können Sie dem PAYMILL Cockpit entnehmen."
12
+ paymill_Public_Key,"Public Key"
13
+ paymill_Show_Label,"PAYMILL Label im Checkout anzeigen"
14
+ paymill_opt_Sort,Reihenfolge
15
+ paymill_token_tolerace_tooltip,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
16
+ paymill_token_tolerace_comment,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
17
+ paymill_token_tolerace,"Token Toleranz Wert"
18
+ paymill_Currency,Währung
19
+ paymill_error_text_invalid_cvc,"Ungültige CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Ungültige CVC"
21
+ paymill_error_text_invalid_holder_cc,"Bitte geben Sie einen Inhabernamen an."
22
+ PAYMILL_field_invalid_card_holder,"Bitte geben Sie einen Inhabernamen an."
23
+ paymill_error_text_invalid_number_cc,"Bitte geben Sie eine gültige Kreditkartennummer ein."
24
+ PAYMILL_field_invalid_card_number,"Bitte geben Sie eine gültige Kreditkartennummer ein."
25
+ paymill_error_text_invalid_expdate,"Ungültiges Ablaufdatum"
26
+ PAYMILL_field_invalid_bank_code,"Bitte geben Sie eine gültige Bankleitzahl an"
27
+ paymill_error_text_invalid_bankcode,"Bitte geben Sie eine gültige Bankleitzahl an"
28
+ paymill_error_text_invalid_holder_elv,"Bitte geben Sie den Namen des Kontoinhabers an"
29
+ PAYMILL_field_invalid_account_holder,"Bitte geben Sie den Namen des Kontoinhabers an"
30
+ paymill_error_text_invalid_number_elv,"Bitte geben Sie eine gültige Kontonummer ein"
31
+ PAYMILL_field_invalid_account_number,"Bitte geben Sie eine gültige Kontonummer ein"
32
+ paymill_error_text_invalid_payment,"Zahlart konnte nicht identifiziert werden. Bitte kontaktieren Sie den Support."
33
+ paymill_dialog_confirm,"Sind Sie sicher?"
34
+ paymill_slogan,"Sichere Kreditkartenzahlung powered by "
35
+ paymill_slogan_elv,"ELV powered by "
36
+ paymill_credit_card,Kreditkarte
37
+ paymill_creditcard,Kreditkarte
38
+ paymill_3ds_cancel,Abbrechen
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,Karteninhaber
41
+ paymill_Number,Kartennummer
42
+ paymill_Date,"Gültig bis"
43
+ paymill_cvc_tooltip,"Hinter dem CVV-Code bzw. CVC verbirgt sich ein Sicherheitsmerkmal von Kreditkarten, üblicherweise handelt es sich dabei um eine drei- bis vierstelligen Nummer. Der CVV-Code befindet sich auf VISA-Kreditkarten. Der gleiche Code ist auch auf MasterCard-Kreditkarten zu finden, hier allerdings unter dem Namen CVC. Die Abkürzung CVC steht dabei für Card Validation Code. Bei VISA wird der Code als Card Verification Value-Code bezeichnet. Ähnlich wie bei Mastercard und VISA gibt es auch bei Diners Club, Discover und JCB eine dreistellige Nummer, die meist auf der Rückseite der Karte zu finden ist. Bei Maestro-Karten gibt es mit und ohne dreistelligen CVV. Wird eine Maestro-Karte ohne CVV verwendet kann einfach 000 eingetragen werden. American Express verwendet die CID (Card Identification Number). Dabei handelt es sich um eine vierstellige Nummer, die meist auf der Vorderseite der Karte, rechts oberhalb der Kartennummer zu finden ist."
44
+ paymill_directdebit,ELV
45
+ paymill_direct_debit,ELV
46
+ paymill_bankcode,Bankleitzahl
47
+ paymill_account,Kontonummer
48
+ paymill_backend_log_entry_date,Eintragsdatum
49
+ paymill_backend_log_dev_info,"Entwickler Informationen"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Händler Informationen"
52
+ paymill_log,"PAYMILL Log"
53
+ paymill_backend_log_version,Modulversion
54
+ paymill_credit_card_label,"PAYMILL Kreditkartenzahlung"
55
+ paymill_direct_debit_label,"PAYMILL ELV"
56
+ paymill_activate_sepa,"SEPA Formular anzeigen"
57
+ paymill_Basic_Setting,"Paymill Grundeinstellungen"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Bitte geben Sie Ihren Public Key an."
61
+ paymill_private_key_tooltip,"Bitte geben Sie Ihren Private Key an."
62
+ paymill_error_text_invalid_token,"Der folgende Fehler ist aufgetreten:"
63
+ paymill_error_text_no_entry_selected,"Bitte wählen Sie einen Eintrag aus"
64
+ paymill_action_delete,"Eintrag löschen"
65
+ paymill_backend_log_dev_info_additional,"Detail Debug Informationen"
66
+ paymill_checkout_generating_invoice,"Rechnung wird generiert"
67
+ paymill_log_action_success,"Ihre Operation war erfolgreich"
68
+ paymill_checkout_desc,Beschreibung
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Rechnungsemail senden"
122
+ paymill_error_text_invalid_iban_elv,"Bitte geben Sie eine gültige IBAN an."
123
+ paymill_error_text_invalid_bic,"Bitte geben Sie eine gültige BIC an."
124
+ paymill_accepted_creditcards,"Akzeptierte Kreditkarten"
125
+ paymill_feedback_error_directdebit_number_iban,"Bitte geben Sie eine gültige IBAN/Kontonummer ein."
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Bitte geben Sie eine gültige BIC/Bankleitzahl an."
127
+ paymill_prenotification,"Tage bis zum Einzug"
128
+ paymill_prenotification_text,"Die Lastschrift wird zu dem folgenden Termin eingezogen:"
129
+ paymill_show_creditcards,"Anzeige von Kreditkarten Logos"
130
+ paymill_select_creditcards,"Selektiere Kreditkarten Logos"
131
+ paymill_base_or_order_currency, "Shop basis Währung"
132
+ paymill_paymill_base_or_order_currency_tooltip, "Soll zum anlegen und für die weitere Verarbeitung der Bestellung die Shop Standard Währung oder die Bestell Währung verwendet werden?"
133
+ base_currency, "Basis Währung"
134
+ order_currency, "Bestell Währung"
135
+ paymill_token_creation_identifier_id, "Button selector zur Tokenerstellung"
136
+ paymill_token_creation_identifier_id_tooltip, "Hier kann ein Prototype selector angegeben werden, dieser bekommt im Checkout ein Click Event zur Tokenerstellung zugewiesen."
137
+ paymill_expert_settings, "Experten Einstellungen"
app/locale/de_DE/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Betrag
2
- paymill_accepted_currency,"Akzeptierte Währungen"
3
- paymill_opt_Enabled,Aktivieren
4
- paymill_opt_Countries,"Erlaubte Länder"
5
- paymill_Activate_Debugging,"Debugging aktivieren"
6
- paymill_fc_active,"Fast Checkout erlauben"
7
- paymill_Activate_Logging,"Logging aktivieren"
8
- paymill_preAuth_active,"Kreditkarten Transaktionen im Checkout autorisieren, Buchung bei Rechnungsgenerierung durchführen."
9
- paymill_private_key_comment,"Ihren Private Key können Sie dem PAYMILL Cockpit entnehmen."
10
- paymill_Private_Key,"Private Key"
11
- paymill_public_key_comment,"Ihren Public Key können Sie dem PAYMILL Cockpit entnehmen."
12
- paymill_Public_Key,"Public Key"
13
- paymill_Show_Label,"PAYMILL Label im Checkout anzeigen"
14
- paymill_opt_Sort,Reihenfolge
15
- paymill_token_tolerace_tooltip,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
16
- paymill_token_tolerace_comment,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
17
- paymill_token_tolerace,"Token Toleranz Wert"
18
- paymill_Currency,Währung
19
- paymill_error_text_invalid_cvc,"Ungültige CVC"
20
- PAYMILL_field_invalid_card_cvc,"Ungültige CVC"
21
- paymill_error_text_invalid_holder_cc,"Bitte geben Sie einen Inhabernamen an."
22
- PAYMILL_field_invalid_card_holder,"Bitte geben Sie einen Inhabernamen an."
23
- paymill_error_text_invalid_number_cc,"Bitte geben Sie eine gültige Kreditkartennummer ein."
24
- PAYMILL_field_invalid_card_number,"Bitte geben Sie eine gültige Kreditkartennummer ein."
25
- paymill_error_text_invalid_expdate,"Ungültiges Ablaufdatum"
26
- PAYMILL_field_invalid_bank_code,"Bitte geben Sie eine gültige Bankleitzahl an"
27
- paymill_error_text_invalid_bankcode,"Bitte geben Sie eine gültige Bankleitzahl an"
28
- paymill_error_text_invalid_holder_elv,"Bitte geben Sie den Namen des Kontoinhabers an"
29
- PAYMILL_field_invalid_account_holder,"Bitte geben Sie den Namen des Kontoinhabers an"
30
- paymill_error_text_invalid_number_elv,"Bitte geben Sie eine gültige Kontonummer ein"
31
- PAYMILL_field_invalid_account_number,"Bitte geben Sie eine gültige Kontonummer ein"
32
- paymill_error_text_invalid_payment,"Zahlart konnte nicht identifiziert werden. Bitte kontaktieren Sie den Support."
33
- paymill_dialog_confirm,"Sind Sie sicher?"
34
- paymill_slogan,"Sichere Kreditkartenzahlung powered by "
35
- paymill_slogan_elv,"ELV powered by "
36
- paymill_credit_card,Kreditkarte
37
- paymill_creditcard,Kreditkarte
38
- paymill_3ds_cancel,Abbrechen
39
- paymill_Cvc,CVC
40
- paymill_Holder,Karteninhaber
41
- paymill_Number,Kartennummer
42
- paymill_Date,"Gültig bis"
43
- paymill_cvc_tooltip,"Hinter dem CVV-Code bzw. CVC verbirgt sich ein Sicherheitsmerkmal von Kreditkarten, üblicherweise handelt es sich dabei um eine drei- bis vierstelligen Nummer. Der CVV-Code befindet sich auf VISA-Kreditkarten. Der gleiche Code ist auch auf MasterCard-Kreditkarten zu finden, hier allerdings unter dem Namen CVC. Die Abkürzung CVC steht dabei für Card Validation Code. Bei VISA wird der Code als Card Verification Value-Code bezeichnet. Ähnlich wie bei Mastercard und VISA gibt es auch bei Diners Club, Discover und JCB eine dreistellige Nummer, die meist auf der Rückseite der Karte zu finden ist. Bei Maestro-Karten gibt es mit und ohne dreistelligen CVV. Wird eine Maestro-Karte ohne CVV verwendet kann einfach 000 eingetragen werden. American Express verwendet die CID (Card Identification Number). Dabei handelt es sich um eine vierstellige Nummer, die meist auf der Vorderseite der Karte, rechts oberhalb der Kartennummer zu finden ist."
44
- paymill_directdebit,ELV
45
- paymill_direct_debit,ELV
46
- paymill_bankcode,Bankleitzahl
47
- paymill_account,Kontonummer
48
- paymill_backend_log_entry_date,Eintragsdatum
49
- paymill_backend_log_dev_info,"Entwickler Informationen"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Händler Informationen"
52
- paymill_log,"PAYMILL Log"
53
- paymill_backend_log_version,Modulversion
54
- paymill_credit_card_label,"PAYMILL Kreditkartenzahlung"
55
- paymill_direct_debit_label,"PAYMILL ELV"
56
- paymill_activate_sepa,"SEPA Formular anzeigen"
57
- paymill_Basic_Setting,"Paymill Grundeinstellungen"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Bitte geben Sie Ihren Public Key an."
61
- paymill_private_key_tooltip,"Bitte geben Sie Ihren Private Key an."
62
- paymill_error_text_invalid_token,"Der folgende Fehler ist aufgetreten:"
63
- paymill_error_text_no_entry_selected,"Bitte wählen Sie einen Eintrag aus"
64
- paymill_action_delete,"Eintrag löschen"
65
- paymill_backend_log_dev_info_additional,"Detail Debug Informationen"
66
- paymill_checkout_generating_invoice,"Rechnung wird generiert"
67
- paymill_log_action_success,"Ihre Operation war erfolgreich"
68
- paymill_checkout_desc,Beschreibung
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Rechnungsemail senden"
122
- paymill_error_text_invalid_iban_elv,"Bitte geben Sie eine gültige IBAN an."
123
- paymill_error_text_invalid_bic,"Bitte geben Sie eine gültige BIC an."
124
- paymill_accepted_creditcards,"Akzeptierte Kreditkarten"
125
- paymill_feedback_error_directdebit_number_iban,"Bitte geben Sie eine gültige IBAN/Kontonummer ein."
126
- paymill_feedback_error_directdebit_bankcode_bic,"Bitte geben Sie eine gültige BIC/Bankleitzahl an."
127
- paymill_prenotification,"Tage bis zum Einzug"
128
- paymill_prenotification_text,"Die Lastschrift wird zu dem folgenden Termin eingezogen:"
129
- paymill_show_creditcards,"Anzeige von Kreditkarten Logos"
130
- paymill_select_creditcards,"Selektiere Kreditkarten Logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Betrag
2
+ paymill_accepted_currency,"Akzeptierte Währungen"
3
+ paymill_opt_Enabled,Aktivieren
4
+ paymill_opt_Countries,"Erlaubte Länder"
5
+ paymill_Activate_Debugging,"Debugging aktivieren"
6
+ paymill_fc_active,"Fast Checkout erlauben"
7
+ paymill_Activate_Logging,"Logging aktivieren"
8
+ paymill_preAuth_active,"Kreditkarten Transaktionen im Checkout autorisieren, Buchung bei Rechnungsgenerierung durchführen."
9
+ paymill_private_key_comment,"Ihren Private Key können Sie dem PAYMILL Cockpit entnehmen."
10
+ paymill_Private_Key,"Private Key"
11
+ paymill_public_key_comment,"Ihren Public Key können Sie dem PAYMILL Cockpit entnehmen."
12
+ paymill_Public_Key,"Public Key"
13
+ paymill_Show_Label,"PAYMILL Label im Checkout anzeigen"
14
+ paymill_opt_Sort,Reihenfolge
15
+ paymill_token_tolerace_tooltip,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
16
+ paymill_token_tolerace_comment,"Wert der bei Generierung des PAYMILL Tokens aufgeschlagen wird, um 3-D Secure Abweichungen zu vermeiden."
17
+ paymill_token_tolerace,"Token Toleranz Wert"
18
+ paymill_Currency,Währung
19
+ paymill_error_text_invalid_cvc,"Ungültige CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Ungültige CVC"
21
+ paymill_error_text_invalid_holder_cc,"Bitte geben Sie einen Inhabernamen an."
22
+ PAYMILL_field_invalid_card_holder,"Bitte geben Sie einen Inhabernamen an."
23
+ paymill_error_text_invalid_number_cc,"Bitte geben Sie eine gültige Kreditkartennummer ein."
24
+ PAYMILL_field_invalid_card_number,"Bitte geben Sie eine gültige Kreditkartennummer ein."
25
+ paymill_error_text_invalid_expdate,"Ungültiges Ablaufdatum"
26
+ PAYMILL_field_invalid_bank_code,"Bitte geben Sie eine gültige Bankleitzahl an"
27
+ paymill_error_text_invalid_bankcode,"Bitte geben Sie eine gültige Bankleitzahl an"
28
+ paymill_error_text_invalid_holder_elv,"Bitte geben Sie den Namen des Kontoinhabers an"
29
+ PAYMILL_field_invalid_account_holder,"Bitte geben Sie den Namen des Kontoinhabers an"
30
+ paymill_error_text_invalid_number_elv,"Bitte geben Sie eine gültige Kontonummer ein"
31
+ PAYMILL_field_invalid_account_number,"Bitte geben Sie eine gültige Kontonummer ein"
32
+ paymill_error_text_invalid_payment,"Zahlart konnte nicht identifiziert werden. Bitte kontaktieren Sie den Support."
33
+ paymill_dialog_confirm,"Sind Sie sicher?"
34
+ paymill_slogan,"Sichere Kreditkartenzahlung powered by "
35
+ paymill_slogan_elv,"ELV powered by "
36
+ paymill_credit_card,Kreditkarte
37
+ paymill_creditcard,Kreditkarte
38
+ paymill_3ds_cancel,Abbrechen
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,Karteninhaber
41
+ paymill_Number,Kartennummer
42
+ paymill_Date,"Gültig bis"
43
+ paymill_cvc_tooltip,"Hinter dem CVV-Code bzw. CVC verbirgt sich ein Sicherheitsmerkmal von Kreditkarten, üblicherweise handelt es sich dabei um eine drei- bis vierstelligen Nummer. Der CVV-Code befindet sich auf VISA-Kreditkarten. Der gleiche Code ist auch auf MasterCard-Kreditkarten zu finden, hier allerdings unter dem Namen CVC. Die Abkürzung CVC steht dabei für Card Validation Code. Bei VISA wird der Code als Card Verification Value-Code bezeichnet. Ähnlich wie bei Mastercard und VISA gibt es auch bei Diners Club, Discover und JCB eine dreistellige Nummer, die meist auf der Rückseite der Karte zu finden ist. Bei Maestro-Karten gibt es mit und ohne dreistelligen CVV. Wird eine Maestro-Karte ohne CVV verwendet kann einfach 000 eingetragen werden. American Express verwendet die CID (Card Identification Number). Dabei handelt es sich um eine vierstellige Nummer, die meist auf der Vorderseite der Karte, rechts oberhalb der Kartennummer zu finden ist."
44
+ paymill_directdebit,ELV
45
+ paymill_direct_debit,ELV
46
+ paymill_bankcode,Bankleitzahl
47
+ paymill_account,Kontonummer
48
+ paymill_backend_log_entry_date,Eintragsdatum
49
+ paymill_backend_log_dev_info,"Entwickler Informationen"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Händler Informationen"
52
+ paymill_log,"PAYMILL Log"
53
+ paymill_backend_log_version,Modulversion
54
+ paymill_credit_card_label,"PAYMILL Kreditkartenzahlung"
55
+ paymill_direct_debit_label,"PAYMILL ELV"
56
+ paymill_activate_sepa,"SEPA Formular anzeigen"
57
+ paymill_Basic_Setting,"Paymill Grundeinstellungen"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Bitte geben Sie Ihren Public Key an."
61
+ paymill_private_key_tooltip,"Bitte geben Sie Ihren Private Key an."
62
+ paymill_error_text_invalid_token,"Der folgende Fehler ist aufgetreten:"
63
+ paymill_error_text_no_entry_selected,"Bitte wählen Sie einen Eintrag aus"
64
+ paymill_action_delete,"Eintrag löschen"
65
+ paymill_backend_log_dev_info_additional,"Detail Debug Informationen"
66
+ paymill_checkout_generating_invoice,"Rechnung wird generiert"
67
+ paymill_log_action_success,"Ihre Operation war erfolgreich"
68
+ paymill_checkout_desc,Beschreibung
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Rechnungsemail senden"
122
+ paymill_error_text_invalid_iban_elv,"Bitte geben Sie eine gültige IBAN an."
123
+ paymill_error_text_invalid_bic,"Bitte geben Sie eine gültige BIC an."
124
+ paymill_accepted_creditcards,"Akzeptierte Kreditkarten"
125
+ paymill_feedback_error_directdebit_number_iban,"Bitte geben Sie eine gültige IBAN/Kontonummer ein."
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Bitte geben Sie eine gültige BIC/Bankleitzahl an."
127
+ paymill_prenotification,"Tage bis zum Einzug"
128
+ paymill_prenotification_text,"Die Lastschrift wird zu dem folgenden Termin eingezogen:"
129
+ paymill_show_creditcards,"Anzeige von Kreditkarten Logos"
130
+ paymill_select_creditcards,"Selektiere Kreditkarten Logos"
131
+ paymill_base_or_order_currency, "Shop basis Währung"
132
+ paymill_paymill_base_or_order_currency_tooltip, "Soll zum anlegen und für die weitere Verarbeitung der Bestellung die Shop Standard Währung oder die Bestell Währung verwendet werden?"
133
+ base_currency, "Basis Währung"
134
+ order_currency, "Bestell Währung"
135
+ paymill_token_creation_identifier_id, "Button selector zur Tokenerstellung"
136
+ paymill_token_creation_identifier_id_tooltip, "Hier kann ein Prototype selector angegeben werden, dieser bekommt im Checkout ein Click Event zur Tokenerstellung zugewiesen."
137
+ paymill_expert_settings, "Experten Einstellungen"
app/locale/en_AU/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Amount
2
- paymill_accepted_currency,"Accepted currencies"
3
- paymill_opt_Enabled,Activate
4
- paymill_opt_Countries,"Accepted countries"
5
- paymill_Activate_Debugging,"Activate debugging"
6
- paymill_fc_active,"Enable fast checkout"
7
- paymill_Activate_Logging,"Activate logging."
8
- paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
- paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
- paymill_Private_Key,"Private key"
11
- paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
- paymill_Public_Key,"Public key"
13
- paymill_Show_Label,"Display PAYMILL logo during checkout."
14
- paymill_opt_Sort,Sequence
15
- paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
- paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
- paymill_token_tolerace,"Token tolerance value"
18
- paymill_Currency,Currency
19
- paymill_error_text_invalid_cvc,"Invalid CVC"
20
- PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
- paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
- PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
- paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
- PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
- paymill_error_text_invalid_expdate,"Invalid expiration date"
26
- PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
- paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
- paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
- PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
- paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
- PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
- paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
- paymill_dialog_confirm,"Are you sure?"
34
- paymill_slogan,"Secure credit card payments powered by"
35
- paymill_slogan_elv,"Direct debit powered by"
36
- paymill_credit_card,"Credit card"
37
- paymill_creditcard,"Credit card"
38
- paymill_3ds_cancel,Cancel
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Card holder"
41
- paymill_Number,"Card number"
42
- paymill_Date,"Valid until"
43
- paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
- paymill_directdebit,"Direct debit"
45
- paymill_direct_debit,"Direct debit"
46
- paymill_bankcode,"Bank code"
47
- paymill_account,"Account number"
48
- paymill_backend_log_entry_date,"Date of entry"
49
- paymill_backend_log_dev_info,"Inform developer"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Merchant information"
52
- paymill_log,"PAYMILL log"
53
- paymill_backend_log_version,"Module version"
54
- paymill_credit_card_label,"PAYMILL credit card payments"
55
- paymill_direct_debit_label,"PAYMILL direct debit"
56
- paymill_activate_sepa,"Show SEPA form"
57
- paymill_Basic_Setting,"Paymill Basic Settings"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Please enter a valid publickey"
61
- paymill_private_key_tooltip,"Please enter a valid privatekey"
62
- paymill_error_text_invalid_token,"The following error occurred:"
63
- paymill_error_text_no_entry_selected,"Please select an entry"
64
- paymill_action_delete,"Delete entry"
65
- paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
- paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
- paymill_log_action_success,"Action successful"
68
- paymill_checkout_desc,"Description text"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Send invoice mail"
122
- paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
- paymill_error_text_invalid_bic,"Please enter a valid bic."
124
- paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
- paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
- paymill_prenotification,"Days until the debit"
128
- paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Amount
2
+ paymill_accepted_currency,"Accepted currencies"
3
+ paymill_opt_Enabled,Activate
4
+ paymill_opt_Countries,"Accepted countries"
5
+ paymill_Activate_Debugging,"Activate debugging"
6
+ paymill_fc_active,"Enable fast checkout"
7
+ paymill_Activate_Logging,"Activate logging."
8
+ paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
+ paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
+ paymill_Private_Key,"Private key"
11
+ paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
+ paymill_Public_Key,"Public key"
13
+ paymill_Show_Label,"Display PAYMILL logo during checkout."
14
+ paymill_opt_Sort,Sequence
15
+ paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
+ paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
+ paymill_token_tolerace,"Token tolerance value"
18
+ paymill_Currency,Currency
19
+ paymill_error_text_invalid_cvc,"Invalid CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
+ paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
+ PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
+ paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
+ PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
+ paymill_error_text_invalid_expdate,"Invalid expiration date"
26
+ PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
+ paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
+ paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
+ PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
+ paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
+ PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
+ paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
+ paymill_dialog_confirm,"Are you sure?"
34
+ paymill_slogan,"Secure credit card payments powered by"
35
+ paymill_slogan_elv,"Direct debit powered by"
36
+ paymill_credit_card,"Credit card"
37
+ paymill_creditcard,"Credit card"
38
+ paymill_3ds_cancel,Cancel
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,"Card holder"
41
+ paymill_Number,"Card number"
42
+ paymill_Date,"Valid until"
43
+ paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
+ paymill_directdebit,"Direct debit"
45
+ paymill_direct_debit,"Direct debit"
46
+ paymill_bankcode,"Bank code"
47
+ paymill_account,"Account number"
48
+ paymill_backend_log_entry_date,"Date of entry"
49
+ paymill_backend_log_dev_info,"Inform developer"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Merchant information"
52
+ paymill_log,"PAYMILL log"
53
+ paymill_backend_log_version,"Module version"
54
+ paymill_credit_card_label,"PAYMILL credit card payments"
55
+ paymill_direct_debit_label,"PAYMILL direct debit"
56
+ paymill_activate_sepa,"Show SEPA form"
57
+ paymill_Basic_Setting,"Paymill Basic Settings"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Please enter a valid publickey"
61
+ paymill_private_key_tooltip,"Please enter a valid privatekey"
62
+ paymill_error_text_invalid_token,"The following error occurred:"
63
+ paymill_error_text_no_entry_selected,"Please select an entry"
64
+ paymill_action_delete,"Delete entry"
65
+ paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
+ paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
+ paymill_log_action_success,"Action successful"
68
+ paymill_checkout_desc,"Description text"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Send invoice mail"
122
+ paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
+ paymill_error_text_invalid_bic,"Please enter a valid bic."
124
+ paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
+ paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
+ paymill_prenotification,"Days until the debit"
128
+ paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/en_CA/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Amount
2
- paymill_accepted_currency,"Accepted currencies"
3
- paymill_opt_Enabled,Activate
4
- paymill_opt_Countries,"Accepted countries"
5
- paymill_Activate_Debugging,"Activate debugging"
6
- paymill_fc_active,"Enable fast checkout"
7
- paymill_Activate_Logging,"Activate logging."
8
- paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
- paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
- paymill_Private_Key,"Private key"
11
- paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
- paymill_Public_Key,"Public key"
13
- paymill_Show_Label,"Display PAYMILL logo during checkout."
14
- paymill_opt_Sort,Sequence
15
- paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
- paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
- paymill_token_tolerace,"Token tolerance value"
18
- paymill_Currency,Currency
19
- paymill_error_text_invalid_cvc,"Invalid CVC"
20
- PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
- paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
- PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
- paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
- PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
- paymill_error_text_invalid_expdate,"Invalid expiration date"
26
- PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
- paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
- paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
- PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
- paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
- PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
- paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
- paymill_dialog_confirm,"Are you sure?"
34
- paymill_slogan,"Secure credit card payments powered by"
35
- paymill_slogan_elv,"Direct debit powered by"
36
- paymill_credit_card,"Credit card"
37
- paymill_creditcard,"Credit card"
38
- paymill_3ds_cancel,Cancel
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Card holder"
41
- paymill_Number,"Card number"
42
- paymill_Date,"Valid until"
43
- paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
- paymill_directdebit,"Direct debit"
45
- paymill_direct_debit,"Direct debit"
46
- paymill_bankcode,"Bank code"
47
- paymill_account,"Account number"
48
- paymill_backend_log_entry_date,"Date of entry"
49
- paymill_backend_log_dev_info,"Inform developer"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Merchant information"
52
- paymill_log,"PAYMILL log"
53
- paymill_backend_log_version,"Module version"
54
- paymill_credit_card_label,"PAYMILL credit card payments"
55
- paymill_direct_debit_label,"PAYMILL direct debit"
56
- paymill_activate_sepa,"Show SEPA form"
57
- paymill_Basic_Setting,"Paymill Basic Settings"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Please enter a valid publickey"
61
- paymill_private_key_tooltip,"Please enter a valid privatekey"
62
- paymill_error_text_invalid_token,"The following error occurred:"
63
- paymill_error_text_no_entry_selected,"Please select an entry"
64
- paymill_action_delete,"Delete entry"
65
- paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
- paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
- paymill_log_action_success,"Action successful"
68
- paymill_checkout_desc,"Description text"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Send invoice mail"
122
- paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
- paymill_error_text_invalid_bic,"Please enter a valid bic."
124
- paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
- paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
- paymill_prenotification,"Days until the debit"
128
- paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Amount
2
+ paymill_accepted_currency,"Accepted currencies"
3
+ paymill_opt_Enabled,Activate
4
+ paymill_opt_Countries,"Accepted countries"
5
+ paymill_Activate_Debugging,"Activate debugging"
6
+ paymill_fc_active,"Enable fast checkout"
7
+ paymill_Activate_Logging,"Activate logging."
8
+ paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
+ paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
+ paymill_Private_Key,"Private key"
11
+ paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
+ paymill_Public_Key,"Public key"
13
+ paymill_Show_Label,"Display PAYMILL logo during checkout."
14
+ paymill_opt_Sort,Sequence
15
+ paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
+ paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
+ paymill_token_tolerace,"Token tolerance value"
18
+ paymill_Currency,Currency
19
+ paymill_error_text_invalid_cvc,"Invalid CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
+ paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
+ PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
+ paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
+ PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
+ paymill_error_text_invalid_expdate,"Invalid expiration date"
26
+ PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
+ paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
+ paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
+ PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
+ paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
+ PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
+ paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
+ paymill_dialog_confirm,"Are you sure?"
34
+ paymill_slogan,"Secure credit card payments powered by"
35
+ paymill_slogan_elv,"Direct debit powered by"
36
+ paymill_credit_card,"Credit card"
37
+ paymill_creditcard,"Credit card"
38
+ paymill_3ds_cancel,Cancel
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,"Card holder"
41
+ paymill_Number,"Card number"
42
+ paymill_Date,"Valid until"
43
+ paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
+ paymill_directdebit,"Direct debit"
45
+ paymill_direct_debit,"Direct debit"
46
+ paymill_bankcode,"Bank code"
47
+ paymill_account,"Account number"
48
+ paymill_backend_log_entry_date,"Date of entry"
49
+ paymill_backend_log_dev_info,"Inform developer"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Merchant information"
52
+ paymill_log,"PAYMILL log"
53
+ paymill_backend_log_version,"Module version"
54
+ paymill_credit_card_label,"PAYMILL credit card payments"
55
+ paymill_direct_debit_label,"PAYMILL direct debit"
56
+ paymill_activate_sepa,"Show SEPA form"
57
+ paymill_Basic_Setting,"Paymill Basic Settings"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Please enter a valid publickey"
61
+ paymill_private_key_tooltip,"Please enter a valid privatekey"
62
+ paymill_error_text_invalid_token,"The following error occurred:"
63
+ paymill_error_text_no_entry_selected,"Please select an entry"
64
+ paymill_action_delete,"Delete entry"
65
+ paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
+ paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
+ paymill_log_action_success,"Action successful"
68
+ paymill_checkout_desc,"Description text"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Send invoice mail"
122
+ paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
+ paymill_error_text_invalid_bic,"Please enter a valid bic."
124
+ paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
+ paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
+ paymill_prenotification,"Days until the debit"
128
+ paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/en_GB/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Amount
2
- paymill_accepted_currency,"Accepted currencies"
3
- paymill_opt_Enabled,Activate
4
- paymill_opt_Countries,"Accepted countries"
5
- paymill_Activate_Debugging,"Activate debugging"
6
- paymill_fc_active,"Enable fast checkout"
7
- paymill_Activate_Logging,"Activate logging."
8
- paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
- paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
- paymill_Private_Key,"Private key"
11
- paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
- paymill_Public_Key,"Public key"
13
- paymill_Show_Label,"Display PAYMILL logo during checkout."
14
- paymill_opt_Sort,Sequence
15
- paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
- paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
- paymill_token_tolerace,"Token tolerance value"
18
- paymill_Currency,Currency
19
- paymill_error_text_invalid_cvc,"Invalid CVC"
20
- PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
- paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
- PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
- paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
- PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
- paymill_error_text_invalid_expdate,"Invalid expiration date"
26
- PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
- paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
- paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
- PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
- paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
- PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
- paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
- paymill_dialog_confirm,"Are you sure?"
34
- paymill_slogan,"Secure credit card payments powered by"
35
- paymill_slogan_elv,"Direct debit powered by"
36
- paymill_credit_card,"Credit card"
37
- paymill_creditcard,"Credit card"
38
- paymill_3ds_cancel,Cancel
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Card holder"
41
- paymill_Number,"Card number"
42
- paymill_Date,"Valid until"
43
- paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
- paymill_directdebit,"Direct debit"
45
- paymill_direct_debit,"Direct debit"
46
- paymill_bankcode,"Bank code"
47
- paymill_account,"Account number"
48
- paymill_backend_log_entry_date,"Date of entry"
49
- paymill_backend_log_dev_info,"Inform developer"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Merchant information"
52
- paymill_log,"PAYMILL log"
53
- paymill_backend_log_version,"Module version"
54
- paymill_credit_card_label,"PAYMILL credit card payments"
55
- paymill_direct_debit_label,"PAYMILL direct debit"
56
- paymill_activate_sepa,"Show SEPA form"
57
- paymill_Basic_Setting,"Paymill Basic Settings"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Please enter a valid publickey"
61
- paymill_private_key_tooltip,"Please enter a valid privatekey"
62
- paymill_error_text_invalid_token,"The following error occurred:"
63
- paymill_error_text_no_entry_selected,"Please select an entry"
64
- paymill_action_delete,"Delete entry"
65
- paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
- paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
- paymill_log_action_success,"Action successful"
68
- paymill_checkout_desc,"Description text"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Send invoice mail"
122
- paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
- paymill_error_text_invalid_bic,"Please enter a valid bic."
124
- paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
- paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
- paymill_prenotification,"Days until the debit"
128
- paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Amount
2
+ paymill_accepted_currency,"Accepted currencies"
3
+ paymill_opt_Enabled,Activate
4
+ paymill_opt_Countries,"Accepted countries"
5
+ paymill_Activate_Debugging,"Activate debugging"
6
+ paymill_fc_active,"Enable fast checkout"
7
+ paymill_Activate_Logging,"Activate logging."
8
+ paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
+ paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
+ paymill_Private_Key,"Private key"
11
+ paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
+ paymill_Public_Key,"Public key"
13
+ paymill_Show_Label,"Display PAYMILL logo during checkout."
14
+ paymill_opt_Sort,Sequence
15
+ paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
+ paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
+ paymill_token_tolerace,"Token tolerance value"
18
+ paymill_Currency,Currency
19
+ paymill_error_text_invalid_cvc,"Invalid CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
+ paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
+ PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
+ paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
+ PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
+ paymill_error_text_invalid_expdate,"Invalid expiration date"
26
+ PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
+ paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
+ paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
+ PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
+ paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
+ PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
+ paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
+ paymill_dialog_confirm,"Are you sure?"
34
+ paymill_slogan,"Secure credit card payments powered by"
35
+ paymill_slogan_elv,"Direct debit powered by"
36
+ paymill_credit_card,"Credit card"
37
+ paymill_creditcard,"Credit card"
38
+ paymill_3ds_cancel,Cancel
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,"Card holder"
41
+ paymill_Number,"Card number"
42
+ paymill_Date,"Valid until"
43
+ paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
+ paymill_directdebit,"Direct debit"
45
+ paymill_direct_debit,"Direct debit"
46
+ paymill_bankcode,"Bank code"
47
+ paymill_account,"Account number"
48
+ paymill_backend_log_entry_date,"Date of entry"
49
+ paymill_backend_log_dev_info,"Inform developer"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Merchant information"
52
+ paymill_log,"PAYMILL log"
53
+ paymill_backend_log_version,"Module version"
54
+ paymill_credit_card_label,"PAYMILL credit card payments"
55
+ paymill_direct_debit_label,"PAYMILL direct debit"
56
+ paymill_activate_sepa,"Show SEPA form"
57
+ paymill_Basic_Setting,"Paymill Basic Settings"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Please enter a valid publickey"
61
+ paymill_private_key_tooltip,"Please enter a valid privatekey"
62
+ paymill_error_text_invalid_token,"The following error occurred:"
63
+ paymill_error_text_no_entry_selected,"Please select an entry"
64
+ paymill_action_delete,"Delete entry"
65
+ paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
+ paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
+ paymill_log_action_success,"Action successful"
68
+ paymill_checkout_desc,"Description text"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Send invoice mail"
122
+ paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
+ paymill_error_text_invalid_bic,"Please enter a valid bic."
124
+ paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
+ paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
+ paymill_prenotification,"Days until the debit"
128
+ paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/en_IE/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Amount
2
- paymill_accepted_currency,"Accepted currencies"
3
- paymill_opt_Enabled,Activate
4
- paymill_opt_Countries,"Accepted countries"
5
- paymill_Activate_Debugging,"Activate debugging"
6
- paymill_fc_active,"Enable fast checkout"
7
- paymill_Activate_Logging,"Activate logging."
8
- paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
- paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
- paymill_Private_Key,"Private key"
11
- paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
- paymill_Public_Key,"Public key"
13
- paymill_Show_Label,"Display PAYMILL logo during checkout."
14
- paymill_opt_Sort,Sequence
15
- paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
- paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
- paymill_token_tolerace,"Token tolerance value"
18
- paymill_Currency,Currency
19
- paymill_error_text_invalid_cvc,"Invalid CVC"
20
- PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
- paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
- PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
- paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
- PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
- paymill_error_text_invalid_expdate,"Invalid expiration date"
26
- PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
- paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
- paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
- PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
- paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
- PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
- paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
- paymill_dialog_confirm,"Are you sure?"
34
- paymill_slogan,"Secure credit card payments powered by"
35
- paymill_slogan_elv,"Direct debit powered by"
36
- paymill_credit_card,"Credit card"
37
- paymill_creditcard,"Credit card"
38
- paymill_3ds_cancel,Cancel
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Card holder"
41
- paymill_Number,"Card number"
42
- paymill_Date,"Valid until"
43
- paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
- paymill_directdebit,"Direct debit"
45
- paymill_direct_debit,"Direct debit"
46
- paymill_bankcode,"Bank code"
47
- paymill_account,"Account number"
48
- paymill_backend_log_entry_date,"Date of entry"
49
- paymill_backend_log_dev_info,"Inform developer"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Merchant information"
52
- paymill_log,"PAYMILL log"
53
- paymill_backend_log_version,"Module version"
54
- paymill_credit_card_label,"PAYMILL credit card payments"
55
- paymill_direct_debit_label,"PAYMILL direct debit"
56
- paymill_activate_sepa,"Show SEPA form"
57
- paymill_Basic_Setting,"Paymill Basic Settings"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Please enter a valid publickey"
61
- paymill_private_key_tooltip,"Please enter a valid privatekey"
62
- paymill_error_text_invalid_token,"The following error occurred:"
63
- paymill_error_text_no_entry_selected,"Please select an entry"
64
- paymill_action_delete,"Delete entry"
65
- paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
- paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
- paymill_log_action_success,"Action successful"
68
- paymill_checkout_desc,"Description text"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Send invoice mail"
122
- paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
- paymill_error_text_invalid_bic,"Please enter a valid bic."
124
- paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
- paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
- paymill_prenotification,"Days until the debit"
128
- paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Amount
2
+ paymill_accepted_currency,"Accepted currencies"
3
+ paymill_opt_Enabled,Activate
4
+ paymill_opt_Countries,"Accepted countries"
5
+ paymill_Activate_Debugging,"Activate debugging"
6
+ paymill_fc_active,"Enable fast checkout"
7
+ paymill_Activate_Logging,"Activate logging."
8
+ paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
+ paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
+ paymill_Private_Key,"Private key"
11
+ paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
+ paymill_Public_Key,"Public key"
13
+ paymill_Show_Label,"Display PAYMILL logo during checkout."
14
+ paymill_opt_Sort,Sequence
15
+ paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
+ paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
+ paymill_token_tolerace,"Token tolerance value"
18
+ paymill_Currency,Currency
19
+ paymill_error_text_invalid_cvc,"Invalid CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
+ paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
+ PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
+ paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
+ PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
+ paymill_error_text_invalid_expdate,"Invalid expiration date"
26
+ PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
+ paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
+ paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
+ PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
+ paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
+ PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
+ paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
+ paymill_dialog_confirm,"Are you sure?"
34
+ paymill_slogan,"Secure credit card payments powered by"
35
+ paymill_slogan_elv,"Direct debit powered by"
36
+ paymill_credit_card,"Credit card"
37
+ paymill_creditcard,"Credit card"
38
+ paymill_3ds_cancel,Cancel
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,"Card holder"
41
+ paymill_Number,"Card number"
42
+ paymill_Date,"Valid until"
43
+ paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
+ paymill_directdebit,"Direct debit"
45
+ paymill_direct_debit,"Direct debit"
46
+ paymill_bankcode,"Bank code"
47
+ paymill_account,"Account number"
48
+ paymill_backend_log_entry_date,"Date of entry"
49
+ paymill_backend_log_dev_info,"Inform developer"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Merchant information"
52
+ paymill_log,"PAYMILL log"
53
+ paymill_backend_log_version,"Module version"
54
+ paymill_credit_card_label,"PAYMILL credit card payments"
55
+ paymill_direct_debit_label,"PAYMILL direct debit"
56
+ paymill_activate_sepa,"Show SEPA form"
57
+ paymill_Basic_Setting,"Paymill Basic Settings"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Please enter a valid publickey"
61
+ paymill_private_key_tooltip,"Please enter a valid privatekey"
62
+ paymill_error_text_invalid_token,"The following error occurred:"
63
+ paymill_error_text_no_entry_selected,"Please select an entry"
64
+ paymill_action_delete,"Delete entry"
65
+ paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
+ paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
+ paymill_log_action_success,"Action successful"
68
+ paymill_checkout_desc,"Description text"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Send invoice mail"
122
+ paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
+ paymill_error_text_invalid_bic,"Please enter a valid bic."
124
+ paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
+ paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
+ paymill_prenotification,"Days until the debit"
128
+ paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/en_NZ/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Amount
2
- paymill_accepted_currency,"Accepted currencies"
3
- paymill_opt_Enabled,Activate
4
- paymill_opt_Countries,"Accepted countries"
5
- paymill_Activate_Debugging,"Activate debugging"
6
- paymill_fc_active,"Enable fast checkout"
7
- paymill_Activate_Logging,"Activate logging."
8
- paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
- paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
- paymill_Private_Key,"Private key"
11
- paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
- paymill_Public_Key,"Public key"
13
- paymill_Show_Label,"Display PAYMILL logo during checkout."
14
- paymill_opt_Sort,Sequence
15
- paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
- paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
- paymill_token_tolerace,"Token tolerance value"
18
- paymill_Currency,Currency
19
- paymill_error_text_invalid_cvc,"Invalid CVC"
20
- PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
- paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
- PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
- paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
- PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
- paymill_error_text_invalid_expdate,"Invalid expiration date"
26
- PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
- paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
- paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
- PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
- paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
- PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
- paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
- paymill_dialog_confirm,"Are you sure?"
34
- paymill_slogan,"Secure credit card payments powered by"
35
- paymill_slogan_elv,"Direct debit powered by"
36
- paymill_credit_card,"Credit card"
37
- paymill_creditcard,"Credit card"
38
- paymill_3ds_cancel,Cancel
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Card holder"
41
- paymill_Number,"Card number"
42
- paymill_Date,"Valid until"
43
- paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
- paymill_directdebit,"Direct debit"
45
- paymill_direct_debit,"Direct debit"
46
- paymill_bankcode,"Bank code"
47
- paymill_account,"Account number"
48
- paymill_backend_log_entry_date,"Date of entry"
49
- paymill_backend_log_dev_info,"Inform developer"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Merchant information"
52
- paymill_log,"PAYMILL log"
53
- paymill_backend_log_version,"Module version"
54
- paymill_credit_card_label,"PAYMILL credit card payments"
55
- paymill_direct_debit_label,"PAYMILL direct debit"
56
- paymill_activate_sepa,"Show SEPA form"
57
- paymill_Basic_Setting,"Paymill Basic Settings"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Please enter a valid publickey"
61
- paymill_private_key_tooltip,"Please enter a valid privatekey"
62
- paymill_error_text_invalid_token,"The following error occurred:"
63
- paymill_error_text_no_entry_selected,"Please select an entry"
64
- paymill_action_delete,"Delete entry"
65
- paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
- paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
- paymill_log_action_success,"Action successful"
68
- paymill_checkout_desc,"Description text"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Send invoice mail"
122
- paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
- paymill_error_text_invalid_bic,"Please enter a valid bic."
124
- paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
- paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
- paymill_prenotification,"Days until the debit"
128
- paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Amount
2
+ paymill_accepted_currency,"Accepted currencies"
3
+ paymill_opt_Enabled,Activate
4
+ paymill_opt_Countries,"Accepted countries"
5
+ paymill_Activate_Debugging,"Activate debugging"
6
+ paymill_fc_active,"Enable fast checkout"
7
+ paymill_Activate_Logging,"Activate logging."
8
+ paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
+ paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
+ paymill_Private_Key,"Private key"
11
+ paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
+ paymill_Public_Key,"Public key"
13
+ paymill_Show_Label,"Display PAYMILL logo during checkout."
14
+ paymill_opt_Sort,Sequence
15
+ paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
+ paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
+ paymill_token_tolerace,"Token tolerance value"
18
+ paymill_Currency,Currency
19
+ paymill_error_text_invalid_cvc,"Invalid CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
+ paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
+ PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
+ paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
+ PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
+ paymill_error_text_invalid_expdate,"Invalid expiration date"
26
+ PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
+ paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
+ paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
+ PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
+ paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
+ PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
+ paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
+ paymill_dialog_confirm,"Are you sure?"
34
+ paymill_slogan,"Secure credit card payments powered by"
35
+ paymill_slogan_elv,"Direct debit powered by"
36
+ paymill_credit_card,"Credit card"
37
+ paymill_creditcard,"Credit card"
38
+ paymill_3ds_cancel,Cancel
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,"Card holder"
41
+ paymill_Number,"Card number"
42
+ paymill_Date,"Valid until"
43
+ paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
+ paymill_directdebit,"Direct debit"
45
+ paymill_direct_debit,"Direct debit"
46
+ paymill_bankcode,"Bank code"
47
+ paymill_account,"Account number"
48
+ paymill_backend_log_entry_date,"Date of entry"
49
+ paymill_backend_log_dev_info,"Inform developer"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Merchant information"
52
+ paymill_log,"PAYMILL log"
53
+ paymill_backend_log_version,"Module version"
54
+ paymill_credit_card_label,"PAYMILL credit card payments"
55
+ paymill_direct_debit_label,"PAYMILL direct debit"
56
+ paymill_activate_sepa,"Show SEPA form"
57
+ paymill_Basic_Setting,"Paymill Basic Settings"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Please enter a valid publickey"
61
+ paymill_private_key_tooltip,"Please enter a valid privatekey"
62
+ paymill_error_text_invalid_token,"The following error occurred:"
63
+ paymill_error_text_no_entry_selected,"Please select an entry"
64
+ paymill_action_delete,"Delete entry"
65
+ paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
+ paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
+ paymill_log_action_success,"Action successful"
68
+ paymill_checkout_desc,"Description text"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Send invoice mail"
122
+ paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
+ paymill_error_text_invalid_bic,"Please enter a valid bic."
124
+ paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
+ paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
+ paymill_prenotification,"Days until the debit"
128
+ paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/en_US/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Amount
2
- paymill_accepted_currency,"Accepted currencies"
3
- paymill_opt_Enabled,Activate
4
- paymill_opt_Countries,"Accepted countries"
5
- paymill_Activate_Debugging,"Activate debugging"
6
- paymill_fc_active,"Enable fast checkout"
7
- paymill_Activate_Logging,"Activate logging."
8
- paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
- paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
- paymill_Private_Key,"Private key"
11
- paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
- paymill_Public_Key,"Public key"
13
- paymill_Show_Label,"Display PAYMILL logo during checkout."
14
- paymill_opt_Sort,Sequence
15
- paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
- paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
- paymill_token_tolerace,"Token tolerance value"
18
- paymill_Currency,Currency
19
- paymill_error_text_invalid_cvc,"Invalid CVC"
20
- PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
- paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
- PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
- paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
- PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
- paymill_error_text_invalid_expdate,"Invalid expiration date"
26
- PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
- paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
- paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
- PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
- paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
- PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
- paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
- paymill_dialog_confirm,"Are you sure?"
34
- paymill_slogan,"Secure credit card payments powered by"
35
- paymill_slogan_elv,"Direct debit powered by"
36
- paymill_credit_card,"Credit card"
37
- paymill_creditcard,"Credit card"
38
- paymill_3ds_cancel,Cancel
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Card holder"
41
- paymill_Number,"Card number"
42
- paymill_Date,"Valid until"
43
- paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
- paymill_directdebit,"Direct debit"
45
- paymill_direct_debit,"Direct debit"
46
- paymill_bankcode,"Bank code"
47
- paymill_account,"Account number"
48
- paymill_backend_log_entry_date,"Date of entry"
49
- paymill_backend_log_dev_info,"Inform developer"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Merchant information"
52
- paymill_log,"PAYMILL log"
53
- paymill_backend_log_version,"Module version"
54
- paymill_credit_card_label,"PAYMILL credit card payments"
55
- paymill_direct_debit_label,"PAYMILL direct debit"
56
- paymill_activate_sepa,"Show SEPA form"
57
- paymill_Basic_Setting,"Paymill Basic Settings"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Please enter a valid publickey"
61
- paymill_private_key_tooltip,"Please enter a valid privatekey"
62
- paymill_error_text_invalid_token,"The following error occurred:"
63
- paymill_error_text_no_entry_selected,"Please select an entry"
64
- paymill_action_delete,"Delete entry"
65
- paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
- paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
- paymill_log_action_success,"Action successful"
68
- paymill_checkout_desc,"Description text"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Send invoice mail"
122
- paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
- paymill_error_text_invalid_bic,"Please enter a valid bic."
124
- paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
- paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
- paymill_prenotification,"Days until the debit"
128
- paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Amount
2
+ paymill_accepted_currency,"Accepted currencies"
3
+ paymill_opt_Enabled,Activate
4
+ paymill_opt_Countries,"Accepted countries"
5
+ paymill_Activate_Debugging,"Activate debugging"
6
+ paymill_fc_active,"Enable fast checkout"
7
+ paymill_Activate_Logging,"Activate logging."
8
+ paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
+ paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
+ paymill_Private_Key,"Private key"
11
+ paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
+ paymill_Public_Key,"Public key"
13
+ paymill_Show_Label,"Display PAYMILL logo during checkout."
14
+ paymill_opt_Sort,Sequence
15
+ paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
+ paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
+ paymill_token_tolerace,"Token tolerance value"
18
+ paymill_Currency,Currency
19
+ paymill_error_text_invalid_cvc,"Invalid CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
+ paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
+ PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
+ paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
+ PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
+ paymill_error_text_invalid_expdate,"Invalid expiration date"
26
+ PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
+ paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
+ paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
+ PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
+ paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
+ PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
+ paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
+ paymill_dialog_confirm,"Are you sure?"
34
+ paymill_slogan,"Secure credit card payments powered by"
35
+ paymill_slogan_elv,"Direct debit powered by"
36
+ paymill_credit_card,"Credit card"
37
+ paymill_creditcard,"Credit card"
38
+ paymill_3ds_cancel,Cancel
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,"Card holder"
41
+ paymill_Number,"Card number"
42
+ paymill_Date,"Valid until"
43
+ paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
+ paymill_directdebit,"Direct debit"
45
+ paymill_direct_debit,"Direct debit"
46
+ paymill_bankcode,"Bank code"
47
+ paymill_account,"Account number"
48
+ paymill_backend_log_entry_date,"Date of entry"
49
+ paymill_backend_log_dev_info,"Inform developer"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Merchant information"
52
+ paymill_log,"PAYMILL log"
53
+ paymill_backend_log_version,"Module version"
54
+ paymill_credit_card_label,"PAYMILL credit card payments"
55
+ paymill_direct_debit_label,"PAYMILL direct debit"
56
+ paymill_activate_sepa,"Show SEPA form"
57
+ paymill_Basic_Setting,"Paymill Basic Settings"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Please enter a valid publickey"
61
+ paymill_private_key_tooltip,"Please enter a valid privatekey"
62
+ paymill_error_text_invalid_token,"The following error occurred:"
63
+ paymill_error_text_no_entry_selected,"Please select an entry"
64
+ paymill_action_delete,"Delete entry"
65
+ paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
+ paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
+ paymill_log_action_success,"Action successful"
68
+ paymill_checkout_desc,"Description text"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Send invoice mail"
122
+ paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
+ paymill_error_text_invalid_bic,"Please enter a valid bic."
124
+ paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
+ paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
+ paymill_prenotification,"Days until the debit"
128
+ paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/en_ZA/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Amount
2
- paymill_accepted_currency,"Accepted currencies"
3
- paymill_opt_Enabled,Activate
4
- paymill_opt_Countries,"Accepted countries"
5
- paymill_Activate_Debugging,"Activate debugging"
6
- paymill_fc_active,"Enable fast checkout"
7
- paymill_Activate_Logging,"Activate logging."
8
- paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
- paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
- paymill_Private_Key,"Private key"
11
- paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
- paymill_Public_Key,"Public key"
13
- paymill_Show_Label,"Display PAYMILL logo during checkout."
14
- paymill_opt_Sort,Sequence
15
- paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
- paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
- paymill_token_tolerace,"Token tolerance value"
18
- paymill_Currency,Currency
19
- paymill_error_text_invalid_cvc,"Invalid CVC"
20
- PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
- paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
- PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
- paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
- PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
- paymill_error_text_invalid_expdate,"Invalid expiration date"
26
- PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
- paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
- paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
- PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
- paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
- PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
- paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
- paymill_dialog_confirm,"Are you sure?"
34
- paymill_slogan,"Secure credit card payments powered by"
35
- paymill_slogan_elv,"Direct debit powered by"
36
- paymill_credit_card,"Credit card"
37
- paymill_creditcard,"Credit card"
38
- paymill_3ds_cancel,Cancel
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Card holder"
41
- paymill_Number,"Card number"
42
- paymill_Date,"Valid until"
43
- paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
- paymill_directdebit,"Direct debit"
45
- paymill_direct_debit,"Direct debit"
46
- paymill_bankcode,"Bank code"
47
- paymill_account,"Account number"
48
- paymill_backend_log_entry_date,"Date of entry"
49
- paymill_backend_log_dev_info,"Inform developer"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Merchant information"
52
- paymill_log,"PAYMILL log"
53
- paymill_backend_log_version,"Module version"
54
- paymill_credit_card_label,"PAYMILL credit card payments"
55
- paymill_direct_debit_label,"PAYMILL direct debit"
56
- paymill_activate_sepa,"Show SEPA form"
57
- paymill_Basic_Setting,"Paymill Basic Settings"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Please enter a valid publickey"
61
- paymill_private_key_tooltip,"Please enter a valid privatekey"
62
- paymill_error_text_invalid_token,"The following error occurred:"
63
- paymill_error_text_no_entry_selected,"Please select an entry"
64
- paymill_action_delete,"Delete entry"
65
- paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
- paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
- paymill_log_action_success,"Action successful"
68
- paymill_checkout_desc,"Description text"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Send invoice mail"
122
- paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
- paymill_error_text_invalid_bic,"Please enter a valid bic."
124
- paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
- paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
- paymill_prenotification,"Days until the debit"
128
- paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Amount
2
+ paymill_accepted_currency,"Accepted currencies"
3
+ paymill_opt_Enabled,Activate
4
+ paymill_opt_Countries,"Accepted countries"
5
+ paymill_Activate_Debugging,"Activate debugging"
6
+ paymill_fc_active,"Enable fast checkout"
7
+ paymill_Activate_Logging,"Activate logging."
8
+ paymill_preAuth_active,"Preauthorize transactions during checkout. Charge will be performed when generating invoices."
9
+ paymill_private_key_comment,"You can find your private key in the PAYMILL cockpit."
10
+ paymill_Private_Key,"Private key"
11
+ paymill_public_key_comment,"You can find your public key in the PAYMILL cockpit."
12
+ paymill_Public_Key,"Public key"
13
+ paymill_Show_Label,"Display PAYMILL logo during checkout."
14
+ paymill_opt_Sort,Sequence
15
+ paymill_token_tolerace_tooltip,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
16
+ paymill_token_tolerace_comment,"Amount that will be surcharged when generating the PAYMILL Token. This is to avoid deviations of 3-D secure."
17
+ paymill_token_tolerace,"Token tolerance value"
18
+ paymill_Currency,Currency
19
+ paymill_error_text_invalid_cvc,"Invalid CVC"
20
+ PAYMILL_field_invalid_card_cvc,"Invalid CVC"
21
+ paymill_error_text_invalid_holder_cc,"Please enter the card holder's name."
22
+ PAYMILL_field_invalid_card_holder,"Please enter the card holder's name."
23
+ paymill_error_text_invalid_number_cc,"Please enter a valid credit card number."
24
+ PAYMILL_field_invalid_card_number,"Please enter a valid credit card number."
25
+ paymill_error_text_invalid_expdate,"Invalid expiration date"
26
+ PAYMILL_field_invalid_bank_code,"Please enter a valid direct debit bank code."
27
+ paymill_error_text_invalid_bankcode,"Please enter a valid direct debit bank code."
28
+ paymill_error_text_invalid_holder_elv,"Please enter the name of the direct debit account holder"
29
+ PAYMILL_field_invalid_account_holder,"Please enter the name of the direct debit account holder"
30
+ paymill_error_text_invalid_number_elv,"Please enter a valid direct debit account number"
31
+ PAYMILL_field_invalid_account_number,"Please enter a valid direct debit account number"
32
+ paymill_error_text_invalid_payment,"Payment method could not be identified. Please contact support."
33
+ paymill_dialog_confirm,"Are you sure?"
34
+ paymill_slogan,"Secure credit card payments powered by"
35
+ paymill_slogan_elv,"Direct debit powered by"
36
+ paymill_credit_card,"Credit card"
37
+ paymill_creditcard,"Credit card"
38
+ paymill_3ds_cancel,Cancel
39
+ paymill_Cvc,CVC
40
+ paymill_Holder,"Card holder"
41
+ paymill_Number,"Card number"
42
+ paymill_Date,"Valid until"
43
+ paymill_cvc_tooltip,"The CVV code or CVC is a security feature of credit cards. It usually is a three to four digit long number. On VISA credit cards, it is called CVV code. The same code can be found on MasterCard credit cards - where however it is called CVC. CVC is an abbreviation for ""Card Validation Code"". CVV code on the other hand is an abbreviation for ""Card Validation Value code"". Similar to MasterCard and Visa, other brands such as Diners Club, Discover and JCB contain a three digit number that can usually be found on the back of the credit card. MAESTRO cards exist with and without a three digit CVV. In case a MAESTRO card without a CVV will be used, it is possible to enter 000 to the form instead. American Express uses the CID (card identification number). The CID is a four digit number that can usually be found on the front of the card, top right from the credit card number. "
44
+ paymill_directdebit,"Direct debit"
45
+ paymill_direct_debit,"Direct debit"
46
+ paymill_bankcode,"Bank code"
47
+ paymill_account,"Account number"
48
+ paymill_backend_log_entry_date,"Date of entry"
49
+ paymill_backend_log_dev_info,"Inform developer"
50
+ paymill_backend_log_id,Id
51
+ paymill_backend_log_merchant_info,"Merchant information"
52
+ paymill_log,"PAYMILL log"
53
+ paymill_backend_log_version,"Module version"
54
+ paymill_credit_card_label,"PAYMILL credit card payments"
55
+ paymill_direct_debit_label,"PAYMILL direct debit"
56
+ paymill_activate_sepa,"Show SEPA form"
57
+ paymill_Basic_Setting,"Paymill Basic Settings"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Please enter a valid publickey"
61
+ paymill_private_key_tooltip,"Please enter a valid privatekey"
62
+ paymill_error_text_invalid_token,"The following error occurred:"
63
+ paymill_error_text_no_entry_selected,"Please select an entry"
64
+ paymill_action_delete,"Delete entry"
65
+ paymill_backend_log_dev_info_additional,"Additional Developer Information"
66
+ paymill_checkout_generating_invoice,"Invoice is beeing generated"
67
+ paymill_log_action_success,"Action successful"
68
+ paymill_checkout_desc,"Description text"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Send invoice mail"
122
+ paymill_error_text_invalid_iban_elv,"Please enter a valid iban"
123
+ paymill_error_text_invalid_bic,"Please enter a valid bic."
124
+ paymill_accepted_creditcards,"Accepted Credit Card Brands"
125
+ paymill_feedback_error_directdebit_number_iban,"Please enter a valid IBAN/direct debit account number"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Please enter a valid BIC/direct debit bank code"
127
+ paymill_prenotification,"Days until the debit"
128
+ paymill_prenotification_text,"The direct debit is drawn to the following date:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/es_AR/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Cantidad
2
+ paymill_accepted_currency,"Monedas aceptadas"
3
+ paymill_opt_Enabled,Activar
4
+ paymill_opt_Countries,"Países aceptados"
5
+ paymill_Activate_Debugging,"Activar debugging"
6
+ paymill_fc_active,"Activar la compra rápida"
7
+ paymill_Activate_Logging,"Activar el registro"
8
+ paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
+ paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
+ paymill_Private_Key,"Clave privada"
11
+ paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
+ paymill_Public_Key,"Clave pública"
13
+ paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
+ paymill_opt_Sort,Secuencia
15
+ paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
+ paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
+ paymill_token_tolerace,"Tolerancia del Token"
18
+ paymill_Currency,Moneda
19
+ paymill_error_text_invalid_cvc,"CVC inválido"
20
+ PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
+ paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
+ PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
+ paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
+ PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
+ paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
+ PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
+ paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
+ paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
+ PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
+ paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
+ PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
+ paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
+ paymill_dialog_confirm,"¿Estás seguro?"
34
+ paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
+ paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
+ paymill_credit_card,"Tarjeta de crédito"
37
+ paymill_creditcard,"Tarjeta de crédito"
38
+ paymill_3ds_cancel,Cancelar
39
+ paymill_Cvc,"Código CVC"
40
+ paymill_Holder,"Titular de la tarjeta"
41
+ paymill_Number,"Número de tarjeta"
42
+ paymill_Date,"Válida hasta"
43
+ paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
+ paymill_directdebit,"Domiciliación bancaria"
45
+ paymill_direct_debit,"Domiciliación bancaria"
46
+ paymill_bankcode,"Código bancario"
47
+ paymill_account,"Número de cuenta"
48
+ paymill_backend_log_entry_date,"Fecha de registro"
49
+ paymill_backend_log_dev_info,"Desarrollador de informes"
50
+ paymill_backend_log_id,Identificación
51
+ paymill_backend_log_merchant_info,"Información del comerciante"
52
+ paymill_log,"Registro de PAYMILL"
53
+ paymill_backend_log_version,"Versión del módulo"
54
+ paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
+ paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
+ paymill_activate_sepa,"Mostrar solicitud SEPA"
57
+ paymill_Basic_Setting,"Configuración Básica Paymill"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
+ paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
+ paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
+ paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
+ paymill_action_delete,"Borrar entrada"
65
+ paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
+ paymill_checkout_generating_invoice,"Se está generando la factura"
67
+ paymill_log_action_success,"Acción correcta"
68
+ paymill_checkout_desc,"Texto descriptivo"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Enviar factura por correo"
122
+ paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
+ paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
+ paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
+ paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
+ paymill_prenotification,"Días hasta el cargo en cuenta."
128
+ paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."#
137
+ paymill_expert_settings, "Expert settings"
app/locale/es_CL/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/es_CO/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/es_CR/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/es_ES/Paymill_Paymill.csv CHANGED
@@ -1,130 +1,137 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
1
+ paymill_Amount,Cantidad
2
+ paymill_accepted_currency,"Monedas aceptadas"
3
+ paymill_opt_Enabled,Activar
4
+ paymill_opt_Countries,"Países aceptados"
5
+ paymill_Activate_Debugging,"Activar debugging"
6
+ paymill_fc_active,"Activar la compra rápida"
7
+ paymill_Activate_Logging,"Activar el registro"
8
+ paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
+ paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
+ paymill_Private_Key,"Clave privada"
11
+ paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
+ paymill_Public_Key,"Clave pública"
13
+ paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
+ paymill_opt_Sort,Secuencia
15
+ paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
+ paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
+ paymill_token_tolerace,"Tolerancia del Token"
18
+ paymill_Currency,Moneda
19
+ paymill_error_text_invalid_cvc,"CVC inválido"
20
+ PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
+ paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
+ PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
+ paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
+ PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
+ paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
+ PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
+ paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
+ paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
+ PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
+ paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
+ PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
+ paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
+ paymill_dialog_confirm,"¿Estás seguro?"
34
+ paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
+ paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
+ paymill_credit_card,"Tarjeta de crédito"
37
+ paymill_creditcard,"Tarjeta de crédito"
38
+ paymill_3ds_cancel,Cancelar
39
+ paymill_Cvc,"Código CVC"
40
+ paymill_Holder,"Titular de la tarjeta"
41
+ paymill_Number,"Número de tarjeta"
42
+ paymill_Date,"Válida hasta"
43
+ paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
+ paymill_directdebit,"Domiciliación bancaria"
45
+ paymill_direct_debit,"Domiciliación bancaria"
46
+ paymill_bankcode,"Código bancario"
47
+ paymill_account,"Número de cuenta"
48
+ paymill_backend_log_entry_date,"Fecha de registro"
49
+ paymill_backend_log_dev_info,"Desarrollador de informes"
50
+ paymill_backend_log_id,Identificación
51
+ paymill_backend_log_merchant_info,"Información del comerciante"
52
+ paymill_log,"Registro de PAYMILL"
53
+ paymill_backend_log_version,"Versión del módulo"
54
+ paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
+ paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
+ paymill_activate_sepa,"Mostrar solicitud SEPA"
57
+ paymill_Basic_Setting,"Configuración Básica Paymill"
58
+ paymill_iban,IBAN
59
+ paymill_bic,BIC
60
+ paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
+ paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
+ paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
+ paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
+ paymill_action_delete,"Borrar entrada"
65
+ paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
+ paymill_checkout_generating_invoice,"Se está generando la factura"
67
+ paymill_log_action_success,"Acción correcta"
68
+ paymill_checkout_desc,"Texto descriptivo"
69
+ "General undefined response.","General undefined response."
70
+ "Still waiting on something.","Still waiting on something."
71
+ "General success response.","General success response."
72
+ "General problem with data.","General problem with data."
73
+ "General problem with payment data.","General problem with payment data."
74
+ "Problem with credit card data.","Problem with credit card data."
75
+ "Problem with cvv.","Problem with cvv."
76
+ "Card expired or not yet valid.","Card expired or not yet valid."
77
+ "Limit exceeded.","Limit exceeded."
78
+ "Card invalid.","Card invalid."
79
+ "Expiry date not valid.","Expiry date not valid."
80
+ "Credit card brand required.","Credit card brand required."
81
+ "Problem with bank account data.","Problem with bank account data."
82
+ "Bank account data combination mismatch.","Bank account data combination mismatch."
83
+ "User authentication failed.","User authentication failed."
84
+ "Problem with 3d secure data.","Problem with 3d secure data."
85
+ "Currency / amount mismatch","Currency / amount mismatch"
86
+ "Problem with input data.","Problem with input data."
87
+ "Amount too low or zero.","Amount too low or zero."
88
+ "Usage field too long.","Usage field too long."
89
+ "Currency not allowed.","Currency not allowed."
90
+ "General problem with backend.","General problem with backend."
91
+ "Country blacklisted.","Country blacklisted."
92
+ "Technical error with credit card.","Technical error with credit card."
93
+ "Error limit exceeded.","Error limit exceeded."
94
+ "Card declined by authorization system.","Card declined by authorization system."
95
+ "Manipulation or stolen card.","Manipulation or stolen card."
96
+ "Card restricted.","Card restricted"
97
+ "Invalid card configuration data.","Invalid card configuration data."
98
+ "Technical error with bank account.","Technical error with bank account."
99
+ "Card blacklisted.","Card blacklisted."
100
+ "Technical error with 3D secure.","Technical error with 3D secure."
101
+ "Decline because of risk issues.","Decline because of risk issues."
102
+ "General timeout.","General timeout."
103
+ "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
+ "Risk management transaction timeout.","Risk management transaction timeout"
105
+ "Duplicate transaction.","Duplicate transaction."
106
+ PAYMILL_internal_server_error,"The communication with the psp failed."
107
+ PAYMILL_invalid_public_key,"The public key is invalid."
108
+ PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
+ PAYMILL_unknown_error,"Unknown Error"
110
+ PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
+ PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
+ PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
+ PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
+ PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
+ PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
+ PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
+ PAYMILL_field_invalid_iban,"Invalid IBAN"
118
+ PAYMILL_field_invalid_bic,"Invalid BIC"
119
+ PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
+ PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
+ paymill_send_invoice_mail,"Enviar factura por correo"
122
+ paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
+ paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
+ paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
+ paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
+ paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
+ paymill_prenotification,"Días hasta el cargo en cuenta."
128
+ paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
+ paymill_show_creditcards,"Show creditcard logos"
130
+ paymill_select_creditcards,"Select creditcard logos"
131
+ paymill_base_or_order_currency, "Shop base currency"
132
+ paymill_paymill_base_or_order_currency_tooltip, "The currency which should be used to create and manage the order, shop base or order currency"
133
+ base_currency, "base currency"
134
+ order_currency, "order currency"
135
+ paymill_token_creation_identifier_id, "Button selector for token creation"
136
+ paymill_token_creation_identifier_id_tooltip, "You can add a prototype selector to identify your checkout button, to this button a click event for the token creation is added."
137
+ paymill_expert_settings, "Expert settings"
app/locale/es_MX/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/es_PA/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/es_PE/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/es_VE/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Cantidad
2
- paymill_accepted_currency,"Monedas aceptadas"
3
- paymill_opt_Enabled,Activar
4
- paymill_opt_Countries,"Países aceptados"
5
- paymill_Activate_Debugging,"Activar debugging"
6
- paymill_fc_active,"Activar la compra rápida"
7
- paymill_Activate_Logging,"Activar el registro"
8
- paymill_preAuth_active,"Autorizar previamente las transacciones durante el proceso de compra. Los cargos se llevarán a cabo una vez generadas las facturas."
9
- paymill_private_key_comment,"Puedes encontrar tu clave privada en el Cockpit de PAYMILL"
10
- paymill_Private_Key,"Clave privada"
11
- paymill_public_key_comment,"Puede encontrar su clave pública en el Cockpit de PAYMILL"
12
- paymill_Public_Key,"Clave pública"
13
- paymill_Show_Label,"Mostrar el logo de PAYMILL durante el proceso de compra."
14
- paymill_opt_Sort,Secuencia
15
- paymill_token_tolerace_tooltip,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
16
- paymill_token_tolerace_comment,"Cantidad adicional que se cargará cuando se genere el Token de PAYMILL. Esto es para evitar desviaciones en el 3D Secure"
17
- paymill_token_tolerace,"Tolerancia del Token"
18
- paymill_Currency,Moneda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduce el nombre del titular de la tarjeta"
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduce el nombre del titular de la tarjeta"
23
- paymill_error_text_invalid_number_cc,"Por favor, introduce un número válido de tarjeta de crédito."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduce un número válido de tarjeta de crédito."
25
- paymill_error_text_invalid_expdate,"Fecha de expiración inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduce un código bancario válido de domiciliación bancaria."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduce un código bancario válido de domiciliación bancaria."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduce el nombre del titular de la cuenta para la domiciliación bancaria."
30
- paymill_error_text_invalid_number_elv,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
31
- PAYMILL_field_invalid_account_number,"Por favor, introduce un número válido de la cuenta para la domiciliación bancaria."
32
- paymill_error_text_invalid_payment,"El método de pago no se ha podido identificar. Por favor, contacta con nuestro equipo de soporte."
33
- paymill_dialog_confirm,"¿Estás seguro?"
34
- paymill_slogan,"Pagos seguros con tarjeta de crédito gestionados por"
35
- paymill_slogan_elv,"Domiciliación bancaria gestionada por"
36
- paymill_credit_card,"Tarjeta de crédito"
37
- paymill_creditcard,"Tarjeta de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,"Código CVC"
40
- paymill_Holder,"Titular de la tarjeta"
41
- paymill_Number,"Número de tarjeta"
42
- paymill_Date,"Válida hasta"
43
- paymill_cvc_tooltip,"El código CVV o CVC es una medida de seguridad de las tarjetas de crédito. Normalmente es un número de tres a cuatro dígitos de longitud. En las tarjetas de crédito VISA, se le llama código CVV. Se puede encontrar este mismo código en las tarjetas de crédito MasterCard -donde se le llama CVC. CVC es la abreviatura de ""código de validez de la tarjeta"". El código CVV, por otro lado, es la abreviatura de ""código de valor de verificación de la tarjeta"". Parecidas a MasterCard y Visa, otras tarjetas como Diners Club, Discover y JCB contienen un número de tres dígitos que se encuentra normalmente en el reverso de la tarjeta de crédito. Las tarjetas MAESTRO pueden tener o no el código CVV de tres dígitos. En caso de usar una tarjeta MAESTRO sin CVV, puede introducir 000 en el formulario en su lugar. American Express usa el CID (número de identificación de la tarjeta). El CID es un número de cuatro dígitos que normalmente se encuentra en el anverso de la tarjeta, arriba a la derecha del número de la tarjeta de crédito."
44
- paymill_directdebit,"Domiciliación bancaria"
45
- paymill_direct_debit,"Domiciliación bancaria"
46
- paymill_bankcode,"Código bancario"
47
- paymill_account,"Número de cuenta"
48
- paymill_backend_log_entry_date,"Fecha de registro"
49
- paymill_backend_log_dev_info,"Desarrollador de informes"
50
- paymill_backend_log_id,Identificación
51
- paymill_backend_log_merchant_info,"Información del comerciante"
52
- paymill_log,"Registro de PAYMILL"
53
- paymill_backend_log_version,"Versión del módulo"
54
- paymill_credit_card_label,"Pagos con tarjeta de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagos con dedomiciliación bancaria PAYMILL"
56
- paymill_activate_sepa,"Mostrar solicitud SEPA"
57
- paymill_Basic_Setting,"Configuración Básica Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor, introduzca una clave pública válida"
61
- paymill_private_key_tooltip,"Por favor, introduzca una clave privada válida"
62
- paymill_error_text_invalid_token,"El siguiente error ha ocurrido:"
63
- paymill_error_text_no_entry_selected,"Por favor, seleccione una entrada"
64
- paymill_action_delete,"Borrar entrada"
65
- paymill_backend_log_dev_info_additional,"Información Adicional del Desarrollador"
66
- paymill_checkout_generating_invoice,"Se está generando la factura"
67
- paymill_log_action_success,"Acción correcta"
68
- paymill_checkout_desc,"Texto descriptivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correo"
122
- paymill_error_text_invalid_iban_elv,"Por favor, introduzca un IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor, introduzca un BIC válido."
124
- paymill_accepted_creditcards,"Tipo de tarjetas de crédito aceptadas"
125
- paymill_feedback_error_directdebit_number_iban,"Por favor, indique un código bancario o identificación válida"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Por favor, indique un número de cuenta o IBAN válido"
127
- paymill_prenotification,"Días hasta el cargo en cuenta."
128
- paymill_prenotification_text,"El cargo en cuenta automático se realiza en la fecha siguiente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/fr_CA/Paymill_Paymill.csv DELETED
@@ -1,128 +0,0 @@
1
- paymill_Amount,Montant
2
- paymill_accepted_currency,"Devises acceptées"
3
- paymill_opt_Enabled,Activer
4
- paymill_opt_Countries,"Pays acceptés"
5
- paymill_Activate_Debugging,"Activer le débogage"
6
- paymill_fc_active,"Activer le paiement rapide."
7
- paymill_Activate_Logging,"Activer la journalisation."
8
- paymill_preAuth_active,"Préautoriser les transactions lors du paiement. Le montant sera prélevé lors de la génération des factures."
9
- paymill_private_key_comment,"Vous trouverez votre clé privée dans le cockpit PAYMILL."
10
- paymill_Private_Key,"Clé privée"
11
- paymill_public_key_comment,"Vous trouverez votre clé publique dans le cockpit PAYMILL."
12
- paymill_Public_Key,"Clé publique"
13
- paymill_Show_Label,"Afficher l'étiquette PAYMILL lors du paiement."
14
- paymill_opt_Sort,Séquence
15
- paymill_token_tolerace_tooltip,"Une somme vous sera prélevée lors de la génération des crédits PAYMILL, afin d'éviter les écarts par rapport à la sécurité 3-D."
16
- paymill_token_tolerace_comment,"Une somme vous sera prélevée lors de la génération des crédits PAYMILL, afin d'éviter les écarts par rapport à la sécurité 3-D."
17
- paymill_token_tolerace,"Valeur de tolérance des crédits"
18
- paymill_Currency,Devise
19
- paymill_error_text_invalid_cvc,"CVC invalide"
20
- PAYMILL_field_invalid_card_cvc,"CVC invalide"
21
- paymill_error_text_invalid_holder_cc,"Veuillez saisir le nom du titulaire de la carte."
22
- PAYMILL_field_invalid_card_holder,"Veuillez saisir le nom du titulaire de la carte."
23
- paymill_error_text_invalid_number_cc,"Veuillez saisir un numéro de carte de crédit valide."
24
- PAYMILL_field_invalid_card_number,"Veuillez saisir un numéro de carte de crédit valide."
25
- paymill_error_text_invalid_expdate,"Date d'expiration invalide"
26
- PAYMILL_field_invalid_bank_code,"Veuillez saisir un code bancaire de débit direct valide."
27
- paymill_error_text_invalid_bankcode,"Veuillez saisir un code bancaire de débit direct valide."
28
- paymill_error_text_invalid_holder_elv,"Veuillez saisir le nom du titulaire du compte de débit direct"
29
- PAYMILL_field_invalid_account_holder,"Veuillez saisir le nom du titulaire du compte de débit direct"
30
- paymill_error_text_invalid_number_elv,"Veuillez saisir un numéro de compte de débit direct valide"
31
- PAYMILL_field_invalid_account_number,"Veuillez saisir un numéro de compte de débit direct valide"
32
- paymill_error_text_invalid_payment,"Le moyen de paiement n'a pas pu être identifié. Veuillez contacter l'assistance."
33
- paymill_dialog_confirm,"Êtes-vous sûr ?"
34
- paymill_slogan,"Paiements par carte de crédit sécurisés fonctionnant avec"
35
- paymill_slogan_elv,"Débit direct fonctionnant avec"
36
- paymill_credit_card,"Carte de crédit"
37
- paymill_creditcard,"Carte de crédit"
38
- paymill_3ds_cancel,Annuler
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Titulaire de la carte"
41
- paymill_Number,"Numéro de carte"
42
- paymill_Date,"Valable jusqu'au"
43
- paymill_cvc_tooltip,"Le code CVV ou CVC est une fonctionnalité de sécurité des cartes de crédit. Il se compose en général d'un nombre de trois à quatre chiffres. Sur les cartes de crédit VISA, il est appelé code CVV. On trouve le même code sur les cartes de crédit MasterCard, où il est appelé cependant CVC. CVC signifie « Card Validation Code » (« Code de validation de carte »). Le code CVV signifie quant à lui « Card Validation Value code » (« code de Valeur de validation de carte »). Similaires à MasterCard et Visa, les autres marques telles que Diners Club, Discover et JCB contiennent un nombre à trois chiffres que l'on retrouve généralement au dos de la carte de crédit. Les cartes MAESTRO existent avec et sans le CVV à trois chiffres. Si vous utilisez une carte MAESTRO sans CVV, vous pourrez saisir 000 dans le formulaire. American Express utilise le CID (card identification number - numéro d'identification de carte). Le CID est un nombre à quatre chiffres que l'on retrouve généralement à l'avant de la carte, en haut à droite du numéro de carte de crédit."
44
- paymill_directdebit,"Débit direct"
45
- paymill_direct_debit,"Débit direct"
46
- paymill_bankcode,"Code bancaire"
47
- paymill_account,"Numéro de compte"
48
- paymill_backend_log_entry_date,"Date de saisie"
49
- paymill_backend_log_dev_info,"Informer le développeur"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Information sur le marchand"
52
- paymill_log,"Journal PAYMILL"
53
- paymill_backend_log_version,"Version du module"
54
- paymill_credit_card_label,"Paiements par carte de crédit PAYMILL"
55
- paymill_direct_debit_label,"Débit direct PAYMILL"
56
- paymill_activate_sepa,"Montrer le formulaire SEPA"
57
- paymill_Basic_Setting,"Paramètres de base pour Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Veuillez entrer une clé publique valide"
61
- paymill_private_key_tooltip,"Veuillez entrer une clé privée valide"
62
- paymill_error_text_invalid_token,"L'erreur suivante est survenue :"
63
- paymill_error_text_no_entry_selected,"Veuillez sélectionner une entrée"
64
- paymill_action_delete,"Supprimer la saisie"
65
- paymill_backend_log_dev_info_additional,"Informations supplémentaires sur le développeur"
66
- paymill_checkout_generating_invoice,"La facture est en cours de création"
67
- paymill_log_action_success,"Action réussie"
68
- paymill_checkout_desc,"Texte de description"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Envoyer une facture par courriel"
122
- paymill_error_text_invalid_iban_elv,"Veuillez entrer un IBAN valide"
123
- paymill_error_text_invalid_bic,"Veuillez entrer un BIC valide."
124
- paymill_accepted_creditcards,"Marques de cartes de crédit acceptées"
125
- paymill_prenotification,"Nombre de jours avant le prélèvement"
126
- paymill_prenotification_text,"Le prélèvement automatique sera effectué à la date suivante:"
127
- paymill_show_creditcards,"Show creditcard logos"
128
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/fr_FR/Paymill_Paymill.csv DELETED
@@ -1,128 +0,0 @@
1
- paymill_Amount,Montant
2
- paymill_accepted_currency,"Devises acceptées"
3
- paymill_opt_Enabled,Activer
4
- paymill_opt_Countries,"Pays acceptés"
5
- paymill_Activate_Debugging,"Activer le débogage"
6
- paymill_fc_active,"Activer le paiement rapide."
7
- paymill_Activate_Logging,"Activer la journalisation."
8
- paymill_preAuth_active,"Préautoriser les transactions lors du paiement. Le montant sera prélevé lors de la génération des factures."
9
- paymill_private_key_comment,"Vous trouverez votre clé privée dans le cockpit PAYMILL."
10
- paymill_Private_Key,"Clé privée"
11
- paymill_public_key_comment,"Vous trouverez votre clé publique dans le cockpit PAYMILL."
12
- paymill_Public_Key,"Clé publique"
13
- paymill_Show_Label,"Afficher l'étiquette PAYMILL lors du paiement."
14
- paymill_opt_Sort,Séquence
15
- paymill_token_tolerace_tooltip,"Une somme vous sera prélevée lors de la génération des crédits PAYMILL, afin d'éviter les écarts par rapport à la sécurité 3-D."
16
- paymill_token_tolerace_comment,"Une somme vous sera prélevée lors de la génération des crédits PAYMILL, afin d'éviter les écarts par rapport à la sécurité 3-D."
17
- paymill_token_tolerace,"Valeur de tolérance des crédits"
18
- paymill_Currency,Devise
19
- paymill_error_text_invalid_cvc,"CVC invalide"
20
- PAYMILL_field_invalid_card_cvc,"CVC invalide"
21
- paymill_error_text_invalid_holder_cc,"Veuillez saisir le nom du titulaire de la carte."
22
- PAYMILL_field_invalid_card_holder,"Veuillez saisir le nom du titulaire de la carte."
23
- paymill_error_text_invalid_number_cc,"Veuillez saisir un numéro de carte de crédit valide."
24
- PAYMILL_field_invalid_card_number,"Veuillez saisir un numéro de carte de crédit valide."
25
- paymill_error_text_invalid_expdate,"Date d'expiration invalide"
26
- PAYMILL_field_invalid_bank_code,"Veuillez saisir un code bancaire de débit direct valide."
27
- paymill_error_text_invalid_bankcode,"Veuillez saisir un code bancaire de débit direct valide."
28
- paymill_error_text_invalid_holder_elv,"Veuillez saisir le nom du titulaire du compte de débit direct"
29
- PAYMILL_field_invalid_account_holder,"Veuillez saisir le nom du titulaire du compte de débit direct"
30
- paymill_error_text_invalid_number_elv,"Veuillez saisir un numéro de compte de débit direct valide"
31
- PAYMILL_field_invalid_account_number,"Veuillez saisir un numéro de compte de débit direct valide"
32
- paymill_error_text_invalid_payment,"Le moyen de paiement n'a pas pu être identifié. Veuillez contacter l'assistance."
33
- paymill_dialog_confirm,"Êtes-vous sûr ?"
34
- paymill_slogan,"Paiements par carte de crédit sécurisés fonctionnant avec"
35
- paymill_slogan_elv,"Débit direct fonctionnant avec"
36
- paymill_credit_card,"Carte de crédit"
37
- paymill_creditcard,"Carte de crédit"
38
- paymill_3ds_cancel,Annuler
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Titulaire de la carte"
41
- paymill_Number,"Numéro de carte"
42
- paymill_Date,"Valable jusqu'au"
43
- paymill_cvc_tooltip,"Le code CVV ou CVC est une fonctionnalité de sécurité des cartes de crédit. Il se compose en général d'un nombre de trois à quatre chiffres. Sur les cartes de crédit VISA, il est appelé code CVV. On trouve le même code sur les cartes de crédit MasterCard, où il est appelé cependant CVC. CVC signifie « Card Validation Code » (« Code de validation de carte »). Le code CVV signifie quant à lui « Card Validation Value code » (« code de Valeur de validation de carte »). Similaires à MasterCard et Visa, les autres marques telles que Diners Club, Discover et JCB contiennent un nombre à trois chiffres que l'on retrouve généralement au dos de la carte de crédit. Les cartes MAESTRO existent avec et sans le CVV à trois chiffres. Si vous utilisez une carte MAESTRO sans CVV, vous pourrez saisir 000 dans le formulaire. American Express utilise le CID (card identification number - numéro d'identification de carte). Le CID est un nombre à quatre chiffres que l'on retrouve généralement à l'avant de la carte, en haut à droite du numéro de carte de crédit."
44
- paymill_directdebit,"Débit direct"
45
- paymill_direct_debit,"Débit direct"
46
- paymill_bankcode,"Code bancaire"
47
- paymill_account,"Numéro de compte"
48
- paymill_backend_log_entry_date,"Date de saisie"
49
- paymill_backend_log_dev_info,"Informer le développeur"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Information sur le marchand"
52
- paymill_log,"Journal PAYMILL"
53
- paymill_backend_log_version,"Version du module"
54
- paymill_credit_card_label,"Paiements par carte de crédit PAYMILL"
55
- paymill_direct_debit_label,"Débit direct PAYMILL"
56
- paymill_activate_sepa,"Montrer le formulaire SEPA"
57
- paymill_Basic_Setting,"Paramètres de base pour Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Veuillez entrer une clé publique valide"
61
- paymill_private_key_tooltip,"Veuillez entrer une clé privée valide"
62
- paymill_error_text_invalid_token,"L'erreur suivante est survenue :"
63
- paymill_error_text_no_entry_selected,"Veuillez sélectionner une entrée"
64
- paymill_action_delete,"Supprimer la saisie"
65
- paymill_backend_log_dev_info_additional,"Informations supplémentaires sur le développeur"
66
- paymill_checkout_generating_invoice,"La facture est en cours de création"
67
- paymill_log_action_success,"Action réussie"
68
- paymill_checkout_desc,"Texte de description"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Envoyer une facture par courriel"
122
- paymill_error_text_invalid_iban_elv,"Veuillez entrer un IBAN valide"
123
- paymill_error_text_invalid_bic,"Veuillez entrer un BIC valide."
124
- paymill_accepted_creditcards,"Marques de cartes de crédit acceptées"
125
- paymill_prenotification,"Nombre de jours avant le prélèvement"
126
- paymill_prenotification_text,"Le prélèvement automatique sera effectué à la date suivante:"
127
- paymill_show_creditcards,"Show creditcard logos"
128
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/it_CH/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Importo
2
- paymill_accepted_currency,"Valute accettate"
3
- paymill_opt_Enabled,Attivare
4
- paymill_opt_Countries,"Paesi accettati"
5
- paymill_Activate_Debugging,"Attivare il debug"
6
- paymill_fc_active,"Abilitare pagamento veloce"
7
- paymill_Activate_Logging,"Attivare la registrazione."
8
- paymill_preAuth_active,"Preautorizzare le transazioni al momento del pagamento. L'addebito verrà effettuato durante la generazione delle fatture."
9
- paymill_private_key_comment,"Può trovare la sua chiave privata nel pannello di controllo di PAYMILL."
10
- paymill_Private_Key,"Chiave privata"
11
- paymill_public_key_comment,"Può trovare la sua chiave pubblica nel pannello di controllo di PAYMILL."
12
- paymill_Public_Key,"Chiave pubblica"
13
- paymill_Show_Label,"Visualizzare l'etichetta PAYMILL durante il pagamento."
14
- paymill_opt_Sort,Sequenza
15
- paymill_token_tolerace_tooltip,"Importo che verrà sovraccaricato durante la generazione del Token PAYMILL. Questo per evitare deviazioni del 3-D Secure."
16
- paymill_token_tolerace_comment,"Importo che verrà sovraccaricato durante la generazione del Token PAYMILL. Questo per evitare deviazioni del 3-D Secure."
17
- paymill_token_tolerace,"Valore di tolleranza Token"
18
- paymill_Currency,Valuta
19
- paymill_error_text_invalid_cvc,"CVC non valido"
20
- PAYMILL_field_invalid_card_cvc,"CVC non valido"
21
- paymill_error_text_invalid_holder_cc,"Inserire il nome del titolare della carta."
22
- PAYMILL_field_invalid_card_holder,"Inserire il nome del titolare della carta."
23
- paymill_error_text_invalid_number_cc,"Inserire un numero di carta di credito valido."
24
- PAYMILL_field_invalid_card_number,"Inserire un numero di carta di credito valido."
25
- paymill_error_text_invalid_expdate,"Data scadenza non valida"
26
- PAYMILL_field_invalid_bank_code,"Inserire un codice di addebito bancario diretto valido."
27
- paymill_error_text_invalid_bankcode,"Inserire un codice di addebito bancario diretto valido."
28
- paymill_error_text_invalid_holder_elv,"Inserire il nome del titolare del conto di addebito diretto"
29
- PAYMILL_field_invalid_account_holder,"Inserire il nome del titolare del conto di addebito diretto"
30
- paymill_error_text_invalid_number_elv,"Inserire un numero di conto di addebito diretto valido"
31
- PAYMILL_field_invalid_account_number,"Inserire un numero di conto di addebito diretto valido"
32
- paymill_error_text_invalid_payment,"Il metodo di pagamento non può essere identificato. Contattare il supporto per assistenza."
33
- paymill_dialog_confirm,"Sei sicuro?"
34
- paymill_slogan,"Pagamenti sicuri con carta di credito con tecnologia"
35
- paymill_slogan_elv,"Addebito diretto con tecnologia"
36
- paymill_credit_card,"Carta di credito"
37
- paymill_creditcard,"Carta di credito"
38
- paymill_3ds_cancel,Annullare
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Titolare carta"
41
- paymill_Number,"Numero carta"
42
- paymill_Date,"Valida fino al"
43
- paymill_cvc_tooltip,"Il codice CVV o CVC è una funzione di sicurezza delle carte di credito. Di solito, è un numero composto da tre o quattro cifre. Sulle carte di credito VISA, è indicato come codice CVV. Lo stesso codice può essere trovato sulle carte di credito MasterCard, dove però è denominato CVC. CVC è l'abbreviazione di ""Card Validation Code"" (Codice di validazione della carta). Il codice CVV, invece, è l'abbreviazione di ""Card Validation Value code"" (Codice del valore di verifica della carta). Similmente alla MasterCard e alla Visa, altre marche come la Diners Club, la Discover e la JCB contengono un numero a tre cifre che di solito può essere trovato sul retro della carta di credito. Esistono carte MAESTRO con o senza un codice CVV a tre cifre. Nel caso in cui venga utilizzata una carta MAESTRO priva di CVV, è possibile inserire 000 nel modulo. L'American Express utilizza il CID (Numero di identificazione della carta). Il CID è un numero a quattro cifre che di solito si trova sulla parte anteriore della carta, in alto a destra dal numero della carta di credito."
44
- paymill_directdebit,"Addebito diretto"
45
- paymill_direct_debit,"Addebito diretto"
46
- paymill_bankcode,"Codice bancario"
47
- paymill_account,"Numero conto"
48
- paymill_backend_log_entry_date,"Data della voce"
49
- paymill_backend_log_dev_info,"Informare sviluppatore"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Informazioni operatore commerciale"
52
- paymill_log,"Registro PAYMILL"
53
- paymill_backend_log_version,"Versione modulo"
54
- paymill_credit_card_label,"Pagamenti con carta di credito PAYMILL"
55
- paymill_direct_debit_label,"Addebito diretto PAYMILL"
56
- paymill_activate_sepa,"Mostra SEPA da"
57
- paymill_Basic_Setting,"Impostazioni principali di Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Inserire una chiave pubblica valida"
61
- paymill_private_key_tooltip,"Inserire una chiave privata valida"
62
- paymill_error_text_invalid_token,"Si è verificato il seguente errore:"
63
- paymill_error_text_no_entry_selected,"Selezionare una voce"
64
- paymill_action_delete,"Elimina voce"
65
- paymill_backend_log_dev_info_additional,"Informazioni aggiuntive sviluppatore"
66
- paymill_checkout_generating_invoice,"Fattura creata"
67
- paymill_log_action_success,"Azione avvenuta con successo"
68
- paymill_checkout_desc,Descrizione
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Invia fattura tramite e-mail"
122
- paymill_error_text_invalid_iban_elv,"Inserire un numero iban valido"
123
- paymill_error_text_invalid_bic,"Inserire un codice bic valido."
124
- paymill_accepted_creditcards,"Marche di Carte di Credito accettate"
125
- paymill_feedback_error_directdebit_number_iban,"Per favore, inserire un codice BIC/Banca valido"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Per favore, inserire un codice IBAN/numero di conto valido"
127
- paymill_prenotification,"Giorni mancanti all'addebito"
128
- paymill_prenotification_text,"L'addebito sarà effettuato nella giornata seguente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/it_IT/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Importo
2
- paymill_accepted_currency,"Valute accettate"
3
- paymill_opt_Enabled,Attivare
4
- paymill_opt_Countries,"Paesi accettati"
5
- paymill_Activate_Debugging,"Attivare il debug"
6
- paymill_fc_active,"Abilitare pagamento veloce"
7
- paymill_Activate_Logging,"Attivare la registrazione."
8
- paymill_preAuth_active,"Preautorizzare le transazioni al momento del pagamento. L'addebito verrà effettuato durante la generazione delle fatture."
9
- paymill_private_key_comment,"Può trovare la sua chiave privata nel pannello di controllo di PAYMILL."
10
- paymill_Private_Key,"Chiave privata"
11
- paymill_public_key_comment,"Può trovare la sua chiave pubblica nel pannello di controllo di PAYMILL."
12
- paymill_Public_Key,"Chiave pubblica"
13
- paymill_Show_Label,"Visualizzare l'etichetta PAYMILL durante il pagamento."
14
- paymill_opt_Sort,Sequenza
15
- paymill_token_tolerace_tooltip,"Importo che verrà sovraccaricato durante la generazione del Token PAYMILL. Questo per evitare deviazioni del 3-D Secure."
16
- paymill_token_tolerace_comment,"Importo che verrà sovraccaricato durante la generazione del Token PAYMILL. Questo per evitare deviazioni del 3-D Secure."
17
- paymill_token_tolerace,"Valore di tolleranza Token"
18
- paymill_Currency,Valuta
19
- paymill_error_text_invalid_cvc,"CVC non valido"
20
- PAYMILL_field_invalid_card_cvc,"CVC non valido"
21
- paymill_error_text_invalid_holder_cc,"Inserire il nome del titolare della carta."
22
- PAYMILL_field_invalid_card_holder,"Inserire il nome del titolare della carta."
23
- paymill_error_text_invalid_number_cc,"Inserire un numero di carta di credito valido."
24
- PAYMILL_field_invalid_card_number,"Inserire un numero di carta di credito valido."
25
- paymill_error_text_invalid_expdate,"Data scadenza non valida"
26
- PAYMILL_field_invalid_bank_code,"Inserire un codice di addebito bancario diretto valido."
27
- paymill_error_text_invalid_bankcode,"Inserire un codice di addebito bancario diretto valido."
28
- paymill_error_text_invalid_holder_elv,"Inserire il nome del titolare del conto di addebito diretto"
29
- PAYMILL_field_invalid_account_holder,"Inserire il nome del titolare del conto di addebito diretto"
30
- paymill_error_text_invalid_number_elv,"Inserire un numero di conto di addebito diretto valido"
31
- PAYMILL_field_invalid_account_number,"Inserire un numero di conto di addebito diretto valido"
32
- paymill_error_text_invalid_payment,"Il metodo di pagamento non può essere identificato. Contattare il supporto per assistenza."
33
- paymill_dialog_confirm,"Sei sicuro?"
34
- paymill_slogan,"Pagamenti sicuri con carta di credito con tecnologia"
35
- paymill_slogan_elv,"Addebito diretto con tecnologia"
36
- paymill_credit_card,"Carta di credito"
37
- paymill_creditcard,"Carta di credito"
38
- paymill_3ds_cancel,Annullare
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Titolare carta"
41
- paymill_Number,"Numero carta"
42
- paymill_Date,"Valida fino al"
43
- paymill_cvc_tooltip,"Il codice CVV o CVC è una funzione di sicurezza delle carte di credito. Di solito, è un numero composto da tre o quattro cifre. Sulle carte di credito VISA, è indicato come codice CVV. Lo stesso codice può essere trovato sulle carte di credito MasterCard, dove però è denominato CVC. CVC è l'abbreviazione di ""Card Validation Code"" (Codice di validazione della carta). Il codice CVV, invece, è l'abbreviazione di ""Card Validation Value code"" (Codice del valore di verifica della carta). Similmente alla MasterCard e alla Visa, altre marche come la Diners Club, la Discover e la JCB contengono un numero a tre cifre che di solito può essere trovato sul retro della carta di credito. Esistono carte MAESTRO con o senza un codice CVV a tre cifre. Nel caso in cui venga utilizzata una carta MAESTRO priva di CVV, è possibile inserire 000 nel modulo. L'American Express utilizza il CID (Numero di identificazione della carta). Il CID è un numero a quattro cifre che di solito si trova sulla parte anteriore della carta, in alto a destra dal numero della carta di credito."
44
- paymill_directdebit,"Addebito diretto"
45
- paymill_direct_debit,"Addebito diretto"
46
- paymill_bankcode,"Codice bancario"
47
- paymill_account,"Numero conto"
48
- paymill_backend_log_entry_date,"Data della voce"
49
- paymill_backend_log_dev_info,"Informare sviluppatore"
50
- paymill_backend_log_id,Id
51
- paymill_backend_log_merchant_info,"Informazioni operatore commerciale"
52
- paymill_log,"Registro PAYMILL"
53
- paymill_backend_log_version,"Versione modulo"
54
- paymill_credit_card_label,"Pagamenti con carta di credito PAYMILL"
55
- paymill_direct_debit_label,"Addebito diretto PAYMILL"
56
- paymill_activate_sepa,"Mostra SEPA da"
57
- paymill_Basic_Setting,"Impostazioni principali di Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Inserire una chiave pubblica valida"
61
- paymill_private_key_tooltip,"Inserire una chiave privata valida"
62
- paymill_error_text_invalid_token,"Si è verificato il seguente errore:"
63
- paymill_error_text_no_entry_selected,"Selezionare una voce"
64
- paymill_action_delete,"Elimina voce"
65
- paymill_backend_log_dev_info_additional,"Informazioni aggiuntive sviluppatore"
66
- paymill_checkout_generating_invoice,"Fattura creata"
67
- paymill_log_action_success,"Azione avvenuta con successo"
68
- paymill_checkout_desc,Descrizione
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Invia fattura tramite e-mail"
122
- paymill_error_text_invalid_iban_elv,"Inserire un numero iban valido"
123
- paymill_error_text_invalid_bic,"Inserire un codice bic valido."
124
- paymill_accepted_creditcards,"Marche di Carte di Credito accettate"
125
- paymill_feedback_error_directdebit_number_iban,"Per favore, inserire un codice BIC/Banca valido"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Per favore, inserire un codice IBAN/numero di conto valido"
127
- paymill_prenotification,"Giorni mancanti all'addebito"
128
- paymill_prenotification_text,"L'addebito sarà effettuato nella giornata seguente:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/pt_BR/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Valor
2
- paymill_accepted_currency,"Moedas aceites"
3
- paymill_opt_Enabled,Ativar
4
- paymill_opt_Countries,"Países aceites"
5
- paymill_Activate_Debugging,"Ativar a depuração"
6
- paymill_fc_active,"Ativar o checkout rápido"
7
- paymill_Activate_Logging,"Ativar o registo."
8
- paymill_preAuth_active,"Pré-autorize as transações durante o checkout. A cobrança será realizada ao gerar as faturas."
9
- paymill_private_key_comment,"Você pode encontrar a sua chave privada no cockpit da PAYMILL."
10
- paymill_Private_Key,"Chave privada"
11
- paymill_public_key_comment,"Você pode encontrar a sua chave pública no cockpit da PAYMILL."
12
- paymill_Public_Key,"Chave pública"
13
- paymill_Show_Label,"Exibir o selo PAYMILL durante o checkout."
14
- paymill_opt_Sort,Sequência
15
- paymill_token_tolerace_tooltip,"Valor que será sobretaxado ao gerar o Token PAYMILL. Isto serve para evitar desvios do 3-D secure."
16
- paymill_token_tolerace_comment,"Valor que será sobretaxado ao gerar o Token PAYMILL. Isto serve para evitar desvios do 3-D secure."
17
- paymill_token_tolerace,"Valor de tolerância do token"
18
- paymill_Currency,Moeda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduza o nome do titular do cartão."
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduza o nome do titular do cartão."
23
- paymill_error_text_invalid_number_cc,"Por favor, introduza um número de cartão de crédito válido."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduza um número de cartão de crédito válido."
25
- paymill_error_text_invalid_expdate,"Data de validade inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduza um código bancário de débito direto válido."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduza um código bancário de débito direto válido."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduza o nome do titular da conta de débito direto"
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduza o nome do titular da conta de débito direto"
30
- paymill_error_text_invalid_number_elv,"Por favor, introduza um número de conta de débito direto válido"
31
- PAYMILL_field_invalid_account_number,"Por favor, introduza um número de conta de débito direto válido"
32
- paymill_error_text_invalid_payment,"O método de pagamento não pode ser identificado. Por favor, contacte o apoio ao cliente."
33
- paymill_dialog_confirm,"Tem a certeza?"
34
- paymill_slogan,"Pagamentos com cartão de crédito seguros fornecidos por"
35
- paymill_slogan_elv,"Débito direto fornecido por"
36
- paymill_credit_card,"Cartão de crédito"
37
- paymill_creditcard,"Cartão de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Titular do cartão"
41
- paymill_Number,"Número do cartão"
42
- paymill_Date,"Válido até"
43
- paymill_cvc_tooltip,"O código CVV ou CVC é uma funcionalidade de segurança dos cartões de crédito. Normalmente é um número com três ou quatro dígitos. Nos cartões de crédito VISA, é chamado de código CVV. O mesmo código pode ser encontrado nos cartões de crédito MasterCard - onde no entanto é chamado de CVC. CVC é uma abreviatura para ""Código de Validação do Cartão"". O código CVV, por outro lado, é uma abreviatura para ""Código para Valor de Validação do Cartão"". De forma semelhante à MasterCard e à Visa, outras marcas tais como o Diners Club, Discover e JCB contêm um número de três dígitos que normalmente pode ser encontrado na parte de trás do cartão de crédito. Existem cartões MAESTRO com e sem um CVV de três dígitos. No caso de ser utilizado um cartão MAESTRO sem CVV, é possível introduzir 000 no formulário. A American Express utiliza o CID (número de identificação do cartão). O CID é um número de quatro dígitos que pode ser encontrado na parte da frente do cartão, no topo à direita do número do cartão de crédito."
44
- paymill_directdebit,"Débito direto"
45
- paymill_direct_debit,"Débito direto"
46
- paymill_bankcode,"Código do banco"
47
- paymill_account,"Número da conta"
48
- paymill_backend_log_entry_date,"Data de entrada"
49
- paymill_backend_log_dev_info,"Informar o programador"
50
- paymill_backend_log_id,Identificação
51
- paymill_backend_log_merchant_info,"Informação do comerciante"
52
- paymill_log,"Registo PAYMILL"
53
- paymill_backend_log_version,"Versão do módulo"
54
- paymill_credit_card_label,"Pagamentos por cartão de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagamentos por Débito direto PAYMILL"
56
- paymill_activate_sepa,"Mostrar formulário SEPA"
57
- paymill_Basic_Setting,"Definições Básicas do Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor introduza uma chave pública válida"
61
- paymill_private_key_tooltip,"Por favor introduza uma chave privada válida"
62
- paymill_error_text_invalid_token,"Ocorreu o seguinte erro:"
63
- paymill_error_text_no_entry_selected,"Seleccione uma entrada"
64
- paymill_action_delete,"Eliminar entrada"
65
- paymill_backend_log_dev_info_additional,"Informações adicionais acerca do desenvolvimento"
66
- paymill_checkout_generating_invoice,"Está a ser criada a factura"
67
- paymill_log_action_success,"Acção bem sucedida"
68
- paymill_checkout_desc,"Texto descritivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correio"
122
- paymill_error_text_invalid_iban_elv,"Por favor insira um IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor insira um BIC válido"
124
- paymill_accepted_creditcards,"Marcas de Cartão de Crédito Aceites"
125
- paymill_feedback_error_directdebit_number_iban,"Indique um BIC/número de identificação bancária válido"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Indique um IBAN/número de conta válido"
127
- paymill_prenotification,"Dias até ao débito"
128
- paymill_prenotification_text,"O débito direto é feito na seguinte data:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/pt_PT/Paymill_Paymill.csv DELETED
@@ -1,130 +0,0 @@
1
- paymill_Amount,Valor
2
- paymill_accepted_currency,"Moedas aceites"
3
- paymill_opt_Enabled,Ativar
4
- paymill_opt_Countries,"Países aceites"
5
- paymill_Activate_Debugging,"Ativar a depuração"
6
- paymill_fc_active,"Ativar o checkout rápido"
7
- paymill_Activate_Logging,"Ativar o registo."
8
- paymill_preAuth_active,"Pré-autorize as transações durante o checkout. A cobrança será realizada ao gerar as faturas."
9
- paymill_private_key_comment,"Você pode encontrar a sua chave privada no cockpit da PAYMILL."
10
- paymill_Private_Key,"Chave privada"
11
- paymill_public_key_comment,"Você pode encontrar a sua chave pública no cockpit da PAYMILL."
12
- paymill_Public_Key,"Chave pública"
13
- paymill_Show_Label,"Exibir o selo PAYMILL durante o checkout."
14
- paymill_opt_Sort,Sequência
15
- paymill_token_tolerace_tooltip,"Valor que será sobretaxado ao gerar o Token PAYMILL. Isto serve para evitar desvios do 3-D secure."
16
- paymill_token_tolerace_comment,"Valor que será sobretaxado ao gerar o Token PAYMILL. Isto serve para evitar desvios do 3-D secure."
17
- paymill_token_tolerace,"Valor de tolerância do token"
18
- paymill_Currency,Moeda
19
- paymill_error_text_invalid_cvc,"CVC inválido"
20
- PAYMILL_field_invalid_card_cvc,"CVC inválido"
21
- paymill_error_text_invalid_holder_cc,"Por favor, introduza o nome do titular do cartão."
22
- PAYMILL_field_invalid_card_holder,"Por favor, introduza o nome do titular do cartão."
23
- paymill_error_text_invalid_number_cc,"Por favor, introduza um número de cartão de crédito válido."
24
- PAYMILL_field_invalid_card_number,"Por favor, introduza um número de cartão de crédito válido."
25
- paymill_error_text_invalid_expdate,"Data de validade inválida"
26
- PAYMILL_field_invalid_bank_code,"Por favor, introduza um código bancário de débito direto válido."
27
- paymill_error_text_invalid_bankcode,"Por favor, introduza um código bancário de débito direto válido."
28
- paymill_error_text_invalid_holder_elv,"Por favor, introduza o nome do titular da conta de débito direto"
29
- PAYMILL_field_invalid_account_holder,"Por favor, introduza o nome do titular da conta de débito direto"
30
- paymill_error_text_invalid_number_elv,"Por favor, introduza um número de conta de débito direto válido"
31
- PAYMILL_field_invalid_account_number,"Por favor, introduza um número de conta de débito direto válido"
32
- paymill_error_text_invalid_payment,"O método de pagamento não pode ser identificado. Por favor, contacte o apoio ao cliente."
33
- paymill_dialog_confirm,"Tem a certeza?"
34
- paymill_slogan,"Pagamentos com cartão de crédito seguros fornecidos por"
35
- paymill_slogan_elv,"Débito direto fornecido por"
36
- paymill_credit_card,"Cartão de crédito"
37
- paymill_creditcard,"Cartão de crédito"
38
- paymill_3ds_cancel,Cancelar
39
- paymill_Cvc,CVC
40
- paymill_Holder,"Titular do cartão"
41
- paymill_Number,"Número do cartão"
42
- paymill_Date,"Válido até"
43
- paymill_cvc_tooltip,"O código CVV ou CVC é uma funcionalidade de segurança dos cartões de crédito. Normalmente é um número com três ou quatro dígitos. Nos cartões de crédito VISA, é chamado de código CVV. O mesmo código pode ser encontrado nos cartões de crédito MasterCard - onde no entanto é chamado de CVC. CVC é uma abreviatura para ""Código de Validação do Cartão"". O código CVV, por outro lado, é uma abreviatura para ""Código para Valor de Validação do Cartão"". De forma semelhante à MasterCard e à Visa, outras marcas tais como o Diners Club, Discover e JCB contêm um número de três dígitos que normalmente pode ser encontrado na parte de trás do cartão de crédito. Existem cartões MAESTRO com e sem um CVV de três dígitos. No caso de ser utilizado um cartão MAESTRO sem CVV, é possível introduzir 000 no formulário. A American Express utiliza o CID (número de identificação do cartão). O CID é um número de quatro dígitos que pode ser encontrado na parte da frente do cartão, no topo à direita do número do cartão de crédito."
44
- paymill_directdebit,"Débito direto"
45
- paymill_direct_debit,"Débito direto"
46
- paymill_bankcode,"Código do banco"
47
- paymill_account,"Número da conta"
48
- paymill_backend_log_entry_date,"Data de entrada"
49
- paymill_backend_log_dev_info,"Informar o programador"
50
- paymill_backend_log_id,Identificação
51
- paymill_backend_log_merchant_info,"Informação do comerciante"
52
- paymill_log,"Registo PAYMILL"
53
- paymill_backend_log_version,"Versão do módulo"
54
- paymill_credit_card_label,"Pagamentos por cartão de crédito PAYMILL"
55
- paymill_direct_debit_label,"Pagamentos por Débito direto PAYMILL"
56
- paymill_activate_sepa,"Mostrar formulário SEPA"
57
- paymill_Basic_Setting,"Definições Básicas do Paymill"
58
- paymill_iban,IBAN
59
- paymill_bic,BIC
60
- paymill_public_key_tooltip,"Por favor introduza uma chave pública válida"
61
- paymill_private_key_tooltip,"Por favor introduza uma chave privada válida"
62
- paymill_error_text_invalid_token,"Ocorreu o seguinte erro:"
63
- paymill_error_text_no_entry_selected,"Seleccione uma entrada"
64
- paymill_action_delete,"Eliminar entrada"
65
- paymill_backend_log_dev_info_additional,"Informações adicionais acerca do desenvolvimento"
66
- paymill_checkout_generating_invoice,"Está a ser criada a factura"
67
- paymill_log_action_success,"Acção bem sucedida"
68
- paymill_checkout_desc,"Texto descritivo"
69
- "General undefined response.","General undefined response."
70
- "Still waiting on something.","Still waiting on something."
71
- "General success response.","General success response."
72
- "General problem with data.","General problem with data."
73
- "General problem with payment data.","General problem with payment data."
74
- "Problem with credit card data.","Problem with credit card data."
75
- "Problem with cvv.","Problem with cvv."
76
- "Card expired or not yet valid.","Card expired or not yet valid."
77
- "Limit exceeded.","Limit exceeded."
78
- "Card invalid.","Card invalid."
79
- "Expiry date not valid.","Expiry date not valid."
80
- "Credit card brand required.","Credit card brand required."
81
- "Problem with bank account data.","Problem with bank account data."
82
- "Bank account data combination mismatch.","Bank account data combination mismatch."
83
- "User authentication failed.","User authentication failed."
84
- "Problem with 3d secure data.","Problem with 3d secure data."
85
- "Currency / amount mismatch","Currency / amount mismatch"
86
- "Problem with input data.","Problem with input data."
87
- "Amount too low or zero.","Amount too low or zero."
88
- "Usage field too long.","Usage field too long."
89
- "Currency not allowed.","Currency not allowed."
90
- "General problem with backend.","General problem with backend."
91
- "Country blacklisted.","Country blacklisted."
92
- "Technical error with credit card.","Technical error with credit card."
93
- "Error limit exceeded.","Error limit exceeded."
94
- "Card declined by authorization system.","Card declined by authorization system."
95
- "Manipulation or stolen card.","Manipulation or stolen card."
96
- "Card restricted.","Card restricted"
97
- "Invalid card configuration data.","Invalid card configuration data."
98
- "Technical error with bank account.","Technical error with bank account."
99
- "Card blacklisted.","Card blacklisted."
100
- "Technical error with 3D secure.","Technical error with 3D secure."
101
- "Decline because of risk issues.","Decline because of risk issues."
102
- "General timeout.","General timeout."
103
- "Timeout on side of the acquirer.","Timeout on side of the acquirer."
104
- "Risk management transaction timeout.","Risk management transaction timeout"
105
- "Duplicate transaction.","Duplicate transaction."
106
- PAYMILL_internal_server_error,"The communication with the psp failed."
107
- PAYMILL_invalid_public_key,"The public key is invalid."
108
- PAYMILL_invalid_payment_data,"Paymentmethod, card type currency or country not authorized"
109
- PAYMILL_unknown_error,"Unknown Error"
110
- PAYMILL_3ds_cancelled,"3-D Secure process has been canceled by the user"
111
- PAYMILL_field_invalid_card_exp_year,"Invalid Expiry Year"
112
- PAYMILL_field_invalid_card_exp_month,"Invalid Expiry Month"
113
- PAYMILL_field_invalid_card_exp,"Credit Card not valid"
114
- PAYMILL_field_invalid_amount_int,"Missing amount for 3-D Secure"
115
- PAYMILL_field_field_invalid_amount,"Missing amount for 3-D Secure"
116
- PAYMILL_field_field_field_invalid_currency,"Invalid currency for 3-D Secure"
117
- PAYMILL_field_invalid_iban,"Invalid IBAN"
118
- PAYMILL_field_invalid_bic,"Invalid BIC"
119
- PAYMILL_field_invalid_country,"Invalid country for sepa transactions"
120
- PAYMILL_field_invalid_bank_data,"Invalid bank data"
121
- paymill_send_invoice_mail,"Enviar factura por correio"
122
- paymill_error_text_invalid_iban_elv,"Por favor insira um IBAN válido"
123
- paymill_error_text_invalid_bic,"Por favor insira um BIC válido"
124
- paymill_accepted_creditcards,"Marcas de Cartão de Crédito Aceites"
125
- paymill_feedback_error_directdebit_number_iban,"Indique um BIC/número de identificação bancária válido"
126
- paymill_feedback_error_directdebit_bankcode_bic,"Indique um IBAN/número de conta válido"
127
- paymill_prenotification,"Dias até ao débito"
128
- paymill_prenotification_text,"O débito direto é feito na seguinte data:"
129
- paymill_show_creditcards,"Show creditcard logos"
130
- paymill_select_creditcards,"Select creditcard logos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/paymill/BrandDetection.js CHANGED
@@ -1,100 +1,100 @@
1
- PaymillBrandDetection = function() {};
2
-
3
- PaymillBrandDetection.prototype.option =
4
- {
5
- 'minlength': 6
6
- };
7
-
8
- PaymillBrandDetection.prototype.creditcard =
9
- {
10
- 'carte-bleue' : {
11
- 'pattern': /^(415006|497|407497|513)/,
12
- 'cardlength': [13, 16],
13
- 'luhn': false,
14
- 'cvc': [3]
15
- },
16
- 'carta-si': {
17
- 'pattern': /^(45399[78]|432913|5255)/,
18
- 'cardlength': [16],
19
- 'luhn': false,
20
- 'cvc': [3]
21
- },
22
- 'dankort' : {
23
- 'pattern': /^(4571|5019)/,
24
- 'cardlength': [16],
25
- 'luhn': false,
26
- 'cvc': [3]
27
- },
28
- 'china-unionpay' : {
29
- 'pattern': /^(62|88)/,
30
- 'cardlength': [16, 17, 18, 19],
31
- 'luhn': false,
32
- 'cvc': [3]
33
- },
34
- 'discover': {
35
- 'pattern': /^6(011|5)/,
36
- 'cardlength': [16],
37
- 'luhn': false,
38
- 'cvc': [3]
39
- },
40
- 'diners-club' : {
41
- 'pattern': /^3(0[0-5]|[68])/,
42
- 'cardlength': [14],
43
- 'luhn': false,
44
- 'cvc': [3]
45
- },
46
- 'maestro' : {
47
- 'pattern': /^(5018|5020|5038|5893|6304|6759|6761|6762|6763|0604|6390)/,
48
- 'cardlength': [12, 13, 14, 15, 16, 17, 18, 19],
49
- 'luhn': false,
50
- 'cvc': [0, 3, 4]
51
- },
52
- 'jcb' : {
53
- 'pattern': /^(2131|1800|35)/,
54
- 'cardlength': [16],
55
- 'luhn': false,
56
- 'cvc': [3]
57
- },
58
- 'amex' : {
59
- 'pattern': /^(3[47])/,
60
- 'cardlength': [15],
61
- 'luhn': false,
62
- 'cvc': [3, 4]
63
- },
64
- 'mastercard' : {
65
- 'pattern': /^(5[1-5])/,
66
- 'cardlength': [16],
67
- 'luhn': false,
68
- 'cvc': [3]
69
- },
70
- 'visa' : {
71
- 'pattern': /^(4)/,
72
- 'cardlength': [13, 16],
73
- 'luhn': false,
74
- 'cvc': [3]
75
- }
76
- };
77
-
78
- PaymillBrandDetection.prototype.detect = function(cardnumber)
79
- {
80
- var brand = 'unknown';
81
- if (cardnumber.length >= this.option.minlength) {
82
- for (var cardinfo in this.creditcard) {
83
- if (this.creditcard[cardinfo].pattern.test(cardnumber)) {
84
- brand = cardinfo;
85
- break;
86
- }
87
- }
88
- }
89
- return brand;
90
- };
91
-
92
- PaymillBrandDetection.prototype.validate = function(cardnumber)
93
- {
94
- return this.creditcard[this.detect(cardnumber)].cardlength.indexOf(cardnumber.length) !== -1;
95
- };
96
-
97
- PaymillBrandDetection.prototype.luhn = function(cardnumber)
98
- {
99
- //todo
100
  };
1
+ PaymillBrandDetection = function() {};
2
+
3
+ PaymillBrandDetection.prototype.option =
4
+ {
5
+ 'minlength': 6
6
+ };
7
+
8
+ PaymillBrandDetection.prototype.creditcard =
9
+ {
10
+ 'carte-bleue' : {
11
+ 'pattern': /^(415006|497|407497|513)/,
12
+ 'cardlength': [13, 16],
13
+ 'luhn': false,
14
+ 'cvc': [3]
15
+ },
16
+ 'carta-si': {
17
+ 'pattern': /^(45399[78]|432913|5255)/,
18
+ 'cardlength': [16],
19
+ 'luhn': false,
20
+ 'cvc': [3]
21
+ },
22
+ 'dankort' : {
23
+ 'pattern': /^(4571|5019)/,
24
+ 'cardlength': [16],
25
+ 'luhn': false,
26
+ 'cvc': [3]
27
+ },
28
+ 'china-unionpay' : {
29
+ 'pattern': /^(62|88)/,
30
+ 'cardlength': [16, 17, 18, 19],
31
+ 'luhn': false,
32
+ 'cvc': [3]
33
+ },
34
+ 'discover': {
35
+ 'pattern': /^6(011|5)/,
36
+ 'cardlength': [16],
37
+ 'luhn': false,
38
+ 'cvc': [3]
39
+ },
40
+ 'diners-club' : {
41
+ 'pattern': /^3(0[0-5]|[68])/,
42
+ 'cardlength': [14],
43
+ 'luhn': false,
44
+ 'cvc': [3]
45
+ },
46
+ 'maestro' : {
47
+ 'pattern': /^(5018|5020|5038|5893|6304|6759|6761|6762|6763|0604|6390)/,
48
+ 'cardlength': [12, 13, 14, 15, 16, 17, 18, 19],
49
+ 'luhn': false,
50
+ 'cvc': [0, 3, 4]
51
+ },
52
+ 'jcb' : {
53
+ 'pattern': /^(2131|1800|35)/,
54
+ 'cardlength': [16],
55
+ 'luhn': false,
56
+ 'cvc': [3]
57
+ },
58
+ 'amex' : {
59
+ 'pattern': /^(3[47])/,
60
+ 'cardlength': [15],
61
+ 'luhn': false,
62
+ 'cvc': [3, 4]
63
+ },
64
+ 'mastercard' : {
65
+ 'pattern': /^(5[1-5])/,
66
+ 'cardlength': [16],
67
+ 'luhn': false,
68
+ 'cvc': [3]
69
+ },
70
+ 'visa' : {
71
+ 'pattern': /^(4)/,
72
+ 'cardlength': [13, 16],
73
+ 'luhn': false,
74
+ 'cvc': [3]
75
+ }
76
+ };
77
+
78
+ PaymillBrandDetection.prototype.detect = function(cardnumber)
79
+ {
80
+ var brand = 'unknown';
81
+ if (cardnumber.length >= this.option.minlength) {
82
+ for (var cardinfo in this.creditcard) {
83
+ if (this.creditcard[cardinfo].pattern.test(cardnumber)) {
84
+ brand = cardinfo;
85
+ break;
86
+ }
87
+ }
88
+ }
89
+ return brand;
90
+ };
91
+
92
+ PaymillBrandDetection.prototype.validate = function(cardnumber)
93
+ {
94
+ return this.creditcard[this.detect(cardnumber)].cardlength.indexOf(cardnumber.length) !== -1;
95
+ };
96
+
97
+ PaymillBrandDetection.prototype.luhn = function(cardnumber)
98
+ {
99
+ //todo
100
  };
js/paymill/Creditcard.js ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function Creditcard()
2
+ {
3
+ this.helper = new PaymillHelper();
4
+ }
5
+
6
+ Creditcard.prototype.validate = function()
7
+ {
8
+ var valid = true;
9
+ if (this.helper.getElementValue('.paymill-info-fastCheckout-cc') === 'false') {
10
+ if (!paymill.validateCvc(this.helper.getElementValue('#paymill_creditcard_cvc'))) {
11
+ if (paymill.cardType(this.helper.getElementValue('#paymill_creditcard_number')).toLowerCase() !== 'maestro') {
12
+ valid = false;
13
+ }
14
+ }
15
+
16
+ if (!paymill.validateHolder(this.helper.getElementValue('#paymill_creditcard_holdername'))) {
17
+ valid = false;
18
+ }
19
+
20
+ if (!paymill.validateExpiry(
21
+ this.helper.getElementValue('#paymill_creditcard_expiry_month'),
22
+ this.helper.getElementValue('#paymill_creditcard_expiry_year'))) {
23
+ valid = false;
24
+ }
25
+
26
+ if (!paymill.validateCardNumber(this.helper.getElementValue('#paymill_creditcard_number'))) {
27
+ valid = false;
28
+ }
29
+ }
30
+
31
+ return valid;
32
+ };
33
+
34
+ Creditcard.prototype.setValidationRules = function()
35
+ {
36
+ var that = this;
37
+
38
+ Object.extend(Validation.methods, {
39
+ 'paymill-validate-cc-number': new Validator(
40
+ 'paymill-validate-cc-number',
41
+ this.helper.getElementValue('.paymill-payment-error-number'),
42
+ function(value) {
43
+ return paymill.validateCardNumber(value);
44
+ },
45
+ ''
46
+ ), 'paymill-validate-cc-expdate-month': new Validator(
47
+ 'paymill-validate-cc-expdate-month',
48
+ this.helper.getElementValue('.paymill-payment-error-expdate'),
49
+ function(value) {
50
+ return paymill.validateExpiry(value, that.helper.getElementValue('.paymill-validate-cc-expdate-year'));
51
+ },
52
+ ''
53
+ ), 'paymill-validate-cc-expdate-year': new Validator(
54
+ 'paymill-validate-cc-expdate-year',
55
+ this.helper.getElementValue('.paymill-payment-error-expdate'),
56
+ function(value) {
57
+ return paymill.validateExpiry(that.helper.getElementValue('.paymill-validate-cc-expdate-month'), value);
58
+ },
59
+ ''
60
+ ), 'paymill-validate-cc-holder': new Validator(
61
+ 'paymill-validate-cc-holder',
62
+ this.helper.getElementValue('.paymill-payment-error-holder'),
63
+ function(value) {
64
+ return (paymill.validateHolder(value));
65
+ },
66
+ ''
67
+ ), 'paymill-validate-cc-cvc': new Validator(
68
+ 'paymill-validate-cc-cvc',
69
+ this.helper.getElementValue('.paymill-payment-error-cvc'),
70
+ function(value) {
71
+ if (paymill.cardType(that.helper.getElementValue('#paymill_creditcard_number')).toLowerCase() === 'maestro') {
72
+ return true;
73
+ }
74
+
75
+ return paymill.validateCvc(value);
76
+ },
77
+ ''
78
+ )
79
+ });
80
+ };
81
+
82
+ Creditcard.prototype.unsetValidationRules = function()
83
+ {
84
+ Object.extend(Validation.methods, {
85
+ 'paymill-validate-cc-number': new Validator(
86
+ 'paymill-validate-cc-number',
87
+ '',
88
+ function(value) {
89
+ return true;
90
+ },
91
+ ''
92
+ ), 'paymill-validate-cc-expdate-month': new Validator(
93
+ 'paymill-validate-cc-expdate-month',
94
+ '',
95
+ function(value) {
96
+ return true;
97
+ },
98
+ ''
99
+ ), 'paymill-validate-cc-expdate-year': new Validator(
100
+ 'paymill-validate-cc-expdate-year',
101
+ '',
102
+ function(value) {
103
+ return true;
104
+ },
105
+ ''
106
+ ), 'paymill-validate-cc-holder': new Validator(
107
+ 'paymill-validate-cc-holder',
108
+ '',
109
+ function(value) {
110
+ return true;
111
+ },
112
+ ''
113
+ ), 'paymill-validate-cc-cvc': new Validator(
114
+ 'paymill-validate-cc-cvc',
115
+ '',
116
+ function(value) {
117
+ return true;
118
+ },
119
+ ''
120
+ )
121
+ });
122
+ };
123
+
124
+ Creditcard.prototype.getTokenParameter = function()
125
+ {
126
+ PAYMILL_PUBLIC_KEY = this.helper.getElementValue('.paymill-info-public_key-cc');
127
+ paymill.config('3ds_cancel_label', this.helper.getElementValue('.paymill_3ds_cancel'));
128
+
129
+ var cvc = '000';
130
+
131
+ if (this.helper.getElementValue('#paymill_creditcard_cvc') !== '') {
132
+ cvc = this.helper.getElementValue('#paymill_creditcard_cvc');
133
+ }
134
+
135
+ return {
136
+ amount_int: parseInt(this.getTokenAmount()),
137
+ currency: this.helper.getElementValue('.paymill-payment-currency-cc'),
138
+ number: this.helper.getElementValue('#paymill_creditcard_number'),
139
+ exp_month: this.helper.getElementValue('#paymill_creditcard_expiry_month'),
140
+ exp_year: this.helper.getElementValue('#paymill_creditcard_expiry_year'),
141
+ cvc: cvc,
142
+ cardholder: this.helper.getElementValue('#paymill_creditcard_holdername')
143
+ };
144
+ };
145
+
146
+ Creditcard.prototype.getTokenAmount = function()
147
+ {
148
+ var that = this;
149
+ var returnVal = null;
150
+
151
+ new Ajax.Request(this.helper.getElementValue('.paymill-payment-token-url-cc'), {
152
+ asynchronous: false,
153
+ onSuccess: function(response) {
154
+ returnVal = response.transport.responseText;
155
+ }, onFailure: function() {
156
+ Object.extend(Validation.methods, {
157
+ 'paymill-validate-cc-token': new Validator(
158
+ 'paymill-validate-cc-token',
159
+ that.helper.getElementValue('.paymill-payment-error-cc-token') + " Amount not accessable.",
160
+ function(value) {
161
+ return value !== '';
162
+ },
163
+ ''
164
+ )
165
+ });
166
+ }
167
+
168
+ });
169
+
170
+ return returnVal;
171
+ };
172
+
173
+ Creditcard.prototype.paymillShowCardIcon = function()
174
+ {
175
+ var detector = new PaymillBrandDetection();
176
+ var brand = detector.detect(this.helper.getElementValue('#paymill_creditcard_number'));
177
+ brand = brand.toLowerCase();
178
+ $$('#paymill_creditcard_number')[0].className = $$('#paymill_creditcard_number')[0].className.replace(/paymill-card-number-.*/g, '');
179
+ if (brand !== 'unknown') {
180
+ if(this.creditcards.length > 0 && this.creditcards.indexOf(brand) === -1) {
181
+ return;
182
+ }
183
+
184
+ $$('#paymill_creditcard_number')[0].addClassName("paymill-card-number-" + brand);
185
+ if (!detector.validate(this.helper.getElementValue('#paymill_creditcard_number'))) {
186
+ $$('#paymill_creditcard_number')[0].addClassName("paymill-card-number-grayscale");
187
+ }
188
+ }
189
+ };
190
+
191
+ Creditcard.prototype.setEventListener = function(selector)
192
+ {
193
+ var that = this;
194
+
195
+ if (this.helper.getElementValue('.paymill-info-fastCheckout-cc') === 'true') {
196
+ that.unsetValidationRules();
197
+ }
198
+
199
+ Event.observe('paymill_creditcard_number','keyup', function() {
200
+ that.setValidationRules();
201
+ that.helper.setElementValue('.paymill-info-fastCheckout-cc', 'false');
202
+ if (!$$(selector)[0]) {
203
+ paymillCreditcard.generateToken();
204
+ } else {
205
+ paymillElv.setOnClickHandler(selector);
206
+ }
207
+ });
208
+
209
+ Event.observe('paymill_creditcard_cvc', 'keyup', function() {
210
+ that.setValidationRules();
211
+ that.helper.setElementValue('.paymill-info-fastCheckout-cc', 'false');
212
+ if (!$$(selector)[0]) {
213
+ paymillCreditcard.generateToken();
214
+ } else {
215
+ paymillElv.setOnClickHandler(selector);
216
+ }
217
+ });
218
+
219
+ Event.observe('paymill_creditcard_expiry_month', 'change', function() {
220
+ that.setValidationRules();
221
+ that.helper.setElementValue('.paymill-info-fastCheckout-cc', 'false');
222
+ if (!$$(selector)[0]) {
223
+ paymillCreditcard.generateToken();
224
+ } else {
225
+ paymillElv.setOnClickHandler(selector);
226
+ }
227
+ });
228
+
229
+ Event.observe('paymill_creditcard_expiry_year', 'change', function() {
230
+ that.setValidationRules();
231
+ that.helper.setElementValue('.paymill-info-fastCheckout-cc', 'false');
232
+ if (!$$(selector)[0]) {
233
+ paymillCreditcard.generateToken();
234
+ } else {
235
+ paymillElv.setOnClickHandler(selector);
236
+ }
237
+ });
238
+
239
+ Event.observe('paymill_creditcard_holdername', 'keyup', function() {
240
+ that.setValidationRules();
241
+ that.helper.setElementValue('.paymill-info-fastCheckout-cc', 'false');
242
+ if (!$$(selector)[0]) {
243
+ paymillCreditcard.generateToken();
244
+ } else {
245
+ paymillElv.setOnClickHandler(selector);
246
+ }
247
+ });
248
+
249
+ Event.observe('paymill_creditcard_number', 'keyup', function() {
250
+ that.paymillShowCardIcon();
251
+ });
252
+
253
+ };
254
+
255
+ Creditcard.prototype.setCreditcards = function(creditcards)
256
+ {
257
+ this.creditcards = creditcards;
258
+ };
js/paymill/Elv.js ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function Elv()
2
+ {
3
+ this.helper = new PaymillHelper();
4
+ }
5
+
6
+ Elv.prototype.validate = function()
7
+ {
8
+ var valid = true;
9
+
10
+ if (this.helper.getElementValue('.paymill-info-fastCheckout-elv') === 'false') {
11
+ if (this.helper.getElementValue('#paymill_directdebit_holdername') === '') {
12
+ valid = false;
13
+ }
14
+
15
+ if (this.isSepa()) {
16
+ ibanValidator = new PaymillIban();
17
+
18
+ if (!ibanValidator.validate(this.helper.getElementValue('#paymill_directdebit_account_iban'))) {
19
+ valid = false;
20
+ }
21
+
22
+ if (this.helper.getElementValue('#paymill_directdebit_bankcode_bic').length !== 8
23
+ && this.helper.getElementValue('#paymill_directdebit_bankcode_bic').length !== 11) {
24
+ valid = false;
25
+ }
26
+ } else {
27
+ if (!paymill.validateAccountNumber(this.helper.getElementValue('#paymill_directdebit_account_iban'))) {
28
+ valid = false;
29
+ }
30
+
31
+ if (!paymill.validateBankCode(this.helper.getElementValue('#paymill_directdebit_bankcode_bic'))) {
32
+ valid = false;
33
+ }
34
+ }
35
+ }
36
+
37
+ return valid;
38
+ };
39
+
40
+ Elv.prototype.unsetValidationRules = function()
41
+ {
42
+ Object.extend(Validation.methods, {
43
+ 'paymill-validate-dd-holdername': new Validator(
44
+ 'paymill-validate-dd-holdername',
45
+ '',
46
+ function(value) {
47
+ return true;
48
+ },
49
+ ''
50
+ ), 'paymill-validate-dd-account-iban': new Validator(
51
+ 'paymill-validate-dd-account-iban',
52
+ '',
53
+ function(value) {
54
+ return true;
55
+ },
56
+ ''
57
+ ), 'paymill-validate-dd-bankcode-bic': new Validator(
58
+ 'paymill-validate-dd-bankcode-bic',
59
+ '',
60
+ function(value) {
61
+ return true;
62
+ },
63
+ ''
64
+ )
65
+ });
66
+ };
67
+
68
+ Elv.prototype.setValidationRules = function ()
69
+ {
70
+ var that = this;
71
+ Object.extend(Validation.methods, {
72
+ 'paymill-validate-dd-holdername': new Validator(
73
+ 'paymill-validate-dd-holdername',
74
+ this.helper.getElementValue('.paymill-payment-error-holder-elv'),
75
+ function(value) {
76
+ return !(value === '');
77
+ },
78
+ ''
79
+ ), 'paymill-validate-dd-account-iban': new Validator(
80
+ 'paymill-validate-dd-account-iban',
81
+ this.helper.getElementValue('.paymill-payment-error-number-iban-elv'),
82
+ function(value) {
83
+ if (that.isSepa()) {
84
+ iban = new PaymillIban();
85
+ return iban.validate(value);
86
+ }
87
+ return paymill.validateAccountNumber(value);
88
+ },
89
+ ''
90
+ ), 'paymill-validate-dd-bankcode-bic': new Validator(
91
+ 'paymill-validate-dd-bankcode-bic',
92
+ this.helper.getElementValue('.paymill-payment-error-bankcode-bic-elv'),
93
+ function(value) {
94
+ if (that.isSepa()) {
95
+ return value.length === 8 || value.length === 11;
96
+ }
97
+
98
+ return paymill.validateBankCode(value);
99
+ },
100
+ ''
101
+ )
102
+ });
103
+ };
104
+
105
+ Elv.prototype.getTokenParameter = function()
106
+ {
107
+ PAYMILL_PUBLIC_KEY = this.helper.getElementValue('.paymill-info-public_key-elv');
108
+
109
+ var data = null;
110
+
111
+ if (!this.isSepa()) {
112
+ data = {
113
+ number: this.helper.getElementValue('#paymill_directdebit_account_iban'),
114
+ bank: this.helper.getElementValue('#paymill_directdebit_bankcode_bic'),
115
+ accountholder: this.helper.getElementValue('#paymill_directdebit_holdername')
116
+ };
117
+ } else {
118
+ data = {
119
+ iban: this.helper.getElementValue('#paymill_directdebit_account_iban').replace(/\s+/g, ''),
120
+ bic: this.helper.getElementValue('#paymill_directdebit_bankcode_bic'),
121
+ accountholder: this.helper.getElementValue('#paymill_directdebit_holdername')
122
+ };
123
+ }
124
+
125
+ return data;
126
+ };
127
+
128
+ Elv.prototype.isSepa = function()
129
+ {
130
+ var reg = new RegExp(/^\D{2}/);
131
+ return reg.test(this.helper.getElementValue('#paymill_directdebit_account_iban'));
132
+ };
133
+
134
+ Elv.prototype.setEventListener = function(selector)
135
+ {
136
+ var that = this;
137
+
138
+ if (this.helper.getElementValue('.paymill-info-fastCheckout-elv') === 'true') {
139
+ that.unsetValidationRules();
140
+ }
141
+
142
+ Event.observe('paymill_directdebit_holdername', 'keyup', function() {
143
+ that.setValidationRules();
144
+ that.helper.setElementValue('.paymill-info-fastCheckout-elv', 'false');
145
+ if (!$$(selector)[0]) {
146
+ paymillElv.generateToken();
147
+ } else {
148
+ paymillElv.setOnClickHandler(selector);
149
+ }
150
+ });
151
+
152
+ Event.observe('paymill_directdebit_account_iban', 'keyup', function() {
153
+ that.setValidationRules();
154
+ that.helper.setElementValue('.paymill-info-fastCheckout-elv', 'false');
155
+ if (!$$(selector)[0]) {
156
+ paymillElv.generateToken();
157
+ } else {
158
+ paymillElv.setOnClickHandler(selector);
159
+ }
160
+ });
161
+
162
+ Event.observe('paymill_directdebit_bankcode_bic', 'keyup', function() {
163
+ that.setValidationRules();
164
+ that.helper.setElementValue('.paymill-info-fastCheckout-elv', 'false');
165
+ if (!$$(selector)[0]) {
166
+ paymillElv.generateToken();
167
+ } else {
168
+ paymillElv.setOnClickHandler(selector);
169
+ }
170
+ });
171
+ };
js/paymill/Paymill.js ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var PAYMILL_PUBLIC_KEY = null;
2
+ var paymillButton = false;
3
+ var onClickContent = false;
4
+ var onClickBounded = false;
5
+
6
+ function Paymill(methodCode)
7
+ {
8
+ this.methodInstance = null;
9
+ this.methodCode = methodCode;
10
+ if (methodCode === 'paymill_creditcard') {
11
+ this.methodInstance = new Creditcard();
12
+ }
13
+
14
+ if (methodCode === 'paymill_directdebit') {
15
+ this.methodInstance = new Elv();
16
+ }
17
+
18
+ this.helper = new PaymillHelper();
19
+ }
20
+
21
+ Paymill.prototype.validate = function()
22
+ {
23
+ this.debug("Start form validation");
24
+ var valid = this.methodInstance.validate();
25
+ this.debug(valid);
26
+ return valid;
27
+ };
28
+
29
+ Paymill.prototype.generateToken = function()
30
+ {
31
+ if (this.validate()) {
32
+ new Validation($$('#paymill_creditcard_cvc')[0].form.id).validate();
33
+ var data = this.methodInstance.getTokenParameter();
34
+ this.debug("Generating Token");
35
+ this.debug(data);
36
+ paymill.createToken(
37
+ data,
38
+ tokenCallback
39
+ );
40
+ }
41
+ };
42
+
43
+ Paymill.prototype.generateTokenOnSubmit = function()
44
+ {
45
+ if (this.helper.getElementValue('.paymill-info-fastCheckout-' + this.helper.getShortCode()) !== 'true') {
46
+ if (new Validation($$('#paymill_creditcard_cvc')[0].form.id).validate()) {
47
+ this.generateToken();
48
+ }
49
+ }
50
+ };
51
+
52
+ Paymill.prototype.setValidationRules = function()
53
+ {
54
+ this.methodInstance.setValidationRules();
55
+ };
56
+
57
+ Paymill.prototype.logError = function(data)
58
+ {
59
+ var that = this;
60
+ new Ajax.Request(this.helper.getElementValue('.paymill-payment-token-log-' + this.helper.getShortCode()), {
61
+ method: 'post',
62
+ parameters: data,
63
+ onSuccess: function(response) {
64
+ that.debug('Logging done.');
65
+ }, onFailure: function() {
66
+ that.debug('Logging failed.');
67
+ }
68
+ });
69
+ };
70
+
71
+ Paymill.prototype.debug = function(message)
72
+ {
73
+ if (this.helper.getElementValue('.paymill-option-debug-' + this.helper.getShortCode()) === "1") {
74
+ console.log(message);
75
+ }
76
+ };
77
+
78
+ Paymill.prototype.setEventListener = function(selector)
79
+ {
80
+ this.methodInstance.setEventListener(selector);
81
+ this.setOnClickHandler();
82
+
83
+ };
84
+
85
+ Paymill.prototype.setOnClickHandler = function(selector)
86
+ {
87
+ var that = this;
88
+
89
+ if ($$(selector)[0]) {
90
+ paymillButton = $$(selector)[0];
91
+ if (!onClickContent) {
92
+ onClickContent = paymillButton.getAttribute('onclick');
93
+ if (paymillButton.getStorage()._object.prototype_event_registry) {
94
+ onClickBounded = paymillButton.getStorage()._object.prototype_event_registry._object.click;
95
+ }
96
+ }
97
+
98
+ $$('input:[name="payment[method]"]').forEach(function(element) {
99
+ element.observe('change', function() {
100
+ paymillButton.removeAttribute('onclick');
101
+ paymillButton.stopObserving('click');
102
+ if (that.helper.getMethodCode() === 'paymill_directdebit') {
103
+ paymillButton.setAttribute('onclick', 'paymillElv.generateTokenOnSubmit()');
104
+ } else if(that.helper.getMethodCode() === 'paymill_creditcard') {
105
+ paymillButton.setAttribute('onclick', 'paymillCreditcard.generateTokenOnSubmit()');
106
+ } else {
107
+ paymillButton.setAttribute('onclick', onClickContent);
108
+ if (onClickBounded) {
109
+ onClickBounded.forEach(function (handler) {
110
+ paymillButton.observe('click', handler);
111
+ });
112
+ }
113
+ }
114
+ });
115
+ });
116
+
117
+ if (that.helper.getMethodCode() === 'paymill_directdebit') {
118
+ paymillButton.stopObserving('click');
119
+ paymillButton.removeAttribute('onclick');
120
+ paymillButton.setAttribute('onclick', 'paymillElv.generateTokenOnSubmit()');
121
+ }
122
+
123
+ if (that.helper.getMethodCode() === 'paymill_creditcard') {
124
+ paymillButton.stopObserving('click');
125
+ paymillButton.removeAttribute('onclick');
126
+ paymillButton.setAttribute('onclick', 'paymillCreditcard.generateTokenOnSubmit()');
127
+ }
128
+ }
129
+ };
130
+
131
+ Paymill.prototype.setCreditcards = function(creditcards)
132
+ {
133
+ this.methodInstance.creditcards = creditcards;
134
+ };
135
+
136
+ tokenCallback = function(error, result)
137
+ {
138
+ var paymill = new Paymill('default');
139
+
140
+ paymill.debug("Enter paymillResponseHandler");
141
+
142
+ var rules = {};
143
+ if (error) {
144
+ var message = 'unknown_error';
145
+ var key = error.apierror;
146
+ if (paymill.helper.getElementValue('.PAYMILL_' + key + '-' + paymill.helper.getShortCode()) !== '') {
147
+ message = paymill.helper.getElementValue('.PAYMILL_' + key + '-' + paymill.helper.getShortCode());
148
+ }
149
+
150
+ if (message === 'unknown_error' && error.message !== undefined) {
151
+ message = error.message;
152
+ }
153
+
154
+ // Appending error
155
+ rules['paymill-validate-' + paymill.helper.getShortCode() + '-token'] = new Validator(
156
+ 'paymill-validate-' + paymill.helper.getShortCode() + '-token',
157
+ paymill.helper.getElementValue('.paymill-payment-error-' + paymill.helper.getShortCode() + '-token') + ' ' + message,
158
+ function(value) {
159
+ return false;
160
+ },
161
+ ''
162
+ );
163
+
164
+ paymill.helper.setElementValue('#paymill_creditcard_cvc', '');
165
+ paymill.logError(error);
166
+ paymill.debug(error.apierror);
167
+ paymill.debug(error.message);
168
+ paymill.debug("Paymill Response Handler triggered: Error.");
169
+ Object.extend(Validation.methods, rules);
170
+ new Validation($$('#paymill_creditcard_cvc')[0].form.id).validate();
171
+ } else {
172
+ rules['paymill-validate-' + paymill.helper.getShortCode() + '-token'] = new Validator(
173
+ 'paymill-validate-' + paymill.helper.getShortCode() + '-token',
174
+ '',
175
+ function(value) {
176
+ return true;
177
+ },
178
+ ''
179
+ );
180
+
181
+ Object.extend(Validation.methods, rules);
182
+
183
+ paymill.debug("Saving Token in Form: " + result.token);
184
+ paymill.helper.setElementValue('.paymill-payment-token-' + paymill.helper.getShortCode(), result.token);
185
+ if (paymillButton) {
186
+ paymillButton.removeAttribute('onclick');
187
+ paymillButton.stopObserving('click');
188
+ paymillButton.setAttribute('onclick', onClickContent);
189
+ if (onClickBounded) {
190
+ onClickBounded.forEach(function (handler) {
191
+ paymillButton.observe('click', handler);
192
+ });
193
+ }
194
+
195
+ paymillButton.click();
196
+ }
197
+ }
198
+
199
+
200
+
201
+ };
js/paymill/PaymillHelper.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function PaymillHelper()
2
+ {
3
+
4
+ }
5
+
6
+ PaymillHelper.prototype.getElementValue = function(selector)
7
+ {
8
+ var value = '';
9
+ if ($$(selector)[0]) {
10
+ value = $$(selector)[0].value;
11
+ }
12
+
13
+ return value;
14
+ };
15
+
16
+ PaymillHelper.prototype.setElementValue = function(selector, value)
17
+ {
18
+ if ($$(selector)[0]) {
19
+ $$(selector)[0].value = value;
20
+ }
21
+ };
22
+
23
+ PaymillHelper.prototype.getShortCode = function()
24
+ {
25
+ var methods = {
26
+ paymill_creditcard: "cc",
27
+ paymill_directdebit: 'elv'
28
+ };
29
+
30
+ $$('input:checked[type="radio"][name="payment[method]"]').pluck('value');
31
+
32
+
33
+ if ($$('input:checked[type="radio"][name="payment[method]"]').pluck('value')) {
34
+ return methods[$$('input:checked[type="radio"][name="payment[method]"]').pluck('value')];
35
+ }
36
+
37
+ return 'other';
38
+ };
39
+
40
+ PaymillHelper.prototype.getMethodCode = function()
41
+ {
42
+ if ($$('input:checked[type="radio"][name="payment[method]"]').pluck('value')) {
43
+ return $$('input:checked[type="radio"][name="payment[method]"]').pluck('value')[0];
44
+ }
45
+
46
+ return 'other';
47
+ };
js/paymill/paymentForm.js DELETED
@@ -1,611 +0,0 @@
1
- var PAYMILL_PUBLIC_KEY = null;
2
-
3
- /**
4
- * Build object
5
- * @returns {Paymill}
6
- */
7
- function Paymill()
8
- {
9
- this.paymillSelectedPaymentName = "Preparing Payment";
10
- this.eventFlag = false;
11
-
12
- }
13
-
14
- /**
15
- * Set payment code
16
- * @param String code
17
- */
18
- Paymill.prototype.setPaymillCode = function(code)
19
- {
20
- this.paymillCode = code;
21
- }
22
-
23
- /**
24
- * Set the possible payment codes
25
- */
26
- Paymill.prototype.setCodes = function()
27
- {
28
- this.paymillCc = 'paymill_creditcard';
29
- this.paymillElv = 'paymill_directdebit';
30
- }
31
-
32
- /**
33
- * Get selected payments short code
34
- * @returns String
35
- */
36
- Paymill.prototype.getPaymillCode = function()
37
- {
38
- var methods = {
39
- paymill_creditcard: "cc",
40
- paymill_directdebit: 'elv'
41
- };
42
-
43
- if (methods.hasOwnProperty(pmQuery("input[name='payment[method]']:checked").val())) {
44
- return methods[pmQuery("input[name='payment[method]']:checked").val()];
45
- }
46
-
47
- return 'other';
48
- }
49
-
50
- /**
51
- * prints debug messages in the log if debug mode is active
52
- * @param {String} message
53
- */
54
- Paymill.prototype.debug = function(message)
55
- {
56
- debugState = pmQuery('.paymill-option-debug-' + this.getPaymillCode()).val();
57
- if (debugState === "1") {
58
- var displayName = "";
59
- if (this.paymillSelectedPaymentName === this.paymillCc) {
60
- displayName = 'Credit Card';
61
- }
62
-
63
- if (this.paymillSelectedPaymentName === this.paymillElv) {
64
- displayName = 'Direct Debit';
65
- }
66
-
67
- if (this.paymillSelectedPaymentName === 'Preparing Payment') {
68
- displayName = 'Preparing Payment';
69
- }
70
-
71
- console.log("[" + displayName + "] " + message);
72
- }
73
- }
74
-
75
- /**
76
- * Event Handler for the display of the card icons
77
- */
78
- Paymill.prototype.paymillShowCardIcon = function()
79
- {
80
- var detector = new PaymillBrandDetection();
81
- var brand = detector.detect(pmQuery('#' + this.paymillCode + '_number').val());
82
- brand = brand.toLowerCase();
83
- pmQuery('#' + this.paymillCode + '_number')[0].className = pmQuery('#' + this.paymillCode + '_number')[0].className.replace(/paymill-card-number-.*/g, '');
84
- if (brand !== 'unknown') {
85
- if(this.creditcards.length > 0 && pmQuery.inArray(brand, this.creditcards) === -1) {
86
- return;
87
- }
88
- pmQuery('#' + this.paymillCode + '_number').addClass("paymill-card-number-" + brand);
89
- if (!detector.validate(pmQuery('#' + this.paymillCode + '_number').val())) {
90
- pmQuery('#' + this.paymillCode + '_number').addClass("paymill-card-number-grayscale");
91
- }
92
- }
93
- }
94
-
95
- /**
96
- * Prototype selector
97
- *
98
- * @param {type} selector
99
- * @returns {String}
100
- */
101
- Paymill.prototype.getValueIfExist = function(selector)
102
- {
103
- if ($$(selector)[0]) {
104
- return $$(selector)[0].value;
105
- }
106
-
107
- return '';
108
- }
109
-
110
- /**
111
- * Validate the form data and try to create a token
112
- *
113
- * @returns {Boolean}
114
- */
115
- Paymill.prototype.paymillSubmitForm = function()
116
- {
117
- PAYMILL_PUBLIC_KEY = pmQuery('.paymill-info-public_key-' + this.getPaymillCode()).val();
118
- this.paymillSelectedPaymentName = pmQuery("input[name='payment[method]']:checked").val();
119
-
120
- if (!window.PAYMILL_LOADING !== "undefined" && window.PAYMILL_LOADING) {
121
- return false;
122
- }
123
-
124
- switch (this.paymillSelectedPaymentName) {
125
- case this.paymillCc:
126
- paymill.config('3ds_cancel_label', pmQuery('.paymill_3ds_cancel').val());
127
- if (pmQuery('.paymill-info-fastCheckout-cc').val() === 'false') {
128
- var valid = (paymill.validateCvc(pmQuery('#' + this.paymillSelectedPaymentName + '_cvc').val()) || paymill.cardType(pmQuery('#' + this.paymillSelectedPaymentName + '_number').val()).toLowerCase() === 'maestro')
129
- && paymill.validateHolder(pmQuery('#' + this.paymillSelectedPaymentName + '_holdername').val())
130
- && paymill.validateExpiry(pmQuery('#' + this.paymillSelectedPaymentName + '_expiry_month').val(), pmQuery('#' + this.paymillSelectedPaymentName + '_expiry_year').val())
131
- && paymill.validateCardNumber(pmQuery('#' + this.paymillSelectedPaymentName + '_number').val());
132
-
133
- if (!valid) {
134
- return false;
135
- }
136
-
137
- var cvc = '000';
138
-
139
- if (pmQuery('#' + this.paymillSelectedPaymentName + '_cvc').val() !== '') {
140
- cvc = pmQuery('#' + this.paymillSelectedPaymentName + '_cvc').val();
141
- }
142
-
143
- window.PAYMILL_LOADING = true;
144
- this.debug("Generating Token");
145
- paymill.createToken({
146
- amount_int: parseInt(this.getTokenAmount()),
147
- currency: pmQuery('.paymill-payment-currency-' + this.getPaymillCode()).val(), // ISO 4217 e.g. "EUR"
148
- number: pmQuery('#' + this.paymillSelectedPaymentName + '_number').val(),
149
- exp_month: pmQuery('#' + this.paymillSelectedPaymentName + '_expiry_month').val(),
150
- exp_year: pmQuery('#' + this.paymillSelectedPaymentName + '_expiry_year').val(),
151
- cvc: cvc,
152
- cardholder: pmQuery('#' + this.paymillSelectedPaymentName + '_holdername').val()
153
- }, paymillResponseHandler);
154
- }
155
- break;
156
- case this.paymillElv:
157
- if (pmQuery('.paymill-info-fastCheckout-elv').val() === 'false') {
158
- if (!this.isSepa()) {
159
- var valid = pmQuery('#' + this.paymillSelectedPaymentName + '_holdername').val() !== ''
160
- && paymill.validateAccountNumber(pmQuery('#' + this.paymillSelectedPaymentName + '_account_iban').val())
161
- && paymill.validateBankCode(pmQuery('#' + this.paymillSelectedPaymentName + '_bankcode_bic').val());
162
-
163
- if (!valid) {
164
- return false;
165
- }
166
-
167
- window.PAYMILL_LOADING = true;
168
- this.debug("Generating Token");
169
- paymill.createToken({
170
- number: pmQuery('#' + this.paymillSelectedPaymentName + '_account_iban').val(),
171
- bank: pmQuery('#' + this.paymillSelectedPaymentName + '_bankcode_bic').val(),
172
- accountholder: pmQuery('#' + this.paymillSelectedPaymentName + '_holdername').val()
173
- }, paymillResponseHandler);
174
- } else {
175
- ibanWithoutSpaces = pmQuery('#' + this.paymillSelectedPaymentName + '_account_iban').val();
176
- ibanWithoutSpaces = ibanWithoutSpaces.replace(/\s+/g, "");
177
- ibanValidator = new PaymillIban();
178
- var valid = pmQuery('#' + this.paymillSelectedPaymentName + '_holdername').val() !== ''
179
- && ibanValidator.validate(pmQuery('#' + this.paymillSelectedPaymentName + '_account_iban').val())
180
- && (pmQuery('#' + this.paymillSelectedPaymentName + '_bankcode_bic').val().length === 8
181
- || pmQuery('#' + this.paymillSelectedPaymentName + '_bankcode_bic').val().length === 11);
182
-
183
- if (!valid) {
184
- return false;
185
- }
186
-
187
- window.PAYMILL_LOADING = true;
188
- this.debug("Generating Token");
189
- paymill.createToken({
190
- iban: ibanWithoutSpaces,
191
- bic: pmQuery('#' + this.paymillSelectedPaymentName + '_bankcode_bic').val(),
192
- accountholder: pmQuery('#' + this.paymillSelectedPaymentName + '_holdername').val()
193
- }, paymillResponseHandler);
194
- }
195
- }
196
-
197
- break;
198
- }
199
-
200
- return false;
201
- }
202
-
203
- /**
204
- * Log data
205
- * @param String data
206
- */
207
- Paymill.prototype.logError = function(data)
208
- {
209
- var that = this;
210
- pmQuery.ajax({
211
- async: false,
212
- type: "POST",
213
- url: pmQuery('.paymill-payment-token-log-' + this.getPaymillCode()).val(),
214
- data: {error: data},
215
- }).done(function(msg) {
216
- that.debug('Logging done.');
217
- }).fail(function(jqXHR, textStatus) {
218
- that.debug('Logging failed.');
219
- });
220
- }
221
-
222
- /**
223
- * Return order amount
224
- * @return float
225
- */
226
- Paymill.prototype.getTokenAmount = function()
227
- {
228
- var that = this;
229
- var returnVal = null;
230
- pmQuery.ajax({
231
- async: false,
232
- type: "POST",
233
- url: pmQuery('.paymill-payment-token-url-cc').val(),
234
- }).done(function(msg) {
235
- returnVal = msg;
236
- }).fail(function(jqXHR, textStatus) {
237
- // Appending error
238
- var nv = {};
239
-
240
- nv['paymill-validate-' + that.getPaymillCode() + '-token'] = new Validator(
241
- 'paymill-validate-' + that.getPaymillCode() + '-token',
242
- that.getValueIfExist('.paymill-payment-error-' + that.getPaymillCode() + '-token') + " Amount not accessable. Reason: " + textStatus,
243
- function(v) {
244
- return v !== '';
245
- },
246
- ''
247
- );
248
-
249
- Object.extend(Validation.methods, nv);
250
- });
251
-
252
- return returnVal;
253
- }
254
-
255
- /**
256
- * Unset elv validation rules
257
- */
258
- Paymill.prototype.unsetElvValidationRules = function()
259
- {
260
- var nvElv = {
261
- 'paymill-validate-dd-holdername': new Validator(
262
- 'paymill-validate-dd-holdername',
263
- '',
264
- function(v) {
265
- return true;
266
- },
267
- ''
268
- ),
269
- 'paymill-validate-dd-account-iban': new Validator(
270
- 'paymill-validate-dd-account-iban',
271
- '',
272
- function(v) {
273
- return true;
274
- },
275
- ''
276
- ),
277
- 'paymill-validate-dd-bankcode-bic': new Validator(
278
- 'paymill-validate-dd-bankcode-bic',
279
- '',
280
- function(v) {
281
- return true;
282
- },
283
- ''
284
- )
285
- };
286
-
287
- Object.extend(Validation.methods, nvElv);
288
- }
289
-
290
- /**
291
- * Unset cc validation rules
292
- */
293
- Paymill.prototype.unsetCcValidationRules = function()
294
- {
295
- var nvCc = {
296
- 'paymill-validate-cc-number': new Validator(
297
- 'paymill-validate-cc-number',
298
- '',
299
- function(v) {
300
- return true;
301
- },
302
- ''
303
- ),
304
- 'paymill-validate-cc-expdate-month': new Validator(
305
- 'paymill-validate-cc-expdate-month',
306
- '',
307
- function(v) {
308
- return true;
309
- },
310
- ''
311
- ),
312
- 'paymill-validate-cc-expdate-year': new Validator(
313
- 'paymill-validate-cc-expdate-year',
314
- '',
315
- function(v) {
316
- return true;
317
- },
318
- ''
319
- ),
320
- 'paymill-validate-cc-holder': new Validator(
321
- 'paymill-validate-cc-holder',
322
- '',
323
- function(v) {
324
- return true;
325
- },
326
- ''
327
- ),
328
- 'paymill-validate-cc-cvc': new Validator(
329
- 'paymill-validate-cc-cvc',
330
- '',
331
- function(v) {
332
- return true;
333
- },
334
- ''
335
- )
336
- };
337
-
338
- Object.extend(Validation.methods, nvCc);
339
- }
340
-
341
- /**
342
- * Set elv validation rules
343
- */
344
- Paymill.prototype.setElvValidationRules = function()
345
- {
346
- var nvElv = {
347
- 'paymill-validate-dd-holdername': new Validator(
348
- 'paymill-validate-dd-holdername',
349
- this.getValueIfExist('.paymill-payment-error-holder-elv'),
350
- function(v) {
351
- return !(v === '');
352
- },
353
- ''
354
- ),
355
- 'paymill-validate-dd-account-iban': new Validator(
356
- 'paymill-validate-dd-account-iban',
357
- this.getValueIfExist('.paymill-payment-error-number-iban-elv'),
358
- function(v) {
359
- if(paymillElv.isSepa()) {
360
- iban = new PaymillIban();
361
- return iban.validate(v);
362
- }
363
- return paymill.validateAccountNumber(v);
364
- },
365
- ''
366
- ),
367
- 'paymill-validate-dd-bankcode-bic': new Validator(
368
- 'paymill-validate-dd-bankcode-bic',
369
- this.getValueIfExist('.paymill-payment-error-bankcode-bic-elv'),
370
- function(v) {
371
- if(paymillElv.isSepa()) {
372
- return v.length === 8 || v.length === 11;
373
- }
374
- return paymill.validateBankCode(v);
375
- },
376
- ''
377
- )
378
- };
379
-
380
- Object.extend(Validation.methods, nvElv);
381
- }
382
-
383
- /**
384
- * Set cc validation rules
385
- */
386
- Paymill.prototype.setCcValidationRules = function()
387
- {
388
- var that = this;
389
- var nvCc = {
390
- 'paymill-validate-cc-number': new Validator(
391
- 'paymill-validate-cc-number',
392
- this.getValueIfExist('.paymill-payment-error-number'),
393
- function(v) {
394
- return paymill.validateCardNumber(v);
395
- },
396
- ''
397
- ),
398
- 'paymill-validate-cc-expdate-month': new Validator(
399
- 'paymill-validate-cc-expdate-month',
400
- this.getValueIfExist('.paymill-payment-error-expdate'),
401
- function(v) {
402
-
403
- return paymill.validateExpiry(v, pmQuery('.paymill-validate-cc-expdate-year').val());
404
- },
405
- ''
406
- ),
407
- 'paymill-validate-cc-expdate-year': new Validator(
408
- 'paymill-validate-cc-expdate-year',
409
- this.getValueIfExist('.paymill-payment-error-expdate'),
410
- function(v) {
411
- return paymill.validateExpiry(pmQuery('.paymill-validate-cc-expdate-month').val(), v);
412
- },
413
- ''
414
- ),
415
- 'paymill-validate-cc-holder': new Validator(
416
- 'paymill-validate-cc-holder',
417
- this.getValueIfExist('.paymill-payment-error-holder'),
418
- function(v) {
419
- return (paymill.validateHolder(v));
420
- },
421
- ''
422
- ),
423
- 'paymill-validate-cc-cvc': new Validator(
424
- 'paymill-validate-cc-cvc',
425
- this.getValueIfExist('.paymill-payment-error-cvc'),
426
- function(v) {
427
- if (paymill.cardType(pmQuery('#' + that.paymillCode + '_number').val()).toLowerCase() === 'maestro') {
428
- return true;
429
- }
430
-
431
- return paymill.validateCvc(v);
432
- },
433
- ''
434
- )
435
- };
436
-
437
- Object.extend(Validation.methods, nvCc);
438
- }
439
-
440
- /**
441
- * Add all paymill events
442
- */
443
- Paymill.prototype.addPaymillEvents = function()
444
- {
445
- var that = this;
446
-
447
- this.setElvValidationRules();
448
-
449
- this.setCcValidationRules();
450
-
451
- if (pmQuery('.paymill-info-fastCheckout-elv').val() === 'true') {
452
- that.unsetElvValidationRules();
453
- }
454
-
455
- if (pmQuery('.paymill-info-fastCheckout-cc').val() === 'true') {
456
- that.unsetCcValidationRules();
457
- }
458
-
459
- if (!this.eventFlag) {
460
-
461
- pmQuery('#' + this.paymillCode + '_holdername').live('input', function() {
462
- that.setElvValidationRules();
463
- pmQuery('.paymill-info-fastCheckout-elv').val('false');
464
- });
465
-
466
- pmQuery('#' + this.paymillCode + '_account_iban').live('input', function() {
467
- that.setElvValidationRules();
468
- pmQuery('.paymill-info-fastCheckout-elv').val('false');
469
- });
470
-
471
- pmQuery('#' + this.paymillCode + '_bankcode_bic').live('input', function() {
472
- that.setElvValidationRules();
473
- pmQuery('.paymill-info-fastCheckout-elv').val('false');
474
- });
475
-
476
- pmQuery('#' + this.paymillCode + '_holdername').live('input', function() {
477
- that.setCcValidationRules();
478
- pmQuery('.paymill-info-fastCheckout-cc').val('false');
479
- });
480
-
481
- pmQuery('#' + this.paymillCode + '_cvc').live('input', function() {
482
- that.setCcValidationRules();
483
- pmQuery('.paymill-info-fastCheckout-cc').val('false');
484
- });
485
-
486
- pmQuery('#' + this.paymillCode + '_number').live('input', function() {
487
- that.setCcValidationRules();
488
- pmQuery('.paymill-info-fastCheckout-cc').val('false');
489
- });
490
-
491
- pmQuery('#' + this.paymillCode + '_expiry_month').live('change', function() {
492
- that.setCcValidationRules();
493
- pmQuery('.paymill-info-fastCheckout-cc').val('false');
494
- });
495
-
496
- pmQuery('#' + this.paymillCode + '_expiry_year').live('change', function() {
497
- that.setCcValidationRules();
498
- pmQuery('.paymill-info-fastCheckout-cc').val('false');
499
- });
500
-
501
- pmQuery('#' + this.paymillCode + '_number').live('input', function() {
502
- that.paymillShowCardIcon();
503
- });
504
-
505
- pmQuery('#' + this.paymillCode + '_cvc').live('input', function() {
506
- that.paymillSubmitForm();
507
- });
508
-
509
- pmQuery('#' + this.paymillCode + '_expiry_month').live('change', function() {
510
- that.paymillSubmitForm();
511
- });
512
-
513
- pmQuery('#' + this.paymillCode + '_expiry_year').live('change', function() {
514
- that.paymillSubmitForm();
515
- });
516
-
517
- pmQuery('#' + this.paymillCode + '_number').live('input', function() {
518
- that.paymillSubmitForm();
519
- });
520
-
521
- pmQuery('#' + this.paymillCode + '_holdername').live('input', function() {
522
- that.paymillSubmitForm();
523
- });
524
-
525
- pmQuery('#' + this.paymillCode + '_account_iban').live('input', function() {
526
- that.paymillSubmitForm();
527
- });
528
-
529
- pmQuery('#' + this.paymillCode + '_bankcode_bic').live('input', function() {
530
- that.paymillSubmitForm();
531
- });
532
-
533
- this.eventFlag = true;
534
- }
535
- }
536
-
537
- /**
538
- * Handles the response of the paymill bridge. saves the token in a formfield.
539
- * @param {Boolean} error
540
- * @param {response object} result
541
- */
542
- paymillResponseHandler = function(error, result)
543
- {
544
- window.PAYMILL_LOADING = false;
545
-
546
- var nv = {};
547
- paymillObj = new Paymill();
548
- paymillObj.setCodes();
549
- if (error) {
550
- var message = 'unknown_error';
551
- var key = error.apierror;
552
- if(paymillObj.getValueIfExist('.PAYMILL_' + key + '-' + paymillObj.getPaymillCode()) !== ''){
553
- message = paymillObj.getValueIfExist('.PAYMILL_' + key + '-' + paymillObj.getPaymillCode());
554
- }
555
-
556
- if (message === 'unknown_error' && error.message !== undefined) {
557
- message = error.message;
558
- }
559
-
560
- // Appending error
561
- nv['paymill-validate-' + paymillObj.getPaymillCode() + '-token'] = new Validator(
562
- 'paymill-validate-' + paymillObj.getPaymillCode() + '-token',
563
- paymillObj.getValueIfExist('.paymill-payment-error-' + paymillObj.getPaymillCode() + '-token') + message,
564
- function(v) {
565
- return false;
566
- },
567
- ''
568
- );
569
-
570
- Object.extend(Validation.methods, nv);
571
- var paymillValidator = new Validation(pmQuery('#paymill_creditcard_cvc').get(0).form.id);
572
- paymillValidator.validate();
573
- pmQuery('#paymill_creditcard_cvc').val('');
574
- paymillObj.logError(error);
575
-
576
- paymillObj.debug(error.apierror);
577
- paymillObj.debug(error.message);
578
- paymillObj.debug("Paymill Response Handler triggered: Error.");
579
- } else {
580
- nv['paymill-validate-' + paymillObj.getPaymillCode() + '-token'] = new Validator(
581
- 'paymill-validate-' + paymillObj.getPaymillCode() + '-token',
582
- '',
583
- function(v) {
584
- return true;
585
- },
586
- ''
587
- );
588
-
589
- Object.extend(Validation.methods, nv);
590
- // Appending Token to form
591
- paymillObj.debug("Saving Token in Form: " + result.token);
592
- pmQuery('.paymill-payment-token-' + paymillObj.getPaymillCode()).val(result.token);
593
- }
594
- }
595
-
596
- /**
597
- * If array is empty, all creditcards are shown in Brand Detection
598
- */
599
- Paymill.prototype.setBrandCreditcards = function(creditcards)
600
- {
601
- this.creditcards = creditcards;
602
- }
603
-
604
- /**
605
- * If value starts with 2 letters, it will be considered as sepa
606
- */
607
- Paymill.prototype.isSepa = function()
608
- {
609
- var reg = new RegExp(/^\D{2}/);
610
- return reg.test(pmQuery('#' + this.paymillCode + '_account_iban').val());
611
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/Services/Paymill/Apiclient/Curl.php CHANGED
@@ -1,159 +1,159 @@
1
- <?php
2
-
3
- if (!function_exists('json_decode')) {
4
- throw new Exception("Please install the PHP JSON extension");
5
- }
6
-
7
- if (!function_exists('curl_init')) {
8
- throw new Exception("Please install the PHP cURL extension");
9
- }
10
-
11
- /**
12
- * Services_Paymill cURL HTTP client
13
- */
14
- class Services_Paymill_Apiclient_Curl implements Services_Paymill_Apiclient_Interface
15
- {
16
-
17
- /**
18
- * Paymill API merchant key
19
- *
20
- * @var string
21
- */
22
- private $_apiKey = null;
23
- private $_responseArray = null;
24
-
25
- /**
26
- * Paymill API base url
27
- *
28
- * @var string
29
- */
30
- private $_apiUrl = '/';
31
-
32
- const USER_AGENT = 'Paymill-php/0.0.2';
33
-
34
- public static $lastRawResponse;
35
- public static $lastRawCurlOptions;
36
-
37
- /**
38
- * cURL HTTP client constructor
39
- *
40
- * @param string $apiKey
41
- * @param string $apiEndpoint
42
- */
43
- public function __construct($apiKey, $apiEndpoint)
44
- {
45
- $this->_apiKey = $apiKey;
46
- $this->_apiUrl = $apiEndpoint;
47
- }
48
-
49
- /**
50
- * Perform API and handle exceptions
51
- *
52
- * @param $action
53
- * @param array $params
54
- * @param string $method
55
- * @return mixed
56
- * @throws Services_Paymill_Exception
57
- * @throws Exception
58
- */
59
- public function request($action, $params = array(), $method = 'POST')
60
- {
61
- if (!is_array($params))
62
- $params = array();
63
-
64
- try {
65
- $this->_responseArray = $this->_requestApi($action, $params, $method);
66
- $httpStatusCode = $this->_responseArray['header']['status'];
67
- if ($httpStatusCode != 200) {
68
- $errorMessage = 'Client returned HTTP status code ' . $httpStatusCode;
69
- if (isset($this->_responseArray['body']['error'])) {
70
- $errorMessage = $this->_responseArray['body']['error'];
71
- }
72
- $responseCode = '';
73
- if (isset($this->_responseArray['body']['response_code'])) {
74
- $responseCode = $this->_responseArray['body']['response_code'];
75
- }
76
- if ($responseCode === '' && isset($this->_responseArray['body']['data']['response_code'])) {
77
- $responseCode = $this->_responseArray['body']['data']['response_code'];
78
- }
79
-
80
- return array("data" => array(
81
- "error" => $errorMessage,
82
- "response_code" => $responseCode,
83
- "http_status_code" => $httpStatusCode
84
- ));
85
- }
86
-
87
- return $this->_responseArray['body'];
88
- } catch (Exception $e) {
89
- return array("data" => array("error" => $e->getMessage()));
90
- }
91
- }
92
-
93
- /**
94
- * Perform HTTP request to REST endpoint
95
- *
96
- * @param string $action
97
- * @param array $params
98
- * @param string $method
99
- * @return array
100
- */
101
- protected function _requestApi($action = '', $params = array(), $method = 'POST')
102
- {
103
- $curlOpts = array(
104
- CURLOPT_URL => $this->_apiUrl . $action,
105
- CURLOPT_RETURNTRANSFER => true,
106
- CURLOPT_CUSTOMREQUEST => $method,
107
- CURLOPT_USERAGENT => self::USER_AGENT,
108
- CURLOPT_SSL_VERIFYPEER => true,
109
- CURLOPT_CAINFO => Mage::getBaseDir() . '/lib/Services/Paymill/Apiclient/paymill.crt',
110
- );
111
-
112
- if (Services_Paymill_Apiclient_Interface::HTTP_GET === $method) {
113
- if (0 !== count($params)) {
114
- $curlOpts[CURLOPT_URL] .= false === strpos($curlOpts[CURLOPT_URL], '?') ? '?' : '&';
115
- $curlOpts[CURLOPT_URL] .= http_build_query($params, null, '&');
116
- }
117
- } else {
118
- $curlOpts[CURLOPT_POSTFIELDS] = http_build_query($params, null, '&');
119
- }
120
-
121
- if ($this->_apiKey) {
122
- $curlOpts[CURLOPT_USERPWD] = $this->_apiKey . ':';
123
- }
124
-
125
- $curl = curl_init();
126
- curl_setopt_array($curl, $curlOpts);
127
- $responseBody = curl_exec($curl);
128
- self::$lastRawCurlOptions = $curlOpts;
129
- self::$lastRawResponse = $responseBody;
130
- $responseInfo = curl_getinfo($curl);
131
- if ($responseBody === false) {
132
- $responseBody = array('error' => curl_error($curl));
133
- }
134
- curl_close($curl);
135
-
136
- if ('application/json' === $responseInfo['content_type']) {
137
- $responseBody = json_decode($responseBody, true);
138
- }
139
-
140
- return array(
141
- 'header' => array(
142
- 'status' => $responseInfo['http_code'],
143
- 'reason' => null,
144
- ),
145
- 'body' => $responseBody
146
- );
147
- }
148
-
149
- /**
150
- * Returns the response of the request as an array.
151
- * @return mixed Response
152
- * @todo Create Unit Test
153
- */
154
- public function getResponse()
155
- {
156
- return $this->_responseArray;
157
- }
158
-
159
  }
1
+ <?php
2
+
3
+ if (!function_exists('json_decode')) {
4
+ throw new Exception("Please install the PHP JSON extension");
5
+ }
6
+
7
+ if (!function_exists('curl_init')) {
8
+ throw new Exception("Please install the PHP cURL extension");
9
+ }
10
+
11
+ /**
12
+ * Services_Paymill cURL HTTP client
13
+ */
14
+ class Services_Paymill_Apiclient_Curl implements Services_Paymill_Apiclient_Interface
15
+ {
16
+
17
+ /**
18
+ * Paymill API merchant key
19
+ *
20
+ * @var string
21
+ */
22
+ private $_apiKey = null;
23
+ private $_responseArray = null;
24
+
25
+ /**
26
+ * Paymill API base url
27
+ *
28
+ * @var string
29
+ */
30
+ private $_apiUrl = '/';
31
+
32
+ const USER_AGENT = 'Paymill-php/0.0.2';
33
+
34
+ public static $lastRawResponse;
35
+ public static $lastRawCurlOptions;
36
+
37
+ /**
38
+ * cURL HTTP client constructor
39
+ *
40
+ * @param string $apiKey
41
+ * @param string $apiEndpoint
42
+ */
43
+ public function __construct($apiKey, $apiEndpoint)
44
+ {
45
+ $this->_apiKey = $apiKey;
46
+ $this->_apiUrl = $apiEndpoint;
47
+ }
48
+
49
+ /**
50
+ * Perform API and handle exceptions
51
+ *
52
+ * @param $action
53
+ * @param array $params
54
+ * @param string $method
55
+ * @return mixed
56
+ * @throws Services_Paymill_Exception
57
+ * @throws Exception
58
+ */
59
+ public function request($action, $params = array(), $method = 'POST')
60
+ {
61
+ if (!is_array($params))
62
+ $params = array();
63
+
64
+ try {
65
+ $this->_responseArray = $this->_requestApi($action, $params, $method);
66
+ $httpStatusCode = $this->_responseArray['header']['status'];
67
+ if ($httpStatusCode != 200) {
68
+ $errorMessage = 'Client returned HTTP status code ' . $httpStatusCode;
69
+ if (isset($this->_responseArray['body']['error'])) {
70
+ $errorMessage = $this->_responseArray['body']['error'];
71
+ }
72
+ $responseCode = '';
73
+ if (isset($this->_responseArray['body']['response_code'])) {
74
+ $responseCode = $this->_responseArray['body']['response_code'];
75
+ }
76
+ if ($responseCode === '' && isset($this->_responseArray['body']['data']['response_code'])) {
77
+ $responseCode = $this->_responseArray['body']['data']['response_code'];
78
+ }
79
+
80
+ return array("data" => array(
81
+ "error" => $errorMessage,
82
+ "response_code" => $responseCode,
83
+ "http_status_code" => $httpStatusCode
84
+ ));
85
+ }
86
+
87
+ return $this->_responseArray['body'];
88
+ } catch (Exception $e) {
89
+ return array("data" => array("error" => $e->getMessage()));
90
+ }
91
+ }
92
+
93
+ /**
94
+ * Perform HTTP request to REST endpoint
95
+ *
96
+ * @param string $action
97
+ * @param array $params
98
+ * @param string $method
99
+ * @return array
100
+ */
101
+ protected function _requestApi($action = '', $params = array(), $method = 'POST')
102
+ {
103
+ $curlOpts = array(
104
+ CURLOPT_URL => $this->_apiUrl . $action,
105
+ CURLOPT_RETURNTRANSFER => true,
106
+ CURLOPT_CUSTOMREQUEST => $method,
107
+ CURLOPT_USERAGENT => self::USER_AGENT,
108
+ CURLOPT_SSL_VERIFYPEER => true,
109
+ CURLOPT_CAINFO => Mage::getBaseDir() . '/lib/Services/Paymill/Apiclient/paymill.crt',
110
+ );
111
+
112
+ if (Services_Paymill_Apiclient_Interface::HTTP_GET === $method) {
113
+ if (0 !== count($params)) {
114
+ $curlOpts[CURLOPT_URL] .= false === strpos($curlOpts[CURLOPT_URL], '?') ? '?' : '&';
115
+ $curlOpts[CURLOPT_URL] .= http_build_query($params, null, '&');
116
+ }
117
+ } else {
118
+ $curlOpts[CURLOPT_POSTFIELDS] = http_build_query($params, null, '&');
119
+ }
120
+
121
+ if ($this->_apiKey) {
122
+ $curlOpts[CURLOPT_USERPWD] = $this->_apiKey . ':';
123
+ }
124
+
125
+ $curl = curl_init();
126
+ curl_setopt_array($curl, $curlOpts);
127
+ $responseBody = curl_exec($curl);
128
+ self::$lastRawCurlOptions = $curlOpts;
129
+ self::$lastRawResponse = $responseBody;
130
+ $responseInfo = curl_getinfo($curl);
131
+ if ($responseBody === false) {
132
+ $responseBody = array('error' => curl_error($curl));
133
+ }
134
+ curl_close($curl);
135
+
136
+ if ('application/json' === $responseInfo['content_type']) {
137
+ $responseBody = json_decode($responseBody, true);
138
+ }
139
+
140
+ return array(
141
+ 'header' => array(
142
+ 'status' => $responseInfo['http_code'],
143
+ 'reason' => null,
144
+ ),
145
+ 'body' => $responseBody
146
+ );
147
+ }
148
+
149
+ /**
150
+ * Returns the response of the request as an array.
151
+ * @return mixed Response
152
+ * @todo Create Unit Test
153
+ */
154
+ public function getResponse()
155
+ {
156
+ return $this->_responseArray;
157
+ }
158
+
159
  }
lib/Services/Paymill/Apiclient/Interface.php CHANGED
@@ -1,20 +1,20 @@
1
- <?php
2
-
3
- interface Services_Paymill_Apiclient_Interface
4
- {
5
- const HTTP_POST = 'POST';
6
- const HTTP_GET = 'GET';
7
- const HTTP_PUT = 'PUT';
8
- const HTTP_DELETE = 'DELETE';
9
-
10
- /**
11
- * Perform API and handle exceptions
12
- *
13
- * @param $action
14
- * @param array $params
15
- * @param string $method
16
- * @return mixed
17
- */
18
- public function request($action, $params = array(), $method = 'POST');
19
-
20
  }
1
+ <?php
2
+
3
+ interface Services_Paymill_Apiclient_Interface
4
+ {
5
+ const HTTP_POST = 'POST';
6
+ const HTTP_GET = 'GET';
7
+ const HTTP_PUT = 'PUT';
8
+ const HTTP_DELETE = 'DELETE';
9
+
10
+ /**
11
+ * Perform API and handle exceptions
12
+ *
13
+ * @param $action
14
+ * @param array $params
15
+ * @param string $method
16
+ * @return mixed
17
+ */
18
+ public function request($action, $params = array(), $method = 'POST');
19
+
20
  }
lib/Services/Paymill/Apiclient/paymill.crt CHANGED
@@ -1,25 +1,25 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
3
- MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
4
- IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
5
- MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
6
- FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
7
- bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
8
- dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
9
- H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
10
- uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
11
- mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX
12
- a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN
13
- E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0
14
- WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD
15
- VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0
16
- Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU
17
- cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx
18
- IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN
19
- AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH
20
- YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
21
- 6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
22
- Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
23
- c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
24
- mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
25
- -----END CERTIFICATE-----
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
3
+ MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
4
+ IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
5
+ MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
6
+ FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
7
+ bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
8
+ dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
9
+ H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
10
+ uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
11
+ mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX
12
+ a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN
13
+ E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0
14
+ WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD
15
+ VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0
16
+ Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU
17
+ cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx
18
+ IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN
19
+ AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH
20
+ YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
21
+ 6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
22
+ Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
23
+ c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
24
+ mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
25
+ -----END CERTIFICATE-----
lib/Services/Paymill/Base.php CHANGED
@@ -1,144 +1,144 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper super class
5
- */
6
- abstract class Services_Paymill_Base
7
- {
8
- /**
9
- * Resource relative url path name ending with '/', set or override in subclass
10
- *
11
- * @var string
12
- */
13
- protected $_serviceResource = null;
14
-
15
- /**
16
- * Paymill HTTP client class
17
- *
18
- * @var Services_Paymill_Apiclient_Interface
19
- */
20
- protected $_httpClient;
21
-
22
- /**
23
- * Base constructor
24
- * sets _httpClient property
25
- *
26
- * @param string $apiKey merchant api key
27
- * @param string $apiEndpoint endpoint URL for the api
28
- */
29
- public function __construct($apiKey, $apiEndpoint)
30
- {
31
- $this->_httpClient = new Services_Paymill_Apiclient_Curl($apiKey, $apiEndpoint);
32
- }
33
-
34
- /**
35
- * General REST GET verb
36
- *
37
- * @param array $filters e.g. count,offest
38
- * @param string $identifier resource id
39
- *
40
- * @return array of resource items
41
- */
42
- public function get($filters = array(), $identifier = '')
43
- {
44
- $response = $this->_httpClient->request(
45
- $this->_serviceResource . $identifier,
46
- $filters,
47
- Services_Paymill_Apiclient_Interface::HTTP_GET
48
- );
49
-
50
- return $response['data'];
51
- }
52
-
53
- /**
54
- * General REST GET verb
55
- * returns one item or null
56
- *
57
- * @param string $identifier resource id
58
- *
59
- * @return array resource item | null
60
- */
61
- public function getOne($identifier = null)
62
- {
63
- if (!$identifier) {
64
- return null;
65
- }
66
-
67
- $filters = array("count" => 1, 'offset' => 0);
68
-
69
- return $this->get($filters, $identifier);
70
- }
71
-
72
- /**
73
- * General REST DELETE verb
74
- * Delete or inactivate/cancel resource item
75
- *
76
- * @param string $clientId
77
- *
78
- * @return array item deleted
79
- */
80
- public function delete($clientId = null)
81
- {
82
- $response = $this->_httpClient->request(
83
- $this->_serviceResource . $clientId,
84
- array(),
85
- Services_Paymill_Apiclient_Interface::HTTP_DELETE
86
- );
87
-
88
- return $response['data'];
89
- }
90
-
91
- /**
92
- * General REST POST verb
93
- * create resource item
94
- *
95
- * @param array $itemData
96
- *
97
- * @return array created item
98
- */
99
- public function create($itemData = array())
100
- {
101
- $response = $this->_httpClient->request(
102
- $this->_serviceResource,
103
- $itemData,
104
- Services_Paymill_Apiclient_Interface::HTTP_POST
105
- );
106
-
107
- return $response['data'];
108
- }
109
-
110
- /**
111
- * General REST PUT verb
112
- * Update resource item
113
- *
114
- * @param array $itemData
115
- *
116
- * @return array item updated or null
117
- */
118
- public function update(array $itemData = array())
119
- {
120
- if (!isset($itemData['id']) ) {
121
- return null;
122
- }
123
-
124
- $itemId = $itemData['id'];
125
- unset ($itemData['id']);
126
-
127
- $response = $this->_httpClient->request(
128
- $this->_serviceResource . $itemId,
129
- $itemData,
130
- Services_Paymill_Apiclient_Interface::HTTP_PUT
131
- );
132
-
133
- return $response['data'];
134
- }
135
-
136
- /**
137
- * Returns the response of the last request as an array
138
- * @return mixed Response
139
- * @todo Add Unit test
140
- */
141
- public function getResponse(){
142
- return $this->_httpClient->getResponse();
143
- }
144
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper super class
5
+ */
6
+ abstract class Services_Paymill_Base
7
+ {
8
+ /**
9
+ * Resource relative url path name ending with '/', set or override in subclass
10
+ *
11
+ * @var string
12
+ */
13
+ protected $_serviceResource = null;
14
+
15
+ /**
16
+ * Paymill HTTP client class
17
+ *
18
+ * @var Services_Paymill_Apiclient_Interface
19
+ */
20
+ protected $_httpClient;
21
+
22
+ /**
23
+ * Base constructor
24
+ * sets _httpClient property
25
+ *
26
+ * @param string $apiKey merchant api key
27
+ * @param string $apiEndpoint endpoint URL for the api
28
+ */
29
+ public function __construct($apiKey, $apiEndpoint)
30
+ {
31
+ $this->_httpClient = new Services_Paymill_Apiclient_Curl($apiKey, $apiEndpoint);
32
+ }
33
+
34
+ /**
35
+ * General REST GET verb
36
+ *
37
+ * @param array $filters e.g. count,offest
38
+ * @param string $identifier resource id
39
+ *
40
+ * @return array of resource items
41
+ */
42
+ public function get($filters = array(), $identifier = '')
43
+ {
44
+ $response = $this->_httpClient->request(
45
+ $this->_serviceResource . $identifier,
46
+ $filters,
47
+ Services_Paymill_Apiclient_Interface::HTTP_GET
48
+ );
49
+
50
+ return $response['data'];
51
+ }
52
+
53
+ /**
54
+ * General REST GET verb
55
+ * returns one item or null
56
+ *
57
+ * @param string $identifier resource id
58
+ *
59
+ * @return array resource item | null
60
+ */
61
+ public function getOne($identifier = null)
62
+ {
63
+ if (!$identifier) {
64
+ return null;
65
+ }
66
+
67
+ $filters = array("count" => 1, 'offset' => 0);
68
+
69
+ return $this->get($filters, $identifier);
70
+ }
71
+
72
+ /**
73
+ * General REST DELETE verb
74
+ * Delete or inactivate/cancel resource item
75
+ *
76
+ * @param string $clientId
77
+ *
78
+ * @return array item deleted
79
+ */
80
+ public function delete($clientId = null)
81
+ {
82
+ $response = $this->_httpClient->request(
83
+ $this->_serviceResource . $clientId,
84
+ array(),
85
+ Services_Paymill_Apiclient_Interface::HTTP_DELETE
86
+ );
87
+
88
+ return $response['data'];
89
+ }
90
+
91
+ /**
92
+ * General REST POST verb
93
+ * create resource item
94
+ *
95
+ * @param array $itemData
96
+ *
97
+ * @return array created item
98
+ */
99
+ public function create($itemData = array())
100
+ {
101
+ $response = $this->_httpClient->request(
102
+ $this->_serviceResource,
103
+ $itemData,
104
+ Services_Paymill_Apiclient_Interface::HTTP_POST
105
+ );
106
+
107
+ return $response['data'];
108
+ }
109
+
110
+ /**
111
+ * General REST PUT verb
112
+ * Update resource item
113
+ *
114
+ * @param array $itemData
115
+ *
116
+ * @return array item updated or null
117
+ */
118
+ public function update(array $itemData = array())
119
+ {
120
+ if (!isset($itemData['id']) ) {
121
+ return null;
122
+ }
123
+
124
+ $itemId = $itemData['id'];
125
+ unset ($itemData['id']);
126
+
127
+ $response = $this->_httpClient->request(
128
+ $this->_serviceResource . $itemId,
129
+ $itemData,
130
+ Services_Paymill_Apiclient_Interface::HTTP_PUT
131
+ );
132
+
133
+ return $response['data'];
134
+ }
135
+
136
+ /**
137
+ * Returns the response of the last request as an array
138
+ * @return mixed Response
139
+ * @todo Add Unit test
140
+ */
141
+ public function getResponse(){
142
+ return $this->_httpClient->getResponse();
143
+ }
144
  }
lib/Services/Paymill/Clients.php CHANGED
@@ -1,12 +1,12 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for clients resource
5
- */
6
- class Services_Paymill_Clients extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'clients/';
12
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for clients resource
5
+ */
6
+ class Services_Paymill_Clients extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'clients/';
12
  }
lib/Services/Paymill/Exception.php CHANGED
@@ -1,17 +1,17 @@
1
- <?php
2
-
3
- /**
4
- * Services_Paymill_Exception class
5
- */
6
- class Services_Paymill_Exception extends Exception
7
- {
8
- /**
9
- * Constructor for exception object
10
- *
11
- * @return void
12
- */
13
- public function __construct($message, $code)
14
- {
15
- parent::__construct($message, $code);
16
- }
17
  }
1
+ <?php
2
+
3
+ /**
4
+ * Services_Paymill_Exception class
5
+ */
6
+ class Services_Paymill_Exception extends Exception
7
+ {
8
+ /**
9
+ * Constructor for exception object
10
+ *
11
+ * @return void
12
+ */
13
+ public function __construct($message, $code)
14
+ {
15
+ parent::__construct($message, $code);
16
+ }
17
  }
lib/Services/Paymill/LoggingInterface.php CHANGED
@@ -1,14 +1,14 @@
1
- <?php
2
-
3
- interface Services_Paymill_LoggingInterface
4
- {
5
-
6
- /**
7
- * Logging for PaymentProcessor
8
- *
9
- * @param type $message
10
- * @param type $debugInfo
11
- */
12
- public function log($message, $debugInfo = null, $additionalInformation = null);
13
-
14
- }
1
+ <?php
2
+
3
+ interface Services_Paymill_LoggingInterface
4
+ {
5
+
6
+ /**
7
+ * Logging for PaymentProcessor
8
+ *
9
+ * @param type $message
10
+ * @param type $debugInfo
11
+ */
12
+ public function log($message, $debugInfo = null, $additionalInformation = null);
13
+
14
+ }
lib/Services/Paymill/Offers.php CHANGED
@@ -1,12 +1,12 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for offers resource
5
- */
6
- class Services_Paymill_Offers extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'offers/';
12
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for offers resource
5
+ */
6
+ class Services_Paymill_Offers extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'offers/';
12
  }
lib/Services/Paymill/PaymentProcessor.php CHANGED
@@ -1,692 +1,692 @@
1
- <?php
2
-
3
- /**
4
- * This class acts as an easy to use gateway for the paymill phph wrapper.
5
- * @version 1.0.0
6
- * @category PayIntelligent
7
- * @copyright Copyright (c) 2013 PayIntelligent GmbH (http://payintelligent.de)
8
- */
9
- class Services_Paymill_PaymentProcessor
10
- {
11
-
12
- //Options: Variables needed to create Paymill Lib Components
13
- private $_libBase;
14
- private $_privateKey;
15
- private $_apiUrl;
16
- //Objects: Objects used by the methods
17
- private $_transactionsObject;
18
- private $_preauthObject;
19
- private $_clientsObject;
20
- private $_paymentsObject;
21
- private $_logger; //Only this object can be set using a set function.
22
- //Process Payment relevant
23
- private $_token; //Token generated for the Transaction
24
- private $_amount; //Current Amount
25
- private $_preAuthAmount;
26
- private $_currency; //Currency (of both amounts)
27
- private $_name; //Customername
28
- private $_email; //Customer Email Adress
29
- private $_description;
30
- private $_lastResponse;
31
- private $_transactionId; //Transaction Id generated by the createTransaction function.
32
- private $_preauthId;
33
- //Fast Checkout Variables
34
- private $_clientId = null;
35
- private $_paymentId = null;
36
- //Source
37
- private $_source;
38
- private $_errorCode;
39
-
40
- /**
41
- * Creates an object of the PaymentProcessor class.
42
- * @param String <b>$privateKey</b> Paymill-PrivateKey
43
- * @param String <b>$apiUrl</b> Paymill-Api Url
44
- * @param String <b>$libBase</b> Path to the lib Base (Can be null, Default Path will be used)
45
- * @param array <b>$params</b>( <br />
46
- * <b>token</b>, generated Token <br />
47
- * <b>amount</b>, Basketamount <br />
48
- * <b>currency</b>, Transaction currency <br />
49
- * <b>name</b>, Customer name <br />
50
- * <b>email</b>, Customer emailaddress <br />
51
- * <b>description</b>, Description for transactions <br />
52
- * ) <p color='red'><b>(If not set here, the use of setters is required for the class to work)</b></p>
53
- * @param object $loggingClassInstance Instance of Object implementing the Services_Paymill_PaymentProcessorInterface. If not set, there will be no logging.
54
- */
55
- public function __construct($privateKey = null, $apiUrl = null, $libBase = null, $params = null, Services_Paymill_LoggingInterface $loggingClassInstance = null)
56
- {
57
- $this->setPrivateKey($privateKey);
58
- $this->setApiUrl($apiUrl);
59
- $this->setLibBase($libBase);
60
- $this->_token = $params['token'];
61
- $this->_amount = $params['amount'];
62
- $this->_currency = $params['currency'];
63
- $this->_name = $params['name'];
64
- $this->_email = $params['email'];
65
- $this->_description = $params['description'];
66
- $this->setLogger($loggingClassInstance);
67
- }
68
-
69
- /**
70
- * Creates a Paymill-Client with the given Data
71
- *
72
- * @param array $params
73
- * @return boolean
74
- */
75
- private function _createClient()
76
- {
77
- $this->_initiatePhpWrapperClasses();
78
- if (isset($this->_clientId)) {
79
- $this->_log("Client using: " . $this->_clientId);
80
- } else {
81
- $client = $this->_clientsObject->create(
82
- array(
83
- 'email' => $this->_email,
84
- 'description' => $this->_description
85
- )
86
- );
87
-
88
- $this->_validateResult($client, 'Client');
89
-
90
- $this->_clientId = $client['id'];
91
- }
92
- return $this->_clientId;
93
- }
94
-
95
- /**
96
- * Creates a Paymill-Payment with the given Data
97
- *
98
- * @param array $params
99
- * @return boolean
100
- */
101
- private function _createPayment()
102
- {
103
- $this->_initiatePhpWrapperClasses();
104
- if (isset($this->_paymentId)) {
105
- $this->_log("Payment using: " . $this->_paymentId);
106
- } else {
107
- $payment = $this->_paymentsObject->create(
108
- array(
109
- 'token' => $this->_token,
110
- 'client' => $this->_clientId
111
- )
112
- );
113
-
114
- $this->_validateResult($payment, 'Payment');
115
- $this->_paymentId = $payment['id'];
116
- }
117
- return true;
118
- }
119
-
120
- /**
121
- * Creates a Paymill-Transaction with the given Data
122
- *
123
- * @param array $params
124
- * @return boolean
125
- */
126
- private function _createTransaction()
127
- {
128
- $this->_initiatePhpWrapperClasses();
129
- $parameter = array(
130
- 'amount' => $this->_amount,
131
- 'currency' => $this->_currency,
132
- 'description' => $this->_description,
133
- 'preauthorization' => $this->_preauthId,
134
- 'source' => $this->_source
135
- );
136
- $this->_preauthId != null ? $parameter['preauthorization'] = $this->_preauthId : $parameter['payment'] = $this->_paymentId;
137
- $transaction = $this->_transactionsObject->create($parameter);
138
- $this->_validateResult($transaction, 'Transaction');
139
-
140
- $this->_transactionId = $transaction['id'];
141
- return true;
142
- }
143
-
144
- /**
145
- * Creates a Paymill-Transaction with the given Data
146
- *
147
- * @param array $params
148
- * @return boolean
149
- */
150
- private function _createPreauthorization()
151
- {
152
- $preAuth = $this->_preauthObject->create(
153
- array(
154
- 'amount' => $this->_preAuthAmount,
155
- 'currency' => $this->_currency,
156
- 'description' => $this->_description,
157
- 'payment' => $this->_paymentId,
158
- 'client' => $this->_clientId,
159
- )
160
- );
161
- $this->_validateResult($preAuth, 'Preauthorization');
162
- $this->_preauthId = $preAuth['preauthorization']['id'];
163
- return true;
164
- }
165
-
166
- /**
167
- * Load the PhpWrapper-Classes and creates an instance for each class.
168
- */
169
- private function _initiatePhpWrapperClasses()
170
- {
171
- $this->_transactionsObject = new Services_Paymill_Transactions($this->_privateKey, $this->_apiUrl);
172
- $this->_preauthObject = new Services_Paymill_Preauthorizations($this->_privateKey, $this->_apiUrl);
173
- $this->_clientsObject = new Services_Paymill_Clients($this->_privateKey, $this->_apiUrl);
174
- $this->_paymentsObject = new Services_Paymill_Payments($this->_privateKey, $this->_apiUrl);
175
- }
176
-
177
- /**
178
- * Calls the log() function of the logger object if the object has been set.
179
- *
180
- * @param string $message
181
- * @param string $debugInfo
182
- */
183
- private function _log($message, $debugInfo = null)
184
- {
185
- if (isset($this->_logger)) {
186
- $this->_logger->log($message, $debugInfo);
187
- }
188
- }
189
-
190
- /**
191
- * Validates the array passed as an argument to be processPayment() compliant
192
- * @param mixed $parameter
193
- * @return boolean
194
- */
195
- private function _validateParameter()
196
- {
197
- if ($this->_preAuthAmount == null) {
198
- $this->_preAuthAmount = $this->_amount;
199
- }
200
-
201
- $validation = true;
202
- $parameter = array(
203
- "token" => $this->_token,
204
- "amount" => $this->_amount,
205
- "currency" => $this->_currency,
206
- "name" => $this->_name,
207
- "email" => $this->_email,
208
- "description" => $this->_description);
209
-
210
- $arrayMask = array(
211
- "token" => 'string',
212
- "amount" => 'integer',
213
- "currency" => 'string',
214
- "name" => 'string',
215
- "email" => 'string',
216
- "description" => 'string');
217
-
218
- foreach ($arrayMask as $mask => $type) {
219
- if (is_null($parameter[$mask])) {
220
- $validation = false;
221
- $this->_log("The Parameter $mask is missing.", var_export($parameter, true));
222
- } else {
223
- switch ($type) {
224
- case 'string':
225
- if (!is_string($parameter[$mask])) {
226
- $this->_log("The Parameter $mask is not a string.", var_export($parameter, true));
227
- $validation = false;
228
- }
229
- break;
230
- case 'integer':
231
- if (!is_integer($parameter[$mask])) {
232
- $this->_log("The Parameter $mask is not an integer.", var_export($parameter, true));
233
- $validation = false;
234
- }
235
- break;
236
- }
237
- }
238
-
239
- if (!$validation) {
240
- break;
241
- }
242
- }
243
- return $validation;
244
- }
245
-
246
- /**
247
- * Validates the created Paymill-Objects
248
- *
249
- * @param array $transaction
250
- * @param string $type
251
- * @return boolean
252
- */
253
- private function _validateResult($paymillObject, $type)
254
- {
255
- $this->_lastResponse = $paymillObject;
256
- if (isset($paymillObject['data']['response_code']) && $paymillObject['data']['response_code'] !== 20000) {
257
- $this->_log("An Error occured: " . $paymillObject['data']['response_code'], var_export($paymillObject, true));
258
- if (empty($paymillObject['data']['response_code'])) {
259
- $paymillObject['data']['response_code'] = 0;
260
- }
261
-
262
- throw new Exception("Invalid Result Exception: Invalid ResponseCode", $paymillObject['data']['response_code']);
263
- }
264
-
265
- if (isset($paymillObject['response_code']) && $paymillObject['response_code'] !== 20000) {
266
- $this->_log("An Error occured: " . $paymillObject['response_code'], var_export($paymillObject, true));
267
- if (empty($paymillObject['response_code'])) {
268
- $paymillObject['response_code'] = 0;
269
- }
270
-
271
- throw new Exception("Invalid Result Exception: Invalid ResponseCode", (int)$paymillObject['response_code']);
272
- }
273
-
274
- if (!isset($paymillObject['id']) && !isset($paymillObject['data']['id'])) {
275
- $this->_log("No $type created.", var_export($paymillObject, true));
276
- throw new Exception("Invalid Result Exception: Invalid Id");
277
- } else {
278
- $this->_log("$type created.", isset($paymillObject['id']) ? $paymillObject['id'] : $paymillObject['data']['id']);
279
- }
280
-
281
- // check result
282
- if ($type == 'Transaction') {
283
- if (is_array($paymillObject) && array_key_exists('status', $paymillObject)) {
284
- if ($paymillObject['status'] == "closed") {
285
- // transaction was successfully issued
286
- return true;
287
- } elseif ($paymillObject['status'] == "open") {
288
- // transaction was issued but status is open for any reason
289
- $this->_log("Status is open.", var_export($paymillObject, true));
290
- throw new Exception("Invalid Result Exception: Invalid Orderstate");
291
- } else {
292
- // another error occured
293
- $this->_log("Unknown error." . var_export($paymillObject, true));
294
- throw new Exception("Invalid Result Exception: Unknown Error");
295
- }
296
- } else {
297
- // another error occured
298
- $this->_log("$type could not be issued.", var_export($paymillObject, true));
299
- throw new Exception("Invalid Result Exception: $type could not be issued.");
300
- }
301
- } else {
302
- return true;
303
- }
304
- }
305
-
306
- /**
307
- * Creates a transaction when capturenow is true otherwise a preauthorisation will be created
308
- *
309
- * @param boolean $captureNow
310
- * @return boolean
311
- */
312
- private function _processPreAuthCapture($captureNow)
313
- {
314
- $this->_createPreauthorization();
315
- if ($captureNow) {
316
- $this->_createTransaction();
317
- }
318
- return true;
319
- }
320
-
321
- /**
322
- * Executes the Payment Process
323
- *
324
- * @return boolean
325
- */
326
- final public function processPayment($captureNow = true)
327
- {
328
- $this->_initiatePhpWrapperClasses();
329
- if (!$this->_validateParameter()) {
330
- return false;
331
- }
332
-
333
- $this->_log('Process payment with following data', print_r($this->toArray(), true));
334
-
335
- try {
336
-
337
- $this->_createClient();
338
- $this->_log('Client API Response', print_r($this->_clientsObject->getResponse(), true));
339
- $this->_createPayment();
340
- $this->_log('Payment API Response', print_r($this->_paymentsObject->getResponse(), true));
341
-
342
- //creates a transaction if there is no difference between the amount
343
- if ($this->_preAuthAmount === $this->_amount && $captureNow) {
344
- $this->_createTransaction();
345
- $this->_log('Transaction API Response', print_r($this->getLastResponse(), true));
346
- } else {
347
- $this->_processPreAuthCapture($captureNow);
348
- $this->_log('Pre-Auth API Response', print_r($this->getLastResponse(), true));
349
- }
350
-
351
- return true;
352
- } catch (Exception $ex) {
353
- $this->_errorCode = $ex->getCode();
354
- // paymill wrapper threw an exception
355
- $this->_log("Exception thrown from paymill wrapper. Code: " . $ex->getCode() . " Message: " . $ex->getMessage(), print_r($this->_transactionsObject->getResponse(), true));
356
- return false;
357
- }
358
- }
359
-
360
- /**
361
- * Captures from an existing preauthorisation
362
- *
363
- * @return boolean
364
- */
365
- final public function capture()
366
- {
367
- $this->_initiatePhpWrapperClasses();
368
- if (!isset($this->_amount) || !isset($this->_currency) || !isset($this->_preauthId)) {
369
- return false;
370
- }
371
- return $this->_createTransaction();
372
- }
373
-
374
- /**
375
- * Creates a client
376
- * If no parameters are set, the values stored in the class will be used
377
- *
378
- * @param string $email
379
- * @param string $description
380
- * @return boolean
381
- */
382
- public function createClient($email = null, $description = null){
383
- $result = false;
384
- $email = isset($email) ? $email : $this->_email;
385
- $description = isset($description) ? $description : $this->_description;
386
- if(!in_array(null, array($email, $description))){
387
- $this->_clientId = null;
388
- $this->_email = $email;
389
- $this->_description = $description;
390
- $result = $this->_createClient();
391
- }
392
- return $result;
393
- }
394
-
395
- /**
396
- * Creates a Payment
397
- * If no parameters are set, the values stored in the class will be used
398
- *
399
- * @param string $token
400
- * @param string $client
401
- * @return boolean
402
- */
403
- public function createPayment($token = null, $client = null){
404
- $result = false;
405
- $token = isset($token) ? $token : $this->_token;
406
- $client = isset($client) ? $client : $this->_clientId;
407
- if(!in_array(null, array($token, $client))){
408
- $this->_paymentId = null;
409
- $this->_token = $token;
410
- $this->_clientId = $client;
411
- $result = $this->_createPayment();
412
- }
413
- return $result;
414
- }
415
-
416
- /**
417
- * Creates a Transaction
418
- * If no parameters are set, the values stored in the class will be used
419
- *
420
- * @param integer $amount
421
- * @param string $currency
422
- * @param string $description
423
- * @param string $preauthorisation
424
- * @param string $source
425
- * @return boolean
426
- */
427
- public function createTransaction($amount = null, $currency = null, $description = null, $preauthorisation = null, $source = null){
428
- $result = false;
429
- $amount = isset($amount) ? $amount : $this->_amount;
430
- $currency = isset($currency) ? $currency : $this->_currency;
431
- $description = isset($description) ? $description : $this->_description;
432
- $preauthorisation = isset($preauthorisation) ? $preauthorisation : $this->_preauthId;
433
- $source = isset($source) ? $source : $this->_source;
434
- if(!in_array(null, array($amount, $currency, $description))){
435
- $this->_transactionId = null;
436
- $this->_amount = $amount;
437
- $this->_currency = $currency;
438
- $this->_description = $description;
439
- $this->_preauthId = $preauthorisation;
440
- $this->_source = $source;
441
- $result = $this->_createTransaction();
442
- }
443
- return $result;
444
- }
445
-
446
- /**
447
- * Returns the objects data
448
- *
449
- * @return array
450
- */
451
- public function toArray()
452
- {
453
- return array(
454
- 'apiurl' => $this->_apiUrl,
455
- 'libbase' => $this->_libBase,
456
- 'privatekey' => $this->_privateKey,
457
- 'token' => $this->_token,
458
- 'amount' => $this->_amount,
459
- 'preauthamount' => $this->_preAuthAmount,
460
- 'currency' => $this->_currency,
461
- 'description' => $this->_description,
462
- 'email' => $this->_email,
463
- 'name' => $this->_name,
464
- 'source' => $this->_source
465
- );
466
- }
467
-
468
- /**
469
- * Validates the Id by getting the object with the ID from Paymill
470
- *
471
- * @param string $id
472
- * @param Service_Paymill_Base $object
473
- * @return boolean
474
- */
475
- private function isIdValid($id, $object)
476
- {
477
- $result = $object->getOne($id);
478
- if (array_key_exists('id', $result)) {
479
- return $result['id'] === $id;
480
- } else {
481
- return false;
482
- }
483
- }
484
-
485
- /* * **************************************************************************************************************
486
- * *********************************************** Getter **************************************************
487
- * *************************************************************************************************************** */
488
-
489
- /**
490
- * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
491
- * Returns the ClientId
492
- * @return String ClientId
493
- */
494
- public function getClientId()
495
- {
496
- return $this->_clientId;
497
- }
498
-
499
- /**
500
- * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
501
- * Returns the PaymentId
502
- * @return String PaymentId
503
- */
504
- public function getPaymentId()
505
- {
506
- return $this->_paymentId;
507
- }
508
-
509
- /**
510
- * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
511
- * Returns the TransactionId
512
- * @return String TransactionId
513
- */
514
- public function getTransactionId()
515
- {
516
- return $this->_transactionId;
517
- }
518
-
519
- /**
520
- * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
521
- * Returns the preauthId
522
- * @return String preauthId
523
- */
524
- public function getPreauthId()
525
- {
526
- return $this->_preauthId;
527
- }
528
-
529
- /**
530
- * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
531
- * Returns the last response send by Paymill
532
- * @return array LastResponse
533
- */
534
- public function getLastResponse()
535
- {
536
- return $this->_lastResponse;
537
- }
538
-
539
- public function getErrorCode()
540
- {
541
- return $this->_errorCode;
542
- }
543
-
544
- /* * **************************************************************************************************************
545
- * *********************************************** Setter **************************************************
546
- * *************************************************************************************************************** */
547
-
548
- /**
549
- * Sets the clientId
550
- * @param String $clientId
551
- */
552
- public function setClientId($clientId = null)
553
- {
554
- $this->_initiatePhpWrapperClasses();
555
- if ($this->isIdValid($clientId, $this->_clientsObject)) {
556
- $this->_clientId = $clientId;
557
- }
558
- }
559
-
560
- /**
561
- * Sets the paymentId
562
- * @param String $paymentId
563
- */
564
- public function setPaymentId($paymentId = null)
565
- {
566
- $this->_initiatePhpWrapperClasses();
567
- if ($this->isIdValid($paymentId, $this->_paymentsObject)) {
568
- $this->_paymentId = $paymentId;
569
- }
570
- }
571
-
572
- /**
573
- * This method sets the token
574
- * @param String $token
575
- */
576
- public function setToken($token = null)
577
- {
578
- $this->_token = $token;
579
- }
580
-
581
- /**
582
- * This method sets the preAuthAmount
583
- * @param String $preAuthAmount
584
- */
585
- public function setPreAuthAmount($preAuthAmount = null)
586
- {
587
- $this->_preAuthAmount = $preAuthAmount;
588
- }
589
-
590
- /**
591
- * This method sets the amount
592
- * @param String $amount
593
- */
594
- public function setAmount($amount = null)
595
- {
596
- $this->_amount = $amount;
597
- }
598
-
599
- /**
600
- * Sets the currency
601
- * @param String $currency
602
- */
603
- public function setCurrency($currency = null)
604
- {
605
- $this->_currency = $currency;
606
- }
607
-
608
- /**
609
- * Sets the Customer name
610
- * @param String $name
611
- */
612
- public function setName($name = null)
613
- {
614
- $this->_name = $name;
615
- }
616
-
617
- /**
618
- * Sets the Customer Email Adress
619
- * @param String $email
620
- */
621
- public function setEmail($email = null)
622
- {
623
- $this->_email = $email;
624
- }
625
-
626
- /**
627
- * Sets the Description
628
- * @param String $description
629
- */
630
- public function setDescription($description = null)
631
- {
632
- $this->_description = $description;
633
- }
634
-
635
- /**
636
- * Sets the Api URL
637
- * @param String $apiUrl
638
- */
639
- public function setApiUrl($apiUrl = null)
640
- {
641
- $this->_apiUrl = $apiUrl;
642
- }
643
-
644
- /**
645
- * Sets the Path to the libBase
646
- * @param String $libBase Path to the Lib base. If not set, the default path is set.
647
- */
648
- public function setLibBase($libBase = null)
649
- {
650
- $this->_libBase = $libBase == null ? dirname(__FILE__) . DIRECTORY_SEPARATOR : $libBase;
651
- }
652
-
653
- /**
654
- * Sets up the Logger Object.
655
- * <b>The Logger object can be any class implementing the Services_Paymill_PaymentProcessorInterface.</b>
656
- * @param any $logger
657
- */
658
- public function setLogger(Services_Paymill_LoggingInterface $logger = null)
659
- {
660
- $this->_logger = $logger;
661
- }
662
-
663
- /**
664
- * Sets the Paymill-PrivateKey
665
- * @param string $privateKey
666
- */
667
- public function setPrivateKey($privateKey = null)
668
- {
669
- $this->_privateKey = $privateKey;
670
- }
671
-
672
- /**
673
- * Set the request source
674
- * (Modulversion_Shopname_Shopversion)
675
- * @param string $source
676
- */
677
- public function setSource($source)
678
- {
679
- $this->_source = $source;
680
- }
681
-
682
- /**
683
- * Set PreauthorizationID to be captured
684
- *
685
- * @param string $preauthId
686
- */
687
- public function setPreauthId($preauthId)
688
- {
689
- $this->_preauthId = $preauthId;
690
- }
691
-
692
  }
1
+ <?php
2
+
3
+ /**
4
+ * This class acts as an easy to use gateway for the paymill phph wrapper.
5
+ * @version 1.0.0
6
+ * @category PayIntelligent
7
+ * @copyright Copyright (c) 2013 PayIntelligent GmbH (http://payintelligent.de)
8
+ */
9
+ class Services_Paymill_PaymentProcessor
10
+ {
11
+
12
+ //Options: Variables needed to create Paymill Lib Components
13
+ private $_libBase;
14
+ private $_privateKey;
15
+ private $_apiUrl;
16
+ //Objects: Objects used by the methods
17
+ private $_transactionsObject;
18
+ private $_preauthObject;
19
+ private $_clientsObject;
20
+ private $_paymentsObject;
21
+ private $_logger; //Only this object can be set using a set function.
22
+ //Process Payment relevant
23
+ private $_token; //Token generated for the Transaction
24
+ private $_amount; //Current Amount
25
+ private $_preAuthAmount;
26
+ private $_currency; //Currency (of both amounts)
27
+ private $_name; //Customername
28
+ private $_email; //Customer Email Adress
29
+ private $_description;
30
+ private $_lastResponse;
31
+ private $_transactionId; //Transaction Id generated by the createTransaction function.
32
+ private $_preauthId;
33
+ //Fast Checkout Variables
34
+ private $_clientId = null;
35
+ private $_paymentId = null;
36
+ //Source
37
+ private $_source;
38
+ private $_errorCode;
39
+
40
+ /**
41
+ * Creates an object of the PaymentProcessor class.
42
+ * @param String <b>$privateKey</b> Paymill-PrivateKey
43
+ * @param String <b>$apiUrl</b> Paymill-Api Url
44
+ * @param String <b>$libBase</b> Path to the lib Base (Can be null, Default Path will be used)
45
+ * @param array <b>$params</b>( <br />
46
+ * <b>token</b>, generated Token <br />
47
+ * <b>amount</b>, Basketamount <br />
48
+ * <b>currency</b>, Transaction currency <br />
49
+ * <b>name</b>, Customer name <br />
50
+ * <b>email</b>, Customer emailaddress <br />
51
+ * <b>description</b>, Description for transactions <br />
52
+ * ) <p color='red'><b>(If not set here, the use of setters is required for the class to work)</b></p>
53
+ * @param object $loggingClassInstance Instance of Object implementing the Services_Paymill_PaymentProcessorInterface. If not set, there will be no logging.
54
+ */
55
+ public function __construct($privateKey = null, $apiUrl = null, $libBase = null, $params = null, Services_Paymill_LoggingInterface $loggingClassInstance = null)
56
+ {
57
+ $this->setPrivateKey($privateKey);
58
+ $this->setApiUrl($apiUrl);
59
+ $this->setLibBase($libBase);
60
+ $this->_token = $params['token'];
61
+ $this->_amount = $params['amount'];
62
+ $this->_currency = $params['currency'];
63
+ $this->_name = $params['name'];
64
+ $this->_email = $params['email'];
65
+ $this->_description = $params['description'];
66
+ $this->setLogger($loggingClassInstance);
67
+ }
68
+
69
+ /**
70
+ * Creates a Paymill-Client with the given Data
71
+ *
72
+ * @param array $params
73
+ * @return boolean
74
+ */
75
+ private function _createClient()
76
+ {
77
+ $this->_initiatePhpWrapperClasses();
78
+ if (isset($this->_clientId)) {
79
+ $this->_log("Client using: " . $this->_clientId);
80
+ } else {
81
+ $client = $this->_clientsObject->create(
82
+ array(
83
+ 'email' => $this->_email,
84
+ 'description' => $this->_description
85
+ )
86
+ );
87
+
88
+ $this->_validateResult($client, 'Client');
89
+
90
+ $this->_clientId = $client['id'];
91
+ }
92
+ return $this->_clientId;
93
+ }
94
+
95
+ /**
96
+ * Creates a Paymill-Payment with the given Data
97
+ *
98
+ * @param array $params
99
+ * @return boolean
100
+ */
101
+ private function _createPayment()
102
+ {
103
+ $this->_initiatePhpWrapperClasses();
104
+ if (isset($this->_paymentId)) {
105
+ $this->_log("Payment using: " . $this->_paymentId);
106
+ } else {
107
+ $payment = $this->_paymentsObject->create(
108
+ array(
109
+ 'token' => $this->_token,
110
+ 'client' => $this->_clientId
111
+ )
112
+ );
113
+
114
+ $this->_validateResult($payment, 'Payment');
115
+ $this->_paymentId = $payment['id'];
116
+ }
117
+ return true;
118
+ }
119
+
120
+ /**
121
+ * Creates a Paymill-Transaction with the given Data
122
+ *
123
+ * @param array $params
124
+ * @return boolean
125
+ */
126
+ private function _createTransaction()
127
+ {
128
+ $this->_initiatePhpWrapperClasses();
129
+ $parameter = array(
130
+ 'amount' => $this->_amount,
131
+ 'currency' => $this->_currency,
132
+ 'description' => $this->_description,
133
+ 'preauthorization' => $this->_preauthId,
134
+ 'source' => $this->_source
135
+ );
136
+ $this->_preauthId != null ? $parameter['preauthorization'] = $this->_preauthId : $parameter['payment'] = $this->_paymentId;
137
+ $transaction = $this->_transactionsObject->create($parameter);
138
+ $this->_validateResult($transaction, 'Transaction');
139
+
140
+ $this->_transactionId = $transaction['id'];
141
+ return true;
142
+ }
143
+
144
+ /**
145
+ * Creates a Paymill-Transaction with the given Data
146
+ *
147
+ * @param array $params
148
+ * @return boolean
149
+ */
150
+ private function _createPreauthorization()
151
+ {
152
+ $preAuth = $this->_preauthObject->create(
153
+ array(
154
+ 'amount' => $this->_preAuthAmount,
155
+ 'currency' => $this->_currency,
156
+ 'description' => $this->_description,
157
+ 'payment' => $this->_paymentId,
158
+ 'client' => $this->_clientId,
159
+ )
160
+ );
161
+ $this->_validateResult($preAuth, 'Preauthorization');
162
+ $this->_preauthId = $preAuth['preauthorization']['id'];
163
+ return true;
164
+ }
165
+
166
+ /**
167
+ * Load the PhpWrapper-Classes and creates an instance for each class.
168
+ */
169
+ private function _initiatePhpWrapperClasses()
170
+ {
171
+ $this->_transactionsObject = new Services_Paymill_Transactions($this->_privateKey, $this->_apiUrl);
172
+ $this->_preauthObject = new Services_Paymill_Preauthorizations($this->_privateKey, $this->_apiUrl);
173
+ $this->_clientsObject = new Services_Paymill_Clients($this->_privateKey, $this->_apiUrl);
174
+ $this->_paymentsObject = new Services_Paymill_Payments($this->_privateKey, $this->_apiUrl);
175
+ }
176
+
177
+ /**
178
+ * Calls the log() function of the logger object if the object has been set.
179
+ *
180
+ * @param string $message
181
+ * @param string $debugInfo
182
+ */
183
+ private function _log($message, $debugInfo = null)
184
+ {
185
+ if (isset($this->_logger)) {
186
+ $this->_logger->log($message, $debugInfo);
187
+ }
188
+ }
189
+
190
+ /**
191
+ * Validates the array passed as an argument to be processPayment() compliant
192
+ * @param mixed $parameter
193
+ * @return boolean
194
+ */
195
+ private function _validateParameter()
196
+ {
197
+ if ($this->_preAuthAmount == null) {
198
+ $this->_preAuthAmount = $this->_amount;
199
+ }
200
+
201
+ $validation = true;
202
+ $parameter = array(
203
+ "token" => $this->_token,
204
+ "amount" => $this->_amount,
205
+ "currency" => $this->_currency,
206
+ "name" => $this->_name,
207
+ "email" => $this->_email,
208
+ "description" => $this->_description);
209
+
210
+ $arrayMask = array(
211
+ "token" => 'string',
212
+ "amount" => 'integer',
213
+ "currency" => 'string',
214
+ "name" => 'string',
215
+ "email" => 'string',
216
+ "description" => 'string');
217
+
218
+ foreach ($arrayMask as $mask => $type) {
219
+ if (is_null($parameter[$mask])) {
220
+ $validation = false;
221
+ $this->_log("The Parameter $mask is missing.", var_export($parameter, true));
222
+ } else {
223
+ switch ($type) {
224
+ case 'string':
225
+ if (!is_string($parameter[$mask])) {
226
+ $this->_log("The Parameter $mask is not a string.", var_export($parameter, true));
227
+ $validation = false;
228
+ }
229
+ break;
230
+ case 'integer':
231
+ if (!is_integer($parameter[$mask])) {
232
+ $this->_log("The Parameter $mask is not an integer.", var_export($parameter, true));
233
+ $validation = false;
234
+ }
235
+ break;
236
+ }
237
+ }
238
+
239
+ if (!$validation) {
240
+ break;
241
+ }
242
+ }
243
+ return $validation;
244
+ }
245
+
246
+ /**
247
+ * Validates the created Paymill-Objects
248
+ *
249
+ * @param array $transaction
250
+ * @param string $type
251
+ * @return boolean
252
+ */
253
+ private function _validateResult($paymillObject, $type)
254
+ {
255
+ $this->_lastResponse = $paymillObject;
256
+ if (isset($paymillObject['data']['response_code']) && $paymillObject['data']['response_code'] !== 20000) {
257
+ $this->_log("An Error occured: " . $paymillObject['data']['response_code'], var_export($paymillObject, true));
258
+ if (empty($paymillObject['data']['response_code'])) {
259
+ $paymillObject['data']['response_code'] = 0;
260
+ }
261
+
262
+ throw new Exception("Invalid Result Exception: Invalid ResponseCode", $paymillObject['data']['response_code']);
263
+ }
264
+
265
+ if (isset($paymillObject['response_code']) && $paymillObject['response_code'] !== 20000) {
266
+ $this->_log("An Error occured: " . $paymillObject['response_code'], var_export($paymillObject, true));
267
+ if (empty($paymillObject['response_code'])) {
268
+ $paymillObject['response_code'] = 0;
269
+ }
270
+
271
+ throw new Exception("Invalid Result Exception: Invalid ResponseCode", (int)$paymillObject['response_code']);
272
+ }
273
+
274
+ if (!isset($paymillObject['id']) && !isset($paymillObject['data']['id'])) {
275
+ $this->_log("No $type created.", var_export($paymillObject, true));
276
+ throw new Exception("Invalid Result Exception: Invalid Id");
277
+ } else {
278
+ $this->_log("$type created.", isset($paymillObject['id']) ? $paymillObject['id'] : $paymillObject['data']['id']);
279
+ }
280
+
281
+ // check result
282
+ if ($type == 'Transaction') {
283
+ if (is_array($paymillObject) && array_key_exists('status', $paymillObject)) {
284
+ if ($paymillObject['status'] == "closed") {
285
+ // transaction was successfully issued
286
+ return true;
287
+ } elseif ($paymillObject['status'] == "open") {
288
+ // transaction was issued but status is open for any reason
289
+ $this->_log("Status is open.", var_export($paymillObject, true));
290
+ throw new Exception("Invalid Result Exception: Invalid Orderstate");
291
+ } else {
292
+ // another error occured
293
+ $this->_log("Unknown error." . var_export($paymillObject, true));
294
+ throw new Exception("Invalid Result Exception: Unknown Error");
295
+ }
296
+ } else {
297
+ // another error occured
298
+ $this->_log("$type could not be issued.", var_export($paymillObject, true));
299
+ throw new Exception("Invalid Result Exception: $type could not be issued.");
300
+ }
301
+ } else {
302
+ return true;
303
+ }
304
+ }
305
+
306
+ /**
307
+ * Creates a transaction when capturenow is true otherwise a preauthorisation will be created
308
+ *
309
+ * @param boolean $captureNow
310
+ * @return boolean
311
+ */
312
+ private function _processPreAuthCapture($captureNow)
313
+ {
314
+ $this->_createPreauthorization();
315
+ if ($captureNow) {
316
+ $this->_createTransaction();
317
+ }
318
+ return true;
319
+ }
320
+
321
+ /**
322
+ * Executes the Payment Process
323
+ *
324
+ * @return boolean
325
+ */
326
+ final public function processPayment($captureNow = true)
327
+ {
328
+ $this->_initiatePhpWrapperClasses();
329
+ if (!$this->_validateParameter()) {
330
+ return false;
331
+ }
332
+
333
+ $this->_log('Process payment with following data', print_r($this->toArray(), true));
334
+
335
+ try {
336
+
337
+ $this->_createClient();
338
+ $this->_log('Client API Response', print_r($this->_clientsObject->getResponse(), true));
339
+ $this->_createPayment();
340
+ $this->_log('Payment API Response', print_r($this->_paymentsObject->getResponse(), true));
341
+
342
+ //creates a transaction if there is no difference between the amount
343
+ if ($this->_preAuthAmount === $this->_amount && $captureNow) {
344
+ $this->_createTransaction();
345
+ $this->_log('Transaction API Response', print_r($this->getLastResponse(), true));
346
+ } else {
347
+ $this->_processPreAuthCapture($captureNow);
348
+ $this->_log('Pre-Auth API Response', print_r($this->getLastResponse(), true));
349
+ }
350
+
351
+ return true;
352
+ } catch (Exception $ex) {
353
+ $this->_errorCode = $ex->getCode();
354
+ // paymill wrapper threw an exception
355
+ $this->_log("Exception thrown from paymill wrapper. Code: " . $ex->getCode() . " Message: " . $ex->getMessage(), print_r($this->_transactionsObject->getResponse(), true));
356
+ return false;
357
+ }
358
+ }
359
+
360
+ /**
361
+ * Captures from an existing preauthorisation
362
+ *
363
+ * @return boolean
364
+ */
365
+ final public function capture()
366
+ {
367
+ $this->_initiatePhpWrapperClasses();
368
+ if (!isset($this->_amount) || !isset($this->_currency) || !isset($this->_preauthId)) {
369
+ return false;
370
+ }
371
+ return $this->_createTransaction();
372
+ }
373
+
374
+ /**
375
+ * Creates a client
376
+ * If no parameters are set, the values stored in the class will be used
377
+ *
378
+ * @param string $email
379
+ * @param string $description
380
+ * @return boolean
381
+ */
382
+ public function createClient($email = null, $description = null){
383
+ $result = false;
384
+ $email = isset($email) ? $email : $this->_email;
385
+ $description = isset($description) ? $description : $this->_description;
386
+ if(!in_array(null, array($email, $description))){
387
+ $this->_clientId = null;
388
+ $this->_email = $email;
389
+ $this->_description = $description;
390
+ $result = $this->_createClient();
391
+ }
392
+ return $result;
393
+ }
394
+
395
+ /**
396
+ * Creates a Payment
397
+ * If no parameters are set, the values stored in the class will be used
398
+ *
399
+ * @param string $token
400
+ * @param string $client
401
+ * @return boolean
402
+ */
403
+ public function createPayment($token = null, $client = null){
404
+ $result = false;
405
+ $token = isset($token) ? $token : $this->_token;
406
+ $client = isset($client) ? $client : $this->_clientId;
407
+ if(!in_array(null, array($token, $client))){
408
+ $this->_paymentId = null;
409
+ $this->_token = $token;
410
+ $this->_clientId = $client;
411
+ $result = $this->_createPayment();
412
+ }
413
+ return $result;
414
+ }
415
+
416
+ /**
417
+ * Creates a Transaction
418
+ * If no parameters are set, the values stored in the class will be used
419
+ *
420
+ * @param integer $amount
421
+ * @param string $currency
422
+ * @param string $description
423
+ * @param string $preauthorisation
424
+ * @param string $source
425
+ * @return boolean
426
+ */
427
+ public function createTransaction($amount = null, $currency = null, $description = null, $preauthorisation = null, $source = null){
428
+ $result = false;
429
+ $amount = isset($amount) ? $amount : $this->_amount;
430
+ $currency = isset($currency) ? $currency : $this->_currency;
431
+ $description = isset($description) ? $description : $this->_description;
432
+ $preauthorisation = isset($preauthorisation) ? $preauthorisation : $this->_preauthId;
433
+ $source = isset($source) ? $source : $this->_source;
434
+ if(!in_array(null, array($amount, $currency, $description))){
435
+ $this->_transactionId = null;
436
+ $this->_amount = $amount;
437
+ $this->_currency = $currency;
438
+ $this->_description = $description;
439
+ $this->_preauthId = $preauthorisation;
440
+ $this->_source = $source;
441
+ $result = $this->_createTransaction();
442
+ }
443
+ return $result;
444
+ }
445
+
446
+ /**
447
+ * Returns the objects data
448
+ *
449
+ * @return array
450
+ */
451
+ public function toArray()
452
+ {
453
+ return array(
454
+ 'apiurl' => $this->_apiUrl,
455
+ 'libbase' => $this->_libBase,
456
+ 'privatekey' => $this->_privateKey,
457
+ 'token' => $this->_token,
458
+ 'amount' => $this->_amount,
459
+ 'preauthamount' => $this->_preAuthAmount,
460
+ 'currency' => $this->_currency,
461
+ 'description' => $this->_description,
462
+ 'email' => $this->_email,
463
+ 'name' => $this->_name,
464
+ 'source' => $this->_source
465
+ );
466
+ }
467
+
468
+ /**
469
+ * Validates the Id by getting the object with the ID from Paymill
470
+ *
471
+ * @param string $id
472
+ * @param Service_Paymill_Base $object
473
+ * @return boolean
474
+ */
475
+ private function isIdValid($id, $object)
476
+ {
477
+ $result = $object->getOne($id);
478
+ if (array_key_exists('id', $result)) {
479
+ return $result['id'] === $id;
480
+ } else {
481
+ return false;
482
+ }
483
+ }
484
+
485
+ /* * **************************************************************************************************************
486
+ * *********************************************** Getter **************************************************
487
+ * *************************************************************************************************************** */
488
+
489
+ /**
490
+ * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
491
+ * Returns the ClientId
492
+ * @return String ClientId
493
+ */
494
+ public function getClientId()
495
+ {
496
+ return $this->_clientId;
497
+ }
498
+
499
+ /**
500
+ * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
501
+ * Returns the PaymentId
502
+ * @return String PaymentId
503
+ */
504
+ public function getPaymentId()
505
+ {
506
+ return $this->_paymentId;
507
+ }
508
+
509
+ /**
510
+ * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
511
+ * Returns the TransactionId
512
+ * @return String TransactionId
513
+ */
514
+ public function getTransactionId()
515
+ {
516
+ return $this->_transactionId;
517
+ }
518
+
519
+ /**
520
+ * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
521
+ * Returns the preauthId
522
+ * @return String preauthId
523
+ */
524
+ public function getPreauthId()
525
+ {
526
+ return $this->_preauthId;
527
+ }
528
+
529
+ /**
530
+ * <p align = 'center'><b>Can only be called after the call of processPayment(). Otherwise null will be returned</b></p>
531
+ * Returns the last response send by Paymill
532
+ * @return array LastResponse
533
+ */
534
+ public function getLastResponse()
535
+ {
536
+ return $this->_lastResponse;
537
+ }
538
+
539
+ public function getErrorCode()
540
+ {
541
+ return $this->_errorCode;
542
+ }
543
+
544
+ /* * **************************************************************************************************************
545
+ * *********************************************** Setter **************************************************
546
+ * *************************************************************************************************************** */
547
+
548
+ /**
549
+ * Sets the clientId
550
+ * @param String $clientId
551
+ */
552
+ public function setClientId($clientId = null)
553
+ {
554
+ $this->_initiatePhpWrapperClasses();
555
+ if ($this->isIdValid($clientId, $this->_clientsObject)) {
556
+ $this->_clientId = $clientId;
557
+ }
558
+ }
559
+
560
+ /**
561
+ * Sets the paymentId
562
+ * @param String $paymentId
563
+ */
564
+ public function setPaymentId($paymentId = null)
565
+ {
566
+ $this->_initiatePhpWrapperClasses();
567
+ if ($this->isIdValid($paymentId, $this->_paymentsObject)) {
568
+ $this->_paymentId = $paymentId;
569
+ }
570
+ }
571
+
572
+ /**
573
+ * This method sets the token
574
+ * @param String $token
575
+ */
576
+ public function setToken($token = null)
577
+ {
578
+ $this->_token = $token;
579
+ }
580
+
581
+ /**
582
+ * This method sets the preAuthAmount
583
+ * @param String $preAuthAmount
584
+ */
585
+ public function setPreAuthAmount($preAuthAmount = null)
586
+ {
587
+ $this->_preAuthAmount = $preAuthAmount;
588
+ }
589
+
590
+ /**
591
+ * This method sets the amount
592
+ * @param String $amount
593
+ */
594
+ public function setAmount($amount = null)
595
+ {
596
+ $this->_amount = $amount;
597
+ }
598
+
599
+ /**
600
+ * Sets the currency
601
+ * @param String $currency
602
+ */
603
+ public function setCurrency($currency = null)
604
+ {
605
+ $this->_currency = $currency;
606
+ }
607
+
608
+ /**
609
+ * Sets the Customer name
610
+ * @param String $name
611
+ */
612
+ public function setName($name = null)
613
+ {
614
+ $this->_name = $name;
615
+ }
616
+
617
+ /**
618
+ * Sets the Customer Email Adress
619
+ * @param String $email
620
+ */
621
+ public function setEmail($email = null)
622
+ {
623
+ $this->_email = $email;
624
+ }
625
+
626
+ /**
627
+ * Sets the Description
628
+ * @param String $description
629
+ */
630
+ public function setDescription($description = null)
631
+ {
632
+ $this->_description = $description;
633
+ }
634
+
635
+ /**
636
+ * Sets the Api URL
637
+ * @param String $apiUrl
638
+ */
639
+ public function setApiUrl($apiUrl = null)
640
+ {
641
+ $this->_apiUrl = $apiUrl;
642
+ }
643
+
644
+ /**
645
+ * Sets the Path to the libBase
646
+ * @param String $libBase Path to the Lib base. If not set, the default path is set.
647
+ */
648
+ public function setLibBase($libBase = null)
649
+ {
650
+ $this->_libBase = $libBase == null ? dirname(__FILE__) . DIRECTORY_SEPARATOR : $libBase;
651
+ }
652
+
653
+ /**
654
+ * Sets up the Logger Object.
655
+ * <b>The Logger object can be any class implementing the Services_Paymill_PaymentProcessorInterface.</b>
656
+ * @param any $logger
657
+ */
658
+ public function setLogger(Services_Paymill_LoggingInterface $logger = null)
659
+ {
660
+ $this->_logger = $logger;
661
+ }
662
+
663
+ /**
664
+ * Sets the Paymill-PrivateKey
665
+ * @param string $privateKey
666
+ */
667
+ public function setPrivateKey($privateKey = null)
668
+ {
669
+ $this->_privateKey = $privateKey;
670
+ }
671
+
672
+ /**
673
+ * Set the request source
674
+ * (Modulversion_Shopname_Shopversion)
675
+ * @param string $source
676
+ */
677
+ public function setSource($source)
678
+ {
679
+ $this->_source = $source;
680
+ }
681
+
682
+ /**
683
+ * Set PreauthorizationID to be captured
684
+ *
685
+ * @param string $preauthId
686
+ */
687
+ public function setPreauthId($preauthId)
688
+ {
689
+ $this->_preauthId = $preauthId;
690
+ }
691
+
692
  }
lib/Services/Paymill/Payments.php CHANGED
@@ -1,25 +1,25 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for payments resource
5
- */
6
- class Services_Paymill_Payments extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'payments/';
12
-
13
- /**
14
- * General REST PUT verb
15
- * Update resource item
16
- *
17
- * @param array $itemData
18
- *
19
- * @return array item updated or null
20
- */
21
- public function update(array $itemData = array())
22
- {
23
- throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
24
- }
25
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for payments resource
5
+ */
6
+ class Services_Paymill_Payments extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'payments/';
12
+
13
+ /**
14
+ * General REST PUT verb
15
+ * Update resource item
16
+ *
17
+ * @param array $itemData
18
+ *
19
+ * @return array item updated or null
20
+ */
21
+ public function update(array $itemData = array())
22
+ {
23
+ throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
24
+ }
25
  }
lib/Services/Paymill/Preauthorizations.php CHANGED
@@ -1,25 +1,25 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for transactions resource
5
- */
6
- class Services_Paymill_Preauthorizations extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'preauthorizations/';
12
-
13
- /**
14
- * General REST PUT verb
15
- * Update resource item
16
- *
17
- * @param array $itemData
18
- *
19
- * @return array item updated or null
20
- */
21
- public function update(array $itemData = array())
22
- {
23
- throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
24
- }
25
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for transactions resource
5
+ */
6
+ class Services_Paymill_Preauthorizations extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'preauthorizations/';
12
+
13
+ /**
14
+ * General REST PUT verb
15
+ * Update resource item
16
+ *
17
+ * @param array $itemData
18
+ *
19
+ * @return array item updated or null
20
+ */
21
+ public function update(array $itemData = array())
22
+ {
23
+ throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
24
+ }
25
  }
lib/Services/Paymill/Refunds.php CHANGED
@@ -1,54 +1,54 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for refunds resource
5
- */
6
- class Services_Paymill_Refunds extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'refunds/';
12
-
13
- /**
14
- * General REST POST verb
15
- * create resource item
16
- *
17
- * @param array $itemData
18
- *
19
- * @return array created item
20
- */
21
- public function create($itemData = array())
22
- {
23
- $transactionId = $itemData['transactionId'];
24
- $params = $itemData['params'];
25
-
26
- $result = $this->_httpClient->request(
27
- $this->_serviceResource . "$transactionId",
28
- $params,
29
- Services_Paymill_Apiclient_Interface::HTTP_POST
30
- );
31
- return $result['data'];
32
- }
33
-
34
- /**
35
- * General REST DELETE verb
36
- * Delete or inactivate/cancel resource item
37
- *
38
- * @param string $clientId
39
- *
40
- * @return array item deleted
41
- */
42
- public function delete($identifier = null)
43
- {
44
- throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
45
- }
46
-
47
- /**
48
- * {@inheritDoc}
49
- */
50
- public function update(array $itemData = array())
51
- {
52
- throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404" );
53
- }
54
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for refunds resource
5
+ */
6
+ class Services_Paymill_Refunds extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'refunds/';
12
+
13
+ /**
14
+ * General REST POST verb
15
+ * create resource item
16
+ *
17
+ * @param array $itemData
18
+ *
19
+ * @return array created item
20
+ */
21
+ public function create($itemData = array())
22
+ {
23
+ $transactionId = $itemData['transactionId'];
24
+ $params = $itemData['params'];
25
+
26
+ $result = $this->_httpClient->request(
27
+ $this->_serviceResource . "$transactionId",
28
+ $params,
29
+ Services_Paymill_Apiclient_Interface::HTTP_POST
30
+ );
31
+ return $result['data'];
32
+ }
33
+
34
+ /**
35
+ * General REST DELETE verb
36
+ * Delete or inactivate/cancel resource item
37
+ *
38
+ * @param string $clientId
39
+ *
40
+ * @return array item deleted
41
+ */
42
+ public function delete($identifier = null)
43
+ {
44
+ throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
45
+ }
46
+
47
+ /**
48
+ * {@inheritDoc}
49
+ */
50
+ public function update(array $itemData = array())
51
+ {
52
+ throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404" );
53
+ }
54
  }
lib/Services/Paymill/Subscriptions.php CHANGED
@@ -1,12 +1,12 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for subscriptions resource
5
- */
6
- class Services_Paymill_Subscriptions extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'subscriptions/';
12
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for subscriptions resource
5
+ */
6
+ class Services_Paymill_Subscriptions extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'subscriptions/';
12
  }
lib/Services/Paymill/Transactions.php CHANGED
@@ -1,25 +1,25 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for transactions resource
5
- */
6
- class Services_Paymill_Transactions extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'transactions/';
12
-
13
- /**
14
- * General REST DELETE verb
15
- * Delete or inactivate/cancel resource item
16
- *
17
- * @param string $clientId
18
- *
19
- * @return array item deleted
20
- */
21
- public function delete($clientId = null)
22
- {
23
- throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
24
- }
25
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for transactions resource
5
+ */
6
+ class Services_Paymill_Transactions extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'transactions/';
12
+
13
+ /**
14
+ * General REST DELETE verb
15
+ * Delete or inactivate/cancel resource item
16
+ *
17
+ * @param string $clientId
18
+ *
19
+ * @return array item deleted
20
+ */
21
+ public function delete($clientId = null)
22
+ {
23
+ throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
24
+ }
25
  }
lib/Services/Paymill/Webhooks.php CHANGED
@@ -1,12 +1,12 @@
1
- <?php
2
-
3
- /**
4
- * Paymill API wrapper for webhooks resource
5
- */
6
- class Services_Paymill_Webhooks extends Services_Paymill_Base
7
- {
8
- /**
9
- * {@inheritDoc}
10
- */
11
- protected $_serviceResource = 'webhooks/';
12
  }
1
+ <?php
2
+
3
+ /**
4
+ * Paymill API wrapper for webhooks resource
5
+ */
6
+ class Services_Paymill_Webhooks extends Services_Paymill_Base
7
+ {
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ protected $_serviceResource = 'webhooks/';
12
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Paymill_Paymill</name>
4
- <version>3.6.9</version>
5
  <stability>stable</stability>
6
  <license>Open Software License</license>
7
  <channel>community</channel>
@@ -13,12 +13,13 @@ The Paymill Magento extension provides a credit card form and a direct debit for
13
  &lt;br /&gt;&lt;br /&gt;&#xD;
14
  IMPORTANT: Only use the latest version.&#xD;
15
  </description>
16
- <notes> * fix for source field (for internal paymill shop identification)&#xD;
17
- * description text cut off after 128 signs</notes>
 
18
  <authors><author><name>PayIntelligent</name><user>Paymill</user><email>community@paymill.de</email></author></authors>
19
- <date>2014-08-21</date>
20
- <time>07:50:35</time>
21
- <contents><target name="magecommunity"><dir name="Paymill"><dir><dir name="Paymill"><dir name="Block"><dir name="Adminhtml"><dir name="Log"><file name="Grid.php" hash="e87918eb35f7de490c53711531e2810d"/><dir name="View"><file name="Plane.php" hash="87b7707dba28fa4357ab7fb2d12b19e4"/><file name="Tabs.php" hash="323bdae58ff28305c74051b0191db59b"/></dir><file name="View.php" hash="16845f7bd6d3d70f16b3d7eb638d754b"/></dir><file name="Log.php" hash="1876dc72d3ea2af71cf11b78a1433090"/></dir><dir name="Payment"><dir name="Form"><file name="PaymentFormAbstract.php" hash="399bee3c071cd446d7458995c16c92aa"/><file name="PaymentFormCreditcard.php" hash="718fc3bd38792651e297dd325a6dc416"/><file name="PaymentFormDirectdebit.php" hash="d423e51ae5a8414f165baeb1d915378d"/></dir><dir name="Info"><file name="PaymentFormCreditcard.php" hash="bc7b6f929555ce5ccf7cdafb08b19566"/><file name="PaymentFormDirectdebit.php" hash="3e00d3186bb26694eeae4c3a849f9cbe"/></dir></dir></dir><dir name="Helper"><file name="CustomerHelper.php" hash="5da452aef4a3ddaa96d26e9ae2b682b3"/><file name="Data.php" hash="1746c90ce37af43c023600799b1c3e61"/><file name="FastCheckoutHelper.php" hash="3d4013413d6d5dcd46736fa75762d7d4"/><file name="LoggingHelper.php" hash="69b6bbc137bdf4c00cd68dcbb6c1e745"/><file name="OptionHelper.php" hash="77a8712cc026b2523eb51dbd55dbf8f0"/><file name="PaymentHelper.php" hash="aaf4c31ffbf8be119dd2d9bb55b4a421"/><file name="RefundHelper.php" hash="4ef32cb3359876ad0b0a1a3b5b90929e"/><file name="TransactionHelper.php" hash="907ebc970cd7e8baac1fe9ed8fd524ad"/></dir><dir name="Model"><file name="Fastcheckout.php" hash="1aeb60f341996d14dc88ecd99677650f"/><dir name="Log"><file name="Search.php" hash="b9dfb44d1878391ae46d80583a59991d"/></dir><file name="Log.php" hash="d7723ab2dd871217db433407d359f811"/><dir name="Method"><file name="MethodModelAbstract.php" hash="a6506ac460896a240b1f95dd7bdbc4ac"/><file name="MethodModelCreditcard.php" hash="e079bb33ae825df6a53d3f05f6775e07"/><file name="MethodModelDirectdebit.php" hash="b2b48a08b55e1b197f644be542f6e4dc"/></dir><dir name="Mysql4"><dir name="Fastcheckout"><file name="Collection.php" hash="12d097172603664ba709c172b58a93e7"/></dir><file name="Fastcheckout.php" hash="f7ec81532944a7cc0a1b030b150f6bad"/><dir name="Log"><file name="Collection.php" hash="c5b02070b09412822a839b3cbb0eba4e"/></dir><file name="Log.php" hash="71953a00c0ec546b58b61dd69796eef9"/></dir><file name="Observer.php" hash="4c0099afb5dfea5a55b0d8a294c4fa52"/><dir name="Source"><dir name="Creditcard"><file name="Creditcards.php" hash="cf60ce5c6aa6177d6daf56088c406261"/></dir></dir><file name="TransactionData.php" hash="9dd84ca64e62db5538b9fabe33bed22d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LogController.php" hash="f30452842b4658b81e16589db7b3d82f"/></dir><file name="TokenController.php" hash="4b77ec24d02a522cf57e087f749a4cce"/></dir><dir name="etc"><file name="adminhtml.xml" hash="383052bdb4651dacf1373a27349259fd"/><file name="config.xml" hash="86897dbe4aee6cb754c214ae15911c17"/><file name="system.xml" hash="c090ccb9c2f4806a4d3e7c3369b65c55"/></dir><dir name="sql"><dir name="paymill_setup"><file name="mysql4-install-3.0.0.php" hash="68e91cd01ea809187c650de5e24d1d59"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="paymill"><dir><dir name="log"><file name="view.phtml" hash="43b54bb527bdd5d7a61c15728cd7828d"/></dir><dir name="payment"><dir name="info"><file name="creditcard.phtml" hash="6cd22661b0299e918c17a1f53ad7d6e3"/><file name="creditcard_pdf.phtml" hash="43063e90b345eb928b975324050b93b8"/><file name="directdebit.phtml" hash="6cd22661b0299e918c17a1f53ad7d6e3"/><file name="directdebit_pdf.phtml" hash="60876b47526a10829ed31ddd8c2e26b7"/></dir></dir></dir></dir></dir><dir name="layout"><file name="paymill.xml" hash="77d6d4e07a61ba76c8842249d267f62d"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paymill"><dir><dir name="form"><file name="paymill.phtml" hash="a51c471c33a281335ff87715b4656fed"/><file name="paymill_elv.phtml" hash="1cd97b98a789cdd47e8edbf82f28f276"/></dir><dir name="payment"><dir name="form"><file name="creditcard.phtml" hash="3bf5de7c5a3b292953f7eaf6f45cba99"/><file name="directdebit.phtml" hash="6a23be712a6435ecd92e862ff567197a"/></dir><dir name="info"><file name="creditcard.phtml" hash="f8172621f496767cba1aa5ee9a17f241"/><file name="directdebit.phtml" hash="b8d8274d2d5c7e34a901767861253133"/></dir></dir></dir></dir></dir><dir name="layout"><file name="paymill.xml" hash="ac314488d98573d5ce3695f9c7513084"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Paymill_Paymill.xml" hash="87f99b47f25b708a6aa8f94507bc91db"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Paymill_Paymill.csv" hash="1236e26ba1aa07a3630b7fc564161fc4"/></dir><dir name="de_AT"><file name="Paymill_Paymill.csv" hash="1236e26ba1aa07a3630b7fc564161fc4"/></dir><dir name="de_CH"><file name="Paymill_Paymill.csv" hash="1236e26ba1aa07a3630b7fc564161fc4"/></dir><dir name="en_AU"><file name="Paymill_Paymill.csv" hash="5a02e0c87e2d88587857df9fcc32d780"/></dir><dir name="en_CA"><file name="Paymill_Paymill.csv" hash="5a02e0c87e2d88587857df9fcc32d780"/></dir><dir name="en_GB"><file name="Paymill_Paymill.csv" hash="5a02e0c87e2d88587857df9fcc32d780"/></dir><dir name="en_IE"><file name="Paymill_Paymill.csv" hash="5a02e0c87e2d88587857df9fcc32d780"/></dir><dir name="en_NZ"><file name="Paymill_Paymill.csv" hash="5a02e0c87e2d88587857df9fcc32d780"/></dir><dir name="en_US"><file name="Paymill_Paymill.csv" hash="5a02e0c87e2d88587857df9fcc32d780"/></dir><dir name="en_ZA"><file name="Paymill_Paymill.csv" hash="5a02e0c87e2d88587857df9fcc32d780"/></dir><dir name="es_AR"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_CL"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_CO"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_CR"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_ES"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_MX"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_PA"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_PE"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="es_VE"><file name="Paymill_Paymill.csv" hash="d03dad26a8d5c736c3a3ddfbc094e4f6"/></dir><dir name="fr_CA"><file name="Paymill_Paymill.csv" hash="5353128f338667e198208adfc2867a9b"/></dir><dir name="fr_FR"><file name="Paymill_Paymill.csv" hash="5353128f338667e198208adfc2867a9b"/></dir><dir name="it_CH"><file name="Paymill_Paymill.csv" hash="7916adc5698d7d7e3cf0fe98fcc38de9"/></dir><dir name="it_IT"><file name="Paymill_Paymill.csv" hash="7916adc5698d7d7e3cf0fe98fcc38de9"/></dir><dir name="pt_BR"><file name="Paymill_Paymill.csv" hash="926fb8f163a94a736267de181e8b4eca"/></dir><dir name="pt_PT"><file name="Paymill_Paymill.csv" hash="926fb8f163a94a736267de181e8b4eca"/></dir></target><target name="mage"><dir name="js"><dir name="paymill"><file name="BrandDetection.js" hash="547718e0669f02af61f6d5f3b1a0403d"/><file name="Iban.js" hash="c05a4791a0cc414f2f7cc720fcd665ec"/><file name="paymentForm.js" hash="8840b1e791ebce0e2f34b2f751da2121"/></dir></dir></target><target name="magelib"><dir name="Services"><dir><dir name="Paymill"><dir name="Apiclient"><file name="Curl.php" hash="e4c70f1154115582cf88f927d74b9ca0"/><file name="Interface.php" hash="db5fb584ce410ff55b71419624f6d7db"/><file name="paymill.crt" hash="f85d1ff17b0079709f131f3ce3f288d2"/></dir><file name="Base.php" hash="6b5b6245a0372b6e9c63b3cfc1f962f1"/><file name="Clients.php" hash="673c8f3804183d50ee6ba35cfa8ba756"/><file name="Exception.php" hash="21dc05247ea04d8ced72c2ee39a4d602"/><file name="LoggingInterface.php" hash="7f425749d7fab561c9826c3984fed9dc"/><file name="Offers.php" hash="026830de966b88bd52bf8ba72a01c384"/><file name="PaymentProcessor.php" hash="ccf4c362476c27f6b5d36bea00703d1c"/><file name="Payments.php" hash="4c5fe933100b61517489fe4509c8dd50"/><file name="Preauthorizations.php" hash="b90ea0f058a5704dde7a9305a29e1b92"/><file name="Refunds.php" hash="be346ada8ba4e86dfc75308c6879bf78"/><file name="Subscriptions.php" hash="375269a2a647a4e107b626ea536253f3"/><file name="Transactions.php" hash="70fdd985d11bf61903125df42507ff8d"/><file name="Webhooks.php" hash="46082a9832b89efe0410c5f9408c3502"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="paymill"><file name="logo.css" hash="e5865add50f515244ab0cea29401cb0a"/></dir></dir><dir name="images"><dir name="paymill"><file name="ajax-loader.gif" hash="07c56b266e277696ee3d9e3ffd627450"/><file name="icon_32x20_amex.png" hash="42c5fb43b4b603804b50da9761927d40"/><file name="icon_32x20_carta-si.png" hash="236ea747b59067b1d25cdc317e52aae5"/><file name="icon_32x20_carte-bleue.png" hash="187f19af694d83bd745c278845c3b3cd"/><file name="icon_32x20_china-unionpay.png" hash="6c9d16d6c65c0da5ff11e8ae13b01d15"/><file name="icon_32x20_dankort.png" hash="938df2f2100d1182dfdd677eb6a0bded"/><file name="icon_32x20_diners-club.png" hash="0a7a8fc8f679ccf05d91298c9968629c"/><file name="icon_32x20_dinersclub.png" hash="0a7a8fc8f679ccf05d91298c9968629c"/><file name="icon_32x20_discover.png" hash="4fe8ef419087bed97cddbdeb251b847c"/><file name="icon_32x20_jcb.png" hash="774a040f938c5566fa3fddfa840d4743"/><file name="icon_32x20_maestro.png" hash="a6ffd22c9bbedb603449e2aa6136dbd1"/><file name="icon_32x20_mastercard.png" hash="09aef6dcbc50038605b7c0e5a38eb76e"/><file name="icon_32x20_unionpay.png" hash="6c9d16d6c65c0da5ff11e8ae13b01d15"/><file name="icon_32x20_visa.png" hash="e6d54e5c0120202eb5757bcfe499d73b"/><file name="icon_paymill.png" hash="303983a288b45cc7ddc5b88ad2eedd51"/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Paymill_Paymill</name>
4
+ <version>3.8.0</version>
5
  <stability>stable</stability>
6
  <license>Open Software License</license>
7
  <channel>community</channel>
13
  &lt;br /&gt;&lt;br /&gt;&#xD;
14
  IMPORTANT: Only use the latest version.&#xD;
15
  </description>
16
+ <notes> * switch for base and order currency&#xD;
17
+ * rewrite js to remove jQuery usage and only use the magento native Prototype library&#xD;
18
+ * allow to configure a prototype selector for the token creation</notes>
19
  <authors><author><name>PayIntelligent</name><user>Paymill</user><email>community@paymill.de</email></author></authors>
20
+ <date>2014-10-08</date>
21
+ <time>11:47:22</time>
22
+ <contents><target name="magecommunity"><dir name="Paymill"><dir><dir name="Paymill"><dir name="Block"><dir name="Adminhtml"><dir name="Log"><file name="Grid.php" hash="7d74f94403297eeb551272ad5c94513f"/><dir name="View"><file name="Plane.php" hash="179e10aea0213d2caed595ae9111b993"/><file name="Tabs.php" hash="d16d9748921a34067242eaf92d6f299e"/></dir><file name="View.php" hash="af850dd16c3e7505a69a6cb3ca3fbc27"/></dir><file name="Log.php" hash="02930fb46a2a4569176ceb29c45037e8"/></dir><dir name="Payment"><dir name="Form"><file name="PaymentFormAbstract.php" hash="b42edc338110bd2f81fcf85169d3d82c"/><file name="PaymentFormCreditcard.php" hash="037ab8502605b450ca5b839bfe074baf"/><file name="PaymentFormDirectdebit.php" hash="ea9ab99268994373866162d432d27556"/></dir><dir name="Info"><file name="PaymentFormCreditcard.php" hash="b268d26aec4a24756564e61efc0c7bca"/><file name="PaymentFormDirectdebit.php" hash="d3a3e0384aa932972a97bc8f719ff545"/></dir></dir></dir><dir name="Helper"><file name="CustomerHelper.php" hash="5aa5cd0dd7f64764ae047b42fe037539"/><file name="Data.php" hash="8e55041f6bb52f1e142b86dfa486b85e"/><file name="FastCheckoutHelper.php" hash="d8577264d2bd9d60b231e12377b8385c"/><file name="LoggingHelper.php" hash="53ea7f4d5c3af8de149a06dbe37ac061"/><file name="OptionHelper.php" hash="6bfe33ab13f87c300c1f4a963e70a670"/><file name="PaymentHelper.php" hash="1dfdf3e9f512a3a6e53b41fbc1e3f377"/><file name="RefundHelper.php" hash="bb07ba1e64ede0745e6f403415380966"/></dir><dir name="Model"><file name="Fastcheckout.php" hash="e3b585d2f3265300f08fa44a4e9ccd7b"/><dir name="Log"><file name="Search.php" hash="0ca873e4779126dabf04a413cf53b619"/></dir><file name="Log.php" hash="0662d814e53bd2eeb6f5c906c16ad971"/><dir name="Method"><file name="MethodModelAbstract.php" hash="0e2bd9ac95a26288a7aa05f26919a242"/><file name="MethodModelCreditcard.php" hash="01750a3ffb74f38e0ca6412f3146751c"/><file name="MethodModelDirectdebit.php" hash="1a8ea1470b76545b7e04e418b0be432f"/></dir><dir name="Mysql4"><dir name="Fastcheckout"><file name="Collection.php" hash="14d4aa413ec952fd2452f08ab2a208f6"/></dir><file name="Fastcheckout.php" hash="9b19c307417862938442ddd6789f2b43"/><dir name="Log"><file name="Collection.php" hash="cf4d8fec68a4cc44b2e47bf69e014cf3"/></dir><file name="Log.php" hash="bdf0bf498c1214955e20e72185e5320f"/></dir><file name="Observer.php" hash="d0ab2a1896e65e93c505a3c6ec7153ca"/><dir name="Source"><dir name="Creditcard"><file name="Creditcards.php" hash="03c3a75891b3883f2c97c2b06160f52c"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="LogController.php" hash="fe634fc07d161f160ae060600561a0b1"/></dir><file name="TokenController.php" hash="8b606f0728fd556a6180ebeb042dbf13"/></dir><dir name="etc"><file name="adminhtml.xml" hash="402c36431d690ffa9b7eae074cadfb4e"/><file name="config.xml" hash="030f11f17e84e82d603188e59652acb5"/><file name="system.xml" hash="fbd16c9e02b7ea2ac2475375f66a1c02"/></dir><dir name="sql"><dir name="paymill_setup"><file name="mysql4-install-3.0.0.php" hash="37e5e1850e143315779e30bd1b45f277"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="paymill"><dir><dir name="log"><file name="view.phtml" hash="2d4df28de6e1cb4701963db3d0c0545c"/></dir><dir name="payment"><dir name="info"><file name="creditcard.phtml" hash="8d8f6f828173f145dd3cb29f9770dca9"/><file name="creditcard_pdf.phtml" hash="68febe619bb9918b785dcbb0593c4ebe"/><file name="directdebit.phtml" hash="cd2ea623c0bc54d208f0f30f032da151"/><file name="directdebit_pdf.phtml" hash="5a2e5c36d4f4702e5f9be4b5affe3421"/></dir></dir></dir></dir></dir><dir name="layout"><file name="paymill.xml" hash="fcc95f6e7c375fee779178a0f9f1a1d8"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paymill"><dir><dir name="payment"><dir name="form"><file name="creditcard.phtml" hash="f97012161e4b69914c9f1f07ddbd4f77"/><file name="directdebit.phtml" hash="21dbf146de257ca6ab4aafd7bc816a1b"/></dir><dir name="info"><file name="creditcard.phtml" hash="42f875eb1b6e3e6151ddf152ef0bf13a"/><file name="directdebit.phtml" hash="7117525384b82b84fbbbe1f42c52328c"/></dir></dir></dir></dir></dir><dir name="layout"><file name="paymill.xml" hash="81b932339b00b90ed1fa4736c7f85537"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Paymill_Paymill.xml" hash="d36d3af5f5752dcf87517272ddb9af53"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Paymill_Paymill.csv" hash="3c9ad7578d515b90f3996461da50e5a9"/></dir><dir name="en_GB"><file name="Paymill_Paymill.csv" hash="55d7320407195bc4482ca9fee4408008"/></dir><dir name="en_US"><file name="Paymill_Paymill.csv" hash="55d7320407195bc4482ca9fee4408008"/></dir><dir name="es_ES"><file name="Paymill_Paymill.csv" hash="05f4c4af396aa59bedd10d07a52e45e4"/></dir><dir name="de_AT"><file name="Paymill_Paymill.csv" hash="3c9ad7578d515b90f3996461da50e5a9"/></dir><dir name="de_CH"><file name="Paymill_Paymill.csv" hash="3c9ad7578d515b90f3996461da50e5a9"/></dir><dir name="en_AU"><file name="Paymill_Paymill.csv" hash="55d7320407195bc4482ca9fee4408008"/></dir><dir name="en_CA"><file name="Paymill_Paymill.csv" hash="55d7320407195bc4482ca9fee4408008"/></dir><dir name="en_IE"><file name="Paymill_Paymill.csv" hash="55d7320407195bc4482ca9fee4408008"/></dir><dir name="en_NZ"><file name="Paymill_Paymill.csv" hash="55d7320407195bc4482ca9fee4408008"/></dir><dir name="en_ZA"><file name="Paymill_Paymill.csv" hash="55d7320407195bc4482ca9fee4408008"/></dir><dir name="es_AR"><file name="Paymill_Paymill.csv" hash="f693a6ebb83c71c5c0acbe3c68729ee7"/></dir></target><target name="mage"><dir name="js"><dir name="paymill"><file name="BrandDetection.js" hash="398d4b916fbbce5e84e6788517a02064"/><file name="Creditcard.js" hash="eeb55b73ef135ddc11136d88875e52da"/><file name="Elv.js" hash="67b3555e4d51284f5ef7422a7e1aa15c"/><file name="Iban.js" hash="c05a4791a0cc414f2f7cc720fcd665ec"/><file name="Paymill.js" hash="43d03f01c6f9897a0e7d2c7cda1c1ea0"/><file name="PaymillHelper.js" hash="59bc5d786dd201a7530b8e7ce8107bec"/></dir></dir></target><target name="magelib"><dir name="Services"><dir><dir name="Paymill"><dir name="Apiclient"><file name="Curl.php" hash="cce77823a94425aaa2b421e63f130422"/><file name="Interface.php" hash="349309458455e550c562fb17cf23f4a6"/><file name="paymill.crt" hash="51e14b4c734e450402ea2cf73f2aee0f"/></dir><file name="Base.php" hash="141fa330c6894ff15faf413be19bf209"/><file name="Clients.php" hash="c8eb5fe8780f2da7b5eb173a5be43c7f"/><file name="Exception.php" hash="9beffb75d92c0de3c1c7ea5b33930fff"/><file name="LoggingInterface.php" hash="46ebeede1da14b761c54a18aff6c3b79"/><file name="Offers.php" hash="e2dcf9c9a54d9aba16e1caf02b438098"/><file name="PaymentProcessor.php" hash="4ee5f6e16dfdefaa8dc6565cfce2d271"/><file name="Payments.php" hash="d2a6d0679701d100c9e876f88215455c"/><file name="Preauthorizations.php" hash="597f7228584f32ee42d8916ae098b454"/><file name="Refunds.php" hash="e909af53108426a9e178417db850675f"/><file name="Subscriptions.php" hash="b72a31c4041029e08df1d7e85aa7391b"/><file name="Transactions.php" hash="382c12f290752b7c50e2001cdf5cd4a8"/><file name="Webhooks.php" hash="5fd2e6baf7bb0dc3ad8edb1eab41fb91"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="paymill"><file name="logo.css" hash="a0597a469bd0e0354ac4e561621d6584"/></dir></dir><dir name="images"><dir name="paymill"><file name="ajax-loader.gif" hash="07c56b266e277696ee3d9e3ffd627450"/><file name="icon_32x20_amex.png" hash="42c5fb43b4b603804b50da9761927d40"/><file name="icon_32x20_carta-si.png" hash="236ea747b59067b1d25cdc317e52aae5"/><file name="icon_32x20_carte-bleue.png" hash="187f19af694d83bd745c278845c3b3cd"/><file name="icon_32x20_china-unionpay.png" hash="6c9d16d6c65c0da5ff11e8ae13b01d15"/><file name="icon_32x20_dankort.png" hash="938df2f2100d1182dfdd677eb6a0bded"/><file name="icon_32x20_diners-club.png" hash="0a7a8fc8f679ccf05d91298c9968629c"/><file name="icon_32x20_dinersclub.png" hash="0a7a8fc8f679ccf05d91298c9968629c"/><file name="icon_32x20_discover.png" hash="4fe8ef419087bed97cddbdeb251b847c"/><file name="icon_32x20_jcb.png" hash="774a040f938c5566fa3fddfa840d4743"/><file name="icon_32x20_maestro.png" hash="a6ffd22c9bbedb603449e2aa6136dbd1"/><file name="icon_32x20_mastercard.png" hash="09aef6dcbc50038605b7c0e5a38eb76e"/><file name="icon_32x20_unionpay.png" hash="6c9d16d6c65c0da5ff11e8ae13b01d15"/><file name="icon_32x20_visa.png" hash="e6d54e5c0120202eb5757bcfe499d73b"/><file name="icon_paymill.png" hash="303983a288b45cc7ddc5b88ad2eedd51"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="es_CL"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="es_CO"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="es_CR"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="es_MX"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="es_PE"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="es_VE"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="fr_CA"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="fr_FR"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="it_CH"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="it_IT"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="pt_BR"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="pt_PT"><file name="Paymill_Paymill.csv" hash=""/></dir></target></contents>
23
  <compatible/>
24
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
25
  </package>
skin/frontend/base/default/css/paymill/logo.css CHANGED
@@ -1,128 +1,128 @@
1
- .paymill_powered {
2
- border: 1px solid #ccc;
3
- width: 350px;
4
- padding: 4px;
5
- background: white url('../../images/paymill/icon_paymill.png') no-repeat center right;
6
- -moz-border-radius: 3px;
7
- border-radius: 3px;
8
- margin-top: 10px;
9
- }
10
-
11
- .paymill_powered > .paymill_credits {
12
- width: 160px;
13
- color: #666;
14
- }
15
-
16
- .paymill_powered > a {
17
- color: #666;
18
- text-decoration: underline;
19
- }
20
-
21
- .paymill-card-number-visa
22
- {
23
- background-image: url('../../images/paymill/icon_32x20_visa.png') !important;
24
- background-repeat: no-repeat !important;
25
- background-position: right center !important;
26
- }
27
-
28
- .paymill-card-number-mastercard
29
- {
30
- background-image: url('../../images/paymill/icon_32x20_mastercard.png') !important;
31
- background-repeat: no-repeat !important;
32
- background-position: right center !important;
33
- }
34
-
35
- .paymill-card-number-amex
36
- {
37
- background-image: url('../../images/paymill/icon_32x20_amex.png') !important;
38
- background-repeat: no-repeat !important;
39
- background-position: right center !important;
40
- }
41
-
42
- .paymill-card-number-jcb
43
- {
44
- background-image: url('../../images/paymill/icon_32x20_jcb.png') !important;
45
- background-repeat: no-repeat !important;
46
- background-position: right center !important;
47
-
48
- }
49
-
50
- .paymill-card-number-maestro
51
- {
52
- background-image: url('../../images/paymill/icon_32x20_maestro.png') !important;
53
- background-repeat: no-repeat !important;
54
- background-position: right center !important;
55
- }
56
-
57
- .paymill-card-number-china-unionpay
58
- {
59
- background-image: url('../../images/paymill/icon_32x20_china-unionpay.png') !important;
60
- background-repeat: no-repeat !important;
61
- background-position: right center !important;
62
- }
63
-
64
- .paymill-card-number-diners-club
65
- {
66
- background-image: url('../../images/paymill/icon_32x20_diners-club.png') !important;
67
- background-repeat: no-repeat !important;
68
- background-position: right center !important;
69
- }
70
-
71
- .paymill-card-number-discover
72
- {
73
- background-image: url('../../images/paymill/icon_32x20_discover.png') !important;
74
- background-repeat: no-repeat !important;
75
- background-position: right center !important;
76
- }
77
-
78
- .paymill-card-number-carte-bleue
79
- {
80
- background-image: url('../../images/paymill/icon_32x20_carte-bleue.png') !important;
81
- background-repeat: no-repeat !important;
82
- background-position: right center !important;
83
- }
84
-
85
- .paymill-card-number-carta-si
86
- {
87
- background-image: url('../../images/paymill/icon_32x20_carta-si.png') !important;
88
- background-repeat: no-repeat !important;
89
- background-position: right center !important;
90
- }
91
-
92
- .paymill-card-number-dankort
93
- {
94
- background-image: url('../../images/paymill/icon_32x20_dankort.png') !important;
95
- background-repeat: no-repeat !important;
96
- background-position: right center !important;
97
- }
98
-
99
- .tooltip
100
- {
101
- margin-left: 3px;
102
- font-size: 11px;
103
- color: #E2E2E2;
104
- padding: 0 5px;
105
- border-radius: 100px;
106
- background: #636363;
107
- }
108
-
109
- .paymill-layer
110
- {
111
- background-image: url('../../images/paymill/ajax-loader.gif');
112
- background-repeat: no-repeat;
113
- background-position: center center;
114
- z-index: 999;
115
- position: absolute;
116
- top:0px;
117
- left:0px;
118
- width: 100%;
119
- height: 100%;
120
-
121
- }
122
-
123
- .paymill-card-number-grayscale
124
- {
125
- filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
126
- filter: gray; /* IE6-9 */
127
- -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
128
  }
1
+ .paymill_powered {
2
+ border: 1px solid #ccc;
3
+ width: 350px;
4
+ padding: 4px;
5
+ background: white url('../../images/paymill/icon_paymill.png') no-repeat center right;
6
+ -moz-border-radius: 3px;
7
+ border-radius: 3px;
8
+ margin-top: 10px;
9
+ }
10
+
11
+ .paymill_powered > .paymill_credits {
12
+ width: 160px;
13
+ color: #666;
14
+ }
15
+
16
+ .paymill_powered > a {
17
+ color: #666;
18
+ text-decoration: underline;
19
+ }
20
+
21
+ .paymill-card-number-visa
22
+ {
23
+ background-image: url('../../images/paymill/icon_32x20_visa.png') !important;
24
+ background-repeat: no-repeat !important;
25
+ background-position: right center !important;
26
+ }
27
+
28
+ .paymill-card-number-mastercard
29
+ {
30
+ background-image: url('../../images/paymill/icon_32x20_mastercard.png') !important;
31
+ background-repeat: no-repeat !important;
32
+ background-position: right center !important;
33
+ }
34
+
35
+ .paymill-card-number-amex
36
+ {
37
+ background-image: url('../../images/paymill/icon_32x20_amex.png') !important;
38
+ background-repeat: no-repeat !important;
39
+ background-position: right center !important;
40
+ }
41
+
42
+ .paymill-card-number-jcb
43
+ {
44
+ background-image: url('../../images/paymill/icon_32x20_jcb.png') !important;
45
+ background-repeat: no-repeat !important;
46
+ background-position: right center !important;
47
+
48
+ }
49
+
50
+ .paymill-card-number-maestro
51
+ {
52
+ background-image: url('../../images/paymill/icon_32x20_maestro.png') !important;
53
+ background-repeat: no-repeat !important;
54
+ background-position: right center !important;
55
+ }
56
+
57
+ .paymill-card-number-china-unionpay
58
+ {
59
+ background-image: url('../../images/paymill/icon_32x20_china-unionpay.png') !important;
60
+ background-repeat: no-repeat !important;
61
+ background-position: right center !important;
62
+ }
63
+
64
+ .paymill-card-number-diners-club
65
+ {
66
+ background-image: url('../../images/paymill/icon_32x20_diners-club.png') !important;
67
+ background-repeat: no-repeat !important;
68
+ background-position: right center !important;
69
+ }
70
+
71
+ .paymill-card-number-discover
72
+ {
73
+ background-image: url('../../images/paymill/icon_32x20_discover.png') !important;
74
+ background-repeat: no-repeat !important;
75
+ background-position: right center !important;
76
+ }
77
+
78
+ .paymill-card-number-carte-bleue
79
+ {
80
+ background-image: url('../../images/paymill/icon_32x20_carte-bleue.png') !important;
81
+ background-repeat: no-repeat !important;
82
+ background-position: right center !important;
83
+ }
84
+
85
+ .paymill-card-number-carta-si
86
+ {
87
+ background-image: url('../../images/paymill/icon_32x20_carta-si.png') !important;
88
+ background-repeat: no-repeat !important;
89
+ background-position: right center !important;
90
+ }
91
+
92
+ .paymill-card-number-dankort
93
+ {
94
+ background-image: url('../../images/paymill/icon_32x20_dankort.png') !important;
95
+ background-repeat: no-repeat !important;
96
+ background-position: right center !important;
97
+ }
98
+
99
+ .tooltip
100
+ {
101
+ margin-left: 3px;
102
+ font-size: 11px;
103
+ color: #E2E2E2;
104
+ padding: 0 5px;
105
+ border-radius: 100px;
106
+ background: #636363;
107
+ }
108
+
109
+ .paymill-layer
110
+ {
111
+ background-image: url('../../images/paymill/ajax-loader.gif');
112
+ background-repeat: no-repeat;
113
+ background-position: center center;
114
+ z-index: 999;
115
+ position: absolute;
116
+ top:0px;
117
+ left:0px;
118
+ width: 100%;
119
+ height: 100%;
120
+
121
+ }
122
+
123
+ .paymill-card-number-grayscale
124
+ {
125
+ filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
126
+ filter: gray; /* IE6-9 */
127
+ -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
128
  }