iways_paypalplus - Version 1.8.0

Version Notes

==== 1.8.0 ====
Added payment method title changeable.
Added better Webhook backend exception.
Added support for Amasty Checkout
Added support for Awesome Checkout
Added support for Aheadworks Checkout
Added support for IDev_OPC 4.5 Checkout
Fixed TM_Firecheckout missing shipping costs on shipping method reset button.
Fixed TM_Firecheckout Ordercomment.
Removed Address from createPayment

==== 1.7.4 ====
Patch Payment before redirect for standard Magento-Checkout (Possible Patch of missing shipping costs)

==== 1.7.3 ====
Added PUI legal text

==== 1.7.2 ====
Changed Handling of Partner ID

==== 1.7.1 ====
Added discount for IWD

==== 1.7.0 ====
Update PayPal Rest SDK to 1.6.4
Fixed parent transaction id
Fixed wrong PayPal payment id in Idev_OSC
Added partial refund
Show payment instructions for manual banktransfer payments on order success page
Added totals to patchPayment
Possible MagentoConnect File->directory fix

==== 1.6.2 ====
Enable/disable loading indicator for PayPal Plus iframe
Fixed order status if PayPal payment is still pending (Now payment_review until Webhooks approves payment)
==== 1.6.1 ====
Fixed suspected fraud for different currency
Changed payment method title for germany in frontend

==== 1.6.0 ====
Added support for IWD_OSC
Fixed problem with store code in url
Changed first recieved transaction id from PayPal to transaction id from payment id

==== 1.5.2 ====
Fixed state/status of authorizations and gateway-confirmation
Added last transaction number to order information
Added transfer order's id as invoice number setting

==== 1.5.1 ====
Fixed paymentmethod choice for Idev_OSC
Updated PayPal SDK to 1.6

==== 1.5.0 ====
Added support for Payment upon Invoice

==== 1.4.5 ====
Added information block to checkout/success

==== 1.4.4 ====
Fixed wrong locale code in presentation error

==== 1.4.3 ====
Fixed empty order status Magento 1.7
Added localisation

==== 1.4.2 ====
Force webhooks url to be https even if not
Fixed tax calculation with discount

==== 1.4.1 ====
Fixed none responding payment method select
Removed unnecessary code line

==== 1.4.0 ====
Added support for TM_Firecheckout and Magestore_Onestepcheckout
Added form key validateion for Magento 1.9

Download this release

Release Info

Developer i-ways sales solutions GmbH
Extension iways_paypalplus
Version 1.8.0
Comparing to
See all releases


Code changes from version 1.7.3 to 1.8.0

app/code/community/Iways/PayPalPlus/Block/Onepage/Review.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to license@magentocommerce.com and you will be sent a copy immediately.
13
+ *
14
+ * Created on 02.03.2015
15
+ * Author Robert Hillebrand - hillebrand@i-ways.de - i-ways sales solutions GmbH
16
+ * Copyright i-ways sales solutions GmbH © 2015. All Rights Reserved.
17
+ * License http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
+ *
19
+ */
20
+
21
+ /**
22
+ * Iways PayPalPlus Onepage Payment Methods Block
23
+ *
24
+ * @category Iways
25
+ * @package Iways_PayPalPlus
26
+ * @author robert
27
+ */
28
+ class Iways_PayPalPlus_Block_Onepage_Review extends Mage_Checkout_Block_Onepage_Review
29
+ {
30
+
31
+ }
app/code/community/Iways/PayPalPlus/Block/Onepage/Review/Button.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/osl-3.0.php
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to license@magentocommerce.com and you will be sent a copy immediately.
13
+ *
14
+ * Created on 02.03.2015
15
+ * Author Robert Hillebrand - hillebrand@i-ways.de - i-ways sales solutions GmbH
16
+ * Copyright i-ways sales solutions GmbH © 2015. All Rights Reserved.
17
+ * License http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
+ *
19
+ */
20
+
21
+ /**
22
+ * Iways PayPalPlus Onepage Payment Methods Block
23
+ *
24
+ * @category Iways
25
+ * @package Iways_PayPalPlus
26
+ * @author robert
27
+ */
28
+ class Iways_PayPalPlus_Block_Onepage_Review_Button extends Mage_Core_Block_Template
29
+ {
30
+ }
app/code/community/Iways/PayPalPlus/Helper/Data.php CHANGED
@@ -174,6 +174,30 @@ class Iways_PayPalPlus_Helper_Data extends Mage_Payment_Helper_Data
174
  );
175
  }
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  /**
178
  * Checks if Iwd_Onestepcheckout is enabled and active
179
  *
174
  );
175
  }
176
 
177
+ /**
178
+ * Checks if Awesome is enabled and active
179
+ *
180
+ * @return bool
181
+ */
182
+ public function isAwesomeCheckout()
183
+ {
184
+ return (
185
+ Mage::helper('core')->isModuleEnabled('AnattaDesign_AwesomeCheckout')
186
+ );
187
+ }
188
+
189
+ /**
190
+ * Checks if Amasty_Scheckout is enabled and active
191
+ *
192
+ * @return bool
193
+ */
194
+ public function isAmastyScheckout()
195
+ {
196
+ return (
197
+ Mage::helper('core')->isModuleEnabled('Amasty_Scheckout')
198
+ );
199
+ }
200
+
201
  /**
202
  * Checks if Iwd_Onestepcheckout is enabled and active
203
  *
app/code/community/Iways/PayPalPlus/Model/Api.php CHANGED
@@ -100,7 +100,8 @@ class Iways_PayPalPlus_Model_Api
100
  )
101
  );
102
 
103
- $this->_apiContext->addRequestHeader('PayPal-Partner-Attribution-Id', Mage::getSingleton('iways_paypalplus/partner_config')->getPartnerId());
 
104
  return $this;
105
  }
106
 
@@ -148,10 +149,6 @@ class Iways_PayPalPlus_Model_Api
148
  $payer = $this->buildPayer($quote);
149
 
150
  $itemList = $this->buildItemList($quote, $taxFailure);
151
- $shippingAddress = $this->buildShippingAddress($quote);
152
- if ($shippingAddress) {
153
- $itemList->setShippingAddress($shippingAddress);
154
- }
155
 
156
  $amount = $this->buildAmount($quote);
157
 
@@ -170,7 +167,7 @@ class Iways_PayPalPlus_Model_Api
170
  ->setPayer($payer)
171
  ->setRedirectUrls($redirectUrls)
172
  ->setTransactions(array($transaction));
173
-
174
  try {
175
  $response = $payment->create($this->_apiContext);
176
  Mage::getSingleton('customer/session')->setPayPalPaymentId($response->getId());
@@ -200,15 +197,9 @@ class Iways_PayPalPlus_Model_Api
200
  $payment = Payment::get(Mage::getSingleton('customer/session')->getPayPalPaymentId(), $this->_apiContext);
201
  $patchRequest = new PatchRequest();
202
 
203
- $transactions = $payment->getTransactions();
204
- if ($transactions[0]->getItemList()->getShippingAddress() === null) {
205
- $addressMode = self::PATCH_ADD;
206
- } else {
207
- $addressMode = self::PATCH_REPLACE;
208
- }
209
  $shippingAddress = $this->buildShippingAddress($quote);
210
  $addressPatch = new Patch();
211
- $addressPatch->setOp($addressMode);
212
  $addressPatch->setPath('/transactions/0/item_list/shipping_address');
213
  $addressPatch->setValue($shippingAddress);
214
  $patchRequest->addPatch($addressPatch);
@@ -226,7 +217,6 @@ class Iways_PayPalPlus_Model_Api
226
  $amountPatch->setPath('/transactions/0/amount');
227
  $amountPatch->setValue($amount);
228
  $patchRequest->addPatch($amountPatch);
229
-
230
  $response = $payment->update(
231
  $patchRequest,
232
  $this->_apiContext
@@ -307,7 +297,7 @@ class Iways_PayPalPlus_Model_Api
307
  ->setCurrency(Mage::app()->getStore()->getCurrentCurrencyCode())
308
  ->setTotal($amount);
309
  $refund->setAmount($ppAmount);
310
-
311
  return $sale->refund($refund, $this->_apiContext);
312
  }
313
 
@@ -388,24 +378,9 @@ class Iways_PayPalPlus_Model_Api
388
  $webhookEventTypes[] = $webhookEventType;
389
  }
390
  $webhook->setEventTypes($webhookEventTypes);
391
- try {
392
- $webhookData = $webhook->create($this->_apiContext);
393
- $this->saveWebhookId($webhookData->getId());
394
- return $webhookData;
395
- } catch (PayPal\Exception\PayPalConnectionException $ex) {
396
- if ($ex->getData()) {
397
- $data = Mage::helper('core')->jsonDecode($ex->getData());
398
- if (isset($data['name']) && $data['name'] == self::WEBHOOK_URL_ALREADY_EXISTS) {
399
- return true;
400
- }
401
- }
402
- Mage::helper('iways_paypalplus')->handleException($ex);
403
- return false;
404
- } catch (Exception $e) {
405
- Mage::logException($e);
406
- return false;
407
- }
408
- return false;
409
  }
410
 
411
  /**
@@ -514,10 +489,6 @@ class Iways_PayPalPlus_Model_Api
514
  {
515
  $payer = new Payer();
516
  $payer->setPaymentMethod("paypal");
517
- $payerInfo = $this->buildPayerInfo($quote);
518
- if ($payerInfo) {
519
- $payer->setPayerInfo($payerInfo);
520
- }
521
  return $payer;
522
  }
523
 
@@ -613,13 +584,18 @@ class Iways_PayPalPlus_Model_Api
613
  {
614
  $details = new Details();
615
  $details->setShipping($quote->getShippingAddress()->getBaseShippingAmount())
616
- ->setTax($quote->getShippingAddress()->getBaseTaxAmount() + $quote->getShippingAddress()->getBaseHiddenTaxAmount())
 
 
 
 
 
617
  ->setSubtotal(
618
  $quote->getBaseSubtotal()
619
  );
620
 
621
  $totals = $quote->getTotals();
622
- if(isset($totals['discount']) && $totals['discount']->getValue()) {
623
  $details->setShippingDiscount(-$totals['discount']->getValue());
624
  }
625
  $amount = new Amount();
100
  )
101
  );
102
 
103
+ $this->_apiContext->addRequestHeader('PayPal-Partner-Attribution-Id',
104
+ Mage::getSingleton('iways_paypalplus/partner_config')->getPartnerId());
105
  return $this;
106
  }
107
 
149
  $payer = $this->buildPayer($quote);
150
 
151
  $itemList = $this->buildItemList($quote, $taxFailure);
 
 
 
 
152
 
153
  $amount = $this->buildAmount($quote);
154
 
167
  ->setPayer($payer)
168
  ->setRedirectUrls($redirectUrls)
169
  ->setTransactions(array($transaction));
170
+
171
  try {
172
  $response = $payment->create($this->_apiContext);
173
  Mage::getSingleton('customer/session')->setPayPalPaymentId($response->getId());
197
  $payment = Payment::get(Mage::getSingleton('customer/session')->getPayPalPaymentId(), $this->_apiContext);
198
  $patchRequest = new PatchRequest();
199
 
 
 
 
 
 
 
200
  $shippingAddress = $this->buildShippingAddress($quote);
201
  $addressPatch = new Patch();
202
+ $addressPatch->setOp(self::PATCH_ADD);
203
  $addressPatch->setPath('/transactions/0/item_list/shipping_address');
204
  $addressPatch->setValue($shippingAddress);
205
  $patchRequest->addPatch($addressPatch);
217
  $amountPatch->setPath('/transactions/0/amount');
218
  $amountPatch->setValue($amount);
219
  $patchRequest->addPatch($amountPatch);
 
220
  $response = $payment->update(
221
  $patchRequest,
222
  $this->_apiContext
297
  ->setCurrency(Mage::app()->getStore()->getCurrentCurrencyCode())
298
  ->setTotal($amount);
299
  $refund->setAmount($ppAmount);
300
+
301
  return $sale->refund($refund, $this->_apiContext);
302
  }
303
 
378
  $webhookEventTypes[] = $webhookEventType;
379
  }
380
  $webhook->setEventTypes($webhookEventTypes);
381
+ $webhookData = $webhook->create($this->_apiContext);
382
+ $this->saveWebhookId($webhookData->getId());
383
+ return $webhookData;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  }
385
 
386
  /**
489
  {
490
  $payer = new Payer();
491
  $payer->setPaymentMethod("paypal");
 
 
 
 
492
  return $payer;
493
  }
494
 
584
  {
585
  $details = new Details();
586
  $details->setShipping($quote->getShippingAddress()->getBaseShippingAmount())
587
+ ->setTax(
588
+ $quote->getBillingAddress()->getBaseTaxAmount()
589
+ + $quote->getBillingAddress()->getBaseHiddenTaxAmount()
590
+ + $quote->getShippingAddress()->getBaseTaxAmount()
591
+ + $quote->getShippingAddress()->getBaseHiddenTaxAmount()
592
+ )
593
  ->setSubtotal(
594
  $quote->getBaseSubtotal()
595
  );
596
 
597
  $totals = $quote->getTotals();
598
+ if (isset($totals['discount']) && $totals['discount']->getValue()) {
599
  $details->setShippingDiscount(-$totals['discount']->getValue());
600
  }
601
  $amount = new Amount();
app/code/community/Iways/PayPalPlus/Model/Observer.php CHANGED
@@ -28,6 +28,11 @@
28
  class Iways_PayPalPlus_Model_Observer
29
  {
30
 
 
 
 
 
 
31
  /**
32
  * Add shipping address if payment is iways_paypalplus_payment
33
  *
@@ -69,15 +74,34 @@ class Iways_PayPalPlus_Model_Observer
69
  * Check Webhook
70
  *
71
  * @param Varien_Event_Observer $observer
 
72
  */
