Paymill_Paymill - Version 3.5.0

Version Notes

* remove empty input fields while focusing
* automatic email after successful invoice creation

Download this release

Release Info

Developer PayIntelligent
Extension Paymill_Paymill
Version 3.5.0
Comparing to
See all releases


Code changes from version 3.4.1 to 3.5.0

app/code/community/Paymill/Paymill/Model/Observer.php CHANGED
@@ -30,28 +30,32 @@ class Paymill_Paymill_Model_Observer
30
  public function generateInvoice(Varien_Event_Observer $observer)
31
  {
32
  $order = $observer->getEvent()->getOrder();
33
- $orders = Mage::getModel('sales/order_invoice')->getCollection()
34
- ->addAttributeToFilter('order_id', array('eq'=>$order->getId()));
35
- $orders->getSelect()->limit(1);
36
- if ((int)$orders->count() !== 0) {
37
- return $this;
38
- }
39
- $paymentCode = $order->getPayment()->getMethod();
40
- if ($paymentCode === 'paymill_creditcard' || $paymentCode === 'paymill_directdebit') {
41
  if (Mage::helper('paymill/transactionHelper')->getPreAuthenticatedFlagState($order)) { // If the transaction is not flagged as a debit (not a preAuth) transaction
42
  Mage::helper('paymill/loggingHelper')->log("Debug", "No Invoice generated, since the transaction is flagged as preauth");
43
  } else {
44
  if ($order->canInvoice()) {
45
- //Create the Invoice
46
- Mage::helper('paymill/loggingHelper')->log(Mage::helper('paymill')->__($paymentCode), Mage::helper('paymill')->__('paymill_checkout_generating_invoice'), "Order Id: " . $order->getIncrementId());
47
- $invoiceId = Mage::getModel('sales/order_invoice_api')->create($order->getIncrementId(), array());
48
- Mage::getModel('sales/order_invoice_api')->capture($invoiceId);
49
- $order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, true)->save();
 
 
 
 
 
50
  }
51
  }
52
  }
53
  }
