Version Notes
ADDED: pagination for the log grid
ADDED: Magento Order ID data to the SetOrderReferenceDetails call
FIXED: date formatting on the log grid
FIXED: cart redirection issue when an exception is thrown during placing the order
Download this release
Release Info
Developer | creativestyle GmbH |
Extension | Creativestyle_AmazonPayments |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.2
- app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Abstract.php +1 -1
- app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Api/Grid.php +6 -0
- app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Exception/Grid.php +5 -0
- app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Ipn/Grid.php +5 -0
- app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Renderer/Timestamp.php +23 -0
- app/code/community/Creativestyle/AmazonPayments/Model/Api/Advanced.php +3 -2
- app/code/community/Creativestyle/AmazonPayments/Model/Config.php +0 -4
- app/code/community/Creativestyle/AmazonPayments/Model/Log/Collection.php +40 -16
- app/code/community/Creativestyle/AmazonPayments/Model/Logger.php +0 -13
- app/code/community/Creativestyle/AmazonPayments/Model/Manager.php +1 -1
- app/code/community/Creativestyle/AmazonPayments/Model/Payment/Advanced/Abstract.php +6 -13
- app/code/community/Creativestyle/AmazonPayments/controllers/Advanced/CheckoutController.php +4 -2
- app/code/community/Creativestyle/AmazonPayments/controllers/Advanced/DebugController.php +0 -40
- app/code/community/Creativestyle/AmazonPayments/etc/config.xml +2 -15
- app/code/community/Creativestyle/AmazonPayments/etc/system.xml +0 -11
- js/creativestyle/apa_checkout.min.js +1 -1
- package.xml +8 -6
- skin/frontend/base/default/creativestyle/css/amazonpayments.css +10 -1
app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Abstract.php
CHANGED
@@ -39,7 +39,7 @@ abstract class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Abstract extends
|
|
39 |
'class' => 'scalable',
|
40 |
'disabled' => true
|
41 |
), -1);
|
42 |
-
}
|
43 |
}
|
44 |
return parent::_prepareLayout();
|
45 |
}
|
39 |
'class' => 'scalable',
|
40 |
'disabled' => true
|
41 |
), -1);
|
42 |
+
}
|
43 |
}
|
44 |
return parent::_prepareLayout();
|
45 |
}
|
app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Api/Grid.php
CHANGED
@@ -18,6 +18,7 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Api_Grid extends Mage_Adm
|
|
18 |
public function __construct() {
|
19 |
parent::__construct();
|
20 |
$this->setId('amazonpayments_log_api_grid');
|
|
|
21 |
$this->setSaveParametersInSession(true);
|
22 |
}
|
23 |
|
@@ -34,18 +35,22 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Api_Grid extends Mage_Adm
|
|
34 |
'index' => 'timestamp',
|
35 |
'type' => 'datetime',
|
36 |
'width' => '150px',
|
|
|
|
|
37 |
'sortable' => false
|
38 |
));
|
39 |
|
40 |
$this->addColumn('call_action', array(
|
41 |
'header' => Mage::helper('amazonpayments')->__('Action'),
|
42 |
'index' => 'call_action',
|
|
|
43 |
'sortable' => false
|
44 |
));
|
45 |
|
46 |
$this->addColumn('call_url', array(
|
47 |
'header' => Mage::helper('amazonpayments')->__('URL'),
|
48 |
'index' => 'call_url',
|
|
|
49 |
'sortable' => false
|
50 |
));
|
51 |
|
@@ -54,6 +59,7 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Api_Grid extends Mage_Adm
|
|
54 |
'index' => 'response_code',
|
55 |
'align' => 'center',
|
56 |
'width' => '50px',
|
|
|
57 |
'sortable' => false
|
58 |
));
|
59 |
|
18 |
public function __construct() {
|
19 |
parent::__construct();
|
20 |
$this->setId('amazonpayments_log_api_grid');
|
21 |
+
$this->setFilterVisibility(false);
|
22 |
$this->setSaveParametersInSession(true);
|
23 |
}
|
24 |
|
35 |
'index' => 'timestamp',
|
36 |
'type' => 'datetime',
|
37 |
'width' => '150px',
|
38 |
+
'renderer' => 'Creativestyle_AmazonPayments_Block_Adminhtml_Renderer_Timestamp',
|
39 |
+
'filter' => false,
|
40 |
'sortable' => false
|
41 |
));
|
42 |
|
43 |
$this->addColumn('call_action', array(
|
44 |
'header' => Mage::helper('amazonpayments')->__('Action'),
|
45 |
'index' => 'call_action',
|
46 |
+
'filter' => false,
|
47 |
'sortable' => false
|
48 |
));
|
49 |
|
50 |
$this->addColumn('call_url', array(
|
51 |
'header' => Mage::helper('amazonpayments')->__('URL'),
|
52 |
'index' => 'call_url',
|
53 |
+
'filter' => false,
|
54 |
'sortable' => false
|
55 |
));
|
56 |
|
59 |
'index' => 'response_code',
|
60 |
'align' => 'center',
|
61 |
'width' => '50px',
|
62 |
+
'filter' => false,
|
63 |
'sortable' => false
|
64 |
));
|
65 |
|
app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Exception/Grid.php
CHANGED
@@ -18,6 +18,7 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Exception_Grid extends Ma
|
|
18 |
public function __construct() {
|
19 |
parent::__construct();
|
20 |
$this->setId('amazonpayments_log_exception_grid');
|
|
|
21 |
$this->setSaveParametersInSession(true);
|
22 |
}
|
23 |
|
@@ -34,12 +35,15 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Exception_Grid extends Ma
|
|
34 |
'index' => 'timestamp',
|
35 |
'type' => 'datetime',
|
36 |
'width' => '150px',
|
|
|
|
|
37 |
'sortable' => false
|
38 |
));
|
39 |
|
40 |
$this->addColumn('exception_message', array(
|
41 |
'header' => Mage::helper('amazonpayments')->__('Exception message'),
|
42 |
'index' => 'exception_message',
|
|
|
43 |
'sortable' => false
|
44 |
));
|
45 |
|
@@ -48,6 +52,7 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Exception_Grid extends Ma
|
|
48 |
'index' => 'exception_code',
|
49 |
'align' => 'center',
|
50 |
'width' => '50px',
|
|
|
51 |
'sortable' => false
|
52 |
));
|
53 |
|
18 |
public function __construct() {
|
19 |
parent::__construct();
|
20 |
$this->setId('amazonpayments_log_exception_grid');
|
21 |
+
$this->setFilterVisibility(false);
|
22 |
$this->setSaveParametersInSession(true);
|
23 |
}
|
24 |
|
35 |
'index' => 'timestamp',
|
36 |
'type' => 'datetime',
|
37 |
'width' => '150px',
|
38 |
+
'renderer' => 'Creativestyle_AmazonPayments_Block_Adminhtml_Renderer_Timestamp',
|
39 |
+
'filter' => false,
|
40 |
'sortable' => false
|
41 |
));
|
42 |
|
43 |
$this->addColumn('exception_message', array(
|
44 |
'header' => Mage::helper('amazonpayments')->__('Exception message'),
|
45 |
'index' => 'exception_message',
|
46 |
+
'filter' => false,
|
47 |
'sortable' => false
|
48 |
));
|
49 |
|
52 |
'index' => 'exception_code',
|
53 |
'align' => 'center',
|
54 |
'width' => '50px',
|
55 |
+
'filter' => false,
|
56 |
'sortable' => false
|
57 |
));
|
58 |
|
app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Log/Ipn/Grid.php
CHANGED
@@ -18,6 +18,7 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Ipn_Grid extends Mage_Adm
|
|
18 |
public function __construct() {
|
19 |
parent::__construct();
|
20 |
$this->setId('amazonpayments_log_ipn_grid');
|
|
|
21 |
$this->setSaveParametersInSession(true);
|
22 |
}
|
23 |
|
@@ -34,12 +35,15 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Ipn_Grid extends Mage_Adm
|
|
34 |
'index' => 'timestamp',
|
35 |
'type' => 'datetime',
|
36 |
'width' => '150px',
|
|
|
|
|
37 |
'sortable' => false
|
38 |
));
|
39 |
|
40 |
$this->addColumn('notification_type', array(
|
41 |
'header' => Mage::helper('amazonpayments')->__('Notification type'),
|
42 |
'index' => 'notification_type',
|
|
|
43 |
'sortable' => false
|
44 |
));
|
45 |
|
@@ -48,6 +52,7 @@ class Creativestyle_AmazonPayments_Block_Adminhtml_Log_Ipn_Grid extends Mage_Adm
|
|
48 |
'index' => 'response_code',
|
49 |
'align' => 'center',
|
50 |
'width' => '80px',
|
|
|
51 |
'sortable' => false
|
52 |
));
|
53 |
|
18 |
public function __construct() {
|
19 |
parent::__construct();
|
20 |
$this->setId('amazonpayments_log_ipn_grid');
|
21 |
+
$this->setFilterVisibility(false);
|
22 |
$this->setSaveParametersInSession(true);
|
23 |
}
|
24 |
|
35 |
'index' => 'timestamp',
|
36 |
'type' => 'datetime',
|
37 |
'width' => '150px',
|
38 |
+
'renderer' => 'Creativestyle_AmazonPayments_Block_Adminhtml_Renderer_Timestamp',
|
39 |
+
'filter' => false,
|
40 |
'sortable' => false
|
41 |
));
|
42 |
|
43 |
$this->addColumn('notification_type', array(
|
44 |
'header' => Mage::helper('amazonpayments')->__('Notification type'),
|
45 |
'index' => 'notification_type',
|
46 |
+
'filter' => false,
|
47 |
'sortable' => false
|
48 |
));
|
49 |
|
52 |
'index' => 'response_code',
|
53 |
'align' => 'center',
|
54 |
'width' => '80px',
|
55 |
+
'filter' => false,
|
56 |
'sortable' => false
|
57 |
));
|
58 |
|
app/code/community/Creativestyle/AmazonPayments/Block/Adminhtml/Renderer/Timestamp.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2014 creativestyle GmbH
|
14 |
+
* @author Marek Zabrowarny / creativestyle GmbH <amazon@creativestyle.de>
|
15 |
+
*/
|
16 |
+
class Creativestyle_AmazonPayments_Block_Adminhtml_Renderer_Timestamp extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
|
17 |
+
|
18 |
+
public function render(Varien_Object $row) {
|
19 |
+
$value = $row->getData($this->getColumn()->getIndex());
|
20 |
+
return Mage::getSingleton('core/date')->date('Y-m-d\TH:i:s', $value);
|
21 |
+
}
|
22 |
+
|
23 |
+
}
|
app/code/community/Creativestyle/AmazonPayments/Model/Api/Advanced.php
CHANGED
@@ -37,7 +37,7 @@ class Creativestyle_AmazonPayments_Model_Api_Advanced extends Creativestyle_Amaz
|
|
37 |
return null;
|
38 |
}
|
39 |
|
40 |
-
public function setOrderReferenceDetails($orderReferenceId, $orderAmount, $orderCurrency) {
|
41 |
$request = new OffAmazonPaymentsService_Model_SetOrderReferenceDetailsRequest(array(
|
42 |
'SellerId' => $this->getMerchantId(),
|
43 |
'AmazonOrderReferenceId' => $orderReferenceId,
|
@@ -46,7 +46,8 @@ class Creativestyle_AmazonPayments_Model_Api_Advanced extends Creativestyle_Amaz
|
|
46 |
'OrderTotal' => array(
|
47 |
'Amount' => $orderAmount,
|
48 |
'CurrencyCode' => $orderCurrency
|
49 |
-
)
|
|
|
50 |
)
|
51 |
));
|
52 |
$response = $this->_getApi()->setOrderReferenceDetails($request);
|
37 |
return null;
|
38 |
}
|
39 |
|
40 |
+
public function setOrderReferenceDetails($orderReferenceId, $orderAmount, $orderCurrency, $magentoOrderId = null) {
|
41 |
$request = new OffAmazonPaymentsService_Model_SetOrderReferenceDetailsRequest(array(
|
42 |
'SellerId' => $this->getMerchantId(),
|
43 |
'AmazonOrderReferenceId' => $orderReferenceId,
|
46 |
'OrderTotal' => array(
|
47 |
'Amount' => $orderAmount,
|
48 |
'CurrencyCode' => $orderCurrency
|
49 |
+
),
|
50 |
+
'SellerOrderAttributes' => ($magentoOrderId ? array('SellerOrderId' => $magentoOrderId) : null)
|
51 |
)
|
52 |
));
|
53 |
$response = $this->_getApi()->setOrderReferenceDetails($request);
|
app/code/community/Creativestyle/AmazonPayments/Model/Config.php
CHANGED
@@ -40,7 +40,6 @@ class Creativestyle_AmazonPayments_Model_Config {
|
|
40 |
|
41 |
const XML_PATH_DEVELOPER_ALLOWED_IPS = 'amazonpayments/developer/allowed_ips';
|
42 |
const XML_PATH_DEVELOPER_LOG_ACTIVE = 'amazonpayments/developer/log_active';
|
43 |
-
const XML_PATH_DEVELOPER_AVAILABILITY_LOG = 'amazonpayments/developer/log_availability';
|
44 |
|
45 |
protected $_config = null;
|
46 |
protected $_globalData = null;
|
@@ -231,7 +230,4 @@ class Creativestyle_AmazonPayments_Model_Config {
|
|
231 |
return Mage::getStoreConfigFlag(self::XML_PATH_DEVELOPER_LOG_ACTIVE);
|
232 |
}
|
233 |
|
234 |
-
public function isPaymentAvailabilityLogEnabled() {
|
235 |
-
return Mage::getStoreConfigFlag(self::XML_PATH_DEVELOPER_AVAILABILITY_LOG);
|
236 |
-
}
|
237 |
}
|
40 |
|
41 |
const XML_PATH_DEVELOPER_ALLOWED_IPS = 'amazonpayments/developer/allowed_ips';
|
42 |
const XML_PATH_DEVELOPER_LOG_ACTIVE = 'amazonpayments/developer/log_active';
|
|
|
43 |
|
44 |
protected $_config = null;
|
45 |
protected $_globalData = null;
|
230 |
return Mage::getStoreConfigFlag(self::XML_PATH_DEVELOPER_LOG_ACTIVE);
|
231 |
}
|
232 |
|
|
|
|
|
|
|
233 |
}
|
app/code/community/Creativestyle/AmazonPayments/Model/Log/Collection.php
CHANGED
@@ -38,28 +38,52 @@ class Creativestyle_AmazonPayments_Model_Log_Collection extends Varien_Data_Coll
|
|
38 |
}
|
39 |
|
40 |
protected function _loadData() {
|
41 |
-
if (
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
}
|
57 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
}
|
59 |
-
|
|
|
60 |
}
|
61 |
|
62 |
-
protected function
|
63 |
if (!empty($this->_items)) {
|
64 |
krsort($this->_items);
|
65 |
}
|
38 |
}
|
39 |
|
40 |
protected function _loadData() {
|
41 |
+
if ($this->isLoaded()) {
|
42 |
+
return $this;
|
43 |
+
}
|
44 |
+
|
45 |
+
$logFilePath = Creativestyle_AmazonPayments_Model_Logger::getAbsoluteLogFilePath($this->_logType);
|
46 |
+
|
47 |
+
if (file_exists($logFilePath)) {
|
48 |
+
|
49 |
+
$logArray = array();
|
50 |
+
|
51 |
+
if (($fileHandle = fopen($logFilePath, 'r')) !== false) {
|
52 |
+
$id = 0;
|
53 |
+
$columnMapping = Creativestyle_AmazonPayments_Model_Logger::getColumnMapping($this->_logType);
|
54 |
+
while (($row = fgetcsv($fileHandle, 0, $this->_getConfig()->getLogDelimiter(), $this->_getConfig()->getLogEnclosure())) !== false) {
|
55 |
+
$log = array('id' => ++$id);
|
56 |
+
foreach ($columnMapping as $index => $columnName) {
|
57 |
+
$log[$columnName] = isset($row[$index]) ? $row[$index] : '';
|
58 |
+
}
|
59 |
+
if ($log = $this->_applyFilters($log)) {
|
60 |
+
$logArray[] = new Varien_Object($log);
|
61 |
}
|
62 |
}
|
63 |
}
|
64 |
+
|
65 |
+
if (!empty($logArray)) {
|
66 |
+
krsort($logArray);
|
67 |
+
$this->_totalRecords = count($logArray);
|
68 |
+
$this->_setIsLoaded();
|
69 |
+
$from = ($this->getCurPage() - 1) * $this->getPageSize();
|
70 |
+
$to = $from + $this->getPageSize() - 1;
|
71 |
+
$isPaginated = $this->getPageSize() > 0;
|
72 |
+
$count = 0;
|
73 |
+
foreach ($logArray as $log) {
|
74 |
+
$count++;
|
75 |
+
if ($isPaginated && ($count < $from || $count > $to)) {
|
76 |
+
continue;
|
77 |
+
}
|
78 |
+
$this->addItem($log);
|
79 |
+
}
|
80 |
+
}
|
81 |
}
|
82 |
+
|
83 |
+
return $this;
|
84 |
}
|
85 |
|
86 |
+
protected function _sortArray() {
|
87 |
if (!empty($this->_items)) {
|
88 |
krsort($this->_items);
|
89 |
}
|
app/code/community/Creativestyle/AmazonPayments/Model/Logger.php
CHANGED
@@ -130,19 +130,6 @@ final class Creativestyle_AmazonPayments_Model_Logger {
|
|
130 |
}
|
131 |
}
|
132 |
|
133 |
-
/**
|
134 |
-
* Logs an exception thrown by isAvailable() method of APA payment model.
|
135 |
-
* This exception indicates modification of payment method availability
|
136 |
-
* done during dispatching payment_method_is_available event
|
137 |
-
*
|
138 |
-
* @param Exception $e
|
139 |
-
*/
|
140 |
-
public static function logPaymentAvailabilityException(Exception $e) {
|
141 |
-
if (self::_getConfig()->isPaymentAvailabilityLogEnabled()) {
|
142 |
-
self::logException($e);
|
143 |
-
}
|
144 |
-
}
|
145 |
-
|
146 |
public static function getColumnMapping($logType) {
|
147 |
switch ($logType) {
|
148 |
case 'api':
|
130 |
}
|
131 |
}
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
public static function getColumnMapping($logType) {
|
134 |
switch ($logType) {
|
135 |
case 'api':
|
app/code/community/Creativestyle/AmazonPayments/Model/Manager.php
CHANGED
@@ -325,7 +325,7 @@ class Creativestyle_AmazonPayments_Model_Manager {
|
|
325 |
*/
|
326 |
// check if authorization should be re-submitted
|
327 |
$authTransaction = $payment->lookupTransaction(false, Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH);
|
328 |
-
if ($authTransaction && $authTransaction->getIsClosed()) {
|
329 |
$payment->authorize(true, $order->getBaseTotalDue())->save();
|
330 |
// $transactionSave->addObject($payment);
|
331 |
}
|
325 |
*/
|
326 |
// check if authorization should be re-submitted
|
327 |
$authTransaction = $payment->lookupTransaction(false, Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH);
|
328 |
+
if ($authTransaction && $authTransaction->getIsClosed() && ($order->getBaseTotalDue() > 0)) {
|
329 |
$payment->authorize(true, $order->getBaseTotalDue())->save();
|
330 |
// $transactionSave->addObject($payment);
|
331 |
}
|
app/code/community/Creativestyle/AmazonPayments/Model/Payment/Advanced/Abstract.php
CHANGED
@@ -159,18 +159,11 @@ abstract class Creativestyle_AmazonPayments_Model_Payment_Advanced_Abstract exte
|
|
159 |
}
|
160 |
$checkResult->isAvailable = $isActive;
|
161 |
$checkResult->isDeniedInConfig = !$isActive;
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
));
|
168 |
-
if ($isActive && !$checkResult->isAvailable) {
|
169 |
-
throw new Creativestyle_AmazonPayments_Exception($this->getTitle() . ' payment has been disabled while processing \'payment_method_is_active\' event.');
|
170 |
-
}
|
171 |
-
} catch (Exception $e) {
|
172 |
-
Creativestyle_AmazonPayments_Model_Logger::logPaymentAvailabilityException($e);
|
173 |
-
}
|
174 |
return $checkResult->isAvailable;
|
175 |
}
|
176 |
|
@@ -272,7 +265,7 @@ abstract class Creativestyle_AmazonPayments_Model_Payment_Advanced_Abstract exte
|
|
272 |
public function order(Varien_Object $payment, $amount) {
|
273 |
$order = $payment->getOrder();
|
274 |
|
275 |
-
$this->_getApi()->setOrderReferenceDetails($order->getExtOrderId(), $amount, $order->getBaseCurrencyCode());
|
276 |
$this->_getApi()->confirmOrderReference($order->getExtOrderId());
|
277 |
|
278 |
$payment->setIsTransactionClosed(false);
|
159 |
}
|
160 |
$checkResult->isAvailable = $isActive;
|
161 |
$checkResult->isDeniedInConfig = !$isActive;
|
162 |
+
Mage::dispatchEvent('payment_method_is_active', array(
|
163 |
+
'result' => $checkResult,
|
164 |
+
'method_instance' => $this,
|
165 |
+
'quote' => $quote,
|
166 |
+
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
return $checkResult->isAvailable;
|
168 |
}
|
169 |
|
265 |
public function order(Varien_Object $payment, $amount) {
|
266 |
$order = $payment->getOrder();
|
267 |
|
268 |
+
$this->_getApi()->setOrderReferenceDetails($order->getExtOrderId(), $amount, $order->getBaseCurrencyCode(), $order->getIncrementId());
|
269 |
$this->_getApi()->confirmOrderReference($order->getExtOrderId());
|
270 |
|
271 |
$payment->setIsTransactionClosed(false);
|
app/code/community/Creativestyle/AmazonPayments/controllers/Advanced/CheckoutController.php
CHANGED
@@ -297,8 +297,10 @@ class Creativestyle_AmazonPayments_Advanced_CheckoutController extends Mage_Core
|
|
297 |
Creativestyle_AmazonPayments_Model_Logger::logException($e);
|
298 |
Mage::helper('checkout')->sendPaymentFailedEmail($this->_getQuote(), $e->getMessage());
|
299 |
$this->_getCheckoutSession()->addError($this->__('There was an error processing your order. Please contact us or try again later.'));
|
300 |
-
$
|
301 |
-
|
|
|
|
|
302 |
}
|
303 |
}
|
304 |
|
297 |
Creativestyle_AmazonPayments_Model_Logger::logException($e);
|
298 |
Mage::helper('checkout')->sendPaymentFailedEmail($this->_getQuote(), $e->getMessage());
|
299 |
$this->_getCheckoutSession()->addError($this->__('There was an error processing your order. Please contact us or try again later.'));
|
300 |
+
$result = array();
|
301 |
+
$result['success'] = false;
|
302 |
+
$result['redirect'] = Mage::getUrl('checkout/cart');
|
303 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
304 |
}
|
305 |
}
|
306 |
|
app/code/community/Creativestyle/AmazonPayments/controllers/Advanced/DebugController.php
DELETED
@@ -1,40 +0,0 @@
|
|
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) 2014 creativestyle GmbH
|
14 |
-
* @author Marek Zabrowarny / creativestyle GmbH <amazon@creativestyle.de>
|
15 |
-
*/
|
16 |
-
class Creativestyle_AmazonPayments_Advanced_DebugController extends Mage_Core_Controller_Front_Action {
|
17 |
-
|
18 |
-
protected function _getConfig() {
|
19 |
-
return Mage::getSingleton('amazonpayments/config');
|
20 |
-
}
|
21 |
-
|
22 |
-
public function indexAction() {
|
23 |
-
if ($this->_getConfig()->getMerchantValues()->getEnvironment() == 'sandbox') {
|
24 |
-
$productCollection = Mage::getModel('catalog/product')->getCollection()
|
25 |
-
->addAttributeToFilter('type_id', 'simple')
|
26 |
-
->setPageSize(1)
|
27 |
-
->setCurPage(1);
|
28 |
-
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($productCollection);
|
29 |
-
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($productCollection);
|
30 |
-
$productCollection->getSelect()->order(new Zend_Db_Expr('RAND()'));
|
31 |
-
if ($productCollection->count()) {
|
32 |
-
$product = $productCollection->getFirstItem();
|
33 |
-
$addToCartUrl = Mage::helper('checkout/cart')->getAddUrl($product, array());
|
34 |
-
$this->_redirectUrl($addToCartUrl);
|
35 |
-
return;
|
36 |
-
}
|
37 |
-
}
|
38 |
-
$this->_forward('noRoute');
|
39 |
-
}
|
40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Creativestyle/AmazonPayments/etc/config.xml
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
<config>
|
18 |
<modules>
|
19 |
<Creativestyle_AmazonPayments>
|
20 |
-
<version>1.1.
|
21 |
</Creativestyle_AmazonPayments>
|
22 |
</modules>
|
23 |
<global>
|
@@ -105,10 +105,6 @@
|
|
105 |
<regions>
|
106 |
<de>Germany</de>
|
107 |
<uk>United Kingdom</uk>
|
108 |
-
<us>United States</us>
|
109 |
-
<!--
|
110 |
-
<na>North America</na>
|
111 |
-
-->
|
112 |
</regions>
|
113 |
<button_urls>
|
114 |
<de>
|
@@ -119,14 +115,6 @@
|
|
119 |
<sandbox>https://payments-sandbox.amazon.co.uk/gp/widgets/button</sandbox>
|
120 |
<live>https://payments.amazon.co.uk/gp/widgets/button</live>
|
121 |
</uk>
|
122 |
-
<us>
|
123 |
-
<sandbox>https://payments-sandbox.amazon.com/gp/widgets/button</sandbox>
|
124 |
-
<live>https://payments.amazon.com/gp/widgets/button</live>
|
125 |
-
</us>
|
126 |
-
<na>
|
127 |
-
<sandbox>https://payments-sandbox.amazon.com/gp/widgets/button</sandbox>
|
128 |
-
<live>https://payments.amazon.com/gp/widgets/button</live>
|
129 |
-
</na>
|
130 |
</button_urls>
|
131 |
<objects>
|
132 |
<OrderReference>
|
@@ -210,7 +198,7 @@
|
|
210 |
<ExpiredUnused>
|
211 |
<simulation_allowed>1</simulation_allowed>
|
212 |
<simulation_options>
|
213 |
-
<ExpirationTimeInMins>60</ExpirationTimeInMins>
|
214 |
</simulation_options>
|
215 |
</ExpiredUnused>
|
216 |
<MaxCapturesProcessed>
|
@@ -409,7 +397,6 @@
|
|
409 |
</design>
|
410 |
<developer>
|
411 |
<log_active>1</log_active>
|
412 |
-
<log_availability>0</log_availability>
|
413 |
</developer>
|
414 |
</amazonpayments>
|
415 |
</default>
|
17 |
<config>
|
18 |
<modules>
|
19 |
<Creativestyle_AmazonPayments>
|
20 |
+
<version>1.1.2</version>
|
21 |
</Creativestyle_AmazonPayments>
|
22 |
</modules>
|
23 |
<global>
|
105 |
<regions>
|
106 |
<de>Germany</de>
|
107 |
<uk>United Kingdom</uk>
|
|
|
|
|
|
|
|
|
108 |
</regions>
|
109 |
<button_urls>
|
110 |
<de>
|
115 |
<sandbox>https://payments-sandbox.amazon.co.uk/gp/widgets/button</sandbox>
|
116 |
<live>https://payments.amazon.co.uk/gp/widgets/button</live>
|
117 |
</uk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
</button_urls>
|
119 |
<objects>
|
120 |
<OrderReference>
|
198 |
<ExpiredUnused>
|
199 |
<simulation_allowed>1</simulation_allowed>
|
200 |
<simulation_options>
|
201 |
+
<ExpirationTimeInMins type="int">60</ExpirationTimeInMins>
|
202 |
</simulation_options>
|
203 |
</ExpiredUnused>
|
204 |
<MaxCapturesProcessed>
|
397 |
</design>
|
398 |
<developer>
|
399 |
<log_active>1</log_active>
|
|
|
400 |
</developer>
|
401 |
</amazonpayments>
|
402 |
</default>
|
app/code/community/Creativestyle/AmazonPayments/etc/system.xml
CHANGED
@@ -313,17 +313,6 @@
|
|
313 |
<show_in_website>0</show_in_website>
|
314 |
<show_in_store>0</show_in_store>
|
315 |
</log_active>
|
316 |
-
<log_availability translate="label">
|
317 |
-
<label>Log payment availability changes</label>
|
318 |
-
<comment>Log when the availability of "Pay with Amazon" service is changed on-the-fly during Magento events processing</comment>
|
319 |
-
<frontend_type>select</frontend_type>
|
320 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
321 |
-
<sort_order>30</sort_order>
|
322 |
-
<show_in_default>1</show_in_default>
|
323 |
-
<show_in_website>0</show_in_website>
|
324 |
-
<show_in_store>0</show_in_store>
|
325 |
-
<depends><log_active>1</log_active></depends>
|
326 |
-
</log_availability>
|
327 |
</fields>
|
328 |
</developer>
|
329 |
</groups>
|
313 |
<show_in_website>0</show_in_website>
|
314 |
<show_in_store>0</show_in_store>
|
315 |
</log_active>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
</fields>
|
317 |
</developer>
|
318 |
</groups>
|
js/creativestyle/apa_checkout.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
if(!window.Review){var Review=function(){}}var APA={live:true,virtual:true,submitAllowed: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.disableSubmit()},unsetOrderSaveWaiting:function(){if($(APA.layers.review)){var a=$(APA.layers.review).down(".please-wait");if(a){Element.hide(a)}}this.enableSubmit()},initCheckout:function(){this.disableSubmit().scaffoldPaymentWidget();if(this.virtual){return this.setLoadWaiting(APA.layers.wallet).renderWalletWidget()}return this.setLoadWaiting(APA.layers.shippingMethod,APA.layers.wallet,APA.layers.review).renderAddressBookWidget().renderWalletWidget()},scaffoldPaymentWidget:function(){if(typeof APA.design.wallet.size!="undefined"){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){$$(APA.layers.buttons).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"){var b=$$(APA.layers.buttons).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,amazonOrderReferenceId:APA.orderReferenceId,design:APA.design.addressBook,onAddressSelect:APA.addressSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.addressBook);return this},addressSelectCallback:function(){APA.setLoadWaiting(APA.layers.shippingMethod,APA.layers.review);new Ajax.Request(APA.urls.saveShipping,{method:"post",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,amazonOrderReferenceId:APA.orderReferenceId,design:APA.design.wallet,onPaymentSelect:APA.paymentSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.wallet);return this},paymentSelectCallback:function(){new Ajax.Request(APA.urls.savePayment,{method:"post",evalScripts:true,onSuccess:APA.successCallback,onFailure:APA.ajaxFailureCallback})},renderReviewWidget:function(a){new APA.Widgets.Review({onError:APA.magentoErrorCallback}).update(a);this.submitAllowed?this.enableSubmit():this.disableSubmit();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.error){APA.unsetOrderSaveWaiting();APA.magentoErrorCallback(response.error_messages)}},ajaxFailureCallback:function(){window.location.href=APA.urls.failure},amazonErrorCallback:function(a){if(!APA.live){console.trace();alert(a.getErrorMessage())}var b=["BuyerNotAssociated","BuyerSessionExpired","StaleOrderReference"];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;if(a){return this.enableSubmit()}else{return this.disableSubmit()}},disableSubmit:function(){var a=$(this.layers.review).down("div.buttons-set");if(a){a.addClassName("disabled");var b=a.down("button[type=submit].button");if(b){b.disabled=true}}return this},enableSubmit:function(){if(this.submitAllowed){var a=$(this.layers.review).down("div.buttons-set");if(a){a.removeClassName("disabled");var b=a.down("button[type=submit].button");if(b){b.disabled=false}}}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){if($("checkout-agreements")){a+=Form.serialize($("checkout-agreements"))}}else{a=Form.serialize($("co-shipping-method-form"));if($("checkout-agreements")){a+="&"+Form.serialize($("checkout-agreements"))}}a.save=true;return a},initialize:function(c,a,d,g,f,e,b){return Object.extend(APA,{sellerId:c,orderReferenceId:a,live:d,virtual:g,urls:Object.extend({checkout:null,saveShipping:null,saveShippingMethod:null,savePayment:null,saveOrder:null,success:null,failure:null},f),layers:Object.extend({buttons:".buttonWidget",addressBook:"addressBookWidgetDiv",wallet:"walletWidgetDiv",shippingMethod:"shippingMethodWidgetDiv",review:"reviewWidgetDiv"},e),design:Object.extend({addressBook:{size:{width:"440px",height:"260px"}},wallet:{size:{width:"440px",height:"260px"}}},b)})}};
|
1 |
+
if(!window.Review){var Review=function(){}}var APA={live:true,virtual:true,submitAllowed: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)}}if($("checkoutSteps")){$("checkoutSteps").insert({top:new Element("div",{"class":"amazon-widget-overlay"})})}this.disableSubmit()},unsetOrderSaveWaiting:function(){if($(APA.layers.review)){var a=$(APA.layers.review).down(".please-wait");if(a){Element.hide(a)}}if($("checkoutSteps")&&$("checkoutSteps").down(".amazon-widget-overlay")){$("checkoutSteps").down(".amazon-widget-overlay").remove()}this.enableSubmit()},initCheckout:function(){this.disableSubmit().scaffoldPaymentWidget();if(this.virtual){return this.setLoadWaiting(APA.layers.wallet).renderWalletWidget()}return this.setLoadWaiting(APA.layers.shippingMethod,APA.layers.wallet,APA.layers.review).renderAddressBookWidget().renderWalletWidget()},scaffoldPaymentWidget:function(){if(typeof APA.design.wallet.size!="undefined"){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){$$(APA.layers.buttons).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"){var b=$$(APA.layers.buttons).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,amazonOrderReferenceId:APA.orderReferenceId,design:APA.design.addressBook,onAddressSelect:APA.addressSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.addressBook);return this},addressSelectCallback:function(){APA.setLoadWaiting(APA.layers.shippingMethod,APA.layers.review);new Ajax.Request(APA.urls.saveShipping,{method:"post",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,amazonOrderReferenceId:APA.orderReferenceId,design:APA.design.wallet,onPaymentSelect:APA.paymentSelectCallback,onError:APA.amazonErrorCallback}).bind(APA.layers.wallet);return this},paymentSelectCallback:function(){new Ajax.Request(APA.urls.savePayment,{method:"post",evalScripts:true,onSuccess:APA.successCallback,onFailure:APA.ajaxFailureCallback})},renderReviewWidget:function(a){new APA.Widgets.Review({onError:APA.magentoErrorCallback}).update(a);this.submitAllowed?this.enableSubmit():this.disableSubmit();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)}},ajaxFailureCallback:function(){window.location.href=APA.urls.failure},amazonErrorCallback:function(a){if(!APA.live){console.trace();alert(a.getErrorMessage())}var b=["BuyerNotAssociated","BuyerSessionExpired","StaleOrderReference"];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;if(a){return this.enableSubmit()}else{return this.disableSubmit()}},disableSubmit:function(){var a=$(this.layers.review).down("div.buttons-set");if(a){a.addClassName("disabled");var b=a.down("button[type=submit].button");if(b){b.disabled=true}}return this},enableSubmit:function(){if(this.submitAllowed){var a=$(this.layers.review).down("div.buttons-set");if(a){a.removeClassName("disabled");var b=a.down("button[type=submit].button");if(b){b.disabled=false}}}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){if($("checkout-agreements")){a+=Form.serialize($("checkout-agreements"))}}else{a=Form.serialize($("co-shipping-method-form"));if($("checkout-agreements")){a+="&"+Form.serialize($("checkout-agreements"))}}a.save=true;return a},initialize:function(c,a,d,g,f,e,b){return Object.extend(APA,{sellerId:c,orderReferenceId:a,live:d,virtual:g,urls:Object.extend({checkout:null,saveShipping:null,saveShippingMethod:null,savePayment:null,saveOrder:null,success:null,failure:null},f),layers:Object.extend({buttons:".buttonWidget",addressBook:"addressBookWidgetDiv",wallet:"walletWidgetDiv",shippingMethod:"shippingMethodWidgetDiv",review:"reviewWidgetDiv"},e),design:Object.extend({addressBook:{size:{width:"440px",height:"260px"}},wallet:{size:{width:"440px",height:"260px"}}},b)})}};
|
package.xml
CHANGED
@@ -1,20 +1,22 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Creativestyle_AmazonPayments</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Integration of your Magento shop with Pay with Amazon service</summary>
|
10 |
<description>This extension provides an official integration of your Magento store with 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>
|
12 |
-
ADDED:
|
|
|
|
|
13 |
</notes>
|
14 |
<authors><author><name>creativestyle GmbH</name><user>creativestyle</user><email>amazon@creativestyle.de</email></author></authors>
|
15 |
-
<date>2014-05-
|
16 |
-
<time>22:
|
17 |
-
<contents><target name="magecommunity"><dir name="Creativestyle"><dir name="AmazonPayments"><dir name="Block"><dir name="Adminhtml"><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="cc798f2987cc0dffc755a88988b74912"/><file name="Info.php" hash="be764b1856eccc2b3070a1ea4cfe57f7"/><file name="IpnUrl.php" hash="dc185fbffc8851d0031769e9a623ddda"/><dir name="Log"><file name="Abstract.php" hash="0187b55e1dc6c49f5bae3e61a93d0149"/><dir name="Api"><file name="Grid.php" hash="1cbfd9dd7be15397c0facb89bbcf8d52"/><file name="View.php" hash="eb30544643fa9571a454a763111d0113"/></dir><file name="Api.php" hash="5ea0736c83de5feb01df0a3ec4db4d80"/><dir name="Exception"><file name="Grid.php" hash="a96961ac1e0bcb3dcc2c56802b79104d"/><file name="View.php" hash="cae17d2a2d5716e8dde1c6662397131e"/></dir><file name="Exception.php" hash="c35dafcaf89ca709394341394862f4cf"/><dir name="Ipn"><file name="Grid.php" hash="2ff52bed4ce529f8d2893f6c72f370ca"/><file name="View.php" hash="6ab63414642658e95258a73a143e6955"/></dir><file name="Ipn.php" hash="a2225b081ccb354bfe94b4a646b0d521"/><dir name="View"><file name="Abstract.php" hash="0a4c977a1f89622148bdc6acc037fc1f"/></dir></dir><dir name="Sales"><file name="Order.php" hash="45a5ee919501a2bf26160d38dafccd44"/></dir></dir><dir name="Advanced"><file name="Abstract.php" hash="766b11b0d18fa51235f3260ee32063c1"/><file name="Button.php" hash="0f41939d7617b56c81b40c6d9ddc90ad"/><dir name="Checkout"><file name="Notice.php" hash="748f6a287310299450ca2ecea6031f20"/><file name="SandboxToolbox.php" hash="d70a1ab225c6da26a5aa196d2201471e"/></dir><file name="Checkout.php" hash="5381d2a932c0c513b2b91f9d603c7afa"/><file name="Head.php" hash="cd9c6b29241ed7d0c66d3263671805c6"/><file name="Js.php" hash="ccb6a0a742175a5c3a018127b3b60bb0"/><dir name="Payment"><file name="Info.php" hash="27509728d9e4ff5e2a3a8bacefcbb15a"/></dir></dir></dir><file name="Exception.php" hash="ca655a29842b38dd2ebf438208a6c70c"/><dir name="Helper"><file name="Data.php" hash="2e4f192a5cba4730a6d667598050408f"/><file name="Debug.php" hash="7e99e99d3f73c9c0199e409f83220157"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="5a6fc7325d9d09d358fa28afebf55f85"/><file name="Advanced.php" hash="84cd5c180fba17fec9d1f9c119ca43ac"/><file name="Ipn.php" hash="7796776a38fe90b9805cbd88094a773d"/></dir><file name="Checkout.php" hash="3982b9be43dabbb8f668024932fda9b7"/><file name="Config.php" hash="172e6af125055defa22987921ee12860"/><dir name="Log"><file name="Collection.php" hash="f82e9f4b6a83b6a0ecc6d6e467f2b330"/></dir><file name="Logger.php" hash="af169887e51170bd518549ca83325819"/><dir name="Lookup"><file name="Abstract.php" hash="443bbef12f4e7c896e54cf0b7463e04e"/><dir name="Design"><dir name="Button"><file name="Color.php" hash="70be7e5eb00b9410aacf5968229a2b93"/><file name="Size.php" hash="6ae57e89caed0edfc9f7a64895b04f57"/></dir></dir><file name="Frequency.php" hash="5115fb39b48781e5e97f9b62414a72cc"/><file name="IpnActive.php" hash="b73000f5bfc1e26b80911e125e9eec46"/><file name="PaymentAction.php" hash="6d0c15996ec3caf112d88e07ea703bb4"/><file name="Region.php" hash="8f5cc8ab970aa165e16085368b320f89"/></dir><file name="Manager.php" hash="ac2e1dffabb83a3e337af26b281572ba"/><file name="Observer.php" hash="0dac6a040e00c696dd543b724a1b1956"/><dir name="Payment"><file name="Abstract.php" hash="5667d8b7b4eae1f3b29e8fc6c043b9ce"/><dir name="Advanced"><file name="Abstract.php" hash="0709913adbf5303b6ebbf4bc020e7583"/><file name="Sandbox.php" hash="a1509cd32ad92e6e6d3a8f348be1d3bb"/></dir><file name="Advanced.php" hash="72006ba9aaa96486f6d7505814ffaf54"/></dir><dir name="Service"><file name="Quote.php" hash="3f83d1e1b1c6e19e0e23cb1a8c8b41f5"/></dir><file name="Simulator.php" hash="a29334c00456217b80a455931278594a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="DebugController.php" hash="28e0ddedf23912140158d100339bdbe8"/><file name="DocumentationController.php" hash="4e214386e032b2e513dda5a26344fd87"/><dir name="Log"><file name="ApiController.php" hash="e0a9181f57223d3ba722982572c1d003"/><file name="ExceptionController.php" hash="5daaa04ec6479396edfb1f62910f4ad3"/><file name="IpnController.php" hash="f00870c68a6b18d460c59d0b76d4a67d"/></dir><file name="OrderController.php" hash="1293b8aa3851f09b7559306e37a6a6ea"/></dir><dir name="Advanced"><file name="CheckoutController.php" hash="b0000705b886d05a4b95158811fe3281"/><file name="DebugController.php" hash="81daea91bf12e616d4f7facdfeaa729f"/><file name="IpnController.php" hash="0d8a52a891d493870dd1081f9a407170"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="703e659e10fe9ae212549c148bff12a8"/><file name="config.xml" hash="89819e8dd59e172605873ae34b510dc1"/><file name="system.xml" hash="e4ddb5e28efb8b483f9292a79ce069ec"/></dir><dir name="sql"><dir name="amazonpayments_setup"><file name="mysql4-install-1.0.0.php" hash="d4681b9a39905cc9e9dcc660688dea85"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="4bc12228bba39bd925ed129d7cf64258"/></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="92e2a91aa6f25e20fe8e89bad751e8cf"/></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 name="payment"><file name="info.phtml" hash="200af8569ab7792e7f16c5f4a93c6897"/><dir name="pdf"><file name="info.phtml" hash="1fb213f3fcc3aeecaa6305c07cff3b73"/></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="9206d48b9e8433216cf9f24c7b2ceef4"/><file name="init.phtml" hash="ba9d53045077e63b4e6c25c6b7bb685c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="49548b6cc0415d167599844256dae0c5"/></dir><dir name="template"><dir name="creativestyle"><dir name="amazonpayments"><dir name="advanced"><dir name="button"><file name="js.phtml" hash="1304236a9c1e2c27156d1ab8982853ad"/><file name="onepage.phtml" hash="f3ccc6387c7069adb7250399845f7cc1"/><file name="tooltip.phtml" hash="9d5ba8ad73fb30e53d117e9bc9950fa4"/></dir><file name="button.phtml" hash="0f858abbda354cadb3c24d3342c95614"/><dir name="checkout"><file name="capture_notice.phtml" hash="f9c75cd05a596d0a16c55f0169b4ee6c"/><file name="js.phtml" hash="a9d8610006bcc78a03fc6a796b358851"/><dir name="review"><file name="button.phtml" hash="1312572385c9ff653d283bb0c3f47b1b"/></dir><file name="sandbox_toolbox.phtml" hash="ff639266f99827e3ec3a9e8305bd7eb7"/><file name="shipping_method.phtml" hash="8a8c97b4eb2a7c8cfc8248bd499b95eb"/></dir><file name="checkout.phtml" hash="883f7b57f16ea47e53cc225f1fe7154b"/><file name="head.phtml" hash="c303821e8f08b69ff92ea2052fbb6e1d"/><dir name="payment"><file name="info.phtml" hash="3631896707e596d9675f526a7d021617"/></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="en_US"><file name="Creativestyle_AmazonPayments.csv" hash="a2326e00888a7b1710cc2e2e30c10de4"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="ad694ba24051f779698d483bc32d9b75"/></dir></dir></dir><dir name="en_GB"><file name="Creativestyle_AmazonPayments.csv" hash="c072c953b397a47958680d3d1494c1fd"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="1a933579acb1fbb3d78ae47ca990521b"/></dir></dir></dir><dir name="de_DE"><file name="Creativestyle_AmazonPayments.csv" hash="6595025c8f8082e00e1d511fb96b4cc6"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="4879ccbfbea101548700da52b058bd0b"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="creativestyle"><file name="apa_checkout.min.js" hash="4e5105418eaa7a5ab569af4d0c5a7d91"/><file name="apa_sandbox_toolbox.min.js" hash="43db69188712b5b4665b586fc70f39de"/><dir name="vendors"><file name="prism.js" hash="c700de3d980f7ef1e056dc5400acfd44"/></dir></dir></dir></target><target name="magelib"><dir name="OffAmazonPayments"><file name="Model.php" hash="0225c0c8424f0adbc296c916f2ec5564"/></dir><dir name="OffAmazonPaymentsNotifications"><file name="Client.php" hash="a14396aeb164fa4f75e125424c7d6f11"/><dir name="Impl"><file name="IpnNotificationParser.php" hash="fcad418dc58a93e87b854e4067f1e24d"/><file name="Message.php" hash="24eba6f6478bfeb4c78f467b3548db70"/><file name="OpenSslVerifySignature.php" hash="427e2e171daab9ef454ca4ce939edd68"/><file name="SnsMessageParser.php" hash="6a1088096d27a3cdc586e4c298ddf068"/><file name="SnsMessageValidator.php" hash="076f63d5960e4c72a3dc63a76e75316c"/><file name="VerifySignature.php" hash="b18edb328fbe91c1c7b0aa8afe2904d0"/><file name="XmlNotificationParser.php" hash="40da2086a2e95bee962542b082305516"/></dir><file name="Interface.php" hash="effe919508aab0c2aa1e585d2783c4e6"/><file name="InvalidMessageException.php" hash="2edda9cd6cc0c059846c4858cedfcd66"/><dir name="Model"><file name="AuthorizationDetails.php" hash="10d60426742051b703a41e7334e6d0e5"/><file name="AuthorizationNotification.php" hash="d09b3025a97d8d09e11184a0e9cd1b33"/><file name="BillingAgreement.php" hash="677eadcbc4c91282eab548afc6482fdc"/><file name="BillingAgreementLimits.php" hash="a1bd8e8ec111f516528e09340c47de4a"/><file name="BillingAgreementNotification.php" hash="e39a3189bdc937b29b8488e0ef62b562"/><file name="BillingAgreementStatus.php" hash="fae14e95f03245fe6c53e7c7b725c5ca"/><file name="CaptureDetails.php" hash="2b15b96cbbdea6405660d9d40e70a2ae"/><file name="CaptureNotification.php" hash="4e4b9569160ca6907a36aebdb7811c69"/><file name="IdList.php" hash="2907bdba4b5a534f535c026c40e6d6cc"/><file name="IpnNotificationMetadata.php" hash="58674fca7aa30eea82cb4cba17dec04e"/><file name="NotificationImpl.php" hash="bfd2e22da29de6dfa15c82a19240132a"/><file name="NotificationMetadataImpl.php" hash="b297f69b967338d433ff90054e06da4b"/><file name="OrderItemCategories.php" hash="a0655ec5a9127ddbd51174ef9e046c5d"/><file name="OrderReference.php" hash="94b51567b72f62355d885e37e365a032"/><file name="OrderReferenceNotification.php" hash="ec2aa50bf6a4ecff1caa17e0acfa6197"/><file name="OrderReferenceStatus.php" hash="e29870a166b75c6d90955a08e0dfe048"/><file name="OrderTotal.php" hash="4141b92ed1bdeb9cfa4c13837df41221"/><file name="Price.php" hash="d94b947bb989fb974e076f2727a0dceb"/><file name="RefundDetails.php" hash="723adeaa0260a16234dd0aa32aa6bfc4"/><file name="RefundNotification.php" hash="05af342e659bf63b7914eccadd5f3787"/><file name="SellerBillingAgreementAttributes.php" hash="79572632ec2c776fb6a7e96554d7291a"/><file name="SellerOrderAttributes.php" hash="aa6f71cb667d2efb50cc336603b6029c"/><file name="SnsNotificationMetadata.php" hash="e4555834c3286a2d49fadd3cd5d0343a"/><file name="Status.php" hash="60765642cca51b523276421d995be784"/></dir><file name="Notification.php" hash="edaf311309c64b67a4fd82ccb86393a3"/><file name="NotificationMetadata.php" hash="9ffe2779593da053e82587dbb61da7d1"/></dir><dir name="OffAmazonPaymentsService"><file name="Client.php" hash="9d547ccf092e213b046e20759d4b93d5"/><file name="Environments.php" hash="d84e7322b3394033b427f91be0a0abdb"/><file name="Exception.php" hash="dd85e54cfa5783c7ef7b1f93ca3995b2"/><file name="Interface.php" hash="e3569b47274add9e0856788758088f14"/><file name="MerchantValues.php" hash="5604c6d25b4a98b502c58e4530908ad8"/><dir name="Model"><file name="Address.php" hash="3b3c00f4b50a4a6f42da15701343ce91"/><file name="AuthorizationDetails.php" hash="a1f54e42588da34ff3fdd9a0141faff1"/><file name="AuthorizeOnBillingAgreementRequest.php" hash="fcb797660fa5c9cde02c4d482ec69f79"/><file name="AuthorizeOnBillingAgreementResponse.php" hash="c641d4e41db304d6f8f4136ea5d2f500"/><file name="AuthorizeOnBillingAgreementResult.php" hash="7b10d0dc68e7cbf18681abb4e600cca4"/><file name="AuthorizeRequest.php" hash="059b66a093aada5a3d110d3841aa3428"/><file name="AuthorizeResponse.php" hash="fb396a94285cacc3eb0fb798a0895466"/><file name="AuthorizeResult.php" hash="0c8f0581538ebba22a5dac5287c0fcc9"/><file name="BillingAgreementAttributes.php" hash="fe9c760e12c3db71125412ada5a65ec2"/><file name="BillingAgreementDetails.php" hash="8253567a3210422084d6532c906af45f"/><file name="BillingAgreementLimits.php" hash="974d1252d7b914169203acdfa6e7082b"/><file name="BillingAgreementStatus.php" hash="002b0516c52264ea95847ea840d68545"/><file name="Buyer.php" hash="83759bcb729cdd8718cdb80182d9a237"/><file name="CancelOrderReferenceRequest.php" hash="31ff8229a20eba00e28760aa96bad8ce"/><file name="CancelOrderReferenceResponse.php" hash="4d6bc1d4818d81fd5b5820510b608275"/><file name="CancelOrderReferenceResult.php" hash="32013170a09bccf0aac178a7acb56a30"/><file name="CaptureDetails.php" hash="20fa1b4aa2953894fb14cf70364a4812"/><file name="CaptureRequest.php" hash="05c0096dfbc361cd6bd8cf5b3934f72f"/><file name="CaptureResponse.php" hash="05540d55de14a3252f909fd17c8b62b6"/><file name="CaptureResult.php" hash="20e0bc168c13eb69848f09b520232eeb"/><file name="CloseAuthorizationRequest.php" hash="92d56fd8a0ae338213fdd4f8a5d1b5fc"/><file name="CloseAuthorizationResponse.php" hash="d5887ecf3981534842a9a2371ae063f0"/><file name="CloseAuthorizationResult.php" hash="0505c8c12f3b5252ad389c0c5b94ca8d"/><file name="CloseBillingAgreementRequest.php" hash="c845cdde3cde3242d4c40b1381e0ab2f"/><file name="CloseBillingAgreementResponse.php" hash="51530b8a5d14896488dbf82d6b5a37dc"/><file name="CloseBillingAgreementResult.php" hash="21cb77e2fa38defbc076263c71593168"/><file name="CloseOrderReferenceRequest.php" hash="85ae367281cb4d59f5d347be8bf0147d"/><file name="CloseOrderReferenceResponse.php" hash="d06107418145176a4038f2b0937fd9d7"/><file name="CloseOrderReferenceResult.php" hash="17bc6d72eb29b021fad7d8a222f366dc"/><file name="ConfirmBillingAgreementRequest.php" hash="965b88fe77576f07ce439bc4909e5723"/><file name="ConfirmBillingAgreementResponse.php" hash="989a66f5c217ad50a2a36afd00c763f1"/><file name="ConfirmBillingAgreementResult.php" hash="f0acdd5b7e2e1027bec651e6a6f4681d"/><file name="ConfirmOrderReferenceRequest.php" hash="8561edc4d074fd376e647bd0cdf9a686"/><file name="ConfirmOrderReferenceResponse.php" hash="b94a17b5afd4d923bda35d606c974982"/><file name="Constraint.php" hash="436ed3c926e321bcc9d9c6eaf9b4003a"/><file name="Constraints.php" hash="0063db27ee04067daf94c448f57d5c30"/><file name="CreateOrderReferenceForIdRequest.php" hash="b1c22ce6d83e510d0b9530c99b955711"/><file name="CreateOrderReferenceForIdResponse.php" hash="c811a7c44241a8b968bf4408218ac08f"/><file name="CreateOrderReferenceForIdResult.php" hash="f532299b151a1c4fe4264891737efeaf"/><file name="Destination.php" hash="4e6067e4a3b5f9acb3b9c96452b216fe"/><file name="Error.php" hash="56651e2c89e0214a3c4226903ca84d87"/><file name="ErrorResponse.php" hash="6df06e3cca71a1e73dbcde4bc6b30a3f"/><file name="GetAuthorizationDetailsRequest.php" hash="a0eb816954b6770a7fd8d54d0d75bc1a"/><file name="GetAuthorizationDetailsResponse.php" hash="82b879ccc0212f0752446b40d5338332"/><file name="GetAuthorizationDetailsResult.php" hash="a23e9463ce78b01cc51c45c21b065b6e"/><file name="GetBillingAgreementDetailsRequest.php" hash="91f33b1b1533cc4e98a019ce2c405850"/><file name="GetBillingAgreementDetailsResponse.php" hash="3abcae092618211ae5487f678a45c94f"/><file name="GetBillingAgreementDetailsResult.php" hash="37dc2407a2e9e8dd3e7feae1f690d160"/><file name="GetCaptureDetailsRequest.php" hash="48a9edebb0c7c8284241ac12b53e2d41"/><file name="GetCaptureDetailsResponse.php" hash="49cb6ae36cfba0aedef3c74c24256d53"/><file name="GetCaptureDetailsResult.php" hash="9110dbde9258a74d9933f8a50d10bd3b"/><file name="GetOrderReferenceDetailsRequest.php" hash="d023c86555d1a57d94276f13cc84156f"/><file name="GetOrderReferenceDetailsResponse.php" hash="3ea19407068d478f6c2b077bf8489a74"/><file name="GetOrderReferenceDetailsResult.php" hash="51bc2cd9a665edfb00cec970fc1fd328"/><file name="GetRefundDetailsRequest.php" hash="c798b0b57c53e22d20e7e4a92d9eb225"/><file name="GetRefundDetailsResponse.php" hash="c1011e3b07e32792c4ac8ceabab3bc6b"/><file name="GetRefundDetailsResult.php" hash="463db01fb3a45adf9634116f3397f8a7"/><file name="IdList.php" hash="07daf191c601560ddfe50440f9006450"/><file name="OrderItemCategories.php" hash="2820e45ffb6cb36a14368a1dfe89fa84"/><file name="OrderReferenceAttributes.php" hash="108de3defa0a629644fb683a7faf99a8"/><file name="OrderReferenceDetails.php" hash="d60537bb56dc782e4e48a0c9b9a4b943"/><file name="OrderReferenceStatus.php" hash="04459e930111cf70c989196440f6400f"/><file name="OrderTotal.php" hash="6fda4ce95b066f960eebe41731717925"/><file name="Price.php" hash="ea1d5a6e473542f5b0cb8ed1e70436bd"/><file name="RefundDetails.php" hash="c80e14e042b7143a320df67c9a5b8cab"/><file name="RefundRequest.php" hash="bf957fcbcb414581753dc3c703bf24b6"/><file name="RefundResponse.php" hash="b01d5c4c81a040bca2e1109e5d34b3e9"/><file name="RefundResult.php" hash="8f2478b1f27a295bff8f30664fd45235"/><file name="ResponseHeaderMetadata.php" hash="d8024e3bf444e8a843a6f2f6a2f836ca"/><file name="ResponseMetadata.php" hash="18e8035d5fc28d2919c1500b9f8734c5"/><file name="SellerBillingAgreementAttributes.php" hash="b4dc6401ae4340df3c484c00622d234f"/><file name="SellerOrderAttributes.php" hash="9ec79bc1be30eb322d7e88c4102a4ced"/><file name="SetBillingAgreementDetailsRequest.php" hash="9b47c3c72825fe661948aa36a2947da2"/><file name="SetBillingAgreementDetailsResponse.php" hash="7b6886f3597c434e585fb576d84fd9eb"/><file name="SetBillingAgreementDetailsResult.php" hash="d03a4c84cb96eb30f7ef5c76f981d086"/><file name="SetOrderReferenceDetailsRequest.php" hash="eed7e3485bc27f9f73cf7b67a893a1fa"/><file name="SetOrderReferenceDetailsResponse.php" hash="145bdfcfbf3bb091e0eada1361d6f581"/><file name="SetOrderReferenceDetailsResult.php" hash="246c06e0c62ee6a6ec0cfe504940c12d"/><file name="Status.php" hash="11c00f2cc32b11d4cfb8541d5ba2c279"/><file name="ValidateBillingAgreementRequest.php" hash="60250e9c62eaffa0a841bce7238ace22"/><file name="ValidateBillingAgreementResponse.php" hash="c77eebf5805b5972de84a814b3872cc7"/><file name="ValidateBillingAgreementResult.php" hash="95d4e8efc88317a097e376a4aa37a287"/></dir><file name="Model.php" hash="ca87227ca87a9f7062e6eb6a99ef086b"/><file name="RegionSpecificProperties.php" hash="41ba34ed2f60b329d6e0c21b3b1934ca"/><file name="Regions.php" hash="a544d12c6321899770c039426e063cce"/></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="a1f07a48b8de6d1fa9391a4eed2f12be"/><file name="amazonpayments-highlight.css" hash="f6daf03c989ac56ad436300b5520f0df"/></dir><dir name="images"><file name="amazon-payments-advanced-creativestyle-logo.png" hash="bb507d0085dab135ac313b8068515620"/><file name="amazon-payments-advanced-creativestyle-header-logo.png" hash="1f17fc7a61f8aaf929000d1d87f7d943"/><file name="amazon-payments-advanced-creativestyle-header-logo-white.png" hash="4ce4ba0d8d210a26caa380217804e200"/><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="c2935050d1273d74ad82da80362f2df9"/></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></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>dom</name><min></min><max></max></extension><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Creativestyle_AmazonPayments</name>
|
4 |
+
<version>1.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Integration of your Magento shop with Pay with Amazon service</summary>
|
10 |
<description>This extension provides an official integration of your Magento store with 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>ADDED: pagination for the log grid
|
12 |
+
ADDED: Magento Order ID data to the SetOrderReferenceDetails call
|
13 |
+
FIXED: date formatting on the log grid
|
14 |
+
FIXED: cart redirection issue when an exception is thrown during placing the order
|
15 |
</notes>
|
16 |
<authors><author><name>creativestyle GmbH</name><user>creativestyle</user><email>amazon@creativestyle.de</email></author></authors>
|
17 |
+
<date>2014-05-22</date>
|
18 |
+
<time>22:29:42</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="Creativestyle"><dir name="AmazonPayments"><dir name="Block"><dir name="Adminhtml"><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="cc798f2987cc0dffc755a88988b74912"/><file name="Info.php" hash="be764b1856eccc2b3070a1ea4cfe57f7"/><file name="IpnUrl.php" hash="dc185fbffc8851d0031769e9a623ddda"/><dir name="Log"><file name="Abstract.php" hash="02887066c2d6973141dff769b385d8fa"/><dir name="Api"><file name="Grid.php" hash="8d072ba9ce4be99222c03a26680d51eb"/><file name="View.php" hash="eb30544643fa9571a454a763111d0113"/></dir><file name="Api.php" hash="5ea0736c83de5feb01df0a3ec4db4d80"/><dir name="Exception"><file name="Grid.php" hash="3c3decb0a90638d5e2b1617426ec9437"/><file name="View.php" hash="cae17d2a2d5716e8dde1c6662397131e"/></dir><file name="Exception.php" hash="c35dafcaf89ca709394341394862f4cf"/><dir name="Ipn"><file name="Grid.php" hash="74bb51ab562b09d42bd9ced6d6609ae1"/><file name="View.php" hash="6ab63414642658e95258a73a143e6955"/></dir><file name="Ipn.php" hash="a2225b081ccb354bfe94b4a646b0d521"/><dir name="View"><file name="Abstract.php" hash="0a4c977a1f89622148bdc6acc037fc1f"/></dir></dir><dir name="Renderer"><file name="Timestamp.php" hash="190325613c20e2cf97adc28950658e99"/></dir><dir name="Sales"><file name="Order.php" hash="45a5ee919501a2bf26160d38dafccd44"/></dir></dir><dir name="Advanced"><file name="Abstract.php" hash="766b11b0d18fa51235f3260ee32063c1"/><file name="Button.php" hash="0f41939d7617b56c81b40c6d9ddc90ad"/><dir name="Checkout"><file name="Notice.php" hash="748f6a287310299450ca2ecea6031f20"/><file name="SandboxToolbox.php" hash="d70a1ab225c6da26a5aa196d2201471e"/></dir><file name="Checkout.php" hash="5381d2a932c0c513b2b91f9d603c7afa"/><file name="Head.php" hash="cd9c6b29241ed7d0c66d3263671805c6"/><file name="Js.php" hash="ccb6a0a742175a5c3a018127b3b60bb0"/><dir name="Payment"><file name="Info.php" hash="27509728d9e4ff5e2a3a8bacefcbb15a"/></dir></dir></dir><file name="Exception.php" hash="ca655a29842b38dd2ebf438208a6c70c"/><dir name="Helper"><file name="Data.php" hash="2e4f192a5cba4730a6d667598050408f"/><file name="Debug.php" hash="7e99e99d3f73c9c0199e409f83220157"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="5a6fc7325d9d09d358fa28afebf55f85"/><file name="Advanced.php" hash="38eae8140209083bdbca004767c3c8fd"/><file name="Ipn.php" hash="7796776a38fe90b9805cbd88094a773d"/></dir><file name="Checkout.php" hash="3982b9be43dabbb8f668024932fda9b7"/><file name="Config.php" hash="f52aadf6b1d324ede3b323ec3a8fba12"/><dir name="Log"><file name="Collection.php" hash="13d71847c4e164af18636a3fe5bf975b"/></dir><file name="Logger.php" hash="59d976108e72ef6921459a33f5bef3a7"/><dir name="Lookup"><file name="Abstract.php" hash="443bbef12f4e7c896e54cf0b7463e04e"/><dir name="Design"><dir name="Button"><file name="Color.php" hash="70be7e5eb00b9410aacf5968229a2b93"/><file name="Size.php" hash="6ae57e89caed0edfc9f7a64895b04f57"/></dir></dir><file name="Frequency.php" hash="5115fb39b48781e5e97f9b62414a72cc"/><file name="IpnActive.php" hash="b73000f5bfc1e26b80911e125e9eec46"/><file name="PaymentAction.php" hash="6d0c15996ec3caf112d88e07ea703bb4"/><file name="Region.php" hash="8f5cc8ab970aa165e16085368b320f89"/></dir><file name="Manager.php" hash="3124ad729c36b39216b9dda2439ef4da"/><file name="Observer.php" hash="0dac6a040e00c696dd543b724a1b1956"/><dir name="Payment"><file name="Abstract.php" hash="5667d8b7b4eae1f3b29e8fc6c043b9ce"/><dir name="Advanced"><file name="Abstract.php" hash="8dea8285fb69ca5a0173537a8c6cd447"/><file name="Sandbox.php" hash="a1509cd32ad92e6e6d3a8f348be1d3bb"/></dir><file name="Advanced.php" hash="72006ba9aaa96486f6d7505814ffaf54"/></dir><dir name="Service"><file name="Quote.php" hash="3f83d1e1b1c6e19e0e23cb1a8c8b41f5"/></dir><file name="Simulator.php" hash="a29334c00456217b80a455931278594a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="DebugController.php" hash="28e0ddedf23912140158d100339bdbe8"/><file name="DocumentationController.php" hash="4e214386e032b2e513dda5a26344fd87"/><dir name="Log"><file name="ApiController.php" hash="e0a9181f57223d3ba722982572c1d003"/><file name="ExceptionController.php" hash="5daaa04ec6479396edfb1f62910f4ad3"/><file name="IpnController.php" hash="f00870c68a6b18d460c59d0b76d4a67d"/></dir><file name="OrderController.php" hash="1293b8aa3851f09b7559306e37a6a6ea"/></dir><dir name="Advanced"><file name="CheckoutController.php" hash="bdc6a4fd4b3b3906acc901294cae98ea"/><file name="IpnController.php" hash="0d8a52a891d493870dd1081f9a407170"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="703e659e10fe9ae212549c148bff12a8"/><file name="config.xml" hash="e837464385b9a529daf294f11f63f4f5"/><file name="system.xml" hash="97ff587dd614091ca67e808a34a572d1"/></dir><dir name="sql"><dir name="amazonpayments_setup"><file name="mysql4-install-1.0.0.php" hash="d4681b9a39905cc9e9dcc660688dea85"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="4bc12228bba39bd925ed129d7cf64258"/></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="92e2a91aa6f25e20fe8e89bad751e8cf"/></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 name="payment"><file name="info.phtml" hash="200af8569ab7792e7f16c5f4a93c6897"/><dir name="pdf"><file name="info.phtml" hash="1fb213f3fcc3aeecaa6305c07cff3b73"/></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="9206d48b9e8433216cf9f24c7b2ceef4"/><file name="init.phtml" hash="ba9d53045077e63b4e6c25c6b7bb685c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="amazonpayments.xml" hash="49548b6cc0415d167599844256dae0c5"/></dir><dir name="template"><dir name="creativestyle"><dir name="amazonpayments"><dir name="advanced"><dir name="button"><file name="js.phtml" hash="1304236a9c1e2c27156d1ab8982853ad"/><file name="onepage.phtml" hash="f3ccc6387c7069adb7250399845f7cc1"/><file name="tooltip.phtml" hash="9d5ba8ad73fb30e53d117e9bc9950fa4"/></dir><file name="button.phtml" hash="0f858abbda354cadb3c24d3342c95614"/><dir name="checkout"><file name="capture_notice.phtml" hash="f9c75cd05a596d0a16c55f0169b4ee6c"/><file name="js.phtml" hash="a9d8610006bcc78a03fc6a796b358851"/><dir name="review"><file name="button.phtml" hash="1312572385c9ff653d283bb0c3f47b1b"/></dir><file name="sandbox_toolbox.phtml" hash="ff639266f99827e3ec3a9e8305bd7eb7"/><file name="shipping_method.phtml" hash="8a8c97b4eb2a7c8cfc8248bd499b95eb"/></dir><file name="checkout.phtml" hash="883f7b57f16ea47e53cc225f1fe7154b"/><file name="head.phtml" hash="c303821e8f08b69ff92ea2052fbb6e1d"/><dir name="payment"><file name="info.phtml" hash="3631896707e596d9675f526a7d021617"/></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="en_US"><file name="Creativestyle_AmazonPayments.csv" hash="a2326e00888a7b1710cc2e2e30c10de4"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="ad694ba24051f779698d483bc32d9b75"/></dir></dir></dir><dir name="en_GB"><file name="Creativestyle_AmazonPayments.csv" hash="c072c953b397a47958680d3d1494c1fd"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="1a933579acb1fbb3d78ae47ca990521b"/></dir></dir></dir><dir name="de_DE"><file name="Creativestyle_AmazonPayments.csv" hash="6595025c8f8082e00e1d511fb96b4cc6"/><dir name="template"><dir name="email"><file name="amazon_payments_failed.html" hash="4879ccbfbea101548700da52b058bd0b"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="creativestyle"><file name="apa_checkout.min.js" hash="4ec99d34529c62c6ede62c2abfc08748"/><file name="apa_sandbox_toolbox.min.js" hash="43db69188712b5b4665b586fc70f39de"/><dir name="vendors"><file name="prism.js" hash="c700de3d980f7ef1e056dc5400acfd44"/></dir></dir></dir></target><target name="magelib"><dir name="OffAmazonPayments"><file name="Model.php" hash="0225c0c8424f0adbc296c916f2ec5564"/></dir><dir name="OffAmazonPaymentsNotifications"><file name="Client.php" hash="a14396aeb164fa4f75e125424c7d6f11"/><dir name="Impl"><file name="IpnNotificationParser.php" hash="fcad418dc58a93e87b854e4067f1e24d"/><file name="Message.php" hash="24eba6f6478bfeb4c78f467b3548db70"/><file name="OpenSslVerifySignature.php" hash="427e2e171daab9ef454ca4ce939edd68"/><file name="SnsMessageParser.php" hash="6a1088096d27a3cdc586e4c298ddf068"/><file name="SnsMessageValidator.php" hash="076f63d5960e4c72a3dc63a76e75316c"/><file name="VerifySignature.php" hash="b18edb328fbe91c1c7b0aa8afe2904d0"/><file name="XmlNotificationParser.php" hash="40da2086a2e95bee962542b082305516"/></dir><file name="Interface.php" hash="effe919508aab0c2aa1e585d2783c4e6"/><file name="InvalidMessageException.php" hash="2edda9cd6cc0c059846c4858cedfcd66"/><dir name="Model"><file name="AuthorizationDetails.php" hash="10d60426742051b703a41e7334e6d0e5"/><file name="AuthorizationNotification.php" hash="d09b3025a97d8d09e11184a0e9cd1b33"/><file name="BillingAgreement.php" hash="677eadcbc4c91282eab548afc6482fdc"/><file name="BillingAgreementLimits.php" hash="a1bd8e8ec111f516528e09340c47de4a"/><file name="BillingAgreementNotification.php" hash="e39a3189bdc937b29b8488e0ef62b562"/><file name="BillingAgreementStatus.php" hash="fae14e95f03245fe6c53e7c7b725c5ca"/><file name="CaptureDetails.php" hash="2b15b96cbbdea6405660d9d40e70a2ae"/><file name="CaptureNotification.php" hash="4e4b9569160ca6907a36aebdb7811c69"/><file name="IdList.php" hash="2907bdba4b5a534f535c026c40e6d6cc"/><file name="IpnNotificationMetadata.php" hash="58674fca7aa30eea82cb4cba17dec04e"/><file name="NotificationImpl.php" hash="bfd2e22da29de6dfa15c82a19240132a"/><file name="NotificationMetadataImpl.php" hash="b297f69b967338d433ff90054e06da4b"/><file name="OrderItemCategories.php" hash="a0655ec5a9127ddbd51174ef9e046c5d"/><file name="OrderReference.php" hash="94b51567b72f62355d885e37e365a032"/><file name="OrderReferenceNotification.php" hash="ec2aa50bf6a4ecff1caa17e0acfa6197"/><file name="OrderReferenceStatus.php" hash="e29870a166b75c6d90955a08e0dfe048"/><file name="OrderTotal.php" hash="4141b92ed1bdeb9cfa4c13837df41221"/><file name="Price.php" hash="d94b947bb989fb974e076f2727a0dceb"/><file name="RefundDetails.php" hash="723adeaa0260a16234dd0aa32aa6bfc4"/><file name="RefundNotification.php" hash="05af342e659bf63b7914eccadd5f3787"/><file name="SellerBillingAgreementAttributes.php" hash="79572632ec2c776fb6a7e96554d7291a"/><file name="SellerOrderAttributes.php" hash="aa6f71cb667d2efb50cc336603b6029c"/><file name="SnsNotificationMetadata.php" hash="e4555834c3286a2d49fadd3cd5d0343a"/><file name="Status.php" hash="60765642cca51b523276421d995be784"/></dir><file name="Notification.php" hash="edaf311309c64b67a4fd82ccb86393a3"/><file name="NotificationMetadata.php" hash="9ffe2779593da053e82587dbb61da7d1"/></dir><dir name="OffAmazonPaymentsService"><file name="Client.php" hash="9d547ccf092e213b046e20759d4b93d5"/><file name="Environments.php" hash="d84e7322b3394033b427f91be0a0abdb"/><file name="Exception.php" hash="dd85e54cfa5783c7ef7b1f93ca3995b2"/><file name="Interface.php" hash="e3569b47274add9e0856788758088f14"/><file name="MerchantValues.php" hash="5604c6d25b4a98b502c58e4530908ad8"/><dir name="Model"><file name="Address.php" hash="3b3c00f4b50a4a6f42da15701343ce91"/><file name="AuthorizationDetails.php" hash="a1f54e42588da34ff3fdd9a0141faff1"/><file name="AuthorizeOnBillingAgreementRequest.php" hash="fcb797660fa5c9cde02c4d482ec69f79"/><file name="AuthorizeOnBillingAgreementResponse.php" hash="c641d4e41db304d6f8f4136ea5d2f500"/><file name="AuthorizeOnBillingAgreementResult.php" hash="7b10d0dc68e7cbf18681abb4e600cca4"/><file name="AuthorizeRequest.php" hash="059b66a093aada5a3d110d3841aa3428"/><file name="AuthorizeResponse.php" hash="fb396a94285cacc3eb0fb798a0895466"/><file name="AuthorizeResult.php" hash="0c8f0581538ebba22a5dac5287c0fcc9"/><file name="BillingAgreementAttributes.php" hash="fe9c760e12c3db71125412ada5a65ec2"/><file name="BillingAgreementDetails.php" hash="8253567a3210422084d6532c906af45f"/><file name="BillingAgreementLimits.php" hash="974d1252d7b914169203acdfa6e7082b"/><file name="BillingAgreementStatus.php" hash="002b0516c52264ea95847ea840d68545"/><file name="Buyer.php" hash="83759bcb729cdd8718cdb80182d9a237"/><file name="CancelOrderReferenceRequest.php" hash="31ff8229a20eba00e28760aa96bad8ce"/><file name="CancelOrderReferenceResponse.php" hash="4d6bc1d4818d81fd5b5820510b608275"/><file name="CancelOrderReferenceResult.php" hash="32013170a09bccf0aac178a7acb56a30"/><file name="CaptureDetails.php" hash="20fa1b4aa2953894fb14cf70364a4812"/><file name="CaptureRequest.php" hash="05c0096dfbc361cd6bd8cf5b3934f72f"/><file name="CaptureResponse.php" hash="05540d55de14a3252f909fd17c8b62b6"/><file name="CaptureResult.php" hash="20e0bc168c13eb69848f09b520232eeb"/><file name="CloseAuthorizationRequest.php" hash="92d56fd8a0ae338213fdd4f8a5d1b5fc"/><file name="CloseAuthorizationResponse.php" hash="d5887ecf3981534842a9a2371ae063f0"/><file name="CloseAuthorizationResult.php" hash="0505c8c12f3b5252ad389c0c5b94ca8d"/><file name="CloseBillingAgreementRequest.php" hash="c845cdde3cde3242d4c40b1381e0ab2f"/><file name="CloseBillingAgreementResponse.php" hash="51530b8a5d14896488dbf82d6b5a37dc"/><file name="CloseBillingAgreementResult.php" hash="21cb77e2fa38defbc076263c71593168"/><file name="CloseOrderReferenceRequest.php" hash="85ae367281cb4d59f5d347be8bf0147d"/><file name="CloseOrderReferenceResponse.php" hash="d06107418145176a4038f2b0937fd9d7"/><file name="CloseOrderReferenceResult.php" hash="17bc6d72eb29b021fad7d8a222f366dc"/><file name="ConfirmBillingAgreementRequest.php" hash="965b88fe77576f07ce439bc4909e5723"/><file name="ConfirmBillingAgreementResponse.php" hash="989a66f5c217ad50a2a36afd00c763f1"/><file name="ConfirmBillingAgreementResult.php" hash="f0acdd5b7e2e1027bec651e6a6f4681d"/><file name="ConfirmOrderReferenceRequest.php" hash="8561edc4d074fd376e647bd0cdf9a686"/><file name="ConfirmOrderReferenceResponse.php" hash="b94a17b5afd4d923bda35d606c974982"/><file name="Constraint.php" hash="436ed3c926e321bcc9d9c6eaf9b4003a"/><file name="Constraints.php" hash="0063db27ee04067daf94c448f57d5c30"/><file name="CreateOrderReferenceForIdRequest.php" hash="b1c22ce6d83e510d0b9530c99b955711"/><file name="CreateOrderReferenceForIdResponse.php" hash="c811a7c44241a8b968bf4408218ac08f"/><file name="CreateOrderReferenceForIdResult.php" hash="f532299b151a1c4fe4264891737efeaf"/><file name="Destination.php" hash="4e6067e4a3b5f9acb3b9c96452b216fe"/><file name="Error.php" hash="56651e2c89e0214a3c4226903ca84d87"/><file name="ErrorResponse.php" hash="6df06e3cca71a1e73dbcde4bc6b30a3f"/><file name="GetAuthorizationDetailsRequest.php" hash="a0eb816954b6770a7fd8d54d0d75bc1a"/><file name="GetAuthorizationDetailsResponse.php" hash="82b879ccc0212f0752446b40d5338332"/><file name="GetAuthorizationDetailsResult.php" hash="a23e9463ce78b01cc51c45c21b065b6e"/><file name="GetBillingAgreementDetailsRequest.php" hash="91f33b1b1533cc4e98a019ce2c405850"/><file name="GetBillingAgreementDetailsResponse.php" hash="3abcae092618211ae5487f678a45c94f"/><file name="GetBillingAgreementDetailsResult.php" hash="37dc2407a2e9e8dd3e7feae1f690d160"/><file name="GetCaptureDetailsRequest.php" hash="48a9edebb0c7c8284241ac12b53e2d41"/><file name="GetCaptureDetailsResponse.php" hash="49cb6ae36cfba0aedef3c74c24256d53"/><file name="GetCaptureDetailsResult.php" hash="9110dbde9258a74d9933f8a50d10bd3b"/><file name="GetOrderReferenceDetailsRequest.php" hash="d023c86555d1a57d94276f13cc84156f"/><file name="GetOrderReferenceDetailsResponse.php" hash="3ea19407068d478f6c2b077bf8489a74"/><file name="GetOrderReferenceDetailsResult.php" hash="51bc2cd9a665edfb00cec970fc1fd328"/><file name="GetRefundDetailsRequest.php" hash="c798b0b57c53e22d20e7e4a92d9eb225"/><file name="GetRefundDetailsResponse.php" hash="c1011e3b07e32792c4ac8ceabab3bc6b"/><file name="GetRefundDetailsResult.php" hash="463db01fb3a45adf9634116f3397f8a7"/><file name="IdList.php" hash="07daf191c601560ddfe50440f9006450"/><file name="OrderItemCategories.php" hash="2820e45ffb6cb36a14368a1dfe89fa84"/><file name="OrderReferenceAttributes.php" hash="108de3defa0a629644fb683a7faf99a8"/><file name="OrderReferenceDetails.php" hash="d60537bb56dc782e4e48a0c9b9a4b943"/><file name="OrderReferenceStatus.php" hash="04459e930111cf70c989196440f6400f"/><file name="OrderTotal.php" hash="6fda4ce95b066f960eebe41731717925"/><file name="Price.php" hash="ea1d5a6e473542f5b0cb8ed1e70436bd"/><file name="RefundDetails.php" hash="c80e14e042b7143a320df67c9a5b8cab"/><file name="RefundRequest.php" hash="bf957fcbcb414581753dc3c703bf24b6"/><file name="RefundResponse.php" hash="b01d5c4c81a040bca2e1109e5d34b3e9"/><file name="RefundResult.php" hash="8f2478b1f27a295bff8f30664fd45235"/><file name="ResponseHeaderMetadata.php" hash="d8024e3bf444e8a843a6f2f6a2f836ca"/><file name="ResponseMetadata.php" hash="18e8035d5fc28d2919c1500b9f8734c5"/><file name="SellerBillingAgreementAttributes.php" hash="b4dc6401ae4340df3c484c00622d234f"/><file name="SellerOrderAttributes.php" hash="9ec79bc1be30eb322d7e88c4102a4ced"/><file name="SetBillingAgreementDetailsRequest.php" hash="9b47c3c72825fe661948aa36a2947da2"/><file name="SetBillingAgreementDetailsResponse.php" hash="7b6886f3597c434e585fb576d84fd9eb"/><file name="SetBillingAgreementDetailsResult.php" hash="d03a4c84cb96eb30f7ef5c76f981d086"/><file name="SetOrderReferenceDetailsRequest.php" hash="eed7e3485bc27f9f73cf7b67a893a1fa"/><file name="SetOrderReferenceDetailsResponse.php" hash="145bdfcfbf3bb091e0eada1361d6f581"/><file name="SetOrderReferenceDetailsResult.php" hash="246c06e0c62ee6a6ec0cfe504940c12d"/><file name="Status.php" hash="11c00f2cc32b11d4cfb8541d5ba2c279"/><file name="ValidateBillingAgreementRequest.php" hash="60250e9c62eaffa0a841bce7238ace22"/><file name="ValidateBillingAgreementResponse.php" hash="c77eebf5805b5972de84a814b3872cc7"/><file name="ValidateBillingAgreementResult.php" hash="95d4e8efc88317a097e376a4aa37a287"/></dir><file name="Model.php" hash="ca87227ca87a9f7062e6eb6a99ef086b"/><file name="RegionSpecificProperties.php" hash="41ba34ed2f60b329d6e0c21b3b1934ca"/><file name="Regions.php" hash="a544d12c6321899770c039426e063cce"/></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="a1f07a48b8de6d1fa9391a4eed2f12be"/><file name="amazonpayments-highlight.css" hash="f6daf03c989ac56ad436300b5520f0df"/></dir><dir name="images"><file name="amazon-payments-advanced-creativestyle-logo.png" hash="bb507d0085dab135ac313b8068515620"/><file name="amazon-payments-advanced-creativestyle-header-logo.png" hash="1f17fc7a61f8aaf929000d1d87f7d943"/><file name="amazon-payments-advanced-creativestyle-header-logo-white.png" hash="4ce4ba0d8d210a26caa380217804e200"/><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="1131acb6ef67392165ac6cd262e88516"/></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></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>dom</name><min></min><max></max></extension><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
|
22 |
</package>
|
skin/frontend/base/default/creativestyle/css/amazonpayments.css
CHANGED
@@ -63,7 +63,7 @@ ol.apa.desktop-layout {
|
|
63 |
margin-top: 0;
|
64 |
}
|
65 |
.apa .section {
|
66 |
-
margin: 0 0 15px 0;
|
67 |
}
|
68 |
.apa .store-widget {
|
69 |
clear: both;
|
@@ -78,6 +78,15 @@ ol.apa.desktop-layout {
|
|
78 |
.desktop-layout .amazon-widget {
|
79 |
float: left;
|
80 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
.apa .step-title {
|
82 |
margin: 12px;
|
83 |
}
|
63 |
margin-top: 0;
|
64 |
}
|
65 |
.apa .section {
|
66 |
+
margin: 0 0 15px 0;
|
67 |
}
|
68 |
.apa .store-widget {
|
69 |
clear: both;
|
78 |
.desktop-layout .amazon-widget {
|
79 |
float: left;
|
80 |
}
|
81 |
+
.apa .amazon-widget-overlay {
|
82 |
+
position: fixed;
|
83 |
+
display: block;
|
84 |
+
top: 0;
|
85 |
+
left: 0;
|
86 |
+
height: 100%;
|
87 |
+
width: 100%;
|
88 |
+
z-index: 100;
|
89 |
+
}
|
90 |
.apa .step-title {
|
91 |
margin: 12px;
|
92 |
}
|