73
  public function checkWebhook(Varien_Event_Observer $observer)
74
  {
75
  $api = Mage::getModel('iways_paypalplus/api')->setApiContext($this->getDefaultStoreId($observer));
76
- $webhook = $api->createWebhook();
77
- if ($webhook === false) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  Mage::getSingleton('adminhtml/session')->addError(
79
  Mage::helper('iways_paypalplus')->__('Webhook creation failed.')
80
  );
 
81
  }
82
  }
83
 
28
  class Iways_PayPalPlus_Model_Observer
29
  {
30
 
31
+ /**
32
+ * Webhook url already exists error code
33
+ */
34
+ const WEBHOOK_URL_ALREADY_EXISTS = 'WEBHOOK_URL_ALREADY_EXISTS';
35
+
36
  /**
37
  * Add shipping address if payment is iways_paypalplus_payment
38
  *
74
  * Check Webhook
75
  *
76
  * @param Varien_Event_Observer $observer
77
+ * @return boolean Success
78
  */
79
  public function checkWebhook(Varien_Event_Observer $observer)
80
  {
81
  $api = Mage::getModel('iways_paypalplus/api')->setApiContext($this->getDefaultStoreId($observer));
82
+
83
+ try {
84
+ $api->createWebhook();
85
+ return true;
86
+ } catch (PayPal\Exception\PayPalConnectionException $ex) {
87
+ if ($ex->getData()) {
88
+ $data = Mage::helper('core')->jsonDecode($ex->getData());
89
+ if (isset($data['name']) && $data['name'] == self::WEBHOOK_URL_ALREADY_EXISTS) {
90
+ return true;
91
+ }
92
+ Mage::getSingleton('adminhtml/session')->addError(
93
+ Mage::helper('iways_paypalplus')->__('Webhook creation failed. Error: %s',
94
+ isset($data['details'][0]['issue']) ? $data['details'][0]['issue'] : $ex->getMessage())
95
+ );
96
+ }
97
+ Mage::helper('iways_paypalplus')->handleException($ex);
98
+ return false;
99
+ } catch (Exception $e) {
100
+ Mage::logException($e);
101
  Mage::getSingleton('adminhtml/session')->addError(
102
  Mage::helper('iways_paypalplus')->__('Webhook creation failed.')
103
  );
104
+ return false;
105
  }
106
  }
107
 
app/code/community/Iways/PayPalPlus/Model/Payment.php CHANGED
@@ -45,6 +45,7 @@ class Iways_PayPalPlus_Model_Payment extends Mage_Payment_Model_Method_Abstract
45
  protected $_canOrder = false;
46
  protected $_canAuthorize = true;
47
  protected $_canCapture = true;
 
48
  protected $_canCapturePartial = false;
49
  protected $_canCaptureOnce = false;
50
  protected $_canRefund = true;
45
  protected $_canOrder = false;
46
  protected $_canAuthorize = true;
47
  protected $_canCapture = true;
48
+ protected $_canUseInternal = false;
49
  protected $_canCapturePartial = false;
50
  protected $_canCaptureOnce = false;
51
  protected $_canRefund = true;
app/code/community/Iways/PayPalPlus/RELEASE_NOTES.txt CHANGED
@@ -1,3 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ==== 1.7.3 ====
2
  Added PUI legal text
3
 
1
+ ==== 1.8.0 ====
2
+ Added payment method title changeable.
3
+ Added better Webhook backend exception.
4
+ Added support for Amasty Checkout
5
+ Added support for Awesome Checkout
6
+ Added support for Aheadworks Checkout
7
+ Added support for IDev_OPC 4.5 Checkout
8
+ Fixed TM_Firecheckout missing shipping costs on shipping method reset button.
9
+ Fixed TM_Firecheckout Ordercomment.
10
+ Removed Address from createPayment
11
+
12
+ ==== 1.7.4 ====
13
+ Patch Payment before redirect for standard Magento-Checkout (Possible Patch of missing shipping costs)
14
+
15
  ==== 1.7.3 ====
16
  Added PUI legal text
17
 
app/code/community/Iways/PayPalPlus/controllers/IndexController.php CHANGED
@@ -78,8 +78,21 @@ class Iways_PayPalPlus_IndexController extends Mage_Checkout_Controller_Action
78
  return;
79
  }
80
  }
81
- $result['success'] = true;
82
- $result['error'] = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
84
  }
85
 
78
  return;
79
  }
80
  }
81
+ try {
82
+ $responsePayPal = Mage::getModel('iways_paypalplus/api')->patchPayment($this->getOnepage()->getQuote());
83
+ if ($responsePayPal) {
84
+ $result['success'] = true;
85
+ } else {
86
+ $result['success'] = false;
87
+ $result['error'] = false;
88
+ $result['error_messages'] = $this->__('Please select an other payment method.');
89
+
90
+ }
91
+ } catch (\Exception $e) {
92
+ $result['success'] = false;
93
+ $result['error'] = false;
94
+ $result['error_messages'] = $e->getMessage();
95
+ }
96
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
97
  }