54
-
 
 
 
 
 
 
55
  /**
56
  * Registered for the sales_order_creditmemo_refund event
57
  * Creates a refund based on the created creditmemo
30
  public function generateInvoice(Varien_Event_Observer $observer)
31
  {
32
  $order = $observer->getEvent()->getOrder();
33
+ if ($order->getPayment()->getMethod() === 'paymill_creditcard' || $order->getPayment()->getMethod() === 'paymill_directdebit') {
 
 
 
 
 
 
 
34
  if (Mage::helper('paymill/transactionHelper')->getPreAuthenticatedFlagState($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->sendEmail(true, '');
47
+ $this->_changeOrderStatus($order);
48
  }
49
  }
50
  }
51
  }
52
+
53
+ private function _changeOrderStatus($order)
54
+ {
55
+ $order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, true);
56
+ $order->save();
57
+ }
58
+
59
  /**
60
  * Registered for the sales_order_creditmemo_refund event
61
  * Creates a refund based on the created creditmemo
app/code/community/Paymill/Paymill/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Paymill_Paymill>
5
- <version>3.4.1</version>
6
  </Paymill_Paymill>
7
  </modules>
8
 
@@ -60,6 +60,18 @@
60
  </connection>
61
  </paymill_read>
62
  </resources>
 
 
 
 
 
 
 
 
 
 
 
 
63
  </global>
64
 
65
 
@@ -104,17 +116,6 @@
104
  </Paymill_Paymill>
105
  </modules>
106
  </translate>
107
- <events>
108
- <sales_order_save_after>
109
- <observers>
110
- <paymill_paymill_model_observer>
111
- <type>model</type>
112
- <class>Paymill_Paymill_Model_Observer</class>
113
- <method>generateInvoice</method>
114
- </paymill_paymill_model_observer>
115
- </observers>
116
- </sales_order_save_after>
117
- </events>
118
  </frontend>
119
 
120
  <adminhtml>
2
  <config>
3
  <modules>
4
  <Paymill_Paymill>
5
+ <version>3.5.0</version>
6
  </Paymill_Paymill>
7
  </modules>
8
 
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
 
116
  </Paymill_Paymill>
117
  </modules>
118
  </translate>
 
 
 
 
 
 
 
 
 
 
 
119
  </frontend>
120
 
121
  <adminhtml>
app/code/community/Paymill/Paymill/etc/system.xml CHANGED
@@ -11,7 +11,7 @@
11
  <sort_order>700</sort_order>
12
  <fields>
13
  <version>
14
- <label>v3.4.1</label>
15
  <sort_order>1</sort_order>
16
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
17
  <frontend_type>label</frontend_type>
@@ -86,7 +86,7 @@
86
  <sort_order>800</sort_order>
87
  <fields>
88
  <version>
89
- <label>v3.4.1</label>
90
  <sort_order>100</sort_order>
91
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
92
  <frontend_type>label</frontend_type>
@@ -159,7 +159,7 @@
159
  <sort_order>800</sort_order>
160
  <fields>
161
  <version>
162
- <label>v3.4.1</label>
163
  <sort_order>100</sort_order>
164
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
165
  <frontend_type>label</frontend_type>
11
  <sort_order>700</sort_order>
12
  <fields>
13
  <version>
14
+ <label>v3.5.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>
86
  <sort_order>800</sort_order>
87
  <fields>
88
  <version>
89
+ <label>v3.5.0</label>
90
  <sort_order>100</sort_order>
91
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
92
  <frontend_type>label</frontend_type>
159
  <sort_order>800</sort_order>
160
  <fields>
161
  <version>
162
+ <label>v3.5.0</label>
163
  <sort_order>100</sort_order>
164
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
165
  <frontend_type>label</frontend_type>
js/paymill/paymentForm.js CHANGED
@@ -21,12 +21,12 @@ function getPaymillCode()
21
  var methods = {
22
  paymill_creditcard: "cc",
23
  paymill_directdebit: 'elv'
24
- };
25
-
26
  if (methods.hasOwnProperty(pmQuery("input[name='payment[method]']:checked").val())) {
27
  return methods[pmQuery("input[name='payment[method]']:checked").val()];
28
  }
29
-
30
  return 'other';
31
  }
32
 
@@ -136,11 +136,11 @@ function paymillSubmitForm()
136
  PAYMILL_ERROR_TEXT_IVALID_BANKCODE = pmQuery('.paymill-payment-error-bankcode').val();
137
  }
138
 
139
-
140
  if (pmQuery('#paymill_creditcard_number').closest("form").attr("id") === undefined) {
141
  pmQuery('#paymill_creditcard_number').closest("form").attr("id", 'paymill-checkout-form')
142
  }
143
-
144
  var form = pmQuery('#paymill_creditcard_number').closest("form").attr("id");
145
 
146
  switch (PAYMILL_PAYMENT_NAME) {
@@ -187,21 +187,28 @@ function paymillSubmitForm()
187
  if (paymill.cardType(pmQuery('#paymill_creditcard_number').val()).toLowerCase() === 'maestro') {
188
  return true;
189
  }
190
-
191
  return paymill.validateCvc(v);
192
  },
193
  ''
194
  )
195
  };
196
 
197
- Object.extend(Validation.methods, nv);
198
 
199
- if (!paymillValidator.validate()) {
 
 
 
 
 
200
  return false;
201
  }
202
 
203
- var cvc = '000';
 
204
 
 
 
205
  if (pmQuery('#paymill_creditcard_cvc').val() !== '') {
206
  cvc = pmQuery('#paymill_creditcard_cvc').val();
207
  }
@@ -248,12 +255,17 @@ function paymillSubmitForm()
248
  )
249
  };
250
 
251
- Object.extend(Validation.methods, nv);
 
 
252
 
253
- if (!paymillValidator.validate()) {
254
  return false;
255
  }
256
 
 
 
 
257
  debug("Generating Token");
258
  paymill.createToken({
259
  number: pmQuery('#paymill_directdebit_account').val(),
@@ -269,26 +281,21 @@ function paymillSubmitForm()
269
 
270
  function addPaymillEvents()
271
  {
272
-
273
  pmQuery('#paymill_directdebit_holdername').live('focus', function() {
274
  pmQuery('.paymill-info-fastCheckout-elv').val('false');
275
- pmQuery('#paymill_directdebit_holdername').val('');
276
  });
277
 
278
  pmQuery('#paymill_directdebit_account').live('focus', function() {
279
  pmQuery('.paymill-info-fastCheckout-elv').val('false');
280
- pmQuery('#paymill_directdebit_account').val('');
281
  });
282
 
283
 
284
  pmQuery('#paymill_directdebit_bankcode').live('focus', function() {
285
  pmQuery('.paymill-info-fastCheckout-elv').val('false');
286
- pmQuery('#paymill_directdebit_bankcode').val('');
287
  });
288
 
289
  pmQuery('#paymill_creditcard_holdername').live('focus', function() {
290
  pmQuery('.paymill-info-fastCheckout-cc').val('false');
291
- pmQuery('#paymill_creditcard_holdername').val('');
292
  });
293
 
294
  pmQuery('#paymill_creditcard_cvc').live('focus', function() {
21
  var methods = {
22
  paymill_creditcard: "cc",
23
  paymill_directdebit: 'elv'
24
+ };
25
+
26
  if (methods.hasOwnProperty(pmQuery("input[name='payment[method]']:checked").val())) {
27
  return methods[pmQuery("input[name='payment[method]']:checked").val()];
28
  }
29
+
30
  return 'other';
31
  }
32
 
136
  PAYMILL_ERROR_TEXT_IVALID_BANKCODE = pmQuery('.paymill-payment-error-bankcode').val();
137
  }
138
 
139
+
140
  if (pmQuery('#paymill_creditcard_number').closest("form").attr("id") === undefined) {
141
  pmQuery('#paymill_creditcard_number').closest("form").attr("id", 'paymill-checkout-form')
142
  }
143
+
144
  var form = pmQuery('#paymill_creditcard_number').closest("form").attr("id");
145
 
146
  switch (PAYMILL_PAYMENT_NAME) {
187
  if (paymill.cardType(pmQuery('#paymill_creditcard_number').val()).toLowerCase() === 'maestro') {
188
  return true;
189
  }
190
+
191
  return paymill.validateCvc(v);
192
  },
193
  ''
194
  )
195
  };
196
 
 
197
 
198
+ var valid = paymill.validateCvc(pmQuery('#paymill_creditcard_cvc').val())
199
+ && paymill.validateHolder(pmQuery('#paymill_creditcard_holdername').val())
200
+ && paymill.validateExpiry(pmQuery('#paymill_creditcard_expiry_month').val(), pmQuery('#paymill_creditcard_expiry_year').val())
201
+ && paymill.validateCardNumber(pmQuery('#paymill_creditcard_number').val());
202
+
203
+ if (!valid) {
204
  return false;
205
  }
206
 
207
+ Object.extend(Validation.methods, nv);
208
+ paymillValidator.validate();
209
 
210
+ var cvc = '000';
211
+
212
  if (pmQuery('#paymill_creditcard_cvc').val() !== '') {
213
  cvc = pmQuery('#paymill_creditcard_cvc').val();
214
  }
255
  )
256
  };
257
 
258
+ var valid = pmQuery('#paymill_directdebit_holdername').val() !== ''
259
+ && paymill.validateAccountNumber(pmQuery('#paymill_directdebit_account').val())
260
+ && paymill.validateBankCode(pmQuery('#paymill_directdebit_bankcode').val());
261
 
262
+ if (!valid) {
263
  return false;
264
  }
265
 
266
+ Object.extend(Validation.methods, nv);
267
+ paymillValidator.validate();
268
+
269
  debug("Generating Token");
270
  paymill.createToken({
271
  number: pmQuery('#paymill_directdebit_account').val(),
281
 
282
  function addPaymillEvents()
283
  {
 
284
  pmQuery('#paymill_directdebit_holdername').live('focus', function() {
285
  pmQuery('.paymill-info-fastCheckout-elv').val('false');
 
286
  });
287
 
288
  pmQuery('#paymill_directdebit_account').live('focus', function() {
289
  pmQuery('.paymill-info-fastCheckout-elv').val('false');
 
290
  });
291
 
292
 
293
  pmQuery('#paymill_directdebit_bankcode').live('focus', function() {
294
  pmQuery('.paymill-info-fastCheckout-elv').val('false');
 
295
  });
296
 
297
  pmQuery('#paymill_creditcard_holdername').live('focus', function() {
298
  pmQuery('.paymill-info-fastCheckout-cc').val('false');
 
299
  });
300
 
301
  pmQuery('#paymill_creditcard_cvc').live('focus', function() {
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Paymill_Paymill</name>
4
- <version>3.4.1</version>
5
  <stability>stable</stability>
6
  <license>Open Software License</license>
7
  <channel>community</channel>
@@ -13,12 +13,12 @@ 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> * better jQuery compatibility&#xD;
17
- * fix problems with the magento compiler</notes>
18
  <authors><author><name>PayIntelligent</name><user>Paymill</user><email>community@paymill.de</email></author></authors>
19
- <date>2013-11-04</date>
20
- <time>10:54:29</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="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="3b7c3c02a50d24def79485a7d2d47dd5"/><file name="PaymentFormCreditcard.php" hash="5351fa41246fb107bd3e62fdd274f715"/><file name="PaymentFormDirectdebit.php" hash="526991e3ed3c25b6c242fdd21e7aba25"/></dir><dir name="Info"><file name="PaymentFormCreditcard.php" hash="3e7a3d2b84878bc22f6ac9e2a0ac5c76"/><file name="PaymentFormDirectdebit.php" hash="bbc8f0cae5dff57df9ec1975650fe5e0"/></dir></dir></dir><dir name="Helper"><file name="CustomerHelper.php" hash="f077f41331778bd63518644b0ca3fec3"/><file name="Data.php" hash="65371da937bd0aa1ba57aa4b9d27d989"/><file name="FastCheckoutHelper.php" hash="48058398d9af8d92f69e0a0566b0b040"/><file name="LoggingHelper.php" hash="53ea7f4d5c3af8de149a06dbe37ac061"/><file name="OptionHelper.php" hash="cbf3daa334bce07b7eb62a5a43dd18dc"/><file name="PaymentHelper.php" hash="1753eb12f7c7c0d30dbe181bb87655b0"/><file name="RefundHelper.php" hash="b936d48e6f9022acb0370ec755cf5850"/><file name="TransactionHelper.php" hash="7cce355230eee2f1c617df1bd18f8752"/></dir><dir name="Model"><file name="Fastcheckout.php" hash="94565a600a12f880edeabc941bd35ded"/><dir name="Log"><file name="Search.php" hash="4338b3876e745405bfcc5a32cfe42527"/></dir><file name="Log.php" hash="476c497495b92c3cf49e0c7b470854d4"/><dir name="Method"><file name="MethodModelAbstract.php" hash="7b7ebba9af21bc887e53e6b53685800f"/><file name="MethodModelCreditcard.php" hash="beba2b1d5de002322c16f5e772c5fe99"/><file name="MethodModelDirectdebit.php" hash="bc7bc9b40760ca488e48a257dccc768d"/></dir><dir name="Mysql4"><dir name="Fastcheckout"><file name="Collection.php" hash="14d4aa413ec952fd2452f08ab2a208f6"/></dir><file name="Fastcheckout.php" hash="56b09daa390ba1f4f5116f1d701833e4"/><dir name="Log"><file name="Collection.php" hash="cf4d8fec68a4cc44b2e47bf69e014cf3"/></dir><file name="Log.php" hash="9bd80dc9300cc189b6b3ebd921b4e3e6"/></dir><file name="Observer.php" hash="7a50e0ae93ca57a4cc34079366d231aa"/><file name="TransactionData.php" hash="6f2bfd7a7ecde8dc4f21e03d33fdd7e4"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LogController.php" hash="fe634fc07d161f160ae060600561a0b1"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="402c36431d690ffa9b7eae074cadfb4e"/><file name="config.xml" hash="f2df171d57dcf0ede51854372a174c83"/><file name="system.xml" hash="07af8100ff47e64ca49b58b237cf7867"/></dir><dir name="sql"><dir name="paymill_setup"><file name="mysql4-install-3.0.0.php" hash="542728b094a88aa479de6d49017953ba"/></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="1c604ec666d9a3028a04c0d9a4257e4a"/><file name="directdebit.phtml" hash="1c604ec666d9a3028a04c0d9a4257e4a"/></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="9f21301c2ef209073b42cbc6561e20b8"/><file name="directdebit.phtml" hash="f658d4fee38d90dd1840c9bf59ef1126"/></dir><dir name="info"><file name="creditcard.phtml" hash="42f875eb1b6e3e6151ddf152ef0bf13a"/><file name="directdebit.phtml" hash="42f875eb1b6e3e6151ddf152ef0bf13a"/></dir></dir></dir></dir></dir><dir name="layout"><file name="paymill.xml" hash="da4ed04467f50a8a5bbe5766834b765e"/></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="4380f0645f188df42968947f93ef98cd"/></dir><dir name="en_GB"><file name="Paymill_Paymill.csv" hash="8d17d41a96420fad84ca277cc1e08169"/></dir></target><target name="magelocal"><dir name="en_US"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="es_ES"><file name="Paymill_Paymill.csv" hash=""/></dir></target><target name="mage"><dir name="js"><dir name="paymill"><file name="paymentForm.js" hash="e29b3dd732c0e02d4ae41789e12929c7"/></dir></dir></target><target name="magelib"><dir name="Services"><dir><dir name="Paymill"><dir name="Apiclient"><file name="Curl.php" hash="b1e7fb6eacb5a5cb41dc91247774db45"/><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="5532a7043b185cd64ced0167c42ea763"/><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="a4c9d4d2243af38f2109e89ee4943888"/><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="6c09811ecd11d36b9e41b4a616481769"/></dir></dir><dir name="images"><dir name="paymill"><file name="icon_32x20_amex.png" hash="42c5fb43b4b603804b50da9761927d40"/><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_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.5.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> * remove empty input fields while focusing&#xD;
17
+ * automatic email after successful invoice creation</notes>
18
  <authors><author><name>PayIntelligent</name><user>Paymill</user><email>community@paymill.de</email></author></authors>
19
+ <date>2013-11-12</date>
20
+ <time>15:41:07</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="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="3b7c3c02a50d24def79485a7d2d47dd5"/><file name="PaymentFormCreditcard.php" hash="5351fa41246fb107bd3e62fdd274f715"/><file name="PaymentFormDirectdebit.php" hash="526991e3ed3c25b6c242fdd21e7aba25"/></dir><dir name="Info"><file name="PaymentFormCreditcard.php" hash="3e7a3d2b84878bc22f6ac9e2a0ac5c76"/><file name="PaymentFormDirectdebit.php" hash="bbc8f0cae5dff57df9ec1975650fe5e0"/></dir></dir></dir><dir name="Helper"><file name="CustomerHelper.php" hash="f077f41331778bd63518644b0ca3fec3"/><file name="Data.php" hash="65371da937bd0aa1ba57aa4b9d27d989"/><file name="FastCheckoutHelper.php" hash="48058398d9af8d92f69e0a0566b0b040"/><file name="LoggingHelper.php" hash="53ea7f4d5c3af8de149a06dbe37ac061"/><file name="OptionHelper.php" hash="cbf3daa334bce07b7eb62a5a43dd18dc"/><file name="PaymentHelper.php" hash="1753eb12f7c7c0d30dbe181bb87655b0"/><file name="RefundHelper.php" hash="b936d48e6f9022acb0370ec755cf5850"/><file name="TransactionHelper.php" hash="7cce355230eee2f1c617df1bd18f8752"/></dir><dir name="Model"><file name="Fastcheckout.php" hash="94565a600a12f880edeabc941bd35ded"/><dir name="Log"><file name="Search.php" hash="4338b3876e745405bfcc5a32cfe42527"/></dir><file name="Log.php" hash="476c497495b92c3cf49e0c7b470854d4"/><dir name="Method"><file name="MethodModelAbstract.php" hash="7b7ebba9af21bc887e53e6b53685800f"/><file name="MethodModelCreditcard.php" hash="beba2b1d5de002322c16f5e772c5fe99"/><file name="MethodModelDirectdebit.php" hash="bc7bc9b40760ca488e48a257dccc768d"/></dir><dir name="Mysql4"><dir name="Fastcheckout"><file name="Collection.php" hash="14d4aa413ec952fd2452f08ab2a208f6"/></dir><file name="Fastcheckout.php" hash="56b09daa390ba1f4f5116f1d701833e4"/><dir name="Log"><file name="Collection.php" hash="cf4d8fec68a4cc44b2e47bf69e014cf3"/></dir><file name="Log.php" hash="9bd80dc9300cc189b6b3ebd921b4e3e6"/></dir><file name="Observer.php" hash="589a2f16715445f075110befde459312"/><file name="TransactionData.php" hash="6f2bfd7a7ecde8dc4f21e03d33fdd7e4"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LogController.php" hash="fe634fc07d161f160ae060600561a0b1"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="402c36431d690ffa9b7eae074cadfb4e"/><file name="config.xml" hash="c6e21b172eb882a982f073762b4b57a5"/><file name="system.xml" hash="0371deb29511df404a695e38f7fb43b1"/></dir><dir name="sql"><dir name="paymill_setup"><file name="mysql4-install-3.0.0.php" hash="542728b094a88aa479de6d49017953ba"/></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="1c604ec666d9a3028a04c0d9a4257e4a"/><file name="directdebit.phtml" hash="1c604ec666d9a3028a04c0d9a4257e4a"/></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="9f21301c2ef209073b42cbc6561e20b8"/><file name="directdebit.phtml" hash="f658d4fee38d90dd1840c9bf59ef1126"/></dir><dir name="info"><file name="creditcard.phtml" hash="42f875eb1b6e3e6151ddf152ef0bf13a"/><file name="directdebit.phtml" hash="42f875eb1b6e3e6151ddf152ef0bf13a"/></dir></dir></dir></dir></dir><dir name="layout"><file name="paymill.xml" hash="da4ed04467f50a8a5bbe5766834b765e"/></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="4380f0645f188df42968947f93ef98cd"/></dir><dir name="en_GB"><file name="Paymill_Paymill.csv" hash="8d17d41a96420fad84ca277cc1e08169"/></dir></target><target name="magelocal"><dir name="en_US"><file name="Paymill_Paymill.csv" hash=""/></dir><dir name="es_ES"><file name="Paymill_Paymill.csv" hash=""/></dir></target><target name="mage"><dir name="js"><dir name="paymill"><file name="paymentForm.js" hash="378b8f8e70c44afdffd800bbbbee1aab"/></dir></dir></target><target name="magelib"><dir name="Services"><dir><dir name="Paymill"><dir name="Apiclient"><file name="Curl.php" hash="b1e7fb6eacb5a5cb41dc91247774db45"/><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="5532a7043b185cd64ced0167c42ea763"/><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="a4c9d4d2243af38f2109e89ee4943888"/><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="76d4266e1ee89042ee140c1b906803dd"/></dir></dir><dir name="images"><dir name="paymill"><file name="icon_32x20_amex.png" hash="42c5fb43b4b603804b50da9761927d40"/><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_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>
skin/frontend/base/default/css/paymill/logo.css CHANGED
@@ -20,42 +20,42 @@
20
 
21
  .paymill_creditcard_number-visa
22
  {
23
- background: url('../../images/paymill/icon_32x20_visa.png') no-repeat center right;
24
  }
25
 
26
  .paymill_creditcard_number-mastercard
27
  {
28
- background: url('../../images/paymill/icon_32x20_mastercard.png') no-repeat center right;
29
  }
30
 
31
  .paymill_creditcard_number-american
32
  {
33
- background: url('../../images/paymill/icon_32x20_amex.png') no-repeat center right;
34
  }
35
 
36
  .paymill_creditcard_number-jcb
37
  {
38
- background: url('../../images/paymill/icon_32x20_jcb.png') no-repeat center right;
39
  }
40
 
41
  .paymill_creditcard_number-maestro
42
  {
43
- background: url('../../images/paymill/icon_32x20_maestro.png') no-repeat center right;
44
  }
45
 
46
  .paymill_creditcard_number-unionpay
47
  {
48
- background: url('../../images/paymill/icon_32x20_unionpay.png') no-repeat center right;
49
  }
50
 
51
  .paymill_creditcard_number-diners
52
  {
53
- background: url('../../images/paymill/icon_32x20_dinersclub.png') no-repeat center right;
54
  }
55
 
56
  .paymill_creditcard_number-discover
57
  {
58
- background: url('../../images/paymill/icon_32x20_discover.png') no-repeat center right;
59
  }
60
 
61
  .tooltip
20
 
21
  .paymill_creditcard_number-visa
22
  {
23
+ background: url('../../images/paymill/icon_32x20_visa.png') no-repeat center right !important;
24
  }
25
 
26
  .paymill_creditcard_number-mastercard
27
  {
28
+ background: url('../../images/paymill/icon_32x20_mastercard.png') no-repeat center right !important;
29
  }
30
 
31
  .paymill_creditcard_number-american
32
  {
33
+ background: url('../../images/paymill/icon_32x20_amex.png') no-repeat center right !important;
34
  }
35
 
36
  .paymill_creditcard_number-jcb
37
  {
38
+ background: url('../../images/paymill/icon_32x20_jcb.png') no-repeat center right !important;
39
  }
40
 
41
  .paymill_creditcard_number-maestro
42
  {
43
+ background: url('../../images/paymill/icon_32x20_maestro.png') no-repeat center right !important;
44
  }
45
 
46
  .paymill_creditcard_number-unionpay
47
  {
48
+ background: url('../../images/paymill/icon_32x20_unionpay.png') no-repeat center right !important;
49
  }
50
 
51
  .paymill_creditcard_number-diners
52
  {
53
+ background: url('../../images/paymill/icon_32x20_dinersclub.png') no-repeat center right !important;
54
  }
55
 
56
  .paymill_creditcard_number-discover
57
  {
58
+ background: url('../../images/paymill/icon_32x20_discover.png') no-repeat center right !important;
59
  }
60
 
61
  .tooltip