Creativestyle_AmazonPayments - Version 1.7.8

Version Notes

# Improvements
- Implemented simplified partial capture
# Changes
- Updated Amazon Payments SDK library
# Fixes
- Added missing declined payment email templates for FR, IT and ES
- Fixed several issues for hard declined authorizations in synchronous mode

Download this release

Release Info

Developer creativestyle GmbH
Extension Creativestyle_AmazonPayments
Version 1.7.8
Comparing to
See all releases


Code changes from version 1.7.6 to 1.7.8

app/code/community/Creativestyle/AmazonPayments/Exception/InvalidStatus/Unrecoverable.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * This file is part of the official Amazon Payments Advanced extension
5
+ * for Magento (c) creativestyle GmbH <amazon@creativestyle.de>
6
+ * All rights reserved
7
+ *
8
+ * Reuse or modification of this source code is not allowed
9
+ * without written permission from creativestyle GmbH
10
+ *
11
+ * @category Creativestyle
12
+ * @package Creativestyle_AmazonPayments
13
+ * @copyright Copyright (c) 2016 creativestyle GmbH
14
+ * @author Marek Zabrowarny / creativestyle GmbH <amazon@creativestyle.de>
15
+ */
16
+ class Creativestyle_AmazonPayments_Exception_InvalidStatus_Unrecoverable extends Creativestyle_AmazonPayments_Exception_InvalidStatus {}
app/code/community/Creativestyle/AmazonPayments/Model/Observer.php CHANGED
@@ -151,7 +151,7 @@ class Creativestyle_AmazonPayments_Model_Observer {
151
  if ($transaction->getTxnType() == Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE) {
152
  if ($this->_getTransactionStatus($transaction) == Creativestyle_AmazonPayments_Model_Processor_TransactionAdapter::TRANSACTION_STATE_COMPLETED) {
153
  $payment = $transaction->getOrderPaymentObject();
154
- if ($payment) {
155
  Mage::getModel('amazonpayments/processor_payment')
156
  ->setPaymentObject($payment)
157
  ->closeOrderReference();
151
  if ($transaction->getTxnType() == Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE) {
152
  if ($this->_getTransactionStatus($transaction) == Creativestyle_AmazonPayments_Model_Processor_TransactionAdapter::TRANSACTION_STATE_COMPLETED) {
153
  $payment = $transaction->getOrderPaymentObject();
154
+ if ($payment && !$payment->getOrder()->canInvoice()) {
155
  Mage::getModel('amazonpayments/processor_payment')
156
  ->setPaymentObject($payment)
157
  ->closeOrderReference();
app/code/community/Creativestyle/AmazonPayments/Model/Payment/Abstract.php CHANGED
@@ -41,7 +41,7 @@ abstract class Creativestyle_AmazonPayments_Model_Payment_Abstract extends Mage_
41
  protected $_canOrder = true;
42
  protected $_canAuthorize = true;
43
  protected $_canCapture = true;
44
- protected $_canCapturePartial = false;
45
  protected $_canCaptureOnce = true;
46
  protected $_canRefund = true;
47
  protected $_canRefundInvoicePartial = true;
41
  protected $_canOrder = true;
42
  protected $_canAuthorize = true;
43
  protected $_canCapture = true;
44
+ protected $_canCapturePartial = true;
45
  protected $_canCaptureOnce = true;
46
  protected $_canRefund = true;
47
  protected $_canRefundInvoicePartial = true;
app/code/community/Creativestyle/AmazonPayments/Model/Processor/TransactionAdapter.php CHANGED
@@ -408,6 +408,7 @@ class Creativestyle_AmazonPayments_Model_Processor_TransactionAdapter {
408
  *
409
  * @return bool
410
  *
 
411
  * @throws Creativestyle_AmazonPayments_Exception_InvalidStatus_Recoverable
412
  * @throws Creativestyle_AmazonPayments_Exception_InvalidStatus
413
  * @throws Creativestyle_AmazonPayments_Exception
@@ -436,8 +437,9 @@ class Creativestyle_AmazonPayments_Model_Processor_TransactionAdapter {
436
  case self::TRANSACTION_REASON_INVALID_PAYMENT:
437
  throw new Creativestyle_AmazonPayments_Exception_InvalidStatus_Recoverable('Invalid Authorization status');
438
  case self::TRANSACTION_REASON_TIMEOUT:
439
- case self::TRANSACTION_REASON_AMAZON_REJECTED:
440
  throw new Creativestyle_AmazonPayments_Exception_InvalidStatus('Invalid Authorization status');
 
 
441
  }
442
  default:
443
  throw new Creativestyle_AmazonPayments_Exception('Invalid Authorization status');
408
  *
409
  * @return bool
410
  *
411
+ * @throws Creativestyle_AmazonPayments_Exception_InvalidStatus_Unrecoverable
412
  * @throws Creativestyle_AmazonPayments_Exception_InvalidStatus_Recoverable
413
  * @throws Creativestyle_AmazonPayments_Exception_InvalidStatus
414
  * @throws Creativestyle_AmazonPayments_Exception
437
  case self::TRANSACTION_REASON_INVALID_PAYMENT:
438
  throw new Creativestyle_AmazonPayments_Exception_InvalidStatus_Recoverable('Invalid Authorization status');
439
  case self::TRANSACTION_REASON_TIMEOUT:
 
440
  throw new Creativestyle_AmazonPayments_Exception_InvalidStatus('Invalid Authorization status');
441
+ case self::TRANSACTION_REASON_AMAZON_REJECTED:
442
+ throw new Creativestyle_AmazonPayments_Exception_InvalidStatus_Unrecoverable('Invalid Authorization status');
443
  }
444
  default:
445
  throw new Creativestyle_AmazonPayments_Exception('Invalid Authorization status');
app/code/community/Creativestyle/AmazonPayments/controllers/Advanced/CheckoutController.php CHANGED
@@ -309,6 +309,15 @@ class Creativestyle_AmazonPayments_Advanced_CheckoutController extends Mage_Core
309
  'error_messages' => $this->__('There has been a problem with the selected payment method from your Amazon account, please update the payment method or choose another one.'),
310
  'reload_wallet' => true
311
  )));
 
 
 
 
 
 
 
 
 
312
  } catch (Creativestyle_AmazonPayments_Exception_InvalidStatus $e) {
313
  $this->_getApi()->cancelOrderReference($this->_shiftOrderReferenceId());
314
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode(array(
309
  'error_messages' => $this->__('There has been a problem with the selected payment method from your Amazon account, please update the payment method or choose another one.'),
310
  'reload_wallet' => true
311
  )));
312
+ } catch (Creativestyle_AmazonPayments_Exception_InvalidStatus_Unrecoverable $e) {
313
+ $this->_shiftOrderReferenceId();
314
+ $this->getResponse()->setBody(Mage::helper('core')->jsonEncode(array(
315
+ 'success' => false,
316
+ 'error' => true,
317
+ 'error_messages' => $this->__('There has been a problem with the selected payment method from your Amazon account, please choose another payment method from you Amazon account or return to the cart to choose another checkout method.'),
318
+ 'logout' => true,
319
+ 'redirect' => Mage::getUrl('checkout/cart')
320
+ )));
321
  } catch (Creativestyle_AmazonPayments_Exception_InvalidStatus $e) {
322
  $this->_getApi()->cancelOrderReference($this->_shiftOrderReferenceId());
323
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode(array(
app/code/community/Creativestyle/AmazonPayments/etc/config.xml CHANGED
@@ -17,7 +17,7 @@
17
  <config>
18
  <modules>
19
  <Creativestyle_AmazonPayments>
20
- <version>1.7.6</version>
21
  </Creativestyle_AmazonPayments>
22
  </modules>
23
  <global>
17
  <config>
18
  <modules>
19
  <Creativestyle_AmazonPayments>
20
+ <version>1.7.8</version>
21
  </Creativestyle_AmazonPayments>
22
  </modules>
23
  <global>
app/locale/de_DE/template/email/amazon_payments_failed.html CHANGED
@@ -32,7 +32,7 @@ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;
32
  </td>
33
  </tr>
34
  <tr>
35
- <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Best regards, <strong>{{var storeName}}</strong></p></center></td>
36
  </tr>
37
  </table>
38
  </td>
32
  </td>
33
  </tr>
34
  <tr>
35
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Mit freundlichen Grüßen, <strong>{{var storeName}}</strong></p></center></td>
36
  </tr>
37
  </table>
38
  </td>
app/locale/en_GB/template/email/amazon_payments_failed.html CHANGED
@@ -27,7 +27,7 @@ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;
27
  <td valign="top">
28
  <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Dear {{var customer}},</h1>
29
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Thank you for ordering at {{var storeName}}.</p>
30
- <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Your payment method has been declined by Amazon Payments. In order to resolve this, please visit <a href="https://payments.amazon.co.uk/overview">https://payments.amazon.co.uk/overview</a>, look up your recent order and follow the instructions to choose an existing payment method from your account or enter a new one. Once updated the payment will automatically be re-attempted and well send you an email to confirm it worked.</p>
31
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}.</span></p>
32
  </td>
33
  </tr>
27
  <td valign="top">
28
  <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Dear {{var customer}},</h1>
29
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Thank you for ordering at {{var storeName}}.</p>
30
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Your payment method has been declined by Amazon Payments. In order to resolve this, please visit <a href="https://payments.amazon.co.uk/overview">https://payments.amazon.co.uk/overview</a>, look up your recent order and follow the instructions to choose an existing payment method from your account or enter a new one. Once updated the payment will automatically be re-attempted and we'll send you an email to confirm it worked.</p>
31
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}.</span></p>
32
  </td>
33
  </tr>
app/locale/en_US/template/email/amazon_payments_failed.html CHANGED
@@ -27,7 +27,7 @@ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;
27
  <td valign="top">
28
  <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Dear {{var customer}},</h1>
29
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Thank you for ordering at {{var storeName}}.</p>
30
- <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Your payment method has been declined by Amazon Payments. In order to resolve this, please visit <a href="https://payments.amazon.com/overview">https://payments.amazon.com/overview</a>, look up your recent order and follow the instructions to choose an existing payment method from your account or enter a new one. Once updated the payment will automatically be re-attempted and well send you an email to confirm it worked.</p>
31
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}.</span></p>
32
  </td>
33
  </tr>
27
  <td valign="top">
28
  <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Dear {{var customer}},</h1>
29
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Thank you for ordering at {{var storeName}}.</p>
30
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Your payment method has been declined by Amazon Payments. In order to resolve this, please visit <a href="https://payments.amazon.com/overview">https://payments.amazon.com/overview</a>, look up your recent order and follow the instructions to choose an existing payment method from your account or enter a new one. Once updated the payment will automatically be re-attempted and we'll send you an email to confirm it worked.</p>
31
  <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}.</span></p>
32
  </td>
33
  </tr>
app/locale/es_ES/template/email/amazon_payments_failed.html ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject Su método de pago para el pedido # {{var orderId}} se ha rechazado por Amazon Payments @-->
2
+ <!--@styles
3
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
4
+ @-->
5
+ <!--@vars
6
+ {"store url=\"\"":"Store Url",
7
+ "var logo_url":"Email Logo Image Url",
8
+ "var orderId":"Order ID",
9
+ "var customer":"Customer Name",
10
+ "var storeName":"Store Name"}
11
+ @-->
12
+
13
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
14
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
15
+ <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
16
+ <tr>
17
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
18
+ <!-- [ header starts here] -->
19
+ <table bgcolor="FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
20
+ <tr>
21
+ <td valign="top">
22
+ <a href="{{store url=""}}"><img src="{{var logo_url}}" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a>
23
+ </td>
24
+ </tr>
25
+ <!-- [ middle starts here] -->
26
+ <tr>
27
+ <td valign="top">
28
+ <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Estimado {{var customer}},</h1>
29
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Muchas gracias por su pedido en {{var storeName}}.</p>
30
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Desgraciadamente, Amazon Payments ha rechazado su pago. Por favor, vaya a <a href="https://payments.amazon.com/overview">https://payments.amazon.com/overview</a> y revision de la informacion de pago de_su_pedido. Una vez haya actualizado su información de pago, solicitaremos automaticamente un nuevo pago en Amazon Payments y Usted recibirá un correo electrónico de confirmación.</p>
31
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}.</span></p>
32
+ </td>
33
+ </tr>
34
+ <tr>
35
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Atentamente, <strong>{{var storeName}}</strong></p></center></td>
36
+ </tr>
37
+ </table>
38
+ </td>
39
+ </tr>
40
+ </table>
41
+ </div>
42
+ </body>
app/locale/fr_FR/template/email/amazon_payments_failed.html ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject Votre méthode de paiement pour la commande # {{var orderId}} a été décliné par Amazon Payments @-->
2
+ <!--@styles
3
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
4
+ @-->
5
+ <!--@vars
6
+ {"store url=\"\"":"Store Url",
7
+ "var logo_url":"Email Logo Image Url",
8
+ "var orderId":"Order ID",
9
+ "var customer":"Customer Name",
10
+ "var storeName":"Store Name"}
11
+ @-->
12
+
13
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
14
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
15
+ <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
16
+ <tr>
17
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
18
+ <!-- [ header starts here] -->
19
+ <table bgcolor="FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
20
+ <tr>
21
+ <td valign="top">
22
+ <a href="{{store url=""}}"><img src="{{var logo_url}}" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a>
23
+ </td>
24
+ </tr>
25
+ <!-- [ middle starts here] -->
26
+ <tr>
27
+ <td valign="top">
28
+ <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Cher {{var customer}},</h1>
29
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Merci pour votre commande auprès de {{var storeName}}.</p>
30
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Malheureusement Amazon Payments a rejeté le paiement. Veuillez aller sur <a href="https://payments.amazon.com/overview">https://payments.amazon.com/overview</a>, et mettez à jour les informations de paiement pour votre commande. Dans la suite une nouvelle demande de paiement va être demandé à Amazon Payments et vous allez recevoir un email de confirmation.</p>
31
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}.</span></p>
32
+ </td>
33
+ </tr>
34
+ <tr>
35
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Meilleures salutations, <strong>{{var storeName}}</strong></p></center></td>
36
+ </tr>
37
+ </table>
38
+ </td>
39
+ </tr>
40
+ </table>
41
+ </div>
42
+ </body>
app/locale/it_IT/template/email/amazon_payments_failed.html ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject Il metodo di pagamento relativo all'ordine # {{var orderId}} è stato rifiutato da Amazon Payments @-->
2
+ <!--@styles
3
+ body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
4
+ @-->
5
+ <!--@vars
6
+ {"store url=\"\"":"Store Url",
7
+ "var logo_url":"Email Logo Image Url",
8
+ "var orderId":"Order ID",
9
+ "var customer":"Customer Name",
10
+ "var storeName":"Store Name"}
11
+ @-->
12
+
13
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
14
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
15
+ <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
16
+ <tr>
17
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
18
+ <!-- [ header starts here] -->
19
+ <table bgcolor="FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
20
+ <tr>
21
+ <td valign="top">
22
+ <a href="{{store url=""}}"><img src="{{var logo_url}}" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a>
23
+ </td>
24
+ </tr>
25
+ <!-- [ middle starts here] -->
26
+ <tr>
27
+ <td valign="top">
28
+ <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Gentile {{var customer}},</h1>
29
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Grazie per avere effettuato il suo ordine su {{var storeName}}.</p>
30
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Purtroppo la informiamo che Amazon Payments ha rifiutato il suo metodo di pagamento. Per procedere con l'acquisto la invitiamo a visitare la pagina <a href="https://payments.amazon.com/overview">https://payments.amazon.com/overview</a>. Individuare l'ordine effettuato presso il nostro negozio e seguire le istruzioni per scegliere un metodo di pagamento alternativo. Potrà selezionarne uno tra quelli già presenti nel suo account o inserirne uno nuovo. Una volta aggiornata l'informazione il pagamento verrà automaticamente richiesto da Amazon Payments e le invieremo una email di conferma dell'ordine.</p>
31
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Per qualsiasi domanda riguardo il suo ordine non esiti a contattarci all'indirizzo email <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> o telefonicamente <span class="nobr">{{config path='general/store_information/phone'}}.</span></p>
32
+ </td>
33
+ </tr>
34
+ <tr>
35
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Cordiali saluti, <strong>{{var storeName}}</strong></p></center></td>
36
+ </tr>
37
+ </table>
38
+ </td>
39
+ </tr>
40
+ </table>
41
+ </div>
42
+ </body>
js/creativestyle/apa_checkout.js CHANGED
@@ -355,6 +355,9 @@ var APA = {
355
  if (response.success) {
356
  window.location = APA.urls.success;
357
  };
 
 
 
358
  if (response.redirect) {
359
  window.location = response.redirect;
360
  }
355
  if (response.success) {
356
  window.location = APA.urls.success;
357
  };
358
+ if (response.logout && typeof amazon != 'undefined') {
359
+ amazon.Login.logout();
360
+ };
361
  if (response.redirect) {
362
  window.location = response.redirect;
363
  }
js/creativestyle/apa_checkout.min.js CHANGED
@@ -1 +1 @@
1
- if(!window.Review){var Review=function(){}}var APA={submitAllowed:false,paymentSelected:false,reloaded:false,Widgets:{ShippingMethod:Class.create({initialize:function(a){this.layer=$(APA.layers.shippingMethod);Object.extend(this,a);Event.stopObserving(this.layer,"widget:update").observe("widget:update",this.onUpdate.bindAsEventListener(this))},update:function(b){try{Element.update(this.layer,b);if(!this.layer.down("input[type=radio]:checked")){var a=this.layer.down("input[type=radio]");if(a){a.checked=true}}Event.stopObserving(this.layer,"change").observe("change",this.onShippingMethodSelect.bindAsEventListener(this));Event.stopObserving(this.layer,"widget:checked").observe("widget:checked",this.onShippingMethodSelect.bindAsEventListener(this));Event.fire(this.layer,"widget:update")}catch(c){this.onError(c)}}}),Review:Class.create({initialize:function(a){this.layer=$(APA.layers.review);Object.extend(this,a)},update:function(a){try{Element.update(this.layer,a)}catch(b){this.onError(b)}}})},setLoadWaiting:function(){for(var b=0;b<arguments.length;b++){if($(arguments[b])){var a=$(arguments[b]).up("li");a.addClassName("loading")}}return this},unsetLoadWaiting:function(){for(var b=0;b<arguments.length;b++){if($(arguments[b])){var a=$(arguments[b]).up("li");a.removeClassName("loading")}}return this},setOrderSaveWaiting:function(){if($(APA.layers.review)){var a=$(APA.layers.review).down(".please-wait");if(a){Element.show(a)}}this.showOverlay();this.disableSubmit();return this},unsetOrderSaveWaiting:function(){if($(APA.layers.review)){var a=$(APA.layers.review).down(".please-wait");if(a){Element.hide(a)}}this.hideOverlay();return this},showOverlay:function(){if($("checkoutSteps")){$("checkoutSteps").insert({top:new Element("div",{"class":"amazon-widget-overlay"})})}return this},hideOverlay:function(){if($("checkoutSteps")&&$("checkoutSteps").down(".amazon-widget-overlay")){$("checkoutSteps").down(".amazon-widget-overlay").remove()}this.toggleSubmit();return this},initCheckout:function(){this.disableSubmit().scaffoldPaymentWidget();if(this.virtual){return this.setLoadWaiting(APA.layers.wallet).renderWalletWidget().allowSubmit(true)}if(!this.orderReferenceId){return this.setLoadWaiting(APA.layers.shippingMethod,APA.layers.wallet,APA.layers.review).renderAddressBookWidget()}return this.setLoadWaiting(APA.layers.shippingMethod,APA.layers.wallet,APA.layers.review).renderAddressBookWidget().renderWalletWidget()},scaffoldPaymentWidget:function(){if(typeof APA.design.wallet.size!="undefined"&&!APA.design.responsive){if(APA.design.wallet.size.width){$(APA.layers.wallet).up().setStyle({width:APA.design.wallet.size.width})}if(APA.design.wallet.size.height){$(APA.layers.wallet).up().setStyle({height:APA.design.wallet.size.height})}}return this},renderButtonWidget:function(c){if(APA.urls.login!=null){$$(APA.layers.payButtons).each(function(d){var e={type:d.buttonType||APA.design.payButton.type||"PwA",size:d.buttonSize||APA.design.payButton.size,color:d.buttonColor||APA.design.payButton.color,authorization:function(){amazon.Login.authorize({scope:"profile payments:widget payments:shipping_address payments:billing_address",popup:APA.popup},APA.urls.pay)},onError:APA.amazonErrorCallback};if(APA.language){e.language=APA.language}new OffAmazonPayments.Button(d.identify(),APA.sellerId,e)});$$(APA.layers.loginButtons).each(function(d){var e={type:d.buttonType||APA.design.loginButton.type||"LwA",size:d.buttonSize||APA.design.loginButton.size,color:d.buttonColor||APA.design.loginButton.color,authorization:function(){amazon.Login.authorize({scope:"profile payments:widget payments:shipping_address payments:billing_address",popup:APA.popup},APA.urls.login)},onError:APA.amazonErrorCallback};if(APA.language){e.language=APA.language}new OffAmazonPayments.Button(d.identify(),APA.sellerId,e)})}else{$$(APA.layers.payButtons).each(function(d){new OffAmazonPayments.Widgets.Button({sellerId:APA.sellerId,useAmazonAddressBook:!APA.virtual,onSignIn:APA.signInCallback,onError:APA.amazonErrorCallback}).bind(d.identify())})}if(c&&typeof Tooltip!="undefined"&&!APA.isMobileDevice()){var b=$$(APA.layers.payButtons+","+APA.layers.loginButtons).findAll(function(d){return d.hasClassName("with-tooltip")});if(b.length){var a=document.createElement("div");a.setAttribute("id","pay-with-amazon-tooltip");a.addClassName("pay-with-amazon-tooltip");a.setStyle({display:"none",zIndex:10});a.update(c);document.body.appendChild(a);b.each(function(d){var e=d.down("img");if(e){new Tooltip(e,a)}})}}},signInCallback:function(a){var c=document.createElement("input");c.setAttribute("type","hidden");c.setAttribute("name","orderReferenceId");c.setAttribute("value",a.getAmazonOrderReferenceId());var b=document.createElement("form");b.setAttribute("method","post");b.setAttribute("action",APA.urls.checkout);b.appendChild(c);document.body.appendChild(b);b.submit();return},renderAddressBookWidget:function(){APA.setLoadWaiting(APA.layers.shippingMethod,APA.layers.review);new OffAmazonPayments.Widgets.AddressBook({sellerId:APA.sellerId,onOrderReferenceCreate:APA.orderReferenceCreateCallback,amazonOrderReferenceId:APA.orderReferenceId,design:(APA.design.responsive?{designMode:"responsive"}:APA.design.addressBook),onAddressSelect:APA.addressSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.addressBook);return this},renderReadOnlyAddressBookWidget:function(){new OffAmazonPayments.Widgets.AddressBook({sellerId:APA.sellerId,amazonOrderReferenceId:APA.orderReferenceId,design:(APA.design.responsive?{designMode:"responsive"}:APA.design.addressBook),onError:APA.amazonErrorCallback,displayMode:"Read"}).bind(APA.layers.addressBook);return this},orderReferenceCreateCallback:function(a){if(!APA.orderReferenceId){APA.orderReferenceId=a.getAmazonOrderReferenceId();if(!APA.virtual){APA.renderWalletWidget()}}},addressSelectCallback:function(){APA.selectPayment(false);APA.setLoadWaiting(APA.layers.shippingMethod,APA.layers.review);new Ajax.Request(APA.urls.saveShipping,{method:"post",parameters:{orderReferenceId:APA.orderReferenceId},evalScripts:true,onSuccess:APA.successCallback,onFailure:APA.ajaxFailureCallback})},renderShippingMethodWidget:function(a){APA.setLoadWaiting(APA.layers.review);new APA.Widgets.ShippingMethod({onShippingMethodSelect:APA.shippingMethodSelectCallback,onUpdate:APA.shippingMethodUpdateCallback,onError:APA.magentoErrorCallback}).update(a);return this},shippingMethodSelectCallback:function(a){APA.setLoadWaiting(APA.layers.review);new Ajax.Request(APA.urls.saveShippingMethod,{method:"post",parameters:Form.serialize($("co-shipping-method-form")),evalScripts:true,onSuccess:APA.successCallback,onFailure:APA.ajaxFailureCallback})},shippingMethodUpdateCallback:function(b){var a=Event.element(b);Event.fire(a,"widget:checked")},renderWalletWidget:function(){new OffAmazonPayments.Widgets.Wallet({sellerId:APA.sellerId,onOrderReferenceCreate:APA.orderReferenceCreateCallback,amazonOrderReferenceId:APA.orderReferenceId,design:(APA.design.responsive?{designMode:"responsive"}:APA.design.wallet),onPaymentSelect:APA.paymentSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.wallet);return this},paymentSelectCallback:function(){APA.selectPayment(true)},reloadWallet:function(){this.renderReadOnlyAddressBookWidget().renderWalletWidget();return this},renderReviewWidget:function(a){new APA.Widgets.Review({onError:APA.magentoErrorCallback}).update(a);this.toggleSubmit();return this},successCallback:function(transport){response=eval("("+transport.responseText+")");if(response.error){APA.magentoErrorCallback(response.error_messages)}if(response.render_widget){$H(response.render_widget).each(function(pair){APA["render"+pair.key.capitalize().camelize()+"Widget"](pair.value);if(pair.value){APA.unsetLoadWaiting(APA.layers[pair.key.camelize()])}})}if(response.allow_submit){APA.allowSubmit(true)}else{APA.allowSubmit(false)}},saveOrderCallback:function(transport){response=eval("("+transport.responseText+")");if(response.success){window.location=APA.urls.success}if(response.redirect){window.location=response.redirect}if(response.error){APA.unsetOrderSaveWaiting();APA.magentoErrorCallback(response.error_messages);if(response.reload){APA.reloaded=false;APA.orderReferenceId=null;APA.initCheckout()}if(response.reload_wallet){APA.reloaded=true;APA.disableSubmit().reloadWallet()}}},ajaxFailureCallback:function(){window.location.href=APA.urls.failure},amazonErrorCallback:function(a){if(!APA.live){console.trace();alert(a.getErrorMessage())}var b=["BuyerNotAssociated","BuyerSessionExpired","StaleOrderReference","InvalidOrderReferenceId"];if(b.any(function(c){return c==a.getErrorCode()})){window.location.href=APA.urls.failure}},magentoErrorCallback:function(a){if(!APA.live){console.trace()}if(typeof(a)=="object"){a=a.join("\n")}if(a){alert(a)}},allowSubmit:function(a){this.submitAllowed=a;return this.toggleSubmit()},selectPayment:function(a){this.paymentSelected=a;return this.toggleSubmit()},toggleSubmit:function(){if(this.submitAllowed&&this.paymentSelected){return this.enableSubmit()}return this.disableSubmit()},disableSubmit:function(){var b=$("amazonpayments-checkout-place-order-button");if(b){b.disabled=true;var a=b.up("div.buttons-set");if(a){a.addClassName("disabled")}}return this},enableSubmit:function(){if(this.submitAllowed&&this.paymentSelected){var b=$("amazonpayments-checkout-place-order-button");if(b){b.disabled=false;var a=b.up("div.buttons-set");if(a){a.removeClassName("disabled")}}}return this},saveOrder:function(){APA.setOrderSaveWaiting();new Ajax.Request(APA.urls.saveOrder,{method:"post",parameters:APA.getSaveOrderParams(),onSuccess:APA.saveOrderCallback,onFailure:APA.ajaxFailureCallback})},getSaveOrderParams:function(){var a="";if(APA.virtual){a+=Object.toQueryString({orderReferenceId:APA.orderReferenceId});if($("checkout-agreements")){a+="&"+Form.serialize($("checkout-agreements"))}}else{a=Form.serialize($("co-shipping-method-form"));if($("checkout-agreements")){a+="&"+Form.serialize($("checkout-agreements"))}}if(APA.reloaded){a+="&"+Object.toQueryString({reloaded:1})}a.save=true;return a},isMobileDevice:function(){return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(navigator.userAgent||navigator.vendor||window.opera)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test((navigator.userAgent||navigator.vendor||window.opera).substr(0,4))},initialize:function(c,a,d,g,f,e,b){return Object.extend(APA,{sellerId:c,orderReferenceId:a,live:d,virtual:g,urls:Object.extend({login:null,pay:null,checkout:null,saveShipping:null,saveShippingMethod:null,saveOrder:null,success:null,failure:null},f),layers:Object.extend({payButtons:".payButtonWidget",loginButtons:".loginButtonWidget",addressBook:"addressBookWidgetDiv",wallet:"walletWidgetDiv",shippingMethod:"shippingMethodWidgetDiv",review:"reviewWidgetDiv"},e),design:Object.extend({addressBook:{size:{width:"440px",height:"260px"}},wallet:{size:{width:"440px",height:"260px"}},payButton:{type:"PwA"},loginButton:{type:"LwA"}},b)})},setup:function(b,a){return Object.extend(APA,{sellerId:b,orderReferenceId:typeof a.orderReferenceId=="undefined"?null:a.orderReferenceId,language:typeof a.language=="undefined"?null:a.language,live:typeof a.live=="undefined"?true:a.live,popup:typeof a.popup=="undefined"?true:a.popup,virtual:typeof a.virtual=="undefined"?false:a.virtual,layers:Object.extend({payButtons:".payButtonWidget",loginButtons:".loginButtonWidget",addressBook:"addressBookWidgetDiv",wallet:"walletWidgetDiv",shippingMethod:"shippingMethodWidgetDiv",review:"reviewWidgetDiv"},a.layers),urls:Object.extend({login:null,pay:null,checkout:null,saveShipping:null,saveShippingMethod:null,saveOrder:null,success:null,failure:null},a.urls),design:Object.extend({responsive:true,addressBook:{size:{width:"440px",height:"260px"}},wallet:{size:{width:"440px",height:"260px"}},payButton:{type:"PwA"},loginButton:{type:"LwA"}},a.design)})}};
1
+ if(!window.Review)var Review=function(){};var APA={submitAllowed:!1,paymentSelected:!1,reloaded:!1,Widgets:{ShippingMethod:Class.create({initialize:function(e){this.layer=$(APA.layers.shippingMethod),Object.extend(this,e),Event.stopObserving(this.layer,"widget:update").observe("widget:update",this.onUpdate.bindAsEventListener(this))},update:function(e){try{if(Element.update(this.layer,e),!this.layer.down("input[type=radio]:checked")){var t=this.layer.down("input[type=radio]");t&&(t.checked=!0)}Event.stopObserving(this.layer,"change").observe("change",this.onShippingMethodSelect.bindAsEventListener(this)),Event.stopObserving(this.layer,"widget:checked").observe("widget:checked",this.onShippingMethodSelect.bindAsEventListener(this)),Event.fire(this.layer,"widget:update")}catch(i){this.onError(i)}}}),Review:Class.create({initialize:function(e){this.layer=$(APA.layers.review),Object.extend(this,e)},update:function(e){try{Element.update(this.layer,e)}catch(t){this.onError(t)}}})},setLoadWaiting:function(){for(var e=0;e<arguments.length;e++)if($(arguments[e])){var t=$(arguments[e]).up("li");t.addClassName("loading")}return this},unsetLoadWaiting:function(){for(var e=0;e<arguments.length;e++)if($(arguments[e])){var t=$(arguments[e]).up("li");t.removeClassName("loading")}return this},setOrderSaveWaiting:function(){if($(APA.layers.review)){var e=$(APA.layers.review).down(".please-wait");e&&Element.show(e)}return this.showOverlay(),this.disableSubmit(),this},unsetOrderSaveWaiting:function(){if($(APA.layers.review)){var e=$(APA.layers.review).down(".please-wait");e&&Element.hide(e)}return this.hideOverlay(),this},showOverlay:function(){return $("checkoutSteps")&&$("checkoutSteps").insert({top:new Element("div",{"class":"amazon-widget-overlay"})}),this},hideOverlay:function(){return $("checkoutSteps")&&$("checkoutSteps").down(".amazon-widget-overlay")&&$("checkoutSteps").down(".amazon-widget-overlay").remove(),this.toggleSubmit(),this},initCheckout:function(){return this.disableSubmit().scaffoldPaymentWidget(),this.virtual?this.setLoadWaiting(APA.layers.wallet).renderWalletWidget().allowSubmit(!0):this.orderReferenceId?this.setLoadWaiting(APA.layers.shippingMethod,APA.layers.wallet,APA.layers.review).renderAddressBookWidget().renderWalletWidget():this.setLoadWaiting(APA.layers.shippingMethod,APA.layers.wallet,APA.layers.review).renderAddressBookWidget()},scaffoldPaymentWidget:function(){return"undefined"==typeof APA.design.wallet.size||APA.design.responsive||(APA.design.wallet.size.width&&$(APA.layers.wallet).up().setStyle({width:APA.design.wallet.size.width}),APA.design.wallet.size.height&&$(APA.layers.wallet).up().setStyle({height:APA.design.wallet.size.height})),this},renderButtonWidget:function(e){if(null!=APA.urls.login?($$(APA.layers.payButtons).each(function(e){var t={type:e.buttonType||APA.design.payButton.type||"PwA",size:e.buttonSize||APA.design.payButton.size,color:e.buttonColor||APA.design.payButton.color,authorization:function(){amazon.Login.authorize({scope:"profile payments:widget payments:shipping_address payments:billing_address",popup:APA.popup},APA.urls.pay)},onError:APA.amazonErrorCallback};APA.language&&(t.language=APA.language),new OffAmazonPayments.Button(e.identify(),APA.sellerId,t)}),$$(APA.layers.loginButtons).each(function(e){var t={type:e.buttonType||APA.design.loginButton.type||"LwA",size:e.buttonSize||APA.design.loginButton.size,color:e.buttonColor||APA.design.loginButton.color,authorization:function(){amazon.Login.authorize({scope:"profile payments:widget payments:shipping_address payments:billing_address",popup:APA.popup},APA.urls.login)},onError:APA.amazonErrorCallback};APA.language&&(t.language=APA.language),new OffAmazonPayments.Button(e.identify(),APA.sellerId,t)})):$$(APA.layers.payButtons).each(function(e){new OffAmazonPayments.Widgets.Button({sellerId:APA.sellerId,useAmazonAddressBook:!APA.virtual,onSignIn:APA.signInCallback,onError:APA.amazonErrorCallback}).bind(e.identify())}),e&&"undefined"!=typeof Tooltip&&!APA.isMobileDevice()){var t=$$(APA.layers.payButtons+","+APA.layers.loginButtons).findAll(function(e){return e.hasClassName("with-tooltip")});if(t.length){var i=document.createElement("div");i.setAttribute("id","pay-with-amazon-tooltip"),i.addClassName("pay-with-amazon-tooltip"),i.setStyle({display:"none",zIndex:10}),i.update(e),document.body.appendChild(i),t.each(function(e){var t=e.down("img");t&&new Tooltip(t,i)})}}},signInCallback:function(e){var t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","orderReferenceId"),t.setAttribute("value",e.getAmazonOrderReferenceId());var i=document.createElement("form");i.setAttribute("method","post"),i.setAttribute("action",APA.urls.checkout),i.appendChild(t),document.body.appendChild(i),i.submit()},renderAddressBookWidget:function(){return APA.setLoadWaiting(APA.layers.shippingMethod,APA.layers.review),new OffAmazonPayments.Widgets.AddressBook({sellerId:APA.sellerId,onOrderReferenceCreate:APA.orderReferenceCreateCallback,amazonOrderReferenceId:APA.orderReferenceId,design:APA.design.responsive?{designMode:"responsive"}:APA.design.addressBook,onAddressSelect:APA.addressSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.addressBook),this},renderReadOnlyAddressBookWidget:function(){return new OffAmazonPayments.Widgets.AddressBook({sellerId:APA.sellerId,amazonOrderReferenceId:APA.orderReferenceId,design:APA.design.responsive?{designMode:"responsive"}:APA.design.addressBook,onError:APA.amazonErrorCallback,displayMode:"Read"}).bind(APA.layers.addressBook),this},orderReferenceCreateCallback:function(e){APA.orderReferenceId||(APA.orderReferenceId=e.getAmazonOrderReferenceId(),APA.virtual||APA.renderWalletWidget())},addressSelectCallback:function(){APA.selectPayment(!1),APA.setLoadWaiting(APA.layers.shippingMethod,APA.layers.review),new Ajax.Request(APA.urls.saveShipping,{method:"post",parameters:{orderReferenceId:APA.orderReferenceId},evalScripts:!0,onSuccess:APA.successCallback,onFailure:APA.ajaxFailureCallback})},renderShippingMethodWidget:function(e){return APA.setLoadWaiting(APA.layers.review),new APA.Widgets.ShippingMethod({onShippingMethodSelect:APA.shippingMethodSelectCallback,onUpdate:APA.shippingMethodUpdateCallback,onError:APA.magentoErrorCallback}).update(e),this},shippingMethodSelectCallback:function(e){APA.setLoadWaiting(APA.layers.review),new Ajax.Request(APA.urls.saveShippingMethod,{method:"post",parameters:Form.serialize($("co-shipping-method-form")),evalScripts:!0,onSuccess:APA.successCallback,onFailure:APA.ajaxFailureCallback})},shippingMethodUpdateCallback:function(e){var t=Event.element(e);Event.fire(t,"widget:checked")},renderWalletWidget:function(){return new OffAmazonPayments.Widgets.Wallet({sellerId:APA.sellerId,onOrderReferenceCreate:APA.orderReferenceCreateCallback,amazonOrderReferenceId:APA.orderReferenceId,design:APA.design.responsive?{designMode:"responsive"}:APA.design.wallet,onPaymentSelect:APA.paymentSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.wallet),this},paymentSelectCallback:function(){APA.selectPayment(!0)},reloadWallet:function(){return this.renderReadOnlyAddressBookWidget().renderWalletWidget(),this},renderReviewWidget:function(e){return new APA.Widgets.Review({onError:APA.magentoErrorCallback}).update(e),this.toggleSubmit(),this},successCallback:function(transport){response=eval("("+transport.responseText+")"),response.error&&APA.magentoErrorCallback(response.error_messages),response.render_widget&&$H(response.render_widget).each(function(e){APA["render"+e.key.capitalize().camelize()+"Widget"](e.value),e.value&&APA.unsetLoadWaiting(APA.layers[e.key.camelize()])}),response.allow_submit?APA.allowSubmit(!0):APA.allowSubmit(!1)},saveOrderCallback:function(transport){response=eval("("+transport.responseText+")"),response.success&&(window.location=APA.urls.success),response.logout&&"undefined"!=typeof amazon&&amazon.Login.logout(),response.redirect&&(window.location=response.redirect),response.error&&(APA.unsetOrderSaveWaiting(),APA.magentoErrorCallback(response.error_messages),response.reload&&(APA.reloaded=!1,APA.orderReferenceId=null,APA.initCheckout()),response.reload_wallet&&(APA.reloaded=!0,APA.disableSubmit().reloadWallet()))},ajaxFailureCallback:function(){window.location.href=APA.urls.failure},amazonErrorCallback:function(e){APA.live||(console.trace(),alert(e.getErrorMessage()));var t=["BuyerNotAssociated","BuyerSessionExpired","StaleOrderReference","InvalidOrderReferenceId"];t.any(function(t){return t==e.getErrorCode()})&&(window.location.href=APA.urls.failure)},magentoErrorCallback:function(e){APA.live||console.trace(),"object"==typeof e&&(e=e.join("\n")),e&&alert(e)},allowSubmit:function(e){return this.submitAllowed=e,this.toggleSubmit()},selectPayment:function(e){return this.paymentSelected=e,this.toggleSubmit()},toggleSubmit:function(){return this.submitAllowed&&this.paymentSelected?this.enableSubmit():this.disableSubmit()},disableSubmit:function(){var e=$("amazonpayments-checkout-place-order-button");if(e){e.disabled=!0;var t=e.up("div.buttons-set");t&&t.addClassName("disabled")}return this},enableSubmit:function(){if(this.submitAllowed&&this.paymentSelected){var e=$("amazonpayments-checkout-place-order-button");if(e){e.disabled=!1;var t=e.up("div.buttons-set");t&&t.removeClassName("disabled")}}return this},saveOrder:function(){APA.setOrderSaveWaiting(),new Ajax.Request(APA.urls.saveOrder,{method:"post",parameters:APA.getSaveOrderParams(),onSuccess:APA.saveOrderCallback,onFailure:APA.ajaxFailureCallback})},getSaveOrderParams:function(){var e="";return APA.virtual?(e+=Object.toQueryString({orderReferenceId:APA.orderReferenceId}),$("checkout-agreements")&&(e+="&"+Form.serialize($("checkout-agreements")))):(e=Form.serialize($("co-shipping-method-form")),$("checkout-agreements")&&(e+="&"+Form.serialize($("checkout-agreements")))),APA.reloaded&&(e+="&"+Object.toQueryString({reloaded:1})),e.save=!0,e},isMobileDevice:function(){return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(navigator.userAgent||navigator.vendor||window.opera)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test((navigator.userAgent||navigator.vendor||window.opera).substr(0,4))},initialize:function(e,t,i,n,r,a,o){return Object.extend(APA,{sellerId:e,orderReferenceId:t,live:i,virtual:n,urls:Object.extend({login:null,pay:null,checkout:null,saveShipping:null,saveShippingMethod:null,saveOrder:null,success:null,failure:null},r),layers:Object.extend({payButtons:".payButtonWidget",loginButtons:".loginButtonWidget",addressBook:"addressBookWidgetDiv",wallet:"walletWidgetDiv",shippingMethod:"shippingMethodWidgetDiv",review:"reviewWidgetDiv"},a),design:Object.extend({addressBook:{size:{width:"440px",height:"260px"}},wallet:{size:{width:"440px",height:"260px"}},payButton:{type:"PwA"},loginButton:{type:"LwA"}},o)})},setup:function(e,t){return Object.extend(APA,{sellerId:e,orderReferenceId:"undefined"==typeof t.orderReferenceId?null:t.orderReferenceId,language:"undefined"==typeof t.language?null:t.language,live:"undefined"==typeof t.live?!0:t.live,popup:"undefined"==typeof t.popup?!0:t.popup,virtual:"undefined"==typeof t.virtual?!1:t.virtual,layers:Object.extend({payButtons:".payButtonWidget",loginButtons:".loginButtonWidget",addressBook:"addressBookWidgetDiv",wallet:"walletWidgetDiv",shippingMethod:"shippingMethodWidgetDiv",review:"reviewWidgetDiv"},t.layers),urls:Object.extend({login:null,pay:null,checkout:null,saveShipping:null,saveShippingMethod:null,saveOrder:null,success:null,failure:null},t.urls),design:Object.extend({responsive:!0,addressBook:{size:{width:"440px",height:"260px"}},wallet:{size:{width:"440px",height:"260px"}},payButton:{type:"PwA"},loginButton:{type:"LwA"}},t.design)})}};
js/creativestyle/apa_sandbox_toolbox.min.js CHANGED
@@ -1 +1 @@
1
- if(typeof APA=="undefined"){var APA={}}APA.Toolbox={clearSimulationObjects:function(){APA.Toolbox.objectSelect.descendants().each(Element.remove);APA.Toolbox.objectSelect.hide().disable().insert(new Element("option",{value:""}).update(APA.Toolbox.labels.object))},clearSimulationStates:function(){APA.Toolbox.stateSelect.descendants().each(Element.remove);APA.Toolbox.stateSelect.hide().disable().insert(new Element("option",{value:""}).update(APA.Toolbox.labels.state))},clearSimulationReasons:function(){APA.Toolbox.reasonSelect.descendants().each(Element.remove);APA.Toolbox.reasonSelect.hide().disable().insert(new Element("option",{value:""}).update(APA.Toolbox.labels.reason))},fillSimulationObjects:function(){APA.Toolbox.clearSimulationReasons();APA.Toolbox.clearSimulationStates();APA.Toolbox.clearSimulationObjects();$H(APA.Toolbox.availableSimulations).each(function(a){APA.Toolbox.objectSelect.insert(new Element("option",{value:a.key}).update(a.key))});APA.Toolbox.objectSelect.enable().show();APA.Toolbox.objectSelect.observe("change",function(b){var a=APA.Toolbox.objectSelect.getValue();if(a&&typeof APA.Toolbox.availableSimulations[a]!="undefined"&&typeof APA.Toolbox.availableSimulations[a]["states"]!="undefined"){APA.Toolbox.fillSimulationStates(APA.Toolbox.availableSimulations[a]["states"])}else{APA.Toolbox.clearSimulationReasons();APA.Toolbox.clearSimulationStates()}})},fillSimulationStates:function(a){APA.Toolbox.clearSimulationReasons();APA.Toolbox.clearSimulationStates();$H(a).each(function(b){APA.Toolbox.stateSelect.insert(new Element("option",{value:b.key}).update(b.key))});APA.Toolbox.stateSelect.enable().show();APA.Toolbox.stateSelect.observe("change",function(c){var b=APA.Toolbox.stateSelect.getValue();if(b&&typeof a[b]!="undefined"&&typeof a[b]["reasons"]!="undefined"){APA.Toolbox.fillSimulationReasons(a[b]["reasons"])}else{APA.Toolbox.clearSimulationReasons()}})},fillSimulationReasons:function(a){APA.Toolbox.clearSimulationReasons();$H(a).each(function(b){APA.Toolbox.reasonSelect.insert(new Element("option",{value:b.key}).update(b.key))});APA.Toolbox.reasonSelect.enable().show()},initialize:function(a,b,c){document.observe("dom:loaded",Object.extend(APA.Toolbox,{availableSimulations:a,objectSelect:$(b.object),stateSelect:$(b.state),reasonSelect:$(b.reason),labels:c}).fillSimulationObjects)}};APA.getSaveOrderParams=function(){var a="";if(APA.virtual){a+=Object.toQueryString({orderReferenceId:APA.orderReferenceId});if($("checkout-agreements")){a+="&"+Form.serialize($("checkout-agreements"))}}else{a=Form.serialize($("co-shipping-method-form"));if($("checkout-agreements")){a+="&"+Form.serialize($("checkout-agreements"))}}if(APA.reloaded){a+="&"+Object.toQueryString({reloaded:1})}if($("sandbox-simulation")&&$("simulation_object").getValue()){a+="&"+Form.serialize($("sandbox-simulation"))}a.save=true;return a};
1
+ if("undefined"==typeof APA)var APA={};APA.Toolbox={clearSimulationObjects:function(){APA.Toolbox.objectSelect.descendants().each(Element.remove),APA.Toolbox.objectSelect.hide().disable().insert(new Element("option",{value:""}).update(APA.Toolbox.labels.object))},clearSimulationStates:function(){APA.Toolbox.stateSelect.descendants().each(Element.remove),APA.Toolbox.stateSelect.hide().disable().insert(new Element("option",{value:""}).update(APA.Toolbox.labels.state))},clearSimulationReasons:function(){APA.Toolbox.reasonSelect.descendants().each(Element.remove),APA.Toolbox.reasonSelect.hide().disable().insert(new Element("option",{value:""}).update(APA.Toolbox.labels.reason))},fillSimulationObjects:function(){APA.Toolbox.clearSimulationReasons(),APA.Toolbox.clearSimulationStates(),APA.Toolbox.clearSimulationObjects(),$H(APA.Toolbox.availableSimulations).each(function(e){APA.Toolbox.objectSelect.insert(new Element("option",{value:e.key}).update(e.key))}),APA.Toolbox.objectSelect.enable().show(),APA.Toolbox.objectSelect.observe("change",function(e){var o=APA.Toolbox.objectSelect.getValue();o&&"undefined"!=typeof APA.Toolbox.availableSimulations[o]&&"undefined"!=typeof APA.Toolbox.availableSimulations[o].states?APA.Toolbox.fillSimulationStates(APA.Toolbox.availableSimulations[o].states):(APA.Toolbox.clearSimulationReasons(),APA.Toolbox.clearSimulationStates())})},fillSimulationStates:function(e){APA.Toolbox.clearSimulationReasons(),APA.Toolbox.clearSimulationStates(),$H(e).each(function(e){APA.Toolbox.stateSelect.insert(new Element("option",{value:e.key}).update(e.key))}),APA.Toolbox.stateSelect.enable().show(),APA.Toolbox.stateSelect.observe("change",function(o){var t=APA.Toolbox.stateSelect.getValue();t&&"undefined"!=typeof e[t]&&"undefined"!=typeof e[t].reasons?APA.Toolbox.fillSimulationReasons(e[t].reasons):APA.Toolbox.clearSimulationReasons()})},fillSimulationReasons:function(e){APA.Toolbox.clearSimulationReasons(),$H(e).each(function(e){APA.Toolbox.reasonSelect.insert(new Element("option",{value:e.key}).update(e.key))}),APA.Toolbox.reasonSelect.enable().show()},initialize:function(e,o,t){document.observe("dom:loaded",Object.extend(APA.Toolbox,{availableSimulations:e,objectSelect:$(o.object),stateSelect:$(o.state),reasonSelect:$(o.reason),labels:t}).fillSimulationObjects)}},APA.getSaveOrderParams=function(){var e="";return APA.virtual?(e+=Object.toQueryString({orderReferenceId:APA.orderReferenceId}),$("checkout-agreements")&&(e+="&"+Form.serialize($("checkout-agreements")))):(e=Form.serialize($("co-shipping-method-form")),$("checkout-agreements")&&(e+="&"+Form.serialize($("checkout-agreements")))),APA.reloaded&&(e+="&"+Object.toQueryString({reloaded:1})),$("sandbox-simulation")&&$("simulation_object").getValue()&&(e+="&"+Form.serialize($("sandbox-simulation"))),e.save=!0,e};
lib/OffAmazonPaymentsNotifications/Impl/OpenSslVerifySignature.php CHANGED
@@ -29,6 +29,14 @@ class OffAmazonPaymentsNotifications_Impl_OpenSslVerifySignature implements OffA
29
  */
30
  private $_expectedCnName = null;
31
 
 
 
 
 
 
 
 
 
32
  /**
33
  * IHttpRequestFactory for creating http requests
34
  *
@@ -136,26 +144,51 @@ class OffAmazonPaymentsNotifications_Impl_OpenSslVerifySignature implements OffA
136
  );
137
  }
138
  }
139
-
140
  /**
141
  * Request the signing certificate from the given path, in order to
142
  * get the public key
143
- *
144
  * @param string $certificatePath certificate path to retreive
145
- *
146
  * @throws OffAmazonPaymentsNotifications_InvalidMessageException
147
- *
148
  * @return void
149
  */
150
  private function _getCertificateFromCertifcatePath($certificatePath)
151
  {
 
 
152
  try {
153
  return $this->_httpRequestFactory->createGetRequest($certificatePath)->execute();
154
  } catch (OffAmazonPayments_HttpRequest_HttpException $ex) {
155
  throw new OffAmazonPaymentsNotifications_InvalidMessageException(
156
- "Error with signature validation - unable to request signing certificate at " . $certificatePath .
157
  " - underlying exception of " . $ex->getMessage()
158
  );
159
  }
160
  }
161
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  */
30
  private $_expectedCnName = null;
31
 
32
+ /**
33
+ * @var string A pattern that will match all regional SNS endpoints, e.g.:
34
+ * - sns.<region>.amazonaws.com (AWS)
35
+ * - sns.us-gov-west-1.amazonaws.com (AWS GovCloud)
36
+ * - sns.cn-north-1.amazonaws.com.cn (AWS China)
37
+ */
38
+ private $defaultHostPattern = '/^sns\.[a-zA-Z0-9\-]{3,}\.amazonaws\.com(\.cn)?$/';
39
+
40
  /**
41
  * IHttpRequestFactory for creating http requests
42
  *
144
  );
145
  }
146
  }
147
+
148
  /**
149
  * Request the signing certificate from the given path, in order to
150
  * get the public key
151
+ *
152
  * @param string $certificatePath certificate path to retreive
153
+ *
154
  * @throws OffAmazonPaymentsNotifications_InvalidMessageException
155
+ *
156
  * @return void
157
  */
158
  private function _getCertificateFromCertifcatePath($certificatePath)
159
  {
160
+ $this->_validateUrl($certificatePath);
161
+
162
  try {
163
  return $this->_httpRequestFactory->createGetRequest($certificatePath)->execute();
164
  } catch (OffAmazonPayments_HttpRequest_HttpException $ex) {
165
  throw new OffAmazonPaymentsNotifications_InvalidMessageException(
166
+ "Error with signature validation - unable to request signing certificate at " . $certificatePath .
167
  " - underlying exception of " . $ex->getMessage()
168
  );
169
  }
170
  }
171
+
172
+ /* Ensures that the URL of the certificate is one belonging to AWS, and not
173
+ * just something from the amazonaws domain, which could include S3 buckets.
174
+ *
175
+ * @param string $url Certificate URL
176
+ *
177
+ * @throws InvalidSnsMessageException if the cert url is invalid.
178
+ */
179
+
180
+ private function _validateUrl($url)
181
+ {
182
+ $parsed = parse_url($url);
183
+ if (empty($parsed['scheme'])
184
+ || empty($parsed['host'])
185
+ || $parsed['scheme'] !== 'https'
186
+ || substr($url, -4) !== '.pem'
187
+ || !preg_match($this->defaultHostPattern, $parsed['host'])
188
+ ) {
189
+ throw new OffAmazonPaymentsNotifications_InvalidMessageException(
190
+ 'The certificate is located on an invalid domain.'
191
+ );
192
+ }
193
+ }
194
+ }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Creativestyle_AmazonPayments</name>
4
- <version>1.7.6</version>
5
  <stability>stable</stability>
6
  <license>Creative Commons Attribution-NoDerivatives 4.0 International</license>
7
  <channel>community</channel>
@@ -9,21 +9,17 @@
9
  <summary>Integration of your Magento shop with Login and Pay with Amazon service</summary>
10
  <description>This extension provides an official integration of your Magento store with Login and Pay with Amazon service. It helps your customers shop quickly, safely and securely. Your customers can pay on your website without re-entering their payment and address details. All Amazon transactions are protected by Amazon's A-to-z Guarantee.</description>
11
  <notes># Improvements
12
- - Added support for custom SSL CA bundle file
13
- - Implemented automatic authentication experience
14
- - Disable `Pay with Amazon` availability for zero-total orders
15
- - Retrieving billing address during the checkout
16
- - Added exception handling for missing amazon_user_id attribute
17
  # Fixes
18
- - Added support for SUPEE-6285 patch
19
- - Added support for SUPEE-6788 patch
20
- - Fixed calls to deprecated iconv functions in SDK library
21
- - Fixed display errors for Magento RWD theme
22
  </notes>
23
  <authors><author><name>creativestyle GmbH</name><user>creativestyle</user><email>amazon@creativestyle.de</email></author></authors>
24
- <date>2016-02-28</date>
25
- <time>14:02:17</time>
26
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="55ea010e1f14bcba0766e6a7c5a2f2e1"/></dir><dir name="template"><dir name="creativestyle"><dir name="amazonpayments"><dir name="advanced"><file name="documentation.phtml" hash="af3ae6ebce4712dd8fb972bef508ca55"/><dir name="log"><dir name="api"><file name="view.phtml" hash="2c2fcd6122b4481ad2cf8b7657f3f187"/></dir><dir name="exception"><file name="view.phtml" hash="c5d01f6de86e47d4da5dfabd60b1b382"/></dir><file name="js.phtml" hash="eb1d2098440a0bac2a6f5b959afa3693"/><dir name="notification"><file name="view.phtml" hash="31d893106f7c7c7f94f05d5cafa36440"/></dir></dir></dir><dir name="debug"><dir name="section"><file name="table.phtml" hash="f4bb8e35b3608cf0639407a3461c3717"/></dir><file name="section.phtml" hash="1472da0e9f07b5583a02e327483d4d75"/></dir><file name="debug.phtml" hash="9748d4fe92986f36ad47ae5b61fc4883"/><file name="info.phtml" hash="aceecad9cb8e2f105c20f07c5137498e"/><file name="init.phtml" hash="ba9d53045077e63b4e6c25c6b7bb685c"/><dir name="payment"><file name="info.phtml" hash="1604a1ca8c640748023859dee07f1182"/><dir name="pdf"><file name="info.phtml" hash="1fb213f3fcc3aeecaa6305c07cff3b73"/></dir></dir><file name="seller_central.phtml" hash="7c3ea854f8cdc4c6e095ee1f7684fb95"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="bcbcd2f41ce44082d3cbccbe18c2a3c1"/></dir><dir name="template"><dir name="creativestyle"><dir name="amazonpayments"><dir name="button"><file name="js.phtml" hash="3142375878bb43893393ee3499ad9804"/></dir><dir name="checkout"><file name="capture_notice.phtml" hash="f9c75cd05a596d0a16c55f0169b4ee6c"/><file name="js.phtml" hash="e0f950d4b6c1bd8cf790c90527b51109"/><dir name="review"><file name="button.phtml" hash="5fa9b038cc1e91a8203b163411b8bf20"/></dir><file name="sandbox_toolbox.phtml" hash="b1a346f095d83223914e65024f56d19f"/><file name="shipping_method.phtml" hash="852008f89fc32c7af6c250cafdde5f51"/></dir><file name="checkout.phtml" hash="6873b347a7e10b3b5c35fda1b48345b1"/><file name="js.phtml" hash="13581f0bcdf7c39da46be530892e8183"/><dir name="login"><dir name="button"><file name="account_login.phtml" hash="0ce9b9d891af3f6c5b1c83a17d311e6b"/></dir><file name="button.phtml" hash="b5d66280337ecc895ae9a2bc48c469e4"/><dir name="form"><file name="account_confirm.phtml" hash="cff4c9f656b2e790bd65723d4e2042b9"/><file name="account_update.phtml" hash="64fdc50df3b3c49384d5d50a1da82d4d"/></dir><file name="js.phtml" hash="9d542e726fe51739b72fc2e509edadd8"/><file name="logout.phtml" hash="e8b6f4d39047903e4ee8d481ba59543b"/><file name="redirect.phtml" hash="8d395ab25504c0cdb928cf93e684b868"/></dir><dir name="onepage"><file name="button.phtml" hash="e37fe0d557754758389350dc5e5c49ba"/></dir><dir name="pay"><file name="button.phtml" hash="dfcccab45794c81d2d3ca52f709019d4"/></dir><dir name="payment"><file name="info.phtml" hash="3631896707e596d9675f526a7d021617"/><dir name="pdf"><file name="info.phtml" hash="69549bf3340c19d62f42a556f13e8a1e"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Creativestyle_AmazonPayments.xml" hash="3d30f68b24829494a2a66164eba0e5f7"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Creativestyle_AmazonPayments.csv" hash="0c68d642f35c5fd83725e642de95e5aa"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="1cf388c6d45738c2e70c26859e1b058f"/></dir></dir></dir><dir name="en_GB"><file name="Creativestyle_AmazonPayments.csv" hash="bb1ef61a6869894320e9510972a5c738"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="1a933579acb1fbb3d78ae47ca990521b"/></dir></dir></dir><dir name="en_US"><file name="Creativestyle_AmazonPayments.csv" hash="d2807fda0b3936b0ea1b2fca211b6e13"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="ad694ba24051f779698d483bc32d9b75"/></dir></dir></dir><dir name="es_ES"><file name="Creativestyle_AmazonPayments.csv" hash="fe03d17ec2628684172104e19968bddc"/></dir><dir name="fr_FR"><file name="Creativestyle_AmazonPayments.csv" hash="95393fb8b3f77b8f7e378cd137022b2c"/></dir><dir name="it_IT"><file name="Creativestyle_AmazonPayments.csv" hash="a2475fb2b804f214c4aa41d1b4e217b6"/></dir></target><target name="mage"><dir name="js"><dir name="creativestyle"><file name="apa_checkout.js" hash="c5a1febd0905c3c99934cb054bdf558e"/><file name="apa_checkout.min.js" hash="5f9843b9c8bcc26c5011322654f1d438"/><file name="apa_sandbox_toolbox.min.js" hash="a8ece5772d3c64147e01d5e9e686ab13"/><dir name="vendors"><file name="prism.js" hash="c700de3d980f7ef1e056dc5400acfd44"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="creativestyle"><dir name="css"><file name="amazonpayments.css" hash="db97912a183d743b89a5bdfc16a66e71"/><file name="amazonpayments-highlight.css" hash="f6daf03c989ac56ad436300b5520f0df"/></dir><dir name="images"><file name="amazon-payments-advanced-creativestyle-header-logo.png" hash="8591e03aeaa7cbc71a509443de35bfce"/><file name="amazon-payments-advanced-creativestyle-header-logo-white.png" hash="9552112bc27581249cb8e8de1bb91887"/><file name="amazon-payments-advanced-creativestyle-logo.png" hash="abc54550ae7d7a3e5c8a5cd0896d310d"/><file name="amazon-payments-advanced-header.png" hash="60f587870fbdb1242368c8c3b553bd8c"/><file name="amazon-payments-advanced-section.png" hash="8bc620f345eb46c920c51875d4cfad7c"/><file name="logo_a-glyph_16.png" hash="44a3f5f0013cab34d26653eb48b989fc"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="creativestyle"><dir name="css"><file name="amazonpayments.css" hash="ddb0874cb9525e573679cc6a5e8f375e"/><file name="amazonpayments-responsive-widgets.css" hash="ffca5cdc8a4e0585946c78258044c471"/><file name="amazonpayments-widgets.css" hash="35704192aaeb204e407e8b853c118d16"/></dir><dir name="images"><file name="amazon-loading-large.gif" hash="5f6d83bf2b69ab73c7e48ec9b66d54db"/><file name="logo_a-glyph_1x.png" hash="5d44ca86985afbb2a47b9265053a456e"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="creativestyle"><dir name="css"><file name="amazonpayments-responsive-widgets.css" hash="389d23ee96bb5305f7ba5b616d930846"/><file name="amazonpayments.css" hash="a39d769454a68e24b724b7555f2e7a15"/></dir><dir name="images"><file name="amazon-loading-large.gif" hash="5f6d83bf2b69ab73c7e48ec9b66d54db"/><file name="logo_a-glyph_1x.png" hash="5d44ca86985afbb2a47b9265053a456e"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Creativestyle"><dir name="AmazonPayments"><dir name="Block"><file name="Abstract.php" hash="94b0b434a22a7471e0814de8026b617a"/><dir name="Adminhtml"><file name="CredentialsValidator.php" hash="682221608cba2108da2894db7f6b22ea"/><dir name="Debug"><dir name="Section"><file name="Table.php" hash="f6947e99e982164a220e3d82fa0f988f"/></dir><file name="Section.php" hash="a249d2fedeaa5e485e40ffaeeb0335c6"/></dir><file name="Debug.php" hash="51fdd651a5a672c75e645fc5974fae95"/><file name="Info.php" hash="2d014a9ec68fa5da30d649698a45a529"/><file name="IpnUrl.php" hash="f9a516356c4c9b98e02eb3761ad5bf90"/><dir name="Log"><file name="Abstract.php" hash="183114e38269e6ad666840127cfe0311"/><dir name="Api"><file name="Grid.php" hash="1f3ab2ee3c884a080babe33d092c97e4"/><file name="View.php" hash="eb30544643fa9571a454a763111d0113"/></dir><file name="Api.php" hash="5ea0736c83de5feb01df0a3ec4db4d80"/><dir name="Exception"><file name="Grid.php" hash="e12982b34793ad34c3eb0b24bac9dc1d"/><file name="View.php" hash="cae17d2a2d5716e8dde1c6662397131e"/></dir><file name="Exception.php" hash="c35dafcaf89ca709394341394862f4cf"/><dir name="Grid"><file name="Abstract.php" hash="11ccd78d87834bd73398358f190ef9bd"/></dir><dir name="Ipn"><file name="Grid.php" hash="8efa9f6b1adcac9a3562979ac97bc0c5"/><file name="View.php" hash="6ab63414642658e95258a73a143e6955"/></dir><file name="Ipn.php" hash="a2225b081ccb354bfe94b4a646b0d521"/><dir name="View"><file name="Abstract.php" hash="1b9423b817bc1c0765601d73b78d0d8e"/></dir></dir><dir name="Renderer"><file name="Timestamp.php" hash="190325613c20e2cf97adc28950658e99"/></dir><dir name="Sales"><file name="Order.php" hash="45a5ee919501a2bf26160d38dafccd44"/></dir><file name="SellerCentral.php" hash="ff2b0b8888f3c182f886a93e3434c1a9"/></dir><dir name="Button"><file name="Js.php" hash="6081c66a769b6db8a7f607e6f60365af"/></dir><dir name="Checkout"><file name="Abstract.php" hash="db5cf0b3d9dd37ad4552987b9df5e09c"/><file name="Js.php" hash="0e5ba9b3f4ae06139a084816c04a05a3"/><file name="Notice.php" hash="3bd2869322fac80a80436f8e2daa8d70"/><file name="SandboxToolbox.php" hash="047b1bfde3f5469195b9a7ccfee3f16d"/></dir><file name="Checkout.php" hash="6620fc17c1c86deac47709664d6a93f7"/><dir name="Js"><file name="Interface.php" hash="11827746ff821b4cbda1ad041e30321e"/></dir><file name="Js.php" hash="8610dddee84cda450c4874e0fd93b5f5"/><dir name="Login"><file name="Abstract.php" hash="d260896597dc717bd82bf2d76374a9e4"/><dir name="Account"><file name="Confirm.php" hash="ae8123a65a717a0046aaf1d9dc21f878"/><file name="Update.php" hash="8fdadae9294b17fbb0989f8d0e2016a4"/></dir><file name="Button.php" hash="bad55de20f480d53a15ddedd551ff6dd"/><file name="Js.php" hash="2d144b27681c48f2adfa8cd0fdd5d31e"/><file name="Redirect.php" hash="8634cf4f6bf792006e4ab7674b758e5c"/></dir><dir name="Onepage"><file name="Button.php" hash="b122db0163e8580f42679f13a3a45726"/></dir><dir name="Pay"><file name="Abstract.php" hash="998a730d1d4cb518c08bff62121166e7"/><file name="Button.php" hash="b76cbc47c91b88ceb9fc1fde609fa2dc"/></dir><dir name="Payment"><file name="Info.php" hash="c6285a5688834b456765317d3471bf2a"/></dir></dir><dir name="Exception"><dir name="InvalidStatus"><file name="Recoverable.php" hash="dc4d8857cf1841bb56f6da11cf92e99e"/></dir><file name="InvalidStatus.php" hash="614d45747601dea035ff2a3faadd7e18"/></dir><file name="Exception.php" hash="ca655a29842b38dd2ebf438208a6c70c"/><dir name="Helper"><file name="Data.php" hash="a0282202539953a047cb17316def6b28"/><file name="Debug.php" hash="3749831ab7f268051fd592277f02bf0c"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="1814fcd0d61599f15d808d9c2990ebe4"/><file name="Advanced.php" hash="0f5a3f480da20a2f8253f9b78c78f9dd"/><file name="Ipn.php" hash="e672342ca8b1f1f7493e42b9656aeabe"/><file name="Login.php" hash="d9297e66749c6930a1010a5babdfde14"/></dir><file name="Checkout.php" hash="e6f41d2e3a36bb1f63ebaed5f3979d5f"/><file name="Config.php" hash="cf3791d3c23ed710baf1a0e6385aaafa"/><dir name="Log"><file name="Collection.php" hash="13d71847c4e164af18636a3fe5bf975b"/></dir><file name="Logger.php" hash="0821a7d8ddeea993fe3ad9495ef6f9d9"/><dir name="Lookup"><file name="Abstract.php" hash="443bbef12f4e7c896e54cf0b7463e04e"/><file name="Authentication.php" hash="af62e3961a5b00319aa32487c6cc20d6"/><file name="AuthorizationMode.php" hash="b26806dc71de6b55bc37b20a1b804364"/><dir name="Design"><dir name="Button"><dir name="Color"><file name="LoginPay.php" hash="e9a469e82c7805782cf7694c4d50af7a"/></dir><file name="Color.php" hash="81a33471dfefb27897f7b1ff19749671"/><dir name="Size"><file name="LoginPay.php" hash="6cdf3d3633617994783a38f30add86fe"/></dir><file name="Size.php" hash="7c73a97a0fa3f4c6a73b838c0594ad5c"/><dir name="Type"><file name="Login.php" hash="44e852189b0305bbe4cc38848316d4e6"/><file name="Pay.php" hash="5e6f65d1e355ed265787b28b12c6e7a6"/></dir></dir></dir><file name="Frequency.php" hash="5115fb39b48781e5e97f9b62414a72cc"/><file name="IpnActive.php" hash="b73000f5bfc1e26b80911e125e9eec46"/><file name="Language.php" hash="6091a70bddec2c2a4812fff3e8cd09ca"/><file name="PaymentAction.php" hash="6d0c15996ec3caf112d88e07ea703bb4"/><file name="Region.php" hash="8f5cc8ab970aa165e16085368b320f89"/></dir><file name="Observer.php" hash="9fd94cbfd12dd7dd0a9cf084547bbb2e"/><dir name="Payment"><file name="Abstract.php" hash="3622ef8afb2d00458c9e32fe91af3392"/><dir name="Advanced"><file name="Sandbox.php" hash="10e80bd587f2d27fc97bb6e595936b82"/></dir><file name="Advanced.php" hash="15c5dde1d3a82a9bdf01e1681c47ec3b"/></dir><dir name="Processor"><file name="Ipn.php" hash="515c793d4bfd1cf2ce5c2bcc4e52a0a0"/><file name="Order.php" hash="bea0a609138e58614fe8fdb11426bf40"/><file name="Payment.php" hash="5e3493b085ee26031943cd13cbdad63f"/><file name="TransactionAdapter.php" hash="6135f64158d79eea5d3a5f39d3b5762b"/></dir><dir name="Service"><file name="Login.php" hash="33f6058caab9bd4791b954d0c19c0b10"/><file name="Quote.php" hash="d566370281e690ca31f3ddd47c21ef1d"/></dir><file name="Simulator.php" hash="553bb0c0ca3c74202083b366f4c33e9a"/><dir name="System"><dir name="Config"><dir name="Backend"><dir name="DataPolling"><file name="Cron.php" hash="c3d3009775702bee14da3695f0d41f68"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Amazonpayments"><file name="DebugController.php" hash="24744390b526b5f06785124bdcbd76e9"/><dir name="Log"><file name="ApiController.php" hash="3a1554fc86acfa1f4eec012fc16e6953"/><file name="ExceptionController.php" hash="cd98156b5b9e875f2ceb67f6b0769655"/><file name="IpnController.php" hash="21dc827d4d89a0fdae12c985ba296c1d"/></dir><file name="OrderController.php" hash="83ffbf0de858765c0c9c7c594e9b2b66"/><file name="SystemController.php" hash="d40c6131cf7d1fde4692665bc6a5dc1c"/></dir></dir><dir name="Advanced"><file name="CheckoutController.php" hash="225fcb638688f438ae44e389825fa761"/><file name="IpnController.php" hash="78277323844f97a30b6531aa331eef86"/><file name="LoginController.php" hash="2d6d0d201c1ff4bcdeb9a1c19372a888"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="178d013c12c7fabbce36290d68558c8d"/><file name="config.xml" hash="75887a65ba3912101131695a87f9aa2c"/><file name="system.xml" hash="0ea811f59acba8ac5145a6e197998423"/></dir><dir name="sql"><dir name="amazonpayments_setup"><file name="mysql4-install-1.0.0.php" hash="d4681b9a39905cc9e9dcc660688dea85"/><file name="mysql4-install-1.6.2.php" hash="6bb2b8656a3c6b2b517b88ca98ff84de"/><file name="mysql4-upgrade-1.1.6-1.2.0.php" hash="27f8e108bac4268d3c17e812b413dbbc"/><file name="mysql4-upgrade-1.7.4-1.7.6.php" hash="cbe499399eac3dcf607dd42e9be239a1"/></dir></dir></dir></dir></target><target name="magelib"><dir name="OffAmazonPayments"><dir name="HttpRequest"><file name="HttpException.php" hash="d2feba35467baa6ff61503bb15d5f016"/><file name="IHttpRequest.php" hash="7c7d44deffb15b2db161d8dfc585c4d2"/><file name="IHttpRequestFactory.php" hash="02c9cfe067cd0ae40f14704d58fa2098"/><dir name="Impl"><file name="HttpRequestCurlImpl.php" hash="815a03cc4b5fc1222e0bc9b9f85f3428"/><file name="HttpRequestFactoryCurlImpl.php" hash="09140d0c9518e0e7c1bffb8bd0c98310"/></dir></dir><file name="Model.php" hash="778dfe809587f010352d9ccd2bed8106"/><file name="OffAmazonPaymentsServiceUtils.php" hash="827a9e9f2b04652736406b1cd9672a2c"/></dir><dir name="OffAmazonPaymentsNotifications"><file name="Client.php" hash="a8bfa462188eb5193985e984ff503b04"/><dir name="Impl"><file name="Certificate.php" hash="33aec53879fff368b0f6f52ce7f79f13"/><file name="IpnNotificationParser.php" hash="3f4e203c89d23c2971214a7e0713f6a9"/><file name="Message.php" hash="6cffc2f4b4c09a8411572cdb7ddcc83a"/><file name="OpenSslVerifySignature.php" hash="621bb7e9660d079f53b6ac567fd361e7"/><file name="SnsMessageParser.php" hash="c6d1b0bfa852441b4ddfdc25cf624c9d"/><file name="SnsMessageValidator.php" hash="7291f2b91f0dc9ace62752c37b69d15f"/><file name="VerifySignature.php" hash="b7c3089f35fba596e16f6f39f7029908"/><file name="XmlNotificationParser.php" hash="a6b6ff48de5cee20db383a2a6c953092"/></dir><file name="Interface.php" hash="3930f956058657059e2ea705fc43333d"/><file name="InvalidCertificateException.php" hash="4711c0ea7b574a8ab3fb04623b2f7453"/><file name="InvalidMessageException.php" hash="c9608c6ecfafeae2db9db9e8786f2a15"/><dir name="Model"><file name="AuthorizationDetails.php" hash="c5e85494dd4b21c49c1d786bf38879da"/><file name="AuthorizationNotification.php" hash="490fd1da11270f9af20a6ca0d87b8149"/><file name="BillingAgreement.php" hash="00f24d00547ddb3320a20f77132feb0e"/><file name="BillingAgreementLimits.php" hash="e972154534547bde777133c2de1e835f"/><file name="BillingAgreementNotification.php" hash="c5ee60508326e840ce02765b175897aa"/><file name="BillingAgreementStatus.php" hash="68da18941f6cc8b17a9157c83e550c0c"/><file name="CaptureDetails.php" hash="f8702f3d5d5afd595814182f847367c5"/><file name="CaptureNotification.php" hash="8d4da47b23888f3cfd94fe9d217c46da"/><file name="IdList.php" hash="4d77007c611ba2a990179ecf506d4ac7"/><file name="IpnNotificationMetadata.php" hash="802e724b1cc35eae31e4aa9288446b8f"/><file name="MerchantRegistrationDetails.php" hash="d4de7689d8e216567abd710dde7ef4ed"/><file name="NotificationImpl.php" hash="17205cb366af769c0563d80ee82de067"/><file name="NotificationMetadataImpl.php" hash="27bdabd2ae04ab753e60b0ab3042859c"/><file name="OrderItemCategories.php" hash="ac5edd66a87e28f1e0a4be758e3d7b8c"/><file name="OrderReference.php" hash="3ff8f8729cc3e398823061b73d8d2789"/><file name="OrderReferenceNotification.php" hash="4b6a0e68f77ff7b710fe00916d5b0546"/><file name="OrderReferenceStatus.php" hash="e09fc390fb5c21afd4764c41dd7418c0"/><file name="OrderTotal.php" hash="ce3157db8b593588c9405030968176a5"/><file name="Price.php" hash="cff064218bbb2d56f463ab489dc907cd"/><file name="ProviderCreditDetails.php" hash="d355185842eb0816de151fb535b14edc"/><file name="ProviderCreditNotification.php" hash="7ddc5d80dee797893171237ecabf10e2"/><file name="ProviderCreditReversalDetails.php" hash="a789bbf3c7074bc800053967e64286c7"/><file name="ProviderCreditReversalNotification.php" hash="56479587ee330013bdffe17719d0edec"/><file name="ProviderCreditReversalSummary.php" hash="577971d363b95fd7a73e8cd4995a240c"/><file name="ProviderCreditReversalSummaryList.php" hash="05ae0f9769e4c46e5c3ba3f9907ae576"/><file name="ProviderCreditSummary.php" hash="4403e12b73867b58021655df3fcf6720"/><file name="ProviderCreditSummaryList.php" hash="667167ed6a427d71086aa4ef8dabc5f5"/><file name="RefundDetails.php" hash="ae08c0447ec12996a465772d55f2c28f"/><file name="RefundNotification.php" hash="fb29285214205fd09c4f9ac7964c1a07"/><file name="SellerBillingAgreementAttributes.php" hash="691b120995ac30f3f542c3ec9cd6c0d6"/><file name="SellerOrderAttributes.php" hash="896cf700231529f39e903d4614579a85"/><file name="SnsNotificationMetadata.php" hash="df453726f714f7ea50cc04b6093123eb"/><file name="SolutionProviderMerchantNotification.php" hash="77e4152a922f1a26582e46546387943d"/><file name="SolutionProviderOption.php" hash="df8fbbb1ad2fef1796e3b42a9a417a64"/><file name="SolutionProviderOptions.php" hash="624d2f4efd3a32eab8baf8628efda4ef"/><file name="Status.php" hash="8726fde00e0f97595115866c1a8000dd"/></dir><file name="Notification.php" hash="562b2a4eb6e292b6df4db3112391ab55"/><file name="NotificationMetadata.php" hash="07f94bf3a41ed0c72f387e900260c48a"/></dir><dir name="OffAmazonPaymentsService"><file name="Client.php" hash="26dd6a2d2c407427c5ea0933e2159351"/><file name="Environments.php" hash="1a9ff744e131c19f5bd0d58c5aa578ab"/><file name="Exception.php" hash="eee23053020a397cf082a28f41001284"/><file name="Interface.php" hash="b681a546f2a5e3690e5e04f9c75ca8a5"/><file name="MerchantValues.php" hash="2cca67c2b1b0557e5a63d4ef35950172"/><file name="MerchantValuesBuilder.php" hash="a6328566f8f5ee48a8b054d8f02897e1"/><dir name="Model"><file name="Address.php" hash="6840237ae7035912f95020ff6d580033"/><file name="AuthorizationDetails.php" hash="159edfb213e12b7ecb847c103c70c5de"/><file name="AuthorizeOnBillingAgreementRequest.php" hash="8b0e8d6ffa94b1f18546b7554ec042ed"/><file name="AuthorizeOnBillingAgreementResponse.php" hash="8770715da01743adeafc25d54bb0c1d9"/><file name="AuthorizeOnBillingAgreementResult.php" hash="a73c77f8fce673257e2dca072ad6fab6"/><file name="AuthorizeRequest.php" hash="08bdab4fe2896f4a2b808c6e8abfeeba"/><file name="AuthorizeResponse.php" hash="0ae054040c36e7362683146b537f551b"/><file name="AuthorizeResult.php" hash="e7dfd388200467e736ff3b7d11c8d2bf"/><file name="BillingAddress.php" hash="93f82f074b62e8b1abf25ae8ae44b676"/><file name="BillingAgreementAttributes.php" hash="e52a2c92f92f7081ac742e24f70385df"/><file name="BillingAgreementDetails.php" hash="359f9bd686d21242f2e27feb8b3379b2"/><file name="BillingAgreementLimits.php" hash="66f84e67052b91092867496d11a28763"/><file name="BillingAgreementStatus.php" hash="adcf9379fb2f6fa88a1d8e230d8cf101"/><file name="Buyer.php" hash="cb691abf757d54025ac43964849dd5fd"/><file name="CancelOrderReferenceRequest.php" hash="ef06ecd8f05a4c032aa28f5b5a132d05"/><file name="CancelOrderReferenceResponse.php" hash="004c4e3a21ea1dc8e11bbba3d733b3ca"/><file name="CancelOrderReferenceResult.php" hash="74b7ad1facdf31263e9bb55544303180"/><file name="CaptureDetails.php" hash="4f360221d888d50d92e7f2ea20b5b54f"/><file name="CaptureRequest.php" hash="5b976a76214f870964d49cf104a50b30"/><file name="CaptureResponse.php" hash="7ece74f93f362d31bc16f9fb7bf2b270"/><file name="CaptureResult.php" hash="e0fccf0fe27efd36d822ddcdaefe97ac"/><file name="CloseAuthorizationRequest.php" hash="cb0e2113e9e36b7b133b539e5ff99c50"/><file name="CloseAuthorizationResponse.php" hash="99be7612c9effdac53fb0bc225a13eb1"/><file name="CloseAuthorizationResult.php" hash="6d77eea8924d2ef6a3acd0dabb3f9f76"/><file name="CloseBillingAgreementRequest.php" hash="89f82b30dd0902faa6feb3a57dfe24cb"/><file name="CloseBillingAgreementResponse.php" hash="1bda191dc9a8b2b1a14b6e11772f05cf"/><file name="CloseBillingAgreementResult.php" hash="f926f5d65d95323647129605a26037ae"/><file name="CloseOrderReferenceRequest.php" hash="b8b592bdc71a4046efead52196f8073c"/><file name="CloseOrderReferenceResponse.php" hash="137da00395052b25099de3a0d152887d"/><file name="CloseOrderReferenceResult.php" hash="81e21f75ae477f07a9b913e1ac2bd89d"/><file name="ConfirmBillingAgreementRequest.php" hash="ab524aa1cc6e51a8b483e4f96b7e1e02"/><file name="ConfirmBillingAgreementResponse.php" hash="0639de39ba58e6c2b806a84b43dc31d3"/><file name="ConfirmBillingAgreementResult.php" hash="42456915a3efa4ccd774a1d5d3a05307"/><file name="ConfirmOrderReferenceRequest.php" hash="632a4b8414aac550fc0ec59a83737be7"/><file name="ConfirmOrderReferenceResponse.php" hash="fb0c329ffa1a54e4c15c531b58561f6f"/><file name="Constraint.php" hash="e46dc3d18486b6639ea5b8f52a92cfdc"/><file name="Constraints.php" hash="cb983d71bda42bdda767ffc9f4feeafc"/><file name="CreateOrderReferenceForIdRequest.php" hash="b1f4e96f1392c427228f5799edc5dc64"/><file name="CreateOrderReferenceForIdResponse.php" hash="630cb4812997fa7c067f393dfb5e2f48"/><file name="CreateOrderReferenceForIdResult.php" hash="4abf7af5eb56058c17996406a877f427"/><file name="Destination.php" hash="737777909588915788398ab86f0de1de"/><file name="Error.php" hash="bb8b6bb6d3c778fc4e1d0a346b5fa03a"/><file name="ErrorResponse.php" hash="8804c6f39d9a0bdcbd76260eba9d261d"/><file name="GetAuthorizationDetailsRequest.php" hash="67d5a478c01fbbfba420dff3cf2098dc"/><file name="GetAuthorizationDetailsResponse.php" hash="0c9fe935bcb953cc9cd9e11bab32b5b2"/><file name="GetAuthorizationDetailsResult.php" hash="02ac4fa6533ccfd705c543160165c31d"/><file name="GetBillingAgreementDetailsRequest.php" hash="761cbdc44a4ac1e28b22d01f7a484b76"/><file name="GetBillingAgreementDetailsResponse.php" hash="061084469683253d1d76d5c881e5062d"/><file name="GetBillingAgreementDetailsResult.php" hash="5a585ad373b11b806ba320bcd988f71b"/><file name="GetCaptureDetailsRequest.php" hash="69252be80c32d911f2ff664904375e7d"/><file name="GetCaptureDetailsResponse.php" hash="5323ed86174064bb1122187457440861"/><file name="GetCaptureDetailsResult.php" hash="962ef27de2778c9ccde55d848b8fa649"/><file name="GetOrderReferenceDetailsRequest.php" hash="edfea06a629f298ab134229d35fef319"/><file name="GetOrderReferenceDetailsResponse.php" hash="4955733fe736a9f51e0bd6823b8bf74b"/><file name="GetOrderReferenceDetailsResult.php" hash="f9ee3738bddff51c6bd545028d275348"/><file name="GetProviderCreditDetailsRequest.php" hash="e51201c7d39935c4fa8da96e822b7075"/><file name="GetProviderCreditDetailsResponse.php" hash="e312b54192343e16230b7436b101766a"/><file name="GetProviderCreditDetailsResult.php" hash="9f0af601e8a716e4e5af3802d8952fe4"/><file name="GetProviderCreditReversalDetailsRequest.php" hash="cf74576ef8dc02e34244aca962d854b3"/><file name="GetProviderCreditReversalDetailsResponse.php" hash="a869c2695416514834c83890d3b080f9"/><file name="GetProviderCreditReversalDetailsResult.php" hash="33f1980d1632034eee8396c6286b5320"/><file name="GetRefundDetailsRequest.php" hash="7ab0f7d756a59a284ffd0ffc361fee42"/><file name="GetRefundDetailsResponse.php" hash="4847a7513f69d3f81c306d26ad7c5291"/><file name="GetRefundDetailsResult.php" hash="0c24e3c8e95f4ee10f5c4e9dd07518bf"/><file name="IdList.php" hash="25fd15394669b4721bdd0e4d367d534f"/><file name="OrderItemCategories.php" hash="995db32a92601555ee9a7550d1daae7e"/><file name="OrderReferenceAttributes.php" hash="78e1735d8fc99c5676d894564d6b88c7"/><file name="OrderReferenceDetails.php" hash="4e9365808e09fe1b1407348c9d05ca41"/><file name="OrderReferenceStatus.php" hash="5c21e44d991a24ab2527e491c435d54c"/><file name="OrderTotal.php" hash="2ff8e8ccc9c7266d72f534485ccd01bf"/><file name="ParentDetails.php" hash="99f7062b4764166637dfc44b4fe4788c"/><file name="Price.php" hash="4ac8de3791146a17a237a914c9f762a6"/><file name="ProviderCredit.php" hash="8f2f21ac5c0dba73e64a35cc7a61fbbe"/><file name="ProviderCreditDetails.php" hash="d9057efbe528a1571eda4252b8ad1813"/><file name="ProviderCreditList.php" hash="4a3eeae90b5a1ed09a528f5254b968a5"/><file name="ProviderCreditReversal.php" hash="07c1d7959a7cfb94164846c276b43ce7"/><file name="ProviderCreditReversalDetails.php" hash="ebfbf919b4a399213c7e312e59873e43"/><file name="ProviderCreditReversalList.php" hash="8eb64497a6a233535c8b0ca55591d06b"/><file name="ProviderCreditReversalSummary.php" hash="7646c582ea5fb3a46dcb09637f7daf01"/><file name="ProviderCreditReversalSummaryList.php" hash="cae281ddee9f766d1d5bf350e238037a"/><file name="ProviderCreditSummary.php" hash="69bc18eefe644e6b851a6daf7e6dfa8a"/><file name="ProviderCreditSummaryList.php" hash="751812d8903ba883036d1bc381c37667"/><file name="RefundDetails.php" hash="b53e480fe8e8e5d96a4b6a0df431e5ac"/><file name="RefundRequest.php" hash="665585551aba39532fe3352abb4859b3"/><file name="RefundResponse.php" hash="fadbc4ad5313395a48e38b1c0502c85a"/><file name="RefundResult.php" hash="9ddad34dd53edfd156651b021bc5137a"/><file name="ResponseHeaderMetadata.php" hash="382fe7bd666eea293b729c5d6c79348f"/><file name="ResponseMetadata.php" hash="073748a20ecd8bddc240dd4c0a4a56b9"/><file name="ReverseProviderCreditRequest.php" hash="802a3709149add8fa192ce389b93c2ea"/><file name="ReverseProviderCreditResponse.php" hash="ff702a7def546f0c6216094f93095bd7"/><file name="ReverseProviderCreditResult.php" hash="84f3e78e1b8b1b47e6f8b92abee7704b"/><file name="SellerBillingAgreementAttributes.php" hash="308899b9e48a95f0b5d48d74a510c915"/><file name="SellerOrderAttributes.php" hash="35b62fe0e130207dfaa2caefa1dfe7ba"/><file name="SetBillingAgreementDetailsRequest.php" hash="347a6c85c5cc8394255efcb9c4b57d52"/><file name="SetBillingAgreementDetailsResponse.php" hash="92299b3338dc7435149f17d8126f7518"/><file name="SetBillingAgreementDetailsResult.php" hash="7cb3e84e58fe2bbf163f8ac34de5eccf"/><file name="SetOrderReferenceDetailsRequest.php" hash="4cf2605f5188116a1526d463638aa768"/><file name="SetOrderReferenceDetailsResponse.php" hash="41720bdf965dcd759cc3278e01610530"/><file name="SetOrderReferenceDetailsResult.php" hash="4281a97da7865e47157c1d22c2094bfd"/><file name="Status.php" hash="28bd007e6c9747417a063e9941cc0dba"/><file name="ValidateBillingAgreementRequest.php" hash="d77beda441fd1688903e96a02fa4e643"/><file name="ValidateBillingAgreementResponse.php" hash="89658fd2a78d7dbb2997dae6ba169f7e"/><file name="ValidateBillingAgreementResult.php" hash="b9244d0496b0bbcfbf7628c775c17ca3"/></dir><file name="Model.php" hash="fafcb3a4318eb7bd9be5b69225187352"/><file name="RegionSpecificProperties.php" hash="f4e77cc63766b42fbef6ef1e07ec4402"/><file name="Regions.php" hash="4676d77db7dde345118e2a6fc021ce3f"/></dir></target></contents>
27
  <compatible/>
28
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
29
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Creativestyle_AmazonPayments</name>
4
+ <version>1.7.8</version>
5
  <stability>stable</stability>
6
  <license>Creative Commons Attribution-NoDerivatives 4.0 International</license>
7
  <channel>community</channel>
9
  <summary>Integration of your Magento shop with Login and Pay with Amazon service</summary>
10
  <description>This extension provides an official integration of your Magento store with Login and Pay with Amazon service. It helps your customers shop quickly, safely and securely. Your customers can pay on your website without re-entering their payment and address details. All Amazon transactions are protected by Amazon's A-to-z Guarantee.</description>
11
  <notes># Improvements
12
+ - Implemented simplified partial capture
13
+ # Changes
14
+ - Updated Amazon Payments SDK library
 
 
15
  # Fixes
16
+ - Added missing declined payment email templates for FR, IT and ES
17
+ - Fixed several issues for hard declined authorizations in synchronous mode
 
 
18
  </notes>
19
  <authors><author><name>creativestyle GmbH</name><user>creativestyle</user><email>amazon@creativestyle.de</email></author></authors>
20
+ <date>2016-03-24</date>
21
+ <time>13:09:06</time>
22
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="55ea010e1f14bcba0766e6a7c5a2f2e1"/></dir><dir name="template"><dir name="creativestyle"><dir name="amazonpayments"><dir name="advanced"><file name="documentation.phtml" hash="af3ae6ebce4712dd8fb972bef508ca55"/><dir name="log"><dir name="api"><file name="view.phtml" hash="2c2fcd6122b4481ad2cf8b7657f3f187"/></dir><dir name="exception"><file name="view.phtml" hash="c5d01f6de86e47d4da5dfabd60b1b382"/></dir><file name="js.phtml" hash="eb1d2098440a0bac2a6f5b959afa3693"/><dir name="notification"><file name="view.phtml" hash="31d893106f7c7c7f94f05d5cafa36440"/></dir></dir></dir><dir name="debug"><dir name="section"><file name="table.phtml" hash="f4bb8e35b3608cf0639407a3461c3717"/></dir><file name="section.phtml" hash="1472da0e9f07b5583a02e327483d4d75"/></dir><file name="debug.phtml" hash="9748d4fe92986f36ad47ae5b61fc4883"/><file name="info.phtml" hash="aceecad9cb8e2f105c20f07c5137498e"/><file name="init.phtml" hash="ba9d53045077e63b4e6c25c6b7bb685c"/><dir name="payment"><file name="info.phtml" hash="1604a1ca8c640748023859dee07f1182"/><dir name="pdf"><file name="info.phtml" hash="1fb213f3fcc3aeecaa6305c07cff3b73"/></dir></dir><file name="seller_central.phtml" hash="7c3ea854f8cdc4c6e095ee1f7684fb95"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="bcbcd2f41ce44082d3cbccbe18c2a3c1"/></dir><dir name="template"><dir name="creativestyle"><dir name="amazonpayments"><dir name="button"><file name="js.phtml" hash="3142375878bb43893393ee3499ad9804"/></dir><dir name="checkout"><file name="capture_notice.phtml" hash="f9c75cd05a596d0a16c55f0169b4ee6c"/><file name="js.phtml" hash="e0f950d4b6c1bd8cf790c90527b51109"/><dir name="review"><file name="button.phtml" hash="5fa9b038cc1e91a8203b163411b8bf20"/></dir><file name="sandbox_toolbox.phtml" hash="b1a346f095d83223914e65024f56d19f"/><file name="shipping_method.phtml" hash="852008f89fc32c7af6c250cafdde5f51"/></dir><file name="checkout.phtml" hash="6873b347a7e10b3b5c35fda1b48345b1"/><file name="js.phtml" hash="13581f0bcdf7c39da46be530892e8183"/><dir name="login"><dir name="button"><file name="account_login.phtml" hash="0ce9b9d891af3f6c5b1c83a17d311e6b"/></dir><file name="button.phtml" hash="b5d66280337ecc895ae9a2bc48c469e4"/><dir name="form"><file name="account_confirm.phtml" hash="cff4c9f656b2e790bd65723d4e2042b9"/><file name="account_update.phtml" hash="64fdc50df3b3c49384d5d50a1da82d4d"/></dir><file name="js.phtml" hash="9d542e726fe51739b72fc2e509edadd8"/><file name="logout.phtml" hash="e8b6f4d39047903e4ee8d481ba59543b"/><file name="redirect.phtml" hash="8d395ab25504c0cdb928cf93e684b868"/></dir><dir name="onepage"><file name="button.phtml" hash="e37fe0d557754758389350dc5e5c49ba"/></dir><dir name="pay"><file name="button.phtml" hash="dfcccab45794c81d2d3ca52f709019d4"/></dir><dir name="payment"><file name="info.phtml" hash="3631896707e596d9675f526a7d021617"/><dir name="pdf"><file name="info.phtml" hash="69549bf3340c19d62f42a556f13e8a1e"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Creativestyle_AmazonPayments.xml" hash="3d30f68b24829494a2a66164eba0e5f7"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Creativestyle_AmazonPayments.csv" hash="0c68d642f35c5fd83725e642de95e5aa"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="863d241bc23599124715c1e797a3cae6"/></dir></dir></dir><dir name="en_GB"><file name="Creativestyle_AmazonPayments.csv" hash="bb1ef61a6869894320e9510972a5c738"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="f858886b12b6f3e16cab85f5ce57b975"/></dir></dir></dir><dir name="en_US"><file name="Creativestyle_AmazonPayments.csv" hash="d2807fda0b3936b0ea1b2fca211b6e13"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="702e0a9ada30a5bb5776b28fe63eda93"/></dir></dir></dir><dir name="es_ES"><file name="Creativestyle_AmazonPayments.csv" hash="fe03d17ec2628684172104e19968bddc"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="e1705a091d04cd4da4d0b0cc49bd283f"/></dir></dir></dir><dir name="fr_FR"><file name="Creativestyle_AmazonPayments.csv" hash="95393fb8b3f77b8f7e378cd137022b2c"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="e593f24125ecb3ffacbe467d8f39f2de"/></dir></dir></dir><dir name="it_IT"><file name="Creativestyle_AmazonPayments.csv" hash="a2475fb2b804f214c4aa41d1b4e217b6"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="5c3857cb5465c91415940689eec8dc75"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="creativestyle"><file name="apa_checkout.js" hash="10ccef34a5092be1acf9e001516e6dc2"/><file name="apa_checkout.min.js" hash="d3cc63c4185ad964c3440af73bbb2157"/><file name="apa_sandbox_toolbox.min.js" hash="caaeb27b79fb6a26561d5e4bd6a4d851"/><dir name="vendors"><file name="prism.js" hash="c700de3d980f7ef1e056dc5400acfd44"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="creativestyle"><dir name="css"><file name="amazonpayments.css" hash="db97912a183d743b89a5bdfc16a66e71"/><file name="amazonpayments-highlight.css" hash="f6daf03c989ac56ad436300b5520f0df"/></dir><dir name="images"><file name="amazon-payments-advanced-creativestyle-header-logo.png" hash="8591e03aeaa7cbc71a509443de35bfce"/><file name="amazon-payments-advanced-creativestyle-header-logo-white.png" hash="9552112bc27581249cb8e8de1bb91887"/><file name="amazon-payments-advanced-creativestyle-logo.png" hash="abc54550ae7d7a3e5c8a5cd0896d310d"/><file name="amazon-payments-advanced-header.png" hash="60f587870fbdb1242368c8c3b553bd8c"/><file name="amazon-payments-advanced-section.png" hash="8bc620f345eb46c920c51875d4cfad7c"/><file name="logo_a-glyph_16.png" hash="44a3f5f0013cab34d26653eb48b989fc"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="creativestyle"><dir name="css"><file name="amazonpayments.css" hash="ddb0874cb9525e573679cc6a5e8f375e"/><file name="amazonpayments-responsive-widgets.css" hash="ffca5cdc8a4e0585946c78258044c471"/><file name="amazonpayments-widgets.css" hash="35704192aaeb204e407e8b853c118d16"/></dir><dir name="images"><file name="amazon-loading-large.gif" hash="5f6d83bf2b69ab73c7e48ec9b66d54db"/><file name="logo_a-glyph_1x.png" hash="5d44ca86985afbb2a47b9265053a456e"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="creativestyle"><dir name="css"><file name="amazonpayments-responsive-widgets.css" hash="389d23ee96bb5305f7ba5b616d930846"/><file name="amazonpayments.css" hash="a39d769454a68e24b724b7555f2e7a15"/></dir><dir name="images"><file name="amazon-loading-large.gif" hash="5f6d83bf2b69ab73c7e48ec9b66d54db"/><file name="logo_a-glyph_1x.png" hash="5d44ca86985afbb2a47b9265053a456e"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Creativestyle"><dir name="AmazonPayments"><dir name="Block"><file name="Abstract.php" hash="94b0b434a22a7471e0814de8026b617a"/><dir name="Adminhtml"><file name="CredentialsValidator.php" hash="682221608cba2108da2894db7f6b22ea"/><dir name="Debug"><dir name="Section"><file name="Table.php" hash="f6947e99e982164a220e3d82fa0f988f"/></dir><file name="Section.php" hash="a249d2fedeaa5e485e40ffaeeb0335c6"/></dir><file name="Debug.php" hash="51fdd651a5a672c75e645fc5974fae95"/><file name="Info.php" hash="2d014a9ec68fa5da30d649698a45a529"/><file name="IpnUrl.php" hash="f9a516356c4c9b98e02eb3761ad5bf90"/><dir name="Log"><file name="Abstract.php" hash="183114e38269e6ad666840127cfe0311"/><dir name="Api"><file name="Grid.php" hash="1f3ab2ee3c884a080babe33d092c97e4"/><file name="View.php" hash="eb30544643fa9571a454a763111d0113"/></dir><file name="Api.php" hash="5ea0736c83de5feb01df0a3ec4db4d80"/><dir name="Exception"><file name="Grid.php" hash="e12982b34793ad34c3eb0b24bac9dc1d"/><file name="View.php" hash="cae17d2a2d5716e8dde1c6662397131e"/></dir><file name="Exception.php" hash="c35dafcaf89ca709394341394862f4cf"/><dir name="Grid"><file name="Abstract.php" hash="11ccd78d87834bd73398358f190ef9bd"/></dir><dir name="Ipn"><file name="Grid.php" hash="8efa9f6b1adcac9a3562979ac97bc0c5"/><file name="View.php" hash="6ab63414642658e95258a73a143e6955"/></dir><file name="Ipn.php" hash="a2225b081ccb354bfe94b4a646b0d521"/><dir name="View"><file name="Abstract.php" hash="1b9423b817bc1c0765601d73b78d0d8e"/></dir></dir><dir name="Renderer"><file name="Timestamp.php" hash="190325613c20e2cf97adc28950658e99"/></dir><dir name="Sales"><file name="Order.php" hash="45a5ee919501a2bf26160d38dafccd44"/></dir><file name="SellerCentral.php" hash="ff2b0b8888f3c182f886a93e3434c1a9"/></dir><dir name="Button"><file name="Js.php" hash="6081c66a769b6db8a7f607e6f60365af"/></dir><dir name="Checkout"><file name="Abstract.php" hash="db5cf0b3d9dd37ad4552987b9df5e09c"/><file name="Js.php" hash="0e5ba9b3f4ae06139a084816c04a05a3"/><file name="Notice.php" hash="3bd2869322fac80a80436f8e2daa8d70"/><file name="SandboxToolbox.php" hash="047b1bfde3f5469195b9a7ccfee3f16d"/></dir><file name="Checkout.php" hash="6620fc17c1c86deac47709664d6a93f7"/><dir name="Js"><file name="Interface.php" hash="11827746ff821b4cbda1ad041e30321e"/></dir><file name="Js.php" hash="8610dddee84cda450c4874e0fd93b5f5"/><dir name="Login"><file name="Abstract.php" hash="d260896597dc717bd82bf2d76374a9e4"/><dir name="Account"><file name="Confirm.php" hash="ae8123a65a717a0046aaf1d9dc21f878"/><file name="Update.php" hash="8fdadae9294b17fbb0989f8d0e2016a4"/></dir><file name="Button.php" hash="bad55de20f480d53a15ddedd551ff6dd"/><file name="Js.php" hash="2d144b27681c48f2adfa8cd0fdd5d31e"/><file name="Redirect.php" hash="8634cf4f6bf792006e4ab7674b758e5c"/></dir><dir name="Onepage"><file name="Button.php" hash="b122db0163e8580f42679f13a3a45726"/></dir><dir name="Pay"><file name="Abstract.php" hash="998a730d1d4cb518c08bff62121166e7"/><file name="Button.php" hash="b76cbc47c91b88ceb9fc1fde609fa2dc"/></dir><dir name="Payment"><file name="Info.php" hash="c6285a5688834b456765317d3471bf2a"/></dir></dir><dir name="Exception"><dir name="InvalidStatus"><file name="Recoverable.php" hash="dc4d8857cf1841bb56f6da11cf92e99e"/><file name="Unrecoverable.php" hash="53a377c09d7c41368adf597e0173e513"/></dir><file name="InvalidStatus.php" hash="614d45747601dea035ff2a3faadd7e18"/></dir><file name="Exception.php" hash="ca655a29842b38dd2ebf438208a6c70c"/><dir name="Helper"><file name="Data.php" hash="a0282202539953a047cb17316def6b28"/><file name="Debug.php" hash="3749831ab7f268051fd592277f02bf0c"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="1814fcd0d61599f15d808d9c2990ebe4"/><file name="Advanced.php" hash="0f5a3f480da20a2f8253f9b78c78f9dd"/><file name="Ipn.php" hash="e672342ca8b1f1f7493e42b9656aeabe"/><file name="Login.php" hash="d9297e66749c6930a1010a5babdfde14"/></dir><file name="Checkout.php" hash="e6f41d2e3a36bb1f63ebaed5f3979d5f"/><file name="Config.php" hash="cf3791d3c23ed710baf1a0e6385aaafa"/><dir name="Log"><file name="Collection.php" hash="13d71847c4e164af18636a3fe5bf975b"/></dir><file name="Logger.php" hash="0821a7d8ddeea993fe3ad9495ef6f9d9"/><dir name="Lookup"><file name="Abstract.php" hash="443bbef12f4e7c896e54cf0b7463e04e"/><file name="Authentication.php" hash="af62e3961a5b00319aa32487c6cc20d6"/><file name="AuthorizationMode.php" hash="b26806dc71de6b55bc37b20a1b804364"/><dir name="Design"><dir name="Button"><dir name="Color"><file name="LoginPay.php" hash="e9a469e82c7805782cf7694c4d50af7a"/></dir><file name="Color.php" hash="81a33471dfefb27897f7b1ff19749671"/><dir name="Size"><file name="LoginPay.php" hash="6cdf3d3633617994783a38f30add86fe"/></dir><file name="Size.php" hash="7c73a97a0fa3f4c6a73b838c0594ad5c"/><dir name="Type"><file name="Login.php" hash="44e852189b0305bbe4cc38848316d4e6"/><file name="Pay.php" hash="5e6f65d1e355ed265787b28b12c6e7a6"/></dir></dir></dir><file name="Frequency.php" hash="5115fb39b48781e5e97f9b62414a72cc"/><file name="IpnActive.php" hash="b73000f5bfc1e26b80911e125e9eec46"/><file name="Language.php" hash="6091a70bddec2c2a4812fff3e8cd09ca"/><file name="PaymentAction.php" hash="6d0c15996ec3caf112d88e07ea703bb4"/><file name="Region.php" hash="8f5cc8ab970aa165e16085368b320f89"/></dir><file name="Observer.php" hash="0316aeff3e7c6bb028d35b6b76a6c494"/><dir name="Payment"><file name="Abstract.php" hash="9d89c38fde536aed876878e25c54f933"/><dir name="Advanced"><file name="Sandbox.php" hash="10e80bd587f2d27fc97bb6e595936b82"/></dir><file name="Advanced.php" hash="15c5dde1d3a82a9bdf01e1681c47ec3b"/></dir><dir name="Processor"><file name="Ipn.php" hash="515c793d4bfd1cf2ce5c2bcc4e52a0a0"/><file name="Order.php" hash="bea0a609138e58614fe8fdb11426bf40"/><file name="Payment.php" hash="5e3493b085ee26031943cd13cbdad63f"/><file name="TransactionAdapter.php" hash="2bb936c86a04314b65279cc8b169cb3f"/></dir><dir name="Service"><file name="Login.php" hash="33f6058caab9bd4791b954d0c19c0b10"/><file name="Quote.php" hash="d566370281e690ca31f3ddd47c21ef1d"/></dir><file name="Simulator.php" hash="553bb0c0ca3c74202083b366f4c33e9a"/><dir name="System"><dir name="Config"><dir name="Backend"><dir name="DataPolling"><file name="Cron.php" hash="c3d3009775702bee14da3695f0d41f68"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Amazonpayments"><file name="DebugController.php" hash="24744390b526b5f06785124bdcbd76e9"/><dir name="Log"><file name="ApiController.php" hash="3a1554fc86acfa1f4eec012fc16e6953"/><file name="ExceptionController.php" hash="cd98156b5b9e875f2ceb67f6b0769655"/><file name="IpnController.php" hash="21dc827d4d89a0fdae12c985ba296c1d"/></dir><file name="OrderController.php" hash="83ffbf0de858765c0c9c7c594e9b2b66"/><file name="SystemController.php" hash="d40c6131cf7d1fde4692665bc6a5dc1c"/></dir></dir><dir name="Advanced"><file name="CheckoutController.php" hash="acb6b1300984abcf2d9ec4fcc40ea793"/><file name="IpnController.php" hash="78277323844f97a30b6531aa331eef86"/><file name="LoginController.php" hash="2d6d0d201c1ff4bcdeb9a1c19372a888"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="178d013c12c7fabbce36290d68558c8d"/><file name="config.xml" hash="a8874e412f7e9e1d339c9d92dc67caf4"/><file name="system.xml" hash="0ea811f59acba8ac5145a6e197998423"/></dir><dir name="sql"><dir name="amazonpayments_setup"><file name="mysql4-install-1.0.0.php" hash="d4681b9a39905cc9e9dcc660688dea85"/><file name="mysql4-install-1.6.2.php" hash="6bb2b8656a3c6b2b517b88ca98ff84de"/><file name="mysql4-upgrade-1.1.6-1.2.0.php" hash="27f8e108bac4268d3c17e812b413dbbc"/><file name="mysql4-upgrade-1.7.4-1.7.6.php" hash="cbe499399eac3dcf607dd42e9be239a1"/></dir></dir></dir></dir></target><target name="magelib"><dir name="OffAmazonPayments"><dir name="HttpRequest"><file name="HttpException.php" hash="d2feba35467baa6ff61503bb15d5f016"/><file name="IHttpRequest.php" hash="7c7d44deffb15b2db161d8dfc585c4d2"/><file name="IHttpRequestFactory.php" hash="02c9cfe067cd0ae40f14704d58fa2098"/><dir name="Impl"><file name="HttpRequestCurlImpl.php" hash="815a03cc4b5fc1222e0bc9b9f85f3428"/><file name="HttpRequestFactoryCurlImpl.php" hash="09140d0c9518e0e7c1bffb8bd0c98310"/></dir></dir><file name="Model.php" hash="778dfe809587f010352d9ccd2bed8106"/><file name="OffAmazonPaymentsServiceUtils.php" hash="827a9e9f2b04652736406b1cd9672a2c"/></dir><dir name="OffAmazonPaymentsNotifications"><file name="Client.php" hash="a8bfa462188eb5193985e984ff503b04"/><dir name="Impl"><file name="Certificate.php" hash="33aec53879fff368b0f6f52ce7f79f13"/><file name="IpnNotificationParser.php" hash="3f4e203c89d23c2971214a7e0713f6a9"/><file name="Message.php" hash="6cffc2f4b4c09a8411572cdb7ddcc83a"/><file name="OpenSslVerifySignature.php" hash="45449e157fa55ab5c2c16a9207616357"/><file name="SnsMessageParser.php" hash="c6d1b0bfa852441b4ddfdc25cf624c9d"/><file name="SnsMessageValidator.php" hash="7291f2b91f0dc9ace62752c37b69d15f"/><file name="VerifySignature.php" hash="b7c3089f35fba596e16f6f39f7029908"/><file name="XmlNotificationParser.php" hash="a6b6ff48de5cee20db383a2a6c953092"/></dir><file name="Interface.php" hash="3930f956058657059e2ea705fc43333d"/><file name="InvalidCertificateException.php" hash="4711c0ea7b574a8ab3fb04623b2f7453"/><file name="InvalidMessageException.php" hash="c9608c6ecfafeae2db9db9e8786f2a15"/><dir name="Model"><file name="AuthorizationDetails.php" hash="c5e85494dd4b21c49c1d786bf38879da"/><file name="AuthorizationNotification.php" hash="490fd1da11270f9af20a6ca0d87b8149"/><file name="BillingAgreement.php" hash="00f24d00547ddb3320a20f77132feb0e"/><file name="BillingAgreementLimits.php" hash="e972154534547bde777133c2de1e835f"/><file name="BillingAgreementNotification.php" hash="c5ee60508326e840ce02765b175897aa"/><file name="BillingAgreementStatus.php" hash="68da18941f6cc8b17a9157c83e550c0c"/><file name="CaptureDetails.php" hash="f8702f3d5d5afd595814182f847367c5"/><file name="CaptureNotification.php" hash="8d4da47b23888f3cfd94fe9d217c46da"/><file name="IdList.php" hash="4d77007c611ba2a990179ecf506d4ac7"/><file name="IpnNotificationMetadata.php" hash="802e724b1cc35eae31e4aa9288446b8f"/><file name="MerchantRegistrationDetails.php" hash="d4de7689d8e216567abd710dde7ef4ed"/><file name="NotificationImpl.php" hash="17205cb366af769c0563d80ee82de067"/><file name="NotificationMetadataImpl.php" hash="27bdabd2ae04ab753e60b0ab3042859c"/><file name="OrderItemCategories.php" hash="ac5edd66a87e28f1e0a4be758e3d7b8c"/><file name="OrderReference.php" hash="3ff8f8729cc3e398823061b73d8d2789"/><file name="OrderReferenceNotification.php" hash="4b6a0e68f77ff7b710fe00916d5b0546"/><file name="OrderReferenceStatus.php" hash="e09fc390fb5c21afd4764c41dd7418c0"/><file name="OrderTotal.php" hash="ce3157db8b593588c9405030968176a5"/><file name="Price.php" hash="cff064218bbb2d56f463ab489dc907cd"/><file name="ProviderCreditDetails.php" hash="d355185842eb0816de151fb535b14edc"/><file name="ProviderCreditNotification.php" hash="7ddc5d80dee797893171237ecabf10e2"/><file name="ProviderCreditReversalDetails.php" hash="a789bbf3c7074bc800053967e64286c7"/><file name="ProviderCreditReversalNotification.php" hash="56479587ee330013bdffe17719d0edec"/><file name="ProviderCreditReversalSummary.php" hash="577971d363b95fd7a73e8cd4995a240c"/><file name="ProviderCreditReversalSummaryList.php" hash="05ae0f9769e4c46e5c3ba3f9907ae576"/><file name="ProviderCreditSummary.php" hash="4403e12b73867b58021655df3fcf6720"/><file name="ProviderCreditSummaryList.php" hash="667167ed6a427d71086aa4ef8dabc5f5"/><file name="RefundDetails.php" hash="ae08c0447ec12996a465772d55f2c28f"/><file name="RefundNotification.php" hash="fb29285214205fd09c4f9ac7964c1a07"/><file name="SellerBillingAgreementAttributes.php" hash="691b120995ac30f3f542c3ec9cd6c0d6"/><file name="SellerOrderAttributes.php" hash="896cf700231529f39e903d4614579a85"/><file name="SnsNotificationMetadata.php" hash="df453726f714f7ea50cc04b6093123eb"/><file name="SolutionProviderMerchantNotification.php" hash="77e4152a922f1a26582e46546387943d"/><file name="SolutionProviderOption.php" hash="df8fbbb1ad2fef1796e3b42a9a417a64"/><file name="SolutionProviderOptions.php" hash="624d2f4efd3a32eab8baf8628efda4ef"/><file name="Status.php" hash="8726fde00e0f97595115866c1a8000dd"/></dir><file name="Notification.php" hash="562b2a4eb6e292b6df4db3112391ab55"/><file name="NotificationMetadata.php" hash="07f94bf3a41ed0c72f387e900260c48a"/></dir><dir name="OffAmazonPaymentsService"><file name="Client.php" hash="26dd6a2d2c407427c5ea0933e2159351"/><file name="Environments.php" hash="1a9ff744e131c19f5bd0d58c5aa578ab"/><file name="Exception.php" hash="eee23053020a397cf082a28f41001284"/><file name="Interface.php" hash="b681a546f2a5e3690e5e04f9c75ca8a5"/><file name="MerchantValues.php" hash="2cca67c2b1b0557e5a63d4ef35950172"/><file name="MerchantValuesBuilder.php" hash="a6328566f8f5ee48a8b054d8f02897e1"/><dir name="Model"><file name="Address.php" hash="6840237ae7035912f95020ff6d580033"/><file name="AuthorizationDetails.php" hash="159edfb213e12b7ecb847c103c70c5de"/><file name="AuthorizeOnBillingAgreementRequest.php" hash="8b0e8d6ffa94b1f18546b7554ec042ed"/><file name="AuthorizeOnBillingAgreementResponse.php" hash="8770715da01743adeafc25d54bb0c1d9"/><file name="AuthorizeOnBillingAgreementResult.php" hash="a73c77f8fce673257e2dca072ad6fab6"/><file name="AuthorizeRequest.php" hash="08bdab4fe2896f4a2b808c6e8abfeeba"/><file name="AuthorizeResponse.php" hash="0ae054040c36e7362683146b537f551b"/><file name="AuthorizeResult.php" hash="e7dfd388200467e736ff3b7d11c8d2bf"/><file name="BillingAddress.php" hash="93f82f074b62e8b1abf25ae8ae44b676"/><file name="BillingAgreementAttributes.php" hash="e52a2c92f92f7081ac742e24f70385df"/><file name="BillingAgreementDetails.php" hash="359f9bd686d21242f2e27feb8b3379b2"/><file name="BillingAgreementLimits.php" hash="66f84e67052b91092867496d11a28763"/><file name="BillingAgreementStatus.php" hash="adcf9379fb2f6fa88a1d8e230d8cf101"/><file name="Buyer.php" hash="cb691abf757d54025ac43964849dd5fd"/><file name="CancelOrderReferenceRequest.php" hash="ef06ecd8f05a4c032aa28f5b5a132d05"/><file name="CancelOrderReferenceResponse.php" hash="004c4e3a21ea1dc8e11bbba3d733b3ca"/><file name="CancelOrderReferenceResult.php" hash="74b7ad1facdf31263e9bb55544303180"/><file name="CaptureDetails.php" hash="4f360221d888d50d92e7f2ea20b5b54f"/><file name="CaptureRequest.php" hash="5b976a76214f870964d49cf104a50b30"/><file name="CaptureResponse.php" hash="7ece74f93f362d31bc16f9fb7bf2b270"/><file name="CaptureResult.php" hash="e0fccf0fe27efd36d822ddcdaefe97ac"/><file name="CloseAuthorizationRequest.php" hash="cb0e2113e9e36b7b133b539e5ff99c50"/><file name="CloseAuthorizationResponse.php" hash="99be7612c9effdac53fb0bc225a13eb1"/><file name="CloseAuthorizationResult.php" hash="6d77eea8924d2ef6a3acd0dabb3f9f76"/><file name="CloseBillingAgreementRequest.php" hash="89f82b30dd0902faa6feb3a57dfe24cb"/><file name="CloseBillingAgreementResponse.php" hash="1bda191dc9a8b2b1a14b6e11772f05cf"/><file name="CloseBillingAgreementResult.php" hash="f926f5d65d95323647129605a26037ae"/><file name="CloseOrderReferenceRequest.php" hash="b8b592bdc71a4046efead52196f8073c"/><file name="CloseOrderReferenceResponse.php" hash="137da00395052b25099de3a0d152887d"/><file name="CloseOrderReferenceResult.php" hash="81e21f75ae477f07a9b913e1ac2bd89d"/><file name="ConfirmBillingAgreementRequest.php" hash="ab524aa1cc6e51a8b483e4f96b7e1e02"/><file name="ConfirmBillingAgreementResponse.php" hash="0639de39ba58e6c2b806a84b43dc31d3"/><file name="ConfirmBillingAgreementResult.php" hash="42456915a3efa4ccd774a1d5d3a05307"/><file name="ConfirmOrderReferenceRequest.php" hash="632a4b8414aac550fc0ec59a83737be7"/><file name="ConfirmOrderReferenceResponse.php" hash="fb0c329ffa1a54e4c15c531b58561f6f"/><file name="Constraint.php" hash="e46dc3d18486b6639ea5b8f52a92cfdc"/><file name="Constraints.php" hash="cb983d71bda42bdda767ffc9f4feeafc"/><file name="CreateOrderReferenceForIdRequest.php" hash="b1f4e96f1392c427228f5799edc5dc64"/><file name="CreateOrderReferenceForIdResponse.php" hash="630cb4812997fa7c067f393dfb5e2f48"/><file name="CreateOrderReferenceForIdResult.php" hash="4abf7af5eb56058c17996406a877f427"/><file name="Destination.php" hash="737777909588915788398ab86f0de1de"/><file name="Error.php" hash="bb8b6bb6d3c778fc4e1d0a346b5fa03a"/><file name="ErrorResponse.php" hash="8804c6f39d9a0bdcbd76260eba9d261d"/><file name="GetAuthorizationDetailsRequest.php" hash="67d5a478c01fbbfba420dff3cf2098dc"/><file name="GetAuthorizationDetailsResponse.php" hash="0c9fe935bcb953cc9cd9e11bab32b5b2"/><file name="GetAuthorizationDetailsResult.php" hash="02ac4fa6533ccfd705c543160165c31d"/><file name="GetBillingAgreementDetailsRequest.php" hash="761cbdc44a4ac1e28b22d01f7a484b76"/><file name="GetBillingAgreementDetailsResponse.php" hash="061084469683253d1d76d5c881e5062d"/><file name="GetBillingAgreementDetailsResult.php" hash="5a585ad373b11b806ba320bcd988f71b"/><file name="GetCaptureDetailsRequest.php" hash="69252be80c32d911f2ff664904375e7d"/><file name="GetCaptureDetailsResponse.php" hash="5323ed86174064bb1122187457440861"/><file name="GetCaptureDetailsResult.php" hash="962ef27de2778c9ccde55d848b8fa649"/><file name="GetOrderReferenceDetailsRequest.php" hash="edfea06a629f298ab134229d35fef319"/><file name="GetOrderReferenceDetailsResponse.php" hash="4955733fe736a9f51e0bd6823b8bf74b"/><file name="GetOrderReferenceDetailsResult.php" hash="f9ee3738bddff51c6bd545028d275348"/><file name="GetProviderCreditDetailsRequest.php" hash="e51201c7d39935c4fa8da96e822b7075"/><file name="GetProviderCreditDetailsResponse.php" hash="e312b54192343e16230b7436b101766a"/><file name="GetProviderCreditDetailsResult.php" hash="9f0af601e8a716e4e5af3802d8952fe4"/><file name="GetProviderCreditReversalDetailsRequest.php" hash="cf74576ef8dc02e34244aca962d854b3"/><file name="GetProviderCreditReversalDetailsResponse.php" hash="a869c2695416514834c83890d3b080f9"/><file name="GetProviderCreditReversalDetailsResult.php" hash="33f1980d1632034eee8396c6286b5320"/><file name="GetRefundDetailsRequest.php" hash="7ab0f7d756a59a284ffd0ffc361fee42"/><file name="GetRefundDetailsResponse.php" hash="4847a7513f69d3f81c306d26ad7c5291"/><file name="GetRefundDetailsResult.php" hash="0c24e3c8e95f4ee10f5c4e9dd07518bf"/><file name="IdList.php" hash="25fd15394669b4721bdd0e4d367d534f"/><file name="OrderItemCategories.php" hash="995db32a92601555ee9a7550d1daae7e"/><file name="OrderReferenceAttributes.php" hash="78e1735d8fc99c5676d894564d6b88c7"/><file name="OrderReferenceDetails.php" hash="4e9365808e09fe1b1407348c9d05ca41"/><file name="OrderReferenceStatus.php" hash="5c21e44d991a24ab2527e491c435d54c"/><file name="OrderTotal.php" hash="2ff8e8ccc9c7266d72f534485ccd01bf"/><file name="ParentDetails.php" hash="99f7062b4764166637dfc44b4fe4788c"/><file name="Price.php" hash="4ac8de3791146a17a237a914c9f762a6"/><file name="ProviderCredit.php" hash="8f2f21ac5c0dba73e64a35cc7a61fbbe"/><file name="ProviderCreditDetails.php" hash="d9057efbe528a1571eda4252b8ad1813"/><file name="ProviderCreditList.php" hash="4a3eeae90b5a1ed09a528f5254b968a5"/><file name="ProviderCreditReversal.php" hash="07c1d7959a7cfb94164846c276b43ce7"/><file name="ProviderCreditReversalDetails.php" hash="ebfbf919b4a399213c7e312e59873e43"/><file name="ProviderCreditReversalList.php" hash="8eb64497a6a233535c8b0ca55591d06b"/><file name="ProviderCreditReversalSummary.php" hash="7646c582ea5fb3a46dcb09637f7daf01"/><file name="ProviderCreditReversalSummaryList.php" hash="cae281ddee9f766d1d5bf350e238037a"/><file name="ProviderCreditSummary.php" hash="69bc18eefe644e6b851a6daf7e6dfa8a"/><file name="ProviderCreditSummaryList.php" hash="751812d8903ba883036d1bc381c37667"/><file name="RefundDetails.php" hash="b53e480fe8e8e5d96a4b6a0df431e5ac"/><file name="RefundRequest.php" hash="665585551aba39532fe3352abb4859b3"/><file name="RefundResponse.php" hash="fadbc4ad5313395a48e38b1c0502c85a"/><file name="RefundResult.php" hash="9ddad34dd53edfd156651b021bc5137a"/><file name="ResponseHeaderMetadata.php" hash="382fe7bd666eea293b729c5d6c79348f"/><file name="ResponseMetadata.php" hash="073748a20ecd8bddc240dd4c0a4a56b9"/><file name="ReverseProviderCreditRequest.php" hash="802a3709149add8fa192ce389b93c2ea"/><file name="ReverseProviderCreditResponse.php" hash="ff702a7def546f0c6216094f93095bd7"/><file name="ReverseProviderCreditResult.php" hash="84f3e78e1b8b1b47e6f8b92abee7704b"/><file name="SellerBillingAgreementAttributes.php" hash="308899b9e48a95f0b5d48d74a510c915"/><file name="SellerOrderAttributes.php" hash="35b62fe0e130207dfaa2caefa1dfe7ba"/><file name="SetBillingAgreementDetailsRequest.php" hash="347a6c85c5cc8394255efcb9c4b57d52"/><file name="SetBillingAgreementDetailsResponse.php" hash="92299b3338dc7435149f17d8126f7518"/><file name="SetBillingAgreementDetailsResult.php" hash="7cb3e84e58fe2bbf163f8ac34de5eccf"/><file name="SetOrderReferenceDetailsRequest.php" hash="4cf2605f5188116a1526d463638aa768"/><file name="SetOrderReferenceDetailsResponse.php" hash="41720bdf965dcd759cc3278e01610530"/><file name="SetOrderReferenceDetailsResult.php" hash="4281a97da7865e47157c1d22c2094bfd"/><file name="Status.php" hash="28bd007e6c9747417a063e9941cc0dba"/><file name="ValidateBillingAgreementRequest.php" hash="d77beda441fd1688903e96a02fa4e643"/><file name="ValidateBillingAgreementResponse.php" hash="89658fd2a78d7dbb2997dae6ba169f7e"/><file name="ValidateBillingAgreementResult.php" hash="b9244d0496b0bbcfbf7628c775c17ca3"/></dir><file name="Model.php" hash="fafcb3a4318eb7bd9be5b69225187352"/><file name="RegionSpecificProperties.php" hash="f4e77cc63766b42fbef6ef1e07ec4402"/><file name="Regions.php" hash="4676d77db7dde345118e2a6fc021ce3f"/></dir></target></contents>
23
  <compatible/>
24
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
25
  </package>