98
 
app/code/community/Iways/PayPalPlus/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Iways_PayPalPlus>
5
- <version>1.7.3</version>
6
  </Iways_PayPalPlus>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Iways_PayPalPlus>
5
+ <version>1.8.0</version>
6
  </Iways_PayPalPlus>
7
  </modules>
8
  <global>
app/code/community/Iways/PayPalPlus/etc/system.xml CHANGED
@@ -101,6 +101,15 @@
101
  <show_in_website>1</show_in_website>
102
  <show_in_store>1</show_in_store>
103
  </active>
 
 
 
 
 
 
 
 
 
104
  <show_loading_indicator translate="label">
105
  <label>Show loading indicator</label>
106
  <frontend_type>select</frontend_type>
101
  <show_in_website>1</show_in_website>
102
  <show_in_store>1</show_in_store>
103
  </active>
104
+ <title translate="label">
105
+ <label>Title</label>
106
+ <frontend_type>text</frontend_type>
107
+ <config_path>payment/iways_paypalplus_payment/title</config_path>
108
+ <sort_order>12</sort_order>
109
+ <show_in_default>1</show_in_default>
110
+ <show_in_website>1</show_in_website>
111
+ <show_in_store>1</show_in_store>
112
+ </title>
113
  <show_loading_indicator translate="label">
114
  <label>Show loading indicator</label>
115
  <frontend_type>select</frontend_type>
app/design/frontend/base/default/layout/iways_paypalplus.xml CHANGED
@@ -47,10 +47,8 @@
47
  </reference>
48
  </checkout_onepage_paymentmethod>
49
  <checkout_onepage_review>
50
- <reference name="checkout.onepage.review.button">
51
- <action method="setTemplate" ifconfig="payment/iways_paypalplus_payment/active">
52
- <template>paypalplus/review/button.phtml</template>
53
- </action>
54
  </reference>
55
  </checkout_onepage_review>
56
  </layout>
47
  </reference>
48
  </checkout_onepage_paymentmethod>
49
  <checkout_onepage_review>
50
+ <reference name="root">
51
+ <block type="iways_paypalplus/onepage_review_button" name="checkout.onepage.review.button" as="button" template="paypalplus/review/button.phtml"/>
 
 
52
  </reference>
53
  </checkout_onepage_review>
54
  </layout>
app/design/frontend/base/default/template/paypalplus/form/payment.phtml CHANGED
@@ -26,6 +26,13 @@ if ($paymentExperience) :
26
  var payment = {};
27
  }
28
  function selectMethod(code) {
 
 
 
 
 
 
 
29
  document.getElementById('p_method_' + code).click();
30
  }
31
  window.externMethodEnabled = false;
@@ -83,6 +90,9 @@ if ($paymentExperience) :
83
  if($$('#checkout-review-submit > button.opc-btn-checkout').length > 0) {
84
  $$('#checkout-review-submit > button.opc-btn-checkout')[0].enable();
85
  }
 
 
 
86
  }catch (e) {
87
  console.log(e);
88
  }
@@ -105,6 +115,9 @@ if ($paymentExperience) :
105
  if($$('#checkout-review-submit > button.opc-btn-checkout').length > 0) {
106
  $$('#checkout-review-submit > button.opc-btn-checkout')[0].disable();
107
  }
 
 
 
108
  }catch (e) {
109
  console.log(e);
110
  }
26
  var payment = {};
27
  }
28
  function selectMethod(code) {
29
+ try {
30
+ if(typeof awOSCPayment != "undefined") {
31
+ awOSCPayment.currentMethod = code;
32
+ }
33
+ } catch (e) {
34
+
35
+ }
36
  document.getElementById('p_method_' + code).click();
37
  }
38
  window.externMethodEnabled = false;
90
  if($$('#checkout-review-submit > button.opc-btn-checkout').length > 0) {
91
  $$('#checkout-review-submit > button.opc-btn-checkout')[0].enable();
92
  }
93
+ if($$('#aw-onestepcheckout-place-order-button').length > 0) {
94
+ $$('#aw-onestepcheckout-place-order-button')[0].enable();
95
+ }
96
  }catch (e) {
97
  console.log(e);
98
  }
115
  if($$('#checkout-review-submit > button.opc-btn-checkout').length > 0) {
116
  $$('#checkout-review-submit > button.opc-btn-checkout')[0].disable();
117
  }
118
+ if($$('#aw-onestepcheckout-place-order-button').length > 0) {
119
+ $$('#aw-onestepcheckout-place-order-button')[0].disable();
120
+ }
121
  }catch (e) {
122
  console.log(e);
123
  }
app/design/frontend/base/default/template/paypalplus/review/button.phtml CHANGED
@@ -34,50 +34,49 @@
34
  <script type="text/javascript">
35
  $('place-order-button').observe('click', function () {
36
  if (payment.currentMethod == '<?php echo Iways_PayPalPlus_Model_Payment::METHOD_CODE; ?>') {
37
- if ($('checkout-agreements') != null) {
38
- if (checkout.loadWaiting != false) return;
39
- checkout.setLoadWaiting('review');
40
  params = Form.serialize($('checkout-agreements'));
41
  params.validate = true;
42
- var request = new Ajax.Request(
43
- '<?php echo Mage::helper('iways_paypalplus')->getUrl('paypalplus/index/validate'); ?>',
44
- {
45
- method: 'post',
46
- parameters: params,
47
- onSuccess: function (transport) {
48
- try {
49
- response = eval('(' + transport.responseText + ')');
50
- }
51
- catch (e) {
52
- response = {};
53
- }
54
- if (response.redirect) {
55
- review.isSuccess = true;
56
- window.ppp.doCheckout();
57
- return;
58
- }
59
- if (response.success) {
60
- review.isSuccess = true;
61
- window.ppp.doCheckout();
62
- }
63
- else {
64
- var msg = response.error_messages;
65
- if (typeof(msg) == 'object') {
66
- msg = msg.join("\n");
67
- }
68
- if (msg) {
69
- alert(msg);
70
- }
71
- review.resetLoadWaiting(transport);
72
- }
73
- },
74
- onFailure: checkout.ajaxFailure.bind(checkout)
75
- }
76
- );
77
  } else {
78
- review.isSuccess = true;
79
- window.ppp.doCheckout();
80
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  } else {
82
  review.save();
83
  }
34
  <script type="text/javascript">
35
  $('place-order-button').observe('click', function () {
36
  if (payment.currentMethod == '<?php echo Iways_PayPalPlus_Model_Payment::METHOD_CODE; ?>') {
37
+ if (checkout.loadWaiting != false) return;
38
+ checkout.setLoadWaiting('review');
39
+ if($('checkout-agreements') != null) {
40
  params = Form.serialize($('checkout-agreements'));
41
  params.validate = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  } else {
43
+ params = "";
 
44
  }
45
+ var request = new Ajax.Request(
46
+ '<?php echo Mage::helper('iways_paypalplus')->getUrl('paypalplus/index/validate'); ?>',
47
+ {
48
+ method: 'post',
49
+ parameters: params,
50
+ onSuccess: function (transport) {
51
+ try {
52
+ response = eval('(' + transport.responseText + ')');
53
+ }
54
+ catch (e) {
55
+ response = {};
56
+ }
57
+ if (response.redirect) {
58
+ review.isSuccess = true;
59
+ window.ppp.doCheckout();
60
+ return;
61
+ }
62
+ if (response.success) {
63
+ review.isSuccess = true;
64
+ window.ppp.doCheckout();
65
+ }
66
+ else {
67
+ var msg = response.error_messages;
68
+ if (typeof(msg) == 'object') {
69
+ msg = msg.join("\n");
70
+ }
71
+ if (msg) {
72
+ alert(msg);
73
+ }
74
+ review.resetLoadWaiting(transport);
75
+ }
76
+ },
77
+ onFailure: checkout.ajaxFailure.bind(checkout)
78
+ }
79
+ );
80
  } else {
81
  review.save();
82
  }
app/locale/de_DE/Iways_PayPalPlus.csv CHANGED
@@ -41,4 +41,6 @@
41
  "Transfer order's ID as PayPal invoice number","Bestellnummer als PayPal Rechnungsnummer übertragen"
42
  "PayPal Plus","PayPal, Lastschrift, Kreditkarte, Kauf auf Rechnung"
43
  "Show loading indicator","Loading Indicator anzeigen"
 
 
44
  "%s has assigned the claim against you on basis of a factoring agreement to PayPal (Europe) S.à r.l. et Cie, S.C.A. You will only be released from your debt by paying to PayPal (Europe) S.à r.l. et Cie, S.C.A.","%s hat die Forderung gegen Sie im Rahmen eines laufenden Factoringvertrages an die PayPal (Europe) S.àr.l. et Cie, S.C.A. abgetreten. Zahlungen mit schuldbefreiender Wirkung können nur an die PayPal (Europe) S.àr.l. et Cie, S.C.A. geleistet werden."
41
  "Transfer order's ID as PayPal invoice number","Bestellnummer als PayPal Rechnungsnummer übertragen"
42
  "PayPal Plus","PayPal, Lastschrift, Kreditkarte, Kauf auf Rechnung"
43
  "Show loading indicator","Loading Indicator anzeigen"
44
+ "Webhook creation failed. Error: %s","Erstellen des Webhooks gescheitert. Fehler: %s"
45
+ "Webhook creation failed.","Erstellen des Webhooks gescheitert."
46
  "%s has assigned the claim against you on basis of a factoring agreement to PayPal (Europe) S.à r.l. et Cie, S.C.A. You will only be released from your debt by paying to PayPal (Europe) S.à r.l. et Cie, S.C.A.","%s hat die Forderung gegen Sie im Rahmen eines laufenden Factoringvertrages an die PayPal (Europe) S.àr.l. et Cie, S.C.A. abgetreten. Zahlungen mit schuldbefreiender Wirkung können nur an die PayPal (Europe) S.àr.l. et Cie, S.C.A. geleistet werden."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iways_PayPalPlus</name>
4
- <version>1.7.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -10,7 +10,21 @@
10
  <description>PayPal PLUS is a solution where PayPal offers PayPal, Credit Card and ELV (pay upon invoice will be added in a later phase) as individual payment options on the payment selection page.&#xD;
11
  &#xD;
12
  Based on the payment method selected by the buyer, he will at a later stage be presented with either the PayPal Login page or an input mask for bank / credit card details.</description>
13
- <notes>==== 1.7.3 ====&#xD;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  Added PUI legal text&#xD;
15
  &#xD;
16
  ==== 1.7.2 ====&#xD;
@@ -75,9 +89,9 @@ Removed unnecessary code line&#xD;
75
  Added support for TM_Firecheckout and Magestore_Onestepcheckout&#xD;
76
  Added form key validateion for Magento 1.9</notes>
77
  <authors><author><name>i-ways sales solutions GmbH</name><user>iways_magento</user><email>magento@i-ways.de</email></author><author><name>Robert Hillebrand</name><user>robat</user><email>hillebrand@i-ways.de</email></author></authors>
78
- <date>2016-06-17</date>
79
- <time>09:21:08</time>
80
- <contents><target name="magecommunity"><dir name="Iways"><dir name="PayPalPlus"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="b39107fb6a77525fa2c4e7eef9c00622"/></dir><file name="Thirdpartyinfo.php" hash="d9bee1de53c95b487e59c594d1fe80af"/></dir></dir></dir><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="006b15175f8706610cb48371f0373c6b"/></dir><file name="Success.php" hash="eb51c5e67aa090799496625f05bcb46f"/></dir><dir name="Payment"><file name="Form.php" hash="3ed060b7d3f4fa2d470d956eddb7c8b7"/><file name="Info.php" hash="7d580974e47366e30ad3c596f7b841ca"/></dir></dir><dir name="Helper"><file name="Data.php" hash="3175693a33b895e01f6854643fcbd40b"/></dir><dir name="Model"><file name="Api.php" hash="a16a96b0c74c744f09cf5f061df95280"/><dir name="Api2"><dir name="Order"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="4a2d2653d4185d813ec443a39f1deda6"/></dir><dir name="Customer"><file name="V1.php" hash="ab2c8ed8f7a513923924b5af173c88fa"/></dir></dir><file name="Rest.php" hash="bd1965bbe2a88d98fbc8dd8bfcce4211"/></dir><file name="Order.php" hash="4e710744d0bf27c1477f7d61ad8b1ed8"/></dir><file name="Autoloader.php" hash="071318081a1896009334c6202457a004"/><file name="Observer.php" hash="d33925459ea015a7c858e14c38da1bfe"/><dir name="Partner"><file name="Config.php" hash="af9d7da6c1d75809473472602c90a906"/></dir><file name="Payment.php" hash="729ef5f1c735439bdec0d28faf8a5a40"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Mode.php" hash="b5fa6748dc151b22f386952764cae366"/><file name="Thirdpartymoduls.php" hash="5400f09fb1f24e877cbd3a8c81f7e237"/></dir></dir></dir><dir name="Webhook"><file name="Event.php" hash="d547f59c986e268d4daadfe1841981ba"/></dir></dir><file name="RELEASE_NOTES.txt" hash="586d5d550ea68ec59f06b05e7b95044d"/><dir name="controllers"><file name="IndexController.php" hash="8d9d40d528783625b14ab62fa8d7aa58"/></dir><dir name="etc"><file name="api2.xml" hash="b6960f0761b795e7cc420bcb7352eec0"/><file name="config.xml" hash="8fcabbcba9c01c552401791715e3698c"/><file name="system.xml" hash="5249ba61419d7375c5aa1c8d537e89eb"/><file name="wsdl.xml" hash="cc0f30b1164095c431d8c86c7bb73aba"/><file name="wsi.xml" hash="fcf0fd620181006c2d38d3409749e0a5"/></dir><dir name="sql"><dir name="iways_paypalplus_setup"><file name="install-1.5.0.php" hash="08f4cb2451999b645938ea286e4e47a7"/><file name="upgrade-1.4.5-1.5.0.php" hash="08f4cb2451999b645938ea286e4e47a7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paypalplus"><dir name="form"><file name="payment.phtml" hash="06ea054bec3b1924830b7d7afc2f5b3e"/></dir><file name="methods.phtml" hash="850b5e4e7b151a75390139018591d0d0"/><dir name="payment"><file name="info.phtml" hash="a7ce3e7f52e76b6438a3b15347b5efd6"/></dir><dir name="review"><file name="button.phtml" hash="25ac7756f31ad6c60fd01ef6e63db4e8"/></dir><file name="success.phtml" hash="67698e889de649c0f4e7b17b98c60b43"/></dir></dir><dir name="layout"><file name="iways_paypalplus.xml" hash="3b6aa7dd109c9433fc32bbda61beaa45"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="paypalplus"><dir><dir name="payment"><file name="info.phtml" hash="dac1490669ed6fe1242ca08802d5a92a"/><dir name="pdf"><file name="info.phtml" hash="534abe39ab464b71b04fecb0581dcf7a"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iways_PayPalPlus.xml" hash="3c3b187e1a2860bd376e26173a9abd00"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Iways_PayPalPlus.csv" hash="8d510d0e363f2f4382de5f79c23913d4"/></dir></target><target name="magelib"><dir name="PayPal"><dir name="Api"><file name="Address.php" hash="9d0ab517cafbff834d19c5628f71c1d1"/><file name="Agreement.php" hash="346a1aec08bce0a94988c95c421bf26a"/><file name="AgreementDetails.php" hash="c28e00d1e2f43e715ee6dca41b4bbae0"/><file name="AgreementStateDescriptor.php" hash="7492486e86af3fa602fd40b3c6884f9c"/><file name="AgreementTransaction.php" hash="70333874a6d6e59f760eea62bee1ec49"/><file name="AgreementTransactions.php" hash="e3ab61b9adcbecf03ffafe3dab80f71e"/><file name="AlternatePayment.php" hash="299b1913efa1f5052f6525643b88251e"/><file name="Amount.php" hash="af5d5175363d779a696120439335b61e"/><file name="Authorization.php" hash="109c312c1b52182eb1885d9d8721377b"/><file name="BankAccount.php" hash="65d61f63e75ffd25fc368c50256f9484"/><file name="BankAccountsList.php" hash="4d7a9083615d9ed5f82834310ed9afba"/><file name="BankToken.php" hash="62f7ba5228d9e22ae4605fbdf8900364"/><file name="BaseAddress.php" hash="b1b7223a81a9f841c4b900fc42122c51"/><file name="Billing.php" hash="38246f4ccdd0e6af716f3a5710ab7f72"/><file name="BillingAgreementToken.php" hash="b414a03bddd46352124d38e0b8cd464d"/><file name="BillingInfo.php" hash="30423445dc705f10ae47fff4808be22e"/><file name="CancelNotification.php" hash="4e7be9c711e63d5e2c3c93ff719503c1"/><file name="Capture.php" hash="2b4d201cb7cffcb5213fbcf692e89baa"/><file name="CarrierAccount.php" hash="53d36ebafdfd57f8b3bb5ed59b5ae994"/><file name="CarrierAccountToken.php" hash="813e1e683efc5767a966b4e9e1932a22"/><file name="CartBase.php" hash="df26a3bab1a95828c86a65182d5a0327"/><file name="ChargeModel.php" hash="889ba10df61538ed2027b5af7cbf5e37"/><file name="Cost.php" hash="9f70896e83f6dba7a781b7a183c0ff9d"/><file name="CountryCode.php" hash="b4dfc82a2948f495f32615ba8c6648ed"/><file name="CreateProfileResponse.php" hash="9a554170a175aa9c82482a35cd1674f1"/><file name="Credit.php" hash="2a311a58dbfe6ece44fe068b3813a3e7"/><file name="CreditCard.php" hash="1b7242f2db7707ff8926805c74b24fd3"/><file name="CreditCardHistory.php" hash="a54d0cc39e54b937466ba5779be6082d"/><file name="CreditCardList.php" hash="321ef25d43a00d8a83291b6c99a660a0"/><file name="CreditCardToken.php" hash="db28406f0f7dc492633212800d7af26a"/><file name="CreditFinancingOffered.php" hash="7bfcd390d43f4f257966932407579482"/><file name="Currency.php" hash="ae31b2376a97260b4e0e6f0467ad2b37"/><file name="CurrencyConversion.php" hash="6903ea8093e972d434203442f0c9cbad"/><file name="CustomAmount.php" hash="cad62a51d15b03d1220ad6a32d572b93"/><file name="Details.php" hash="cb438e70e4e643bd809a3bdc4151a50e"/><file name="Error.php" hash="8e6c906c9b49a8da31a7d1de9ca56e1a"/><file name="ErrorDetails.php" hash="3c96de8a7428c3efb4cab6a0d30651fe"/><file name="ExtendedBankAccount.php" hash="e6320a07d3795a8a82532f4639a70a97"/><file name="ExternalFunding.php" hash="fca94624795066ed0c319598c870fd57"/><file name="FlowConfig.php" hash="cf61bf1df6b3e190d697fae6aeb18105"/><file name="FmfDetails.php" hash="640d162ae40cef473a14d92b4f7be3db"/><file name="FundingDetail.php" hash="0a59087007ccd6ae2e654e1d61877811"/><file name="FundingInstrument.php" hash="ff8c9933af8c830b2b2eac68b2ff3931"/><file name="FundingOption.php" hash="5a53081c94c25803898bb591fc36ca28"/><file name="FundingSource.php" hash="d75290b8f2686b9aaaa4490c31e35280"/><file name="FuturePayment.php" hash="3e659a3501ab07bd341a1127d4980f19"/><file name="HyperSchema.php" hash="e7aa1de64b9a33952405ef8dceeb6de7"/><file name="Image.php" hash="2a608e583497c27f42c24731f0bb3b3f"/><file name="Incentive.php" hash="f75e02e7b9f5555226e83936e933993c"/><file name="InputFields.php" hash="09a22ab55a6078e74771b0a5d5991e79"/><file name="InstallmentInfo.php" hash="1ffac8239c0db6e57fa4616f8efde768"/><file name="InstallmentOption.php" hash="cf1010ce916d70778331455564070f26"/><file name="Invoice.php" hash="a0a2129ef119e0479904a3228dadf672"/><file name="InvoiceAddress.php" hash="3f3498d6825eeb927b8386ffaaf7c5ff"/><file name="InvoiceItem.php" hash="fed23c1532005b90ea281bdda056f01e"/><file name="InvoiceSearchResponse.php" hash="842c4ff7472bc5f7be15e2e9aaf6dca9"/><file name="Item.php" hash="204e5862a8b1cb9ed113eb78a610ffa3"/><file name="ItemList.php" hash="23a6c7b9e6e83f5464e8793931f885f4"/><file name="Links.php" hash="6cd3ac5493d6b2f1641cb0f93460b226"/><file name="Measurement.php" hash="13b63a8d572754743643b16436498b21"/><file name="MerchantInfo.php" hash="4a6f53f224709e894fd07355e257c906"/><file name="MerchantPreferences.php" hash="07c0e1401dc4c4d8ff4784d9726324f9"/><file name="Metadata.php" hash="437a16b05945c27f660f4b9afdcd7743"/><file name="NameValuePair.php" hash="c6f7d380e6133815e3cd0f7967a6eb85"/><file name="Notification.php" hash="2467b4d11238b6feabd347dffd3fe5d0"/><file name="OpenIdAddress.php" hash="189e2eccf8cafc1f2916e1d54943b635"/><file name="OpenIdError.php" hash="73bb4a1d3dc4ef297aab469751d07019"/><file name="OpenIdSession.php" hash="349ff859610e5b3142470d708f9acc33"/><file name="OpenIdTokeninfo.php" hash="6e407e338785d8d6ec6536f384788b9c"/><file name="OpenIdUserinfo.php" hash="194e117cb7bb7d90e039b49b7254534f"/><file name="Order.php" hash="47f4c0da5745622458d0c635a3fb732d"/><file name="OverrideChargeModel.php" hash="6c7140dec5765fe9f2b87c34a5ab8ab9"/><file name="Patch.php" hash="575724b7d55fed3725bcb81f8ec8f3e7"/><file name="PatchRequest.php" hash="17d46d1cbd10d0dd8a35317fff7f6c49"/><file name="Payee.php" hash="743c1d3d49be4ed702ba8f1384a61269"/><file name="Payer.php" hash="ea48b7e59d8380b457a8057c65918a87"/><file name="PayerInfo.php" hash="4a763dff29c0fd32856cc462a6f05ce9"/><file name="Payment.php" hash="a9184f4fc8f5c9efd6918372cf440fb9"/><file name="PaymentCard.php" hash="798d75240a399228978cfb175e128263"/><file name="PaymentCardToken.php" hash="0e2910acb59a5566a317e21fcfba7642"/><file name="PaymentDefinition.php" hash="189e288bebe81baf05a0dbf55c2383f2"/><file name="PaymentDetail.php" hash="071712fe77c27e36585fd95e032ec1e0"/><file name="PaymentExecution.php" hash="02fdfbd0eef1fdea3b01416116763f8f"/><file name="PaymentHistory.php" hash="3461c19997d95143300d4beabcb06190"/><file name="PaymentInstruction.php" hash="bd5fa06d0da5565c952333748c6ebeea"/><file name="PaymentOptions.php" hash="20ba1e4b2d9c56d369f7871a7da059bb"/><file name="PaymentTerm.php" hash="a7d139c47db1a680a9bb04b57f491917"/><file name="Payout.php" hash="1d06f076cb550354e29898b72975e737"/><file name="PayoutBatch.php" hash="be3afe9fc6a4cfa233d8557743ebbd39"/><file name="PayoutBatchHeader.php" hash="3d5912b2e922f189d9912e092d80191a"/><file name="PayoutItem.php" hash="ad510dbbe583b78226ae813f474f5582"/><file name="PayoutItemDetails.php" hash="9b9510b953d0b2ebf95830ad48ddb0f8"/><file name="PayoutSenderBatchHeader.php" hash="0db9dd2031d36c7bd728ae8d3845b3b6"/><file name="Phone.php" hash="6c137d6984692552a86310a52a625c7f"/><file name="Plan.php" hash="ec8dcb5a38993a3c43e51d623a87438b"/><file name="PlanList.php" hash="46ff82f188e0aeeb6891c626c5a132dc"/><file name="PotentialPayerInfo.php" hash="e6fa5bfca5821812ad4b034d8cf64e9e"/><file name="Presentation.php" hash="58a1163f981aba36d394bcf1b24f04e4"/><file name="PrivateLabelCard.php" hash="85dc8e870a1c644519009c47b38a8d93"/><file name="ProcessorResponse.php" hash="65caffc4473a29b5e509e0698203c6dd"/><file name="RecipientBankingInstruction.php" hash="9149af25e66a70f8321bca3e03e909af"/><file name="RedirectUrls.php" hash="f9adcf2e0ac56095217bac6372340536"/><file name="Refund.php" hash="efa7c77783c44df54bdea689a3618bdb"/><file name="RefundDetail.php" hash="10b4e38e9d9260f78a313a74e18e7508"/><file name="RelatedResources.php" hash="7757e2721aadb739fed0eb9a8d629df8"/><file name="Sale.php" hash="4fdafb87630808b6aba3cd5fbe72ca00"/><file name="Search.php" hash="b85046daf5b49235678f1eebbf2bd665"/><file name="ShippingAddress.php" hash="faa92bcb11b7fc815d48298b47b8a1f9"/><file name="ShippingCost.php" hash="83e3e2a71a3ac5197f3dd7a16574d19b"/><file name="ShippingInfo.php" hash="a3fb2089bdab64a4790692f7f2dabf81"/><file name="Tax.php" hash="e0cfea9a1395eb1913faf76b04c6dcb2"/><file name="Terms.php" hash="2c605993f3611d02b70cbb87b2c76b00"/><file name="Transaction.php" hash="32175e204772a4ac7894578a3b8ea1e4"/><file name="TransactionBase.php" hash="054f66bc789a90a9dbbe1c7dea0a00ed"/><file name="Transactions.php" hash="7aa6a708a39835666dac689dec34b623"/><file name="WebProfile.php" hash="277888d15bca634c1496583a9180a7e0"/><file name="Webhook.php" hash="a543c0f07a8175c304fd2db1662df0e4"/><file name="WebhookEvent.php" hash="bbfadf2829d1ddc36e0b97f567e29db6"/><file name="WebhookEventList.php" hash="48b3f6d97932cca67bf5a050163b2381"/><file name="WebhookEventType.php" hash="f6039c6d5044c7dedff03955554ed61f"/><file name="WebhookEventTypeList.php" hash="cb6ad875f0774b4127c6882f30c6c522"/><file name="WebhookList.php" hash="ce78a04e84a864895a4942ca1d13c2fd"/></dir><dir name="Auth"><file name="OAuthTokenCredential.php" hash="8231d932c45ba76928fa5c6ea38de158"/></dir><dir name="Cache"><file name="AuthorizationCache.php" hash="1b5935ad6dd8e5d4bf907006f5d36d54"/></dir><dir name="Common"><file name="ArrayUtil.php" hash="b41119fb9b40bdb3bb137c5f716e2666"/><file name="PayPalModel.php" hash="86da41d7f429704dad19a1426a640f09"/><file name="PayPalResourceModel.php" hash="2ac746c97a26fd57aa74d523d45e4fb9"/><file name="PayPalUserAgent.php" hash="5544e7dfd56d5c378cb411caa974dc1b"/><file name="ReflectionUtil.php" hash="ce8f00a362260a11b5bbc86f86fe3105"/></dir><dir name="Converter"><file name="FormatConverter.php" hash="f55eb6b3daa76cb425ea380850fb94a7"/></dir><dir name="Core"><file name="PayPalConfigManager.php" hash="5c68196e2aa57d3d5887849e20f1ff16"/><file name="PayPalConstants.php" hash="ef0e24de1382667bf52b1744281366cc"/><file name="PayPalCredentialManager.php" hash="2cd3b8246fa17ffffdc0f7e736b1b76f"/><file name="PayPalHttpConfig.php" hash="7e38f1fe721a864f1d99bfa0025157d4"/><file name="PayPalHttpConnection.php" hash="2ace269f17b5eda4ea30b7fffca10e16"/><file name="PayPalLoggingLevel.php" hash="24d4ebd6129f619adba2814a54cc3c80"/><file name="PayPalLoggingManager.php" hash="d18d38b49436b16e72a6d8b2c5b5591f"/><file name="cacert.pem" hash="d4b2ab71266521d7376ebeee490fba2b"/></dir><dir name="Exception"><file name="PayPalConfigurationException.php" hash="f14c778e88c9a8c917a1d25fc250d594"/><file name="PayPalConnectionException.php" hash="6b125eb06dce5dec2a44d166b505fe18"/><file name="PayPalInvalidCredentialException.php" hash="3fa38244fdc20de74fda7892c4b04f8d"/><file name="PayPalMissingCredentialException.php" hash="72f45ecc61324ce36f4cb097e355c081"/></dir><dir name="Handler"><file name="IPayPalHandler.php" hash="03b0eb03e1b5cfc5d90ccda1a768cf8c"/><file name="OauthHandler.php" hash="6c09466149ee92f18aebfd2c991599bf"/><file name="RestHandler.php" hash="4842641a6071decb8733930214e9b54b"/></dir><dir name="Rest"><file name="ApiContext.php" hash="20391a33cb068b75e3692b9d89d2cc35"/><file name="IResource.php" hash="d2a7e80b6373a9112e9a006668d34bbe"/></dir><dir name="Security"><file name="Cipher.php" hash="1ca619c0bf0a57129d6497794413c238"/></dir><dir name="Transport"><file name="PayPalRestCall.php" hash="4f9f3c84cf3b557a80ab09818af682da"/></dir><dir name="Validation"><file name="ArgumentValidator.php" hash="d85d4e0c3662976d0f69217221beceb5"/><file name="JsonValidator.php" hash="353b6bd0ea99b2355850c961b89e1791"/><file name="NumericValidator.php" hash="1e40d8506333053a316176ecbee42dc7"/><file name="UrlValidator.php" hash="55f326f8e8f5321e721ef8021959958f"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="iways-paypalplus.css" hash="39ca6ba401b650546d6c20377a808418"/></dir><dir name="images"><dir name="iways"><file name="checkmark.png" hash="9879d16c7618d54ca45e984406eb3934"/></dir></dir></dir></dir></dir></target></contents>
81
  <compatible/>
82
  <dependencies><required><php><min>5.3.7</min><max>6.0.0</max></php></required></dependencies>
83
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iways_PayPalPlus</name>
4
+ <version>1.8.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
10
  <description>PayPal PLUS is a solution where PayPal offers PayPal, Credit Card and ELV (pay upon invoice will be added in a later phase) as individual payment options on the payment selection page.&#xD;
11
  &#xD;
12
  Based on the payment method selected by the buyer, he will at a later stage be presented with either the PayPal Login page or an input mask for bank / credit card details.</description>
13
+ <notes>==== 1.8.0 ====&#xD;
14
+ Added payment method title changeable.&#xD;
15
+ Added better Webhook backend exception.&#xD;
16
+ Added support for Amasty Checkout&#xD;
17
+ Added support for Awesome Checkout&#xD;
18
+ Added support for Aheadworks Checkout&#xD;
19
+ Added support for IDev_OPC 4.5 Checkout&#xD;
20
+ Fixed TM_Firecheckout missing shipping costs on shipping method reset button.&#xD;
21
+ Fixed TM_Firecheckout Ordercomment.&#xD;
22
+ Removed Address from createPayment&#xD;
23
+ &#xD;
24
+ ==== 1.7.4 ====&#xD;
25
+ Patch Payment before redirect for standard Magento-Checkout (Possible Patch of missing shipping costs)&#xD;
26
+ &#xD;
27
+ ==== 1.7.3 ====&#xD;
28
  Added PUI legal text&#xD;
29
  &#xD;
30
  ==== 1.7.2 ====&#xD;
89
  Added support for TM_Firecheckout and Magestore_Onestepcheckout&#xD;
90
  Added form key validateion for Magento 1.9</notes>
91
  <authors><author><name>i-ways sales solutions GmbH</name><user>iways_magento</user><email>magento@i-ways.de</email></author><author><name>Robert Hillebrand</name><user>robat</user><email>hillebrand@i-ways.de</email></author></authors>
92
+ <date>2016-09-19</date>
93
+ <time>09:33:57</time>
94
+ <contents><target name="magecommunity"><dir name="Iways"><dir name="PayPalPlus"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Payment.php" hash="b39107fb6a77525fa2c4e7eef9c00622"/></dir><file name="Thirdpartyinfo.php" hash="d9bee1de53c95b487e59c594d1fe80af"/></dir></dir></dir><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="006b15175f8706610cb48371f0373c6b"/></dir><dir name="Review"><file name="Button.php" hash="5dcda2d8f87d2a535df73a633975e110"/></dir><file name="Review.php" hash="7f1f24a9f4e4b22d50e30eecb77642bf"/><file name="Success.php" hash="eb51c5e67aa090799496625f05bcb46f"/></dir><dir name="Payment"><file name="Form.php" hash="3ed060b7d3f4fa2d470d956eddb7c8b7"/><file name="Info.php" hash="7d580974e47366e30ad3c596f7b841ca"/></dir></dir><dir name="Helper"><file name="Data.php" hash="58d1511bef5e13e302dd89d24de8f0e5"/></dir><dir name="Model"><file name="Api.php" hash="b50d35615c9d08137caba3508ae0304f"/><dir name="Api2"><dir name="Order"><dir name="Rest"><dir name="Admin"><file name="V1.php" hash="4a2d2653d4185d813ec443a39f1deda6"/></dir><dir name="Customer"><file name="V1.php" hash="ab2c8ed8f7a513923924b5af173c88fa"/></dir></dir><file name="Rest.php" hash="bd1965bbe2a88d98fbc8dd8bfcce4211"/></dir><file name="Order.php" hash="4e710744d0bf27c1477f7d61ad8b1ed8"/></dir><file name="Autoloader.php" hash="071318081a1896009334c6202457a004"/><file name="Observer.php" hash="3753431dfa78a231f8695e3c35b2c5f7"/><dir name="Partner"><file name="Config.php" hash="af9d7da6c1d75809473472602c90a906"/></dir><file name="Payment.php" hash="dc55dc7c1e9e9ce894b3445ca3f57b58"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Mode.php" hash="b5fa6748dc151b22f386952764cae366"/><file name="Thirdpartymoduls.php" hash="5400f09fb1f24e877cbd3a8c81f7e237"/></dir></dir></dir><dir name="Webhook"><file name="Event.php" hash="d547f59c986e268d4daadfe1841981ba"/></dir></dir><file name="RELEASE_NOTES.txt" hash="493d67f44b6381273b538cb4b6111c24"/><dir name="controllers"><file name="IndexController.php" hash="fe66f15b4c8fcbfdffd70d2af7b9528f"/></dir><dir name="etc"><file name="api2.xml" hash="b6960f0761b795e7cc420bcb7352eec0"/><file name="config.xml" hash="e0dc0225fe8f140b3ac19817eff63892"/><file name="system.xml" hash="4b7de14e5eb4def29c12fc8ad48de51e"/><file name="wsdl.xml" hash="cc0f30b1164095c431d8c86c7bb73aba"/><file name="wsi.xml" hash="fcf0fd620181006c2d38d3409749e0a5"/></dir><dir name="sql"><dir name="iways_paypalplus_setup"><file name="install-1.5.0.php" hash="08f4cb2451999b645938ea286e4e47a7"/><file name="upgrade-1.4.5-1.5.0.php" hash="08f4cb2451999b645938ea286e4e47a7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="paypalplus"><dir name="form"><file name="payment.phtml" hash="c946da5cee8724e7971c96c3befce4ae"/></dir><file name="methods.phtml" hash="850b5e4e7b151a75390139018591d0d0"/><dir name="payment"><file name="info.phtml" hash="a7ce3e7f52e76b6438a3b15347b5efd6"/></dir><dir name="review"><file name="button.phtml" hash="e2b20dd0785b41a23020223f46bbef21"/></dir><file name="success.phtml" hash="67698e889de649c0f4e7b17b98c60b43"/></dir></dir><dir name="layout"><file name="iways_paypalplus.xml" hash="a481065706ae876a441426d009b24362"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="paypalplus"><dir><dir name="payment"><file name="info.phtml" hash="dac1490669ed6fe1242ca08802d5a92a"/><dir name="pdf"><file name="info.phtml" hash="534abe39ab464b71b04fecb0581dcf7a"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iways_PayPalPlus.xml" hash="3c3b187e1a2860bd376e26173a9abd00"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Iways_PayPalPlus.csv" hash="1fbd5c6f9c16f9061a225cc50993bb09"/></dir></target><target name="magelib"><dir name="PayPal"><dir name="Api"><file name="Address.php" hash="9d0ab517cafbff834d19c5628f71c1d1"/><file name="Agreement.php" hash="346a1aec08bce0a94988c95c421bf26a"/><file name="AgreementDetails.php" hash="c28e00d1e2f43e715ee6dca41b4bbae0"/><file name="AgreementStateDescriptor.php" hash="7492486e86af3fa602fd40b3c6884f9c"/><file name="AgreementTransaction.php" hash="70333874a6d6e59f760eea62bee1ec49"/><file name="AgreementTransactions.php" hash="e3ab61b9adcbecf03ffafe3dab80f71e"/><file name="AlternatePayment.php" hash="299b1913efa1f5052f6525643b88251e"/><file name="Amount.php" hash="af5d5175363d779a696120439335b61e"/><file name="Authorization.php" hash="109c312c1b52182eb1885d9d8721377b"/><file name="BankAccount.php" hash="65d61f63e75ffd25fc368c50256f9484"/><file name="BankAccountsList.php" hash="4d7a9083615d9ed5f82834310ed9afba"/><file name="BankToken.php" hash="62f7ba5228d9e22ae4605fbdf8900364"/><file name="BaseAddress.php" hash="b1b7223a81a9f841c4b900fc42122c51"/><file name="Billing.php" hash="38246f4ccdd0e6af716f3a5710ab7f72"/><file name="BillingAgreementToken.php" hash="b414a03bddd46352124d38e0b8cd464d"/><file name="BillingInfo.php" hash="30423445dc705f10ae47fff4808be22e"/><file name="CancelNotification.php" hash="4e7be9c711e63d5e2c3c93ff719503c1"/><file name="Capture.php" hash="2b4d201cb7cffcb5213fbcf692e89baa"/><file name="CarrierAccount.php" hash="53d36ebafdfd57f8b3bb5ed59b5ae994"/><file name="CarrierAccountToken.php" hash="813e1e683efc5767a966b4e9e1932a22"/><file name="CartBase.php" hash="df26a3bab1a95828c86a65182d5a0327"/><file name="ChargeModel.php" hash="889ba10df61538ed2027b5af7cbf5e37"/><file name="Cost.php" hash="9f70896e83f6dba7a781b7a183c0ff9d"/><file name="CountryCode.php" hash="b4dfc82a2948f495f32615ba8c6648ed"/><file name="CreateProfileResponse.php" hash="9a554170a175aa9c82482a35cd1674f1"/><file name="Credit.php" hash="2a311a58dbfe6ece44fe068b3813a3e7"/><file name="CreditCard.php" hash="1b7242f2db7707ff8926805c74b24fd3"/><file name="CreditCardHistory.php" hash="a54d0cc39e54b937466ba5779be6082d"/><file name="CreditCardList.php" hash="321ef25d43a00d8a83291b6c99a660a0"/><file name="CreditCardToken.php" hash="db28406f0f7dc492633212800d7af26a"/><file name="CreditFinancingOffered.php" hash="7bfcd390d43f4f257966932407579482"/><file name="Currency.php" hash="ae31b2376a97260b4e0e6f0467ad2b37"/><file name="CurrencyConversion.php" hash="6903ea8093e972d434203442f0c9cbad"/><file name="CustomAmount.php" hash="cad62a51d15b03d1220ad6a32d572b93"/><file name="Details.php" hash="cb438e70e4e643bd809a3bdc4151a50e"/><file name="Error.php" hash="8e6c906c9b49a8da31a7d1de9ca56e1a"/><file name="ErrorDetails.php" hash="3c96de8a7428c3efb4cab6a0d30651fe"/><file name="ExtendedBankAccount.php" hash="e6320a07d3795a8a82532f4639a70a97"/><file name="ExternalFunding.php" hash="fca94624795066ed0c319598c870fd57"/><file name="FlowConfig.php" hash="cf61bf1df6b3e190d697fae6aeb18105"/><file name="FmfDetails.php" hash="640d162ae40cef473a14d92b4f7be3db"/><file name="FundingDetail.php" hash="0a59087007ccd6ae2e654e1d61877811"/><file name="FundingInstrument.php" hash="ff8c9933af8c830b2b2eac68b2ff3931"/><file name="FundingOption.php" hash="5a53081c94c25803898bb591fc36ca28"/><file name="FundingSource.php" hash="d75290b8f2686b9aaaa4490c31e35280"/><file name="FuturePayment.php" hash="3e659a3501ab07bd341a1127d4980f19"/><file name="HyperSchema.php" hash="e7aa1de64b9a33952405ef8dceeb6de7"/><file name="Image.php" hash="2a608e583497c27f42c24731f0bb3b3f"/><file name="Incentive.php" hash="f75e02e7b9f5555226e83936e933993c"/><file name="InputFields.php" hash="09a22ab55a6078e74771b0a5d5991e79"/><file name="InstallmentInfo.php" hash="1ffac8239c0db6e57fa4616f8efde768"/><file name="InstallmentOption.php" hash="cf1010ce916d70778331455564070f26"/><file name="Invoice.php" hash="a0a2129ef119e0479904a3228dadf672"/><file name="InvoiceAddress.php" hash="3f3498d6825eeb927b8386ffaaf7c5ff"/><file name="InvoiceItem.php" hash="fed23c1532005b90ea281bdda056f01e"/><file name="InvoiceSearchResponse.php" hash="842c4ff7472bc5f7be15e2e9aaf6dca9"/><file name="Item.php" hash="204e5862a8b1cb9ed113eb78a610ffa3"/><file name="ItemList.php" hash="23a6c7b9e6e83f5464e8793931f885f4"/><file name="Links.php" hash="6cd3ac5493d6b2f1641cb0f93460b226"/><file name="Measurement.php" hash="13b63a8d572754743643b16436498b21"/><file name="MerchantInfo.php" hash="4a6f53f224709e894fd07355e257c906"/><file name="MerchantPreferences.php" hash="07c0e1401dc4c4d8ff4784d9726324f9"/><file name="Metadata.php" hash="437a16b05945c27f660f4b9afdcd7743"/><file name="NameValuePair.php" hash="c6f7d380e6133815e3cd0f7967a6eb85"/><file name="Notification.php" hash="2467b4d11238b6feabd347dffd3fe5d0"/><file name="OpenIdAddress.php" hash="189e2eccf8cafc1f2916e1d54943b635"/><file name="OpenIdError.php" hash="73bb4a1d3dc4ef297aab469751d07019"/><file name="OpenIdSession.php" hash="349ff859610e5b3142470d708f9acc33"/><file name="OpenIdTokeninfo.php" hash="6e407e338785d8d6ec6536f384788b9c"/><file name="OpenIdUserinfo.php" hash="194e117cb7bb7d90e039b49b7254534f"/><file name="Order.php" hash="47f4c0da5745622458d0c635a3fb732d"/><file name="OverrideChargeModel.php" hash="6c7140dec5765fe9f2b87c34a5ab8ab9"/><file name="Patch.php" hash="575724b7d55fed3725bcb81f8ec8f3e7"/><file name="PatchRequest.php" hash="17d46d1cbd10d0dd8a35317fff7f6c49"/><file name="Payee.php" hash="743c1d3d49be4ed702ba8f1384a61269"/><file name="Payer.php" hash="ea48b7e59d8380b457a8057c65918a87"/><file name="PayerInfo.php" hash="4a763dff29c0fd32856cc462a6f05ce9"/><file name="Payment.php" hash="a9184f4fc8f5c9efd6918372cf440fb9"/><file name="PaymentCard.php" hash="798d75240a399228978cfb175e128263"/><file name="PaymentCardToken.php" hash="0e2910acb59a5566a317e21fcfba7642"/><file name="PaymentDefinition.php" hash="189e288bebe81baf05a0dbf55c2383f2"/><file name="PaymentDetail.php" hash="071712fe77c27e36585fd95e032ec1e0"/><file name="PaymentExecution.php" hash="02fdfbd0eef1fdea3b01416116763f8f"/><file name="PaymentHistory.php" hash="3461c19997d95143300d4beabcb06190"/><file name="PaymentInstruction.php" hash="bd5fa06d0da5565c952333748c6ebeea"/><file name="PaymentOptions.php" hash="20ba1e4b2d9c56d369f7871a7da059bb"/><file name="PaymentTerm.php" hash="a7d139c47db1a680a9bb04b57f491917"/><file name="Payout.php" hash="1d06f076cb550354e29898b72975e737"/><file name="PayoutBatch.php" hash="be3afe9fc6a4cfa233d8557743ebbd39"/><file name="PayoutBatchHeader.php" hash="3d5912b2e922f189d9912e092d80191a"/><file name="PayoutItem.php" hash="ad510dbbe583b78226ae813f474f5582"/><file name="PayoutItemDetails.php" hash="9b9510b953d0b2ebf95830ad48ddb0f8"/><file name="PayoutSenderBatchHeader.php" hash="0db9dd2031d36c7bd728ae8d3845b3b6"/><file name="Phone.php" hash="6c137d6984692552a86310a52a625c7f"/><file name="Plan.php" hash="ec8dcb5a38993a3c43e51d623a87438b"/><file name="PlanList.php" hash="46ff82f188e0aeeb6891c626c5a132dc"/><file name="PotentialPayerInfo.php" hash="e6fa5bfca5821812ad4b034d8cf64e9e"/><file name="Presentation.php" hash="58a1163f981aba36d394bcf1b24f04e4"/><file name="PrivateLabelCard.php" hash="85dc8e870a1c644519009c47b38a8d93"/><file name="ProcessorResponse.php" hash="65caffc4473a29b5e509e0698203c6dd"/><file name="RecipientBankingInstruction.php" hash="9149af25e66a70f8321bca3e03e909af"/><file name="RedirectUrls.php" hash="f9adcf2e0ac56095217bac6372340536"/><file name="Refund.php" hash="efa7c77783c44df54bdea689a3618bdb"/><file name="RefundDetail.php" hash="10b4e38e9d9260f78a313a74e18e7508"/><file name="RelatedResources.php" hash="7757e2721aadb739fed0eb9a8d629df8"/><file name="Sale.php" hash="4fdafb87630808b6aba3cd5fbe72ca00"/><file name="Search.php" hash="b85046daf5b49235678f1eebbf2bd665"/><file name="ShippingAddress.php" hash="faa92bcb11b7fc815d48298b47b8a1f9"/><file name="ShippingCost.php" hash="83e3e2a71a3ac5197f3dd7a16574d19b"/><file name="ShippingInfo.php" hash="a3fb2089bdab64a4790692f7f2dabf81"/><file name="Tax.php" hash="e0cfea9a1395eb1913faf76b04c6dcb2"/><file name="Terms.php" hash="2c605993f3611d02b70cbb87b2c76b00"/><file name="Transaction.php" hash="32175e204772a4ac7894578a3b8ea1e4"/><file name="TransactionBase.php" hash="054f66bc789a90a9dbbe1c7dea0a00ed"/><file name="Transactions.php" hash="7aa6a708a39835666dac689dec34b623"/><file name="WebProfile.php" hash="277888d15bca634c1496583a9180a7e0"/><file name="Webhook.php" hash="a543c0f07a8175c304fd2db1662df0e4"/><file name="WebhookEvent.php" hash="bbfadf2829d1ddc36e0b97f567e29db6"/><file name="WebhookEventList.php" hash="48b3f6d97932cca67bf5a050163b2381"/><file name="WebhookEventType.php" hash="f6039c6d5044c7dedff03955554ed61f"/><file name="WebhookEventTypeList.php" hash="cb6ad875f0774b4127c6882f30c6c522"/><file name="WebhookList.php" hash="ce78a04e84a864895a4942ca1d13c2fd"/></dir><dir name="Auth"><file name="OAuthTokenCredential.php" hash="8231d932c45ba76928fa5c6ea38de158"/></dir><dir name="Cache"><file name="AuthorizationCache.php" hash="1b5935ad6dd8e5d4bf907006f5d36d54"/></dir><dir name="Common"><file name="ArrayUtil.php" hash="b41119fb9b40bdb3bb137c5f716e2666"/><file name="PayPalModel.php" hash="86da41d7f429704dad19a1426a640f09"/><file name="PayPalResourceModel.php" hash="2ac746c97a26fd57aa74d523d45e4fb9"/><file name="PayPalUserAgent.php" hash="5544e7dfd56d5c378cb411caa974dc1b"/><file name="ReflectionUtil.php" hash="ce8f00a362260a11b5bbc86f86fe3105"/></dir><dir name="Converter"><file name="FormatConverter.php" hash="f55eb6b3daa76cb425ea380850fb94a7"/></dir><dir name="Core"><file name="PayPalConfigManager.php" hash="5c68196e2aa57d3d5887849e20f1ff16"/><file name="PayPalConstants.php" hash="ef0e24de1382667bf52b1744281366cc"/><file name="PayPalCredentialManager.php" hash="2cd3b8246fa17ffffdc0f7e736b1b76f"/><file name="PayPalHttpConfig.php" hash="7e38f1fe721a864f1d99bfa0025157d4"/><file name="PayPalHttpConnection.php" hash="2ace269f17b5eda4ea30b7fffca10e16"/><file name="PayPalLoggingLevel.php" hash="24d4ebd6129f619adba2814a54cc3c80"/><file name="PayPalLoggingManager.php" hash="d18d38b49436b16e72a6d8b2c5b5591f"/><file name="cacert.pem" hash="d4b2ab71266521d7376ebeee490fba2b"/></dir><dir name="Exception"><file name="PayPalConfigurationException.php" hash="f14c778e88c9a8c917a1d25fc250d594"/><file name="PayPalConnectionException.php" hash="6b125eb06dce5dec2a44d166b505fe18"/><file name="PayPalInvalidCredentialException.php" hash="3fa38244fdc20de74fda7892c4b04f8d"/><file name="PayPalMissingCredentialException.php" hash="72f45ecc61324ce36f4cb097e355c081"/></dir><dir name="Handler"><file name="IPayPalHandler.php" hash="03b0eb03e1b5cfc5d90ccda1a768cf8c"/><file name="OauthHandler.php" hash="6c09466149ee92f18aebfd2c991599bf"/><file name="RestHandler.php" hash="4842641a6071decb8733930214e9b54b"/></dir><dir name="Rest"><file name="ApiContext.php" hash="20391a33cb068b75e3692b9d89d2cc35"/><file name="IResource.php" hash="d2a7e80b6373a9112e9a006668d34bbe"/></dir><dir name="Security"><file name="Cipher.php" hash="1ca619c0bf0a57129d6497794413c238"/></dir><dir name="Transport"><file name="PayPalRestCall.php" hash="4f9f3c84cf3b557a80ab09818af682da"/></dir><dir name="Validation"><file name="ArgumentValidator.php" hash="d85d4e0c3662976d0f69217221beceb5"/><file name="JsonValidator.php" hash="353b6bd0ea99b2355850c961b89e1791"/><file name="NumericValidator.php" hash="1e40d8506333053a316176ecbee42dc7"/><file name="UrlValidator.php" hash="55f326f8e8f5321e721ef8021959958f"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="iways-paypalplus.css" hash="d006e6b7f1666543c611b2c0ab859bfb"/></dir><dir name="images"><dir name="iways"><file name="checkmark.png" hash="9879d16c7618d54ca45e984406eb3934"/></dir></dir></dir></dir></dir></target></contents>
95
  <compatible/>
96
  <dependencies><required><php><min>5.3.7</min><max>6.0.0</max></php></required></dependencies>
97
  </package>
skin/frontend/base/default/css/iways-paypalplus.css CHANGED
@@ -66,5 +66,72 @@
66
  div.ppp-pui table{margin-left: auto;margin-right: auto;margin-bottom:15px;}
67
  div.ppp-pui table tbody tr td{text-align:left;padding:0 5px;}
68
 
 
 
69
 
70
- body.opc-index-index #checkout-payment-method-load dt.ppp label{color: inherit;text-align: inherit;height: inherit;text-transform: inherit;line-height: inherit;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  div.ppp-pui table{margin-left: auto;margin-right: auto;margin-bottom:15px;}
67
  div.ppp-pui table tbody tr td{text-align:left;padding:0 5px;}
68
 
69
+ /* Third party methods */
70
+ body.opc-index-index #checkout-payment-method-load dt.ppp label{color: inherit;text-align: inherit;height: inherit;text-transform: inherit;line-height: inherit;}
71
 
72
+ /* Amasty Scheckout */
73
+ .amscheckout .payment-method dt.ppp {
74
+ background-color: #fff;
75
+ margin: 0;
76
+ padding:0;
77
+ border-top: 1px solid #dfdfdf;
78
+ overflow: hidden;
79
+ }
80
+
81
+ .amscheckout .payment-method dt.ppp label {
82
+ padding: 0px;
83
+ background: transparent;
84
+ width: 100%;
85
+ display: inline-block;
86
+ cursor: pointer;
87
+ padding: 20px 10px !important;
88
+ font-family: Arial !important;
89
+ font-size: 12px !important;
90
+ font-weight: normal !important;
91
+ }
92
+
93
+ .amscheckout .payment-method dt.ppp.ppp-selected {
94
+ background-image: url("../images/iways/checkmark.png");
95
+ background-repeat: no-repeat;
96
+ background-position: right 15px;
97
+ background-color: #f9f9f9;
98
+ }
99
+ .amscheckout .payment-method dt.ppp.ppp-selected label{font-weight: bold;padding-bottom:10px;}
100
+
101
+ .amscheckout .payment-method dd.ppp.ppp-selected {
102
+ background-color: #f9f9f9;
103
+ padding:0 0 10px;
104
+ }
105
+
106
+ .amscheckout .payment-method dt.ppp:hover {
107
+ background-color: #f9f9f9;
108
+ }
109
+
110
+ .amscheckout .payment-method dt.ppp input {
111
+ display: none;
112
+ }
113
+
114
+ .amscheckout .payment-method dt.ppp label:hover {
115
+ background: transparent;
116
+ }
117
+
118
+ .amscheckout .payment-method dd.ppp {
119
+ padding:0;
120
+ }
121
+ .amscheckout .payment-method dd.ppp:last-child {
122
+ border-bottom: 1px solid #dfdfdf;
123
+ }
124
+
125
+ .amscheckout .payment-method dt.ppp.iways_paypalplus_payment {
126
+ border-top: none;
127
+ }
128
+
129
+ .amscheckout .payment-method dd.ppp.iways_paypalplus_payment {
130
+ border-bottom: none;
131
+ }
132
+
133
+ .amscheckout .payment-method dd.ppp.iways_paypalplus_payment.ppp-selected {
134
+ background: transparent;
135
+ }
136
+
137
+ .amscheckout .payment-method .form-list .ppp li{margin-bottom:0px;padding-bottom: 8px;}