Compare commits
150 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
42652d7e8f | ||
|
9bf8ef0dc9 | ||
|
092351f962 | ||
|
dcf683e949 | ||
|
22919ad8a9 | ||
|
879b186e29 | ||
|
08602cbbed | ||
|
10f8211888 | ||
|
5a2e6e0713 | ||
|
4d1f0bbbf9 | ||
|
7e66761e52 | ||
|
282fae6b8d | ||
|
bcb2c2f5a5 | ||
|
8de3efa44d | ||
|
9247e48096 | ||
|
28c8d500af | ||
|
c47b7fd7ee | ||
|
26b5a6a3ad | ||
|
a5cdbaf469 | ||
|
6d8090d708 | ||
|
d36ecbeb1d | ||
|
6950fdaf14 | ||
|
8a76aea5b9 | ||
|
c13b069227 | ||
|
d430d73bcd | ||
|
7c8e4b5314 | ||
|
6ba413fd18 | ||
|
cfcb3a2e4b | ||
|
50e5ac74b7 | ||
|
07e0cbeaf9 | ||
|
2cb1f2c30e | ||
|
5b8377f936 | ||
|
eaf6d4fc1f | ||
|
e8665a6bd6 | ||
|
ac3b1c638f | ||
|
951ba27913 | ||
|
9452a93d64 | ||
|
e616db6156 | ||
|
59e2be81e4 | ||
|
c7a858b3cb | ||
|
ec1e33bcb7 | ||
|
14cd8559d1 | ||
|
d4ea4823b2 | ||
|
4c0bc31577 | ||
|
06a9159c71 | ||
|
b5f083a63a | ||
|
abb6abb7c4 | ||
|
b7c11c5ae5 | ||
|
3b06bed0af | ||
|
1cd90dd595 | ||
|
e5e0c9575b | ||
|
31f873e760 | ||
|
95af59f476 | ||
|
1febb99865 | ||
|
8381e4a407 | ||
|
da073e3da1 | ||
|
0777852615 | ||
|
4561da74fd | ||
|
59e057bccc | ||
|
dc9199e255 | ||
|
166361c3fa | ||
|
12b56d401a | ||
|
650a9eff67 | ||
|
632379a2a0 | ||
|
39a6557714 | ||
|
b7b4865353 | ||
|
9dd16f8b65 | ||
|
b5fc8defed | ||
|
54b55fbd6b | ||
|
13632959bb | ||
|
907eb96440 | ||
|
cac71f077f | ||
|
c6fe06e24b | ||
|
93f24be05a | ||
|
fca769f29b | ||
|
d588f03f92 | ||
|
fd6ec8139c | ||
|
ab0acda726 | ||
|
f9a3af2d6b | ||
|
ad546054ac | ||
|
618edc1b19 | ||
|
a46e20732f | ||
|
a6f450c5f2 | ||
|
bb739811fe | ||
|
ea2e7b585d | ||
|
a9d54988f5 | ||
|
58a7b2fc56 | ||
|
a8629fdbed | ||
|
a6553625a2 | ||
|
8fc584c41e | ||
|
dc80d577c6 | ||
|
3c95debeac | ||
|
33dd3013ee | ||
|
154ef8a567 | ||
|
61640ccd45 | ||
|
36849721fc | ||
|
1934edc9e0 | ||
|
0a7004ad8c | ||
|
ffd167a1c5 | ||
|
d2a81d02b8 | ||
|
34e23832ae | ||
|
3afc1c78d5 | ||
|
43d3c5f567 | ||
|
f37a6c7c54 | ||
|
950da342ac | ||
|
0fb722b3a9 | ||
|
ecca403ea8 | ||
|
a47dd03d84 | ||
|
ce1b4d5c26 | ||
|
aeda0286f8 | ||
|
5a808c4fd6 | ||
|
7c36c50865 | ||
|
12e247ba5b | ||
|
bbd36a0266 | ||
|
dc22716440 | ||
|
2cca3ea857 | ||
|
3feaae97df | ||
|
effbeccf65 | ||
|
6cd5e58e0d | ||
|
0f825c159d | ||
|
234ed67441 | ||
|
077a0130d0 | ||
|
4a8d254717 | ||
|
0cafafe3dd | ||
|
6aeae2f708 | ||
|
5b8fa3bb02 | ||
|
9089c7c059 | ||
|
a853ae290c | ||
|
2ec1ec7edf | ||
|
304756d639 | ||
|
0da3ea182b | ||
|
95e9cf21bc | ||
|
2ba662f761 | ||
|
40bcc889c3 | ||
|
8ce6c97971 | ||
|
47863a1a49 | ||
|
1634b0c38a | ||
|
5f1cb90661 | ||
|
0a7f6ff73e | ||
|
8e787ac6b9 | ||
|
5b29002bab | ||
|
aeb05fe22f | ||
|
02304c172d | ||
|
4e7da5fa59 | ||
|
7b6360c7d0 | ||
|
dfbe6b80cb | ||
|
7d55464363 | ||
|
b1f1aeb623 | ||
|
ae2440dcda | ||
|
129856764f |
2
.gitignore
vendored
2
.gitignore
vendored
@ -95,3 +95,5 @@ return.xml
|
||||
rss/*
|
||||
modules/antadis_doofinder/script/*.csv
|
||||
modules/flashsales/views/img/banner/*.jpg
|
||||
classes/ObjectModel.php
|
||||
modules/colissimoetiquetage/download/*.pdf
|
@ -55,7 +55,7 @@ if ($excludeIds && $excludeIds != 'NaN') {
|
||||
|
||||
// Excluding downloadable products from packs because download from pack is not supported
|
||||
$excludeVirtuals = (bool)Tools::getValue('excludeVirtuals', true);
|
||||
$exclude_packs = (bool)Tools::getValue('exclude_packs', true);
|
||||
// $exclude_packs = (bool)Tools::getValue('exclude_packs', true);
|
||||
|
||||
$context = Context::getContext();
|
||||
|
||||
|
69
bin/add_products_categoryall.php
Normal file
69
bin/add_products_categoryall.php
Normal file
@ -0,0 +1,69 @@
|
||||
<?php
|
||||
/**
|
||||
* Association de tous les produits à la catégorie 183 "Tous les produits"
|
||||
*/
|
||||
|
||||
$optsLong = array(
|
||||
"debug",
|
||||
);
|
||||
$opts = getopt("", $optsLong);
|
||||
|
||||
$optDebug = false;
|
||||
if (array_key_exists('debug', $opts)) {
|
||||
$optDebug = true;
|
||||
}
|
||||
|
||||
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
||||
require_once dirname(__FILE__).'/../config/config.inc.php';
|
||||
|
||||
echo date('Y-m-d H:i:s')." - Associations produit / category .\n";
|
||||
|
||||
$categoryId = 83;
|
||||
|
||||
// Selection des produits déjà associés
|
||||
$sql = "SELECT id_product FROM "._DB_PREFIX_."category_product WHERE id_category = ".$categoryId;
|
||||
$existResult = Db::getInstance()->executeS($sql);
|
||||
$pIdExist = array();
|
||||
if (count($existResult) == 0) {
|
||||
echo date('Y-m-d H:i:s')." - Aucun produit trouvé.\n";
|
||||
exit(1);
|
||||
} else {
|
||||
foreach($existResult as $item) {
|
||||
$pIdExist[] = $item['id_product'];
|
||||
}
|
||||
}
|
||||
|
||||
// Selection de la position max pour increment
|
||||
$sql = "SELECT MAX(position) AS max FROM "._DB_PREFIX_."category_product WHERE id_category = 83";
|
||||
$result = Db::getInstance()->getRow($sql);
|
||||
if ($result !== false) {
|
||||
$max = $result['max'];
|
||||
}
|
||||
|
||||
echo date('Y-m-d H:i:s')." - Valeur increment = ".$max."\n";
|
||||
|
||||
// Selection de tous les produits
|
||||
$sql = "SELECT id_product FROM "._DB_PREFIX_."product ORDER BY id_product ASC";
|
||||
$productResult = Db::getInstance()->executeS($sql);
|
||||
|
||||
// Lier les produits dans ps_category_product
|
||||
if (count($productResult) > 0) {
|
||||
$insertSql = "INSERT INTO "._DB_PREFIX_."category_product (id_category, id_product, position) VALUES\n";
|
||||
foreach ($productResult as $p) {
|
||||
if (!in_array($p['id_product'], $pIdExist)) {
|
||||
$max++;
|
||||
$insertSql.= "(".$categoryId.",".$p['id_product'].",".$max."),\n";
|
||||
}
|
||||
}
|
||||
$insertSql = substr_replace($insertSql, ";\n", -2);
|
||||
if ($optDebug) {
|
||||
echo $insertSql;
|
||||
} else {
|
||||
$result = Db::getInstance()->execute($insertSql);
|
||||
if ($result) {
|
||||
echo date('Y-m-d H:i:s')." - Insertion OK\n";
|
||||
} else {
|
||||
echo date('Y-m-d H:i:s')." - Insertion ERREUR\n";
|
||||
}
|
||||
}
|
||||
}
|
35
bin/index.php
Normal file
35
bin/index.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
@ -36,6 +36,10 @@ class AdminPdfControllerCore extends AdminController
|
||||
|
||||
public function initProcess()
|
||||
{
|
||||
// Change max_execution_time during process - pdf take time to generate
|
||||
ini_set('max_execution_time', 300);
|
||||
set_time_limit(600);
|
||||
|
||||
parent::initProcess();
|
||||
$this->checkCacheFolder();
|
||||
$access = Profile::getProfileAccess($this->context->employee->id_profile, (int)Tab::getIdFromClassName('AdminOrders'));
|
||||
|
5
modules/amzpayments/Readme.md
Normal file
5
modules/amzpayments/Readme.md
Normal file
@ -0,0 +1,5 @@
|
||||
Plugin developed by patworx multimedia GmbH
|
||||
www.patworx.de
|
||||
|
||||
To use this plugin, please activate php-curl extension!
|
||||
This plugin requires minimum PHP5.3
|
155
modules/amzpayments/ajax.php
Normal file
155
modules/amzpayments/ajax.php
Normal file
@ -0,0 +1,155 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
include_once('../../config/config.inc.php');
|
||||
include_once('../../init.php');
|
||||
include_once('../../modules/amzpayments/amzpayments.php');
|
||||
|
||||
$module_name = Tools::getValue('moduleName');
|
||||
|
||||
$amz_payments = new AmzPayments();
|
||||
|
||||
if (Tools::getValue('action')) {
|
||||
if (Tools::getValue('action') == 'shippingCapture') {
|
||||
$_POST['action'] = 'shippingCapture';
|
||||
}
|
||||
}
|
||||
switch (Tools::getValue('action')) {
|
||||
case 'getHistory':
|
||||
echo $amz_payments->getOrderHistory(Tools::getValue('orderRef'));
|
||||
break;
|
||||
case 'getSummary':
|
||||
echo $amz_payments->getOrderSummary(Tools::getValue('orderRef'));
|
||||
break;
|
||||
case 'getActions':
|
||||
echo $amz_payments->getOrderActions(Tools::getValue('orderRef'));
|
||||
break;
|
||||
case 'closeOrder':
|
||||
$amz_payments->closeOrder(Tools::getValue('orderRef'));
|
||||
echo '<br/><b>' . $amz_payments->l('Order completed') . '</b>';
|
||||
break;
|
||||
case 'cancelOrder':
|
||||
$amz_payments->cancelOrder(Tools::getValue('orderRef'));
|
||||
echo '<br/><b>' . $amz_payments->l('Payment process cancelled') . '</b>';
|
||||
break;
|
||||
case 'refreshOrder':
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_order_reference = \'' . pSQL(Tools::getValue('orderRef')) . '\'
|
||||
AND amz_tx_status != \'Closed\' AND amz_tx_status != \'Declined\'';
|
||||
$rs = Db::getInstance()->ExecuteS($q);
|
||||
foreach ($rs as $r) {
|
||||
$amz_payments->intelligentRefresh($r);
|
||||
}
|
||||
echo '<br/><b>' . $amz_payments->l('Update is completed!') . '</b>';
|
||||
break;
|
||||
|
||||
case 'authorizeAmount':
|
||||
$order_id = AmazonTransactions::getOrdersIdFromOrderRef(Tools::getValue('orderRef'));
|
||||
$order = new Order((int) $order_id);
|
||||
$currency = new Currency($order->id_currency);
|
||||
$response = AmazonTransactions::authorize($amz_payments, $amz_payments->getService(), Tools::getValue('orderRef'), Tools::getValue('amount'), $currency->iso_code);
|
||||
if ($response) {
|
||||
$details = $response->getAuthorizeResult()->getAuthorizationDetails();
|
||||
$status = $details->getAuthorizationStatus()->getState();
|
||||
if ($status == 'Open' || $status == 'Pending') {
|
||||
echo $amz_payments->l('Authorisation request was started successfully');
|
||||
} else {
|
||||
echo '<br/><b>' . $amz_payments->l('Creation of the authorisation request has failed') . '</b>';
|
||||
}
|
||||
} else {
|
||||
echo '<br/><b>' . $amz_payments->l('Creation of the authorisation request has failed') . '</b>';
|
||||
}
|
||||
break;
|
||||
|
||||
case 'captureTotalFromAuth':
|
||||
$response = AmazonTransactions::captureTotalFromAuth($amz_payments, $amz_payments->getService(), Tools::getValue('authId'));
|
||||
|
||||
$details = $response->getCaptureResult()->getCaptureDetails();
|
||||
$status = $details->getCaptureStatus()->getState();
|
||||
if ($status == 'Completed') {
|
||||
echo $amz_payments->l('Capture successful');
|
||||
} else {
|
||||
echo '<br/><b>' . $amz_payments->l('Capture failed') . '</b>';
|
||||
}
|
||||
break;
|
||||
|
||||
case 'captureAmountFromAuth':
|
||||
$order_ref = AmazonTransactions::getOrderRefFromAmzId(Tools::getValue('authId'));
|
||||
$order_id = AmazonTransactions::getOrdersIdFromOrderRef($order_ref);
|
||||
$order = new Order((int) $order_id);
|
||||
$currency = new Currency($order->id_currency);
|
||||
$response = AmazonTransactions::capture($amz_payments, $amz_payments->getService(), Tools::getValue('authId'), Tools::getValue('amount'), $currency->iso_code);
|
||||
if (is_object($response)) {
|
||||
$details = $response->getCaptureResult()->getCaptureDetails();
|
||||
$status = $details->getCaptureStatus()->getState();
|
||||
if ($status == 'Completed') {
|
||||
echo $amz_payments->l('Capture successful');
|
||||
} else {
|
||||
echo '<br/><b>' . $amz_payments->l('Capture failed') . '</b>';
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'refundAmount':
|
||||
$order_ref = AmazonTransactions::getOrderRefFromAmzId(Tools::getValue('captureId'));
|
||||
$order_id = AmazonTransactions::getOrdersIdFromOrderRef($order_ref);
|
||||
$order = new Order((int) $order_id);
|
||||
$currency = new Currency($order->id_currency);
|
||||
$response = AmazonTransactions::refund($amz_payments, $amz_payments->getService(), Tools::getValue('captureId'), Tools::getValue('amount'), $currency->iso_code);
|
||||
if (is_object($response)) {
|
||||
$details = $response->getRefundResult()->getRefundDetails();
|
||||
$status = $details->getRefundStatus()->getState();
|
||||
if ($status == 'Pending') {
|
||||
$q = 'UPDATE ' . _DB_PREFIX_ . 'amz_transactions
|
||||
SET amz_tx_amount_refunded = amz_tx_amount_refunded + ' . (float) Tools::getValue('amount') . '
|
||||
WHERE amz_tx_amz_id = \'' . pSQL(Tools::getValue('captureId')) . '\'';
|
||||
DB::getInstance()->execute($q);
|
||||
echo $amz_payments->l('Refund request was started successfully');
|
||||
} else {
|
||||
echo $amz_payments->l('Refund failed');
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'shippingCapture':
|
||||
$amz_payments->shippingCapture();
|
||||
break;
|
||||
|
||||
case 'versionCheck':
|
||||
if (function_exists('curl_version')) {
|
||||
$url = 'http://www.patworx.de/API/amazon_advanced_payments.php';
|
||||
$fields_string = '';
|
||||
foreach ($_POST as $key => $value) {
|
||||
$fields_string .= $key . '=' . $value . '&';
|
||||
}
|
||||
|
||||
$fields_string = rtrim($fields_string, '&');
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
curl_setopt($ch, CURLOPT_POST, count($_POST));
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string);
|
||||
$result = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
} else {
|
||||
echo 'Please activate `curl´ or ask your hosting provider.';
|
||||
}
|
||||
die();
|
||||
}
|
2503
modules/amzpayments/amzpayments.php
Normal file
2503
modules/amzpayments/amzpayments.php
Normal file
File diff suppressed because it is too large
Load Diff
115
modules/amzpayments/classes/AmazonPaymentsAddressHelper.php
Normal file
115
modules/amzpayments/classes/AmazonPaymentsAddressHelper.php
Normal file
@ -0,0 +1,115 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmazonPaymentsAddressHelper
|
||||
{
|
||||
|
||||
public static function findByAmazonOrderReferenceIdOrNew($amazon_order_reference_id, $boolean = false, $amazon_address = false)
|
||||
{
|
||||
$amazon_hash = self::createHash($amazon_address);
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT a.`id_address`
|
||||
FROM `' . _DB_PREFIX_ . 'address` a
|
||||
JOIN `' . _DB_PREFIX_ . 'amz_address` aa ON aa.id_address = a.id_address
|
||||
WHERE aa.`amazon_order_reference_id` = "' . pSQL($amazon_order_reference_id) . '"' .
|
||||
($amazon_hash != '' ? ' OR aa.`amazon_hash` = "' . pSQL($amazon_hash) . '"' : false));
|
||||
if ($boolean) {
|
||||
return $result['id_address'] ? true : false;
|
||||
} else {
|
||||
return $result['id_address'] ? new Address($result['id_address']) : new Address();
|
||||
}
|
||||
}
|
||||
|
||||
public static function saveAddressAmazonReference(Address $address, $amazon_order_reference_id, $amazon_address = false)
|
||||
{
|
||||
$amazon_hash = self::createHash($amazon_address);
|
||||
if (self::findByAmazonOrderReferenceIdOrNew($amazon_order_reference_id, true, $amazon_address)) {
|
||||
Db::getInstance(_PS_USE_SQL_SLAVE_)->update('amz_address', array(
|
||||
'amazon_order_reference_id' => pSQL($amazon_order_reference_id),
|
||||
'amazon_hash' => pSQL($amazon_hash)
|
||||
), 'id_address = \'' . (int) $address->id . '\'');
|
||||
} else {
|
||||
Db::getInstance(_PS_USE_SQL_SLAVE_)->insert('amz_address', array(
|
||||
'id_address' => pSQL((int)$address->id),
|
||||
'amazon_order_reference_id' => pSQL($amazon_order_reference_id),
|
||||
'amazon_hash' => pSQL($amazon_hash)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
public static function fetchInvalidInput(Address $address, $additional_data = false)
|
||||
{
|
||||
$fields_to_set = array();
|
||||
foreach (Address::getFieldsValidate() as $field_to_validate => $validation_rule) {
|
||||
if ($address->validateField($field_to_validate, $address->$field_to_validate) !== true) {
|
||||
$fields_to_set[] = $field_to_validate;
|
||||
}
|
||||
}
|
||||
if (is_array($additional_data)) {
|
||||
foreach ($additional_data as $field => $value) {
|
||||
if (!in_array($field, $fields_to_set)) {
|
||||
$fields_to_set[] = $field;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $fields_to_set;
|
||||
}
|
||||
|
||||
public static function addAdditionalValues(Address $address, array $additional_data)
|
||||
{
|
||||
foreach ($additional_data as $field => $value) {
|
||||
if (!($field == 'id_state' && (int)$value < 0)) {
|
||||
$address->$field = pSQL($value);
|
||||
}
|
||||
}
|
||||
return $address;
|
||||
}
|
||||
|
||||
public static function stateBelongsToCountry($id_state, $id_country)
|
||||
{
|
||||
$state = new State((int)$id_state);
|
||||
return $state->id_country == $id_country;
|
||||
}
|
||||
|
||||
public static function createHash($amazon_address)
|
||||
{
|
||||
$amazon_hash = '';
|
||||
if ($amazon_address && is_object($amazon_address)) {
|
||||
$amazon_hash .= (string) $amazon_address->GetCountryCode();
|
||||
$amazon_hash .= (string) $amazon_address->GetCity();
|
||||
$amazon_hash .= (string) $amazon_address->GetPostalCode();
|
||||
$amazon_hash .= (string) $amazon_address->GetStateOrRegion();
|
||||
if (method_exists($amazon_address, 'getName')) {
|
||||
$amazon_hash .= (string) $amazon_address->getName();
|
||||
}
|
||||
if (method_exists($amazon_address, 'getPhone')) {
|
||||
$amazon_hash .= (string) $amazon_address->getPhone();
|
||||
}
|
||||
if (method_exists($amazon_address, 'getAddressLine3') && method_exists($amazon_address, 'getAddressLine2') && method_exists($amazon_address, 'getAddressLine1')) {
|
||||
$amazon_hash .= (string) $amazon_address->getAddressLine1();
|
||||
$amazon_hash .= (string) $amazon_address->getAddressLine2();
|
||||
$amazon_hash .= (string) $amazon_address->getAddressLine3();
|
||||
}
|
||||
$amazon_hash = md5($amazon_hash);
|
||||
}
|
||||
return $amazon_hash;
|
||||
}
|
||||
}
|
106
modules/amzpayments/classes/AmazonPaymentsCustomerHelper.php
Normal file
106
modules/amzpayments/classes/AmazonPaymentsCustomerHelper.php
Normal file
@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmazonPaymentsCustomerHelper
|
||||
{
|
||||
|
||||
public static function findByAmazonCustomerId($amazon_customer_id, $ignore_guest = true)
|
||||
{
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT c.*
|
||||
FROM `' . _DB_PREFIX_ . 'customer` c
|
||||
JOIN `' . _DB_PREFIX_ . 'amz_customer` ac ON c.`id_customer` = ac.`id_customer`
|
||||
WHERE ac.`amazon_customer_id` = \'' . pSQL($amazon_customer_id) . '\'
|
||||
' . Shop::addSqlRestriction(Shop::SHARE_CUSTOMER) . '
|
||||
AND c.`deleted` = 0
|
||||
' . ($ignore_guest ? ' AND c.`is_guest` = 0' : ''));
|
||||
return $result['id_customer'] ? $result['id_customer'] : false;
|
||||
}
|
||||
|
||||
public static function findByEmailAddress($email, $ignore_guest = true)
|
||||
{
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT *
|
||||
FROM `' . _DB_PREFIX_ . 'customer`
|
||||
WHERE `email` = \'' . pSQL($email) . '\'
|
||||
' . Shop::addSqlRestriction(Shop::SHARE_CUSTOMER) . '
|
||||
AND `deleted` = 0
|
||||
' . ($ignore_guest ? ' AND `is_guest` = 0' : ''));
|
||||
return $result['id_customer'] ? new Customer($result['id_customer']) : false;
|
||||
}
|
||||
|
||||
public static function getByCustomerID($id_customer, $ignore_guest = true, $customer = '')
|
||||
{
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT *
|
||||
FROM `' . _DB_PREFIX_ . 'customer`
|
||||
WHERE `id_customer` = \'' . pSQL($id_customer) . '\'
|
||||
' . Shop::addSqlRestriction(Shop::SHARE_CUSTOMER) . '
|
||||
AND `deleted` = 0
|
||||
' . ($ignore_guest ? ' AND `is_guest` = 0' : ''));
|
||||
|
||||
if (! $result) {
|
||||
return false;
|
||||
}
|
||||
$customer->id = $result['id_customer'];
|
||||
foreach ($result as $key => $value) {
|
||||
if (array_key_exists($key, $customer)) {
|
||||
$customer->{$key} = $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $customer;
|
||||
}
|
||||
|
||||
public static function saveCustomersAmazonReference(Customer $customer, $amazon_customer_id)
|
||||
{
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT * FROM `' . _DB_PREFIX_ . 'amz_customer` WHERE `id_customer` = \'' . (int)$customer->id . '\'
|
||||
');
|
||||
|
||||
if ($result) {
|
||||
Db::getInstance(_PS_USE_SQL_SLAVE_)->update('amz_customer', array(
|
||||
'amazon_customer_id' => pSQL($amazon_customer_id)
|
||||
), 'id_customer = \'' . (int) $customer->id . '\'');
|
||||
} else {
|
||||
Db::getInstance(_PS_USE_SQL_SLAVE_)->insert('amz_customer', array(
|
||||
'id_customer' => pSQL((int)$customer->id),
|
||||
'amazon_customer_id' => pSQL($amazon_customer_id)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
public static function customerHasAmazonCustomerId($id_customer)
|
||||
{
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT ac.*
|
||||
FROM `' . _DB_PREFIX_ . 'customer` c
|
||||
JOIN `' . _DB_PREFIX_ . 'amz_customer` ac ON c.`id_customer` = ac.`id_customer`
|
||||
WHERE c.`id_customer` = \'' . pSQL($id_customer) . '\'
|
||||
' . Shop::addSqlRestriction(Shop::SHARE_CUSTOMER) . '
|
||||
AND c.`deleted` = 0');
|
||||
if (!$result) {
|
||||
return false;
|
||||
} else {
|
||||
return $result['amazon_customer_id'] ? $result['amazon_customer_id'] : false;
|
||||
}
|
||||
}
|
||||
}
|
416
modules/amzpayments/classes/AmazonTransactions.php
Normal file
416
modules/amzpayments/classes/AmazonTransactions.php
Normal file
@ -0,0 +1,416 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmazonTransactions
|
||||
{
|
||||
|
||||
public static function getAuthorizeDetails(AmzPayments $amz_payments, $service, $auth_ref_id)
|
||||
{
|
||||
$auth_details_request = new OffAmazonPaymentsService_Model_GetAuthorizationDetailsRequest();
|
||||
|
||||
$auth_details_request->setSellerId($amz_payments->merchant_id);
|
||||
$auth_details_request->setAmazonAuthorizationId($auth_ref_id);
|
||||
|
||||
try {
|
||||
return $service->getAuthorizationDetails($auth_details_request);
|
||||
} catch (OffAmazonPaymentsService_Exception $e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static function getRefundDetails(AmzPayments $amz_payments, $service, $refund_ref_id)
|
||||
{
|
||||
$refund_details_request = new OffAmazonPaymentsService_Model_GetRefundDetailsRequest();
|
||||
|
||||
$refund_details_request->setSellerId($amz_payments->merchant_id);
|
||||
$refund_details_request->setAmazonRefundId($refund_ref_id);
|
||||
|
||||
try {
|
||||
return $service->getRefundDetails($refund_details_request);
|
||||
} catch (OffAmazonPaymentsService_Exception $e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static function authorize(AmzPayments $amz_payments, $service, $order_ref, $amount, $currency_code = 'EUR', $timeout = 1440, $comment = '')
|
||||
{
|
||||
if ($currency_code == '0') {
|
||||
$currency_code = 'EUR';
|
||||
}
|
||||
$authorize_request = new OffAmazonPaymentsService_Model_AuthorizeRequest();
|
||||
$authorize_request->setAmazonOrderReferenceId($order_ref);
|
||||
$authorize_request->setSellerId($amz_payments->merchant_id);
|
||||
$authorize_request->setTransactionTimeout($timeout);
|
||||
$authorize_request->setSoftDescriptor($comment);
|
||||
if ($amz_payments->capture_mode == 'after_auth') {
|
||||
$authorize_request->setCaptureNow(true);
|
||||
}
|
||||
|
||||
if ($amz_payments->provocation == 'hard_decline' && $amz_payments->environment == 'SANDBOX') {
|
||||
$authorize_request->setSellerAuthorizationNote('{"SandboxSimulation": {"State":"Declined", "ReasonCode":"AmazonRejected"}}');
|
||||
}
|
||||
|
||||
if ($amz_payments->provocation == 'soft_decline' && $amz_payments->environment == 'SANDBOX') {
|
||||
Context::getContext()->cookie->setHadErrorNowWallet = 1;
|
||||
$authorize_request->setSellerAuthorizationNote('{"SandboxSimulation": {"State":"Declined", "ReasonCode":"InvalidPaymentMethod", "PaymentMethodUpdateTimeInMins":2}}');
|
||||
}
|
||||
|
||||
$authorize_request->setAuthorizationReferenceId(self::getNextAuthRef($order_ref));
|
||||
$authorize_request->setAuthorizationAmount(new OffAmazonPaymentsService_Model_Price());
|
||||
$authorize_request->getAuthorizationAmount()->setAmount($amount);
|
||||
$authorize_request->getAuthorizationAmount()->setCurrencyCode($currency_code);
|
||||
try {
|
||||
$response = $service->authorize($authorize_request);
|
||||
$details = $response->getAuthorizeResult()->getAuthorizationDetails();
|
||||
|
||||
$sql_arr = array(
|
||||
'amz_tx_order_reference' => pSQL($order_ref),
|
||||
'amz_tx_type' => 'auth',
|
||||
'amz_tx_time' => pSQL(time()),
|
||||
'amz_tx_expiration' => pSQL(strtotime($details->getExpirationTimestamp())),
|
||||
'amz_tx_amount' => pSQL($amount),
|
||||
'amz_tx_status' => pSQL($details->getAuthorizationStatus()->getState()),
|
||||
'amz_tx_reference' => pSQL($details->getAuthorizationReferenceId()),
|
||||
'amz_tx_amz_id' => pSQL($details->getAmazonAuthorizationId()),
|
||||
'amz_tx_last_change' => pSQL(time()),
|
||||
'amz_tx_last_update' => pSQL(time())
|
||||
);
|
||||
|
||||
Db::getInstance()->insert('amz_transactions', $sql_arr);
|
||||
} catch (OffAmazonPaymentsService_Exception $e) {
|
||||
echo 'ERROR: ' . $e->getMessage();
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
public static function refund(AmzPayments $amz_payments, $service, $capture_id, $amount, $currency_code = 'EUR')
|
||||
{
|
||||
$order_ref = self::getOrderRefFromAmzId($capture_id);
|
||||
$refund = new OffAmazonPaymentsService_Model_Price();
|
||||
$refund->setCurrencyCode($currency_code);
|
||||
$refund->setAmount($amount);
|
||||
|
||||
$refund_request = new OffAmazonPaymentsService_Model_RefundRequest();
|
||||
$refund_request->setSellerId($amz_payments->merchant_id);
|
||||
$refund_request->setAmazonCaptureId($capture_id);
|
||||
$refund_request->setRefundReferenceId(self::getNextRefundRef($order_ref));
|
||||
$refund_request->setRefundAmount($refund);
|
||||
|
||||
try {
|
||||
$response = $service->refund($refund_request);
|
||||
|
||||
$details = $response->getRefundResult()->getRefundDetails();
|
||||
|
||||
$sql_arr = array(
|
||||
'amz_tx_order_reference' => pSQL($order_ref),
|
||||
'amz_tx_type' => 'refund',
|
||||
'amz_tx_time' => pSQL(time()),
|
||||
'amz_tx_expiration' => 0,
|
||||
'amz_tx_amount' => pSQL($amount),
|
||||
'amz_tx_status' => pSQL($details->getRefundStatus()->getState()),
|
||||
'amz_tx_reference' => pSQL($details->getRefundReferenceId()),
|
||||
'amz_tx_amz_id' => pSQL($details->getAmazonRefundId()),
|
||||
'amz_tx_last_change' => pSQL(time()),
|
||||
'amz_tx_last_update' => pSQL(time())
|
||||
);
|
||||
Db::getInstance()->insert('amz_transactions', $sql_arr);
|
||||
} catch (OffAmazonPaymentsService_Exception $e) {
|
||||
echo 'ERROR: ' . $e->getMessage();
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
public static function capture(AmzPayments $amz_payments, $service, $auth_id, $amount, $currency_code = 'EUR', $display_error_message = false)
|
||||
{
|
||||
if ($auth_id) {
|
||||
$order_ref = self::getOrderRefFromAmzId($auth_id);
|
||||
$capture_request = new OffAmazonPaymentsService_Model_CaptureRequest();
|
||||
$capture_request->setAmazonAuthorizationId($auth_id);
|
||||
$capture_request->setSellerId($amz_payments->merchant_id);
|
||||
$capture_request->setCaptureReferenceId(self::getNextCaptureRef($order_ref));
|
||||
$capture_request->setCaptureAmount(new OffAmazonPaymentsService_Model_Price());
|
||||
$capture_request->getCaptureAmount()->setAmount($amount);
|
||||
$capture_request->getCaptureAmount()->setCurrencyCode($currency_code);
|
||||
if ($amz_payments->provocation == 'capture_decline' && $amz_payments->environment == 'SANDBOX') {
|
||||
$capture_request->setSellerCaptureNote('{"SandboxSimulation":{"State":"Declined", "ReasonCode":"AmazonRejected"}}');
|
||||
}
|
||||
|
||||
try {
|
||||
$response = $service->capture($capture_request);
|
||||
$details = $response->getCaptureResult()->getCaptureDetails();
|
||||
|
||||
$sql_arr = array(
|
||||
'amz_tx_order_reference' => pSQL($order_ref),
|
||||
'amz_tx_type' => 'capture',
|
||||
'amz_tx_time' => pSQL(time()),
|
||||
'amz_tx_expiration' => 0,
|
||||
'amz_tx_amount' => pSQL($amount),
|
||||
'amz_tx_status' => pSQL($details->getCaptureStatus()->getState()),
|
||||
'amz_tx_reference' => pSQL($details->getCaptureReferenceId()),
|
||||
'amz_tx_amz_id' => pSQL($details->getAmazonCaptureId()),
|
||||
'amz_tx_last_change' => pSQL(time()),
|
||||
'amz_tx_last_update' => pSQL(time())
|
||||
);
|
||||
Db::getInstance()->insert('amz_transactions', $sql_arr);
|
||||
|
||||
self::setOrderStatusCapturedSuccesfully($order_ref);
|
||||
} catch (OffAmazonPaymentsService_Exception $e) {
|
||||
if ($display_error_message) {
|
||||
echo 'ERROR: ' . $e->getMessage();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
||||
public static function closeOrder(AmzPayments $amz_payments, $service, $orderRef)
|
||||
{
|
||||
$orderRefRequest = new OffAmazonPaymentsService_Model_CloseOrderReferenceRequest();
|
||||
$orderRefRequest->setSellerId($amz_payments->merchant_id);
|
||||
$orderRefRequest->setAmazonOrderReferenceId($orderRef);
|
||||
try {
|
||||
$response = $service->closeOrderReference($orderRefRequest);
|
||||
} catch (OffAmazonPaymentsService_Exception $e) {
|
||||
echo 'ERROR: ' . $e->getMessage();
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
public static function captureTotalFromAuth(AmzPayments $amz_payments, $service, $auth_id)
|
||||
{
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions WHERE amz_tx_type=\'auth\'
|
||||
AND amz_tx_amz_id = \'' . pSQL($auth_id) . '\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
if ($r) {
|
||||
$order_ref = AmazonTransactions::getOrderRefFromAmzId($auth_id);
|
||||
$order_id = AmazonTransactions::getOrdersIdFromOrderRef($order_ref);
|
||||
$order = new Order((int) $order_id);
|
||||
if (Validate::isLoadedObject($order)) {
|
||||
$currency = new Currency($order->id_currency);
|
||||
if (Validate::isLoadedObject($currency)) {
|
||||
return self::capture($amz_payments, $service, $auth_id, $r['amz_tx_amount'], $currency->iso_code);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static function getAuthorizationForCapture($order_ref)
|
||||
{
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions WHERE amz_tx_status = \'Open\'
|
||||
AND amz_tx_type = \'auth\' AND amz_tx_order_reference = \'' . pSQL($order_ref) . '\'';
|
||||
if ($r = Db::getInstance()->getRow($q)) {
|
||||
return $r;
|
||||
}
|
||||
}
|
||||
|
||||
public static function getCaptureForRefund($order_ref)
|
||||
{
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions WHERE amz_tx_status = \'Completed\'
|
||||
AND amz_tx_type = \'capture\' AND amz_tx_order_reference = \'' . pSQL($order_ref) . '\'';
|
||||
if ($r = Db::getInstance()->getRow($q)) {
|
||||
return $r;
|
||||
}
|
||||
}
|
||||
|
||||
public static function isAlreadyConfirmedOrder($order_ref)
|
||||
{
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions WHERE amz_tx_status = \'Open\'
|
||||
AND amz_tx_type = \'order_ref\' AND amz_tx_order_reference = \'' . pSQL($order_ref) . '\'';
|
||||
if ($r = Db::getInstance()->getRow($q)) {
|
||||
return $r;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function getNextAuthRef($order_ref)
|
||||
{
|
||||
return self::getNextRef($order_ref, 'auth');
|
||||
}
|
||||
|
||||
public static function getNextCaptureRef($order_ref)
|
||||
{
|
||||
return self::getNextRef($order_ref, 'capture');
|
||||
}
|
||||
|
||||
public static function getNextRefundRef($order_ref)
|
||||
{
|
||||
return self::getNextRef($order_ref, 'refund');
|
||||
}
|
||||
|
||||
public static function getCurrentAmzTransactionStateAndId($order_ref)
|
||||
{
|
||||
$q = 'SELECT `amz_tx_status`, `amz_tx_amz_id`, `amz_tx_amount` FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_order_reference = \'' . pSQL($order_ref) . '\' ORDER BY amz_tx_time DESC, amz_tx_id DESC';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
return $r;
|
||||
}
|
||||
|
||||
public static function getCurrentAmzTransactionRefundStateAndId($order_ref)
|
||||
{
|
||||
$q = 'SELECT `amz_tx_status`, `amz_tx_amz_id`, `amz_tx_amount` FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_type=\'refund\' AND amz_tx_order_reference = \'' . pSQL($order_ref) . '\' ORDER BY amz_tx_time DESC, amz_tx_id DESC';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
return $r;
|
||||
}
|
||||
|
||||
public static function getNextRef($order_ref, $type)
|
||||
{
|
||||
$last_id = 0;
|
||||
$prefix = Tools::substr($type, 0, 1);
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions WHERE amz_tx_type=\'' . pSQL($type) . '\'
|
||||
AND amz_tx_order_reference = \'' . pSQL($order_ref) . '\' ORDER BY amz_tx_id DESC';
|
||||
if ($r = Db::getInstance()->getRow($q)) {
|
||||
$last_id = (int) str_replace($order_ref . '-' . $prefix, '', $r['amz_tx_reference']);
|
||||
}
|
||||
$new_id = $last_id + 1;
|
||||
return $order_ref . '-' . $prefix . str_pad($new_id, 2, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
public static function fastAuth(AmzPayments $amz_payments, $service, $order_ref, $amount, $currency_code = 'EUR', $comment = '')
|
||||
{
|
||||
ob_start();
|
||||
$response = self::authorize($amz_payments, $service, $order_ref, $amount, $currency_code, 0, $comment);
|
||||
ob_end_clean();
|
||||
if (is_object($response)) {
|
||||
if ($response->getAuthorizeResult()
|
||||
->getAuthorizationDetails()
|
||||
->getAuthorizationStatus()
|
||||
->getState() != 'Open') {
|
||||
return $response;
|
||||
}
|
||||
self::setOrderStatusAuthorized($order_ref, true);
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
public static function setOrderStatusAuthorized($order_ref, $check = false)
|
||||
{
|
||||
$oid = self::getOrdersIdFromOrderRef($order_ref);
|
||||
if ($oid) {
|
||||
$amz_payments = new AmzPayments();
|
||||
$new_status = $amz_payments->authorized_status_id;
|
||||
if ($check) {
|
||||
$order = new Order((int)$oid);
|
||||
$history = $order->getHistory(Context::getContext()->language->id, $amz_payments->authorized_status_id);
|
||||
if (sizeof($history) > 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
self::setOrderStatus($oid, $new_status);
|
||||
} else {
|
||||
if (! isset(Context::getContext()->cookie->amzSetStatusAuthorized)) {
|
||||
Context::getContext()->cookie->amzSetStatusAuthorized = serialize(array());
|
||||
}
|
||||
$tmpData = Tools::unSerialize(Context::getContext()->cookie->amzSetStatusAuthorized);
|
||||
$tmpData[] = $order_ref;
|
||||
Context::getContext()->cookie->amzSetStatusAuthorized = serialize($tmpData);
|
||||
}
|
||||
}
|
||||
|
||||
public static function setOrderStatusCaptured($order_ref)
|
||||
{
|
||||
$oid = self::getOrdersIdFromOrderRef($order_ref);
|
||||
if ($oid) {
|
||||
$amz_payments = new AmzPayments();
|
||||
$new_status = $amz_payments->capture_success_status_id;
|
||||
self::setOrderStatus($oid, $new_status);
|
||||
} else {
|
||||
if (! isset(Context::getContext()->cookie->amzSetStatusCaptured)) {
|
||||
Context::getContext()->cookie->amzSetStatusCaptured = serialize(array());
|
||||
}
|
||||
$tmpData = Tools::unSerialize(Context::getContext()->cookie->amzSetStatusCaptured);
|
||||
$tmpData[] = $order_ref;
|
||||
Context::getContext()->cookie->amzSetStatusCaptured = serialize($tmpData);
|
||||
}
|
||||
}
|
||||
|
||||
public static function setOrderStatusDeclined($order_ref, $check = true)
|
||||
{
|
||||
$oid = self::getOrdersIdFromOrderRef($order_ref);
|
||||
if ($oid) {
|
||||
$amz_payments = new AmzPayments();
|
||||
$new_status = $amz_payments->decline_status_id;
|
||||
if ($check) {
|
||||
$order = new Order((int)$oid);
|
||||
$history = $order->getHistory(Context::getContext()->language->id, $amz_payments->decline_status_id);
|
||||
if (sizeof($history) > 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
self::setOrderStatus($oid, $new_status);
|
||||
}
|
||||
}
|
||||
|
||||
public static function setOrderStatusCapturedSuccesfully($order_ref)
|
||||
{
|
||||
$oid = self::getOrdersIdFromOrderRef($order_ref);
|
||||
if ($oid) {
|
||||
$amz_payments = new AmzPayments();
|
||||
$new_status = $amz_payments->capture_success_status_id;
|
||||
self::setOrderStatus($oid, $new_status);
|
||||
} else {
|
||||
if (! isset(Context::getContext()->cookie->amzSetStatusCaptured)) {
|
||||
Context::getContext()->cookie->amzSetStatusCaptured = serialize(array());
|
||||
}
|
||||
$tmpData = Tools::unSerialize(Context::getContext()->cookie->amzSetStatusCaptured);
|
||||
$tmpData[] = $order_ref;
|
||||
Context::getContext()->cookie->amzSetStatusCaptured = serialize($tmpData);
|
||||
}
|
||||
}
|
||||
|
||||
public static function getOrdersIdFromOrderRef($order_ref)
|
||||
{
|
||||
$q = 'SELECT `id_order` FROM `' . _DB_PREFIX_ . 'amz_orders`
|
||||
WHERE `amazon_order_reference_id` = \'' . pSQL($order_ref) . '\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
return $r['id_order'];
|
||||
}
|
||||
|
||||
public static function setOrderStatus($oid, $status, $comment = false)
|
||||
{
|
||||
unset($comment);
|
||||
$order_history = new OrderHistory();
|
||||
$order_history->id_order = (int)$oid;
|
||||
$order_history->changeIdOrderState((int)$status, (int)$oid, true);
|
||||
$order_history->addWithemail(true);
|
||||
}
|
||||
|
||||
public static function getOrderRefTotal($order_ref)
|
||||
{
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_order_reference = \'' . pSQL($order_ref) . '\' AND amz_tx_type = \'order_ref\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
return (float) $r['amz_tx_amount'];
|
||||
}
|
||||
|
||||
public static function getOrderRefFromAmzId($amz_id)
|
||||
{
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_amz_id = \'' . pSQL($amz_id) . '\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
return $r['amz_tx_order_reference'];
|
||||
}
|
||||
}
|
35
modules/amzpayments/classes/index.php
Executable file
35
modules/amzpayments/classes/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../../");
|
||||
exit;
|
1619
modules/amzpayments/controllers/front/amzpayments.php
Normal file
1619
modules/amzpayments/controllers/front/amzpayments.php
Normal file
File diff suppressed because it is too large
Load Diff
163
modules/amzpayments/controllers/front/connect_accounts.php
Normal file
163
modules/amzpayments/controllers/front/connect_accounts.php
Normal file
@ -0,0 +1,163 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmzpaymentsConnect_AccountsModuleFrontController extends ModuleFrontController
|
||||
{
|
||||
|
||||
public $ssl = true;
|
||||
|
||||
public $isLogged = false;
|
||||
|
||||
public $display_column_left = false;
|
||||
|
||||
public $display_column_right = false;
|
||||
|
||||
public $service;
|
||||
|
||||
protected $ajax_refresh = false;
|
||||
|
||||
protected $css_files_assigned = array();
|
||||
|
||||
protected $js_files_assigned = array();
|
||||
|
||||
protected static $amz_payments = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->controller_type = 'modulefront';
|
||||
|
||||
$this->module = Module::getInstanceByName(Tools::getValue('module'));
|
||||
if (! $this->module->active) {
|
||||
Tools::redirect('index');
|
||||
}
|
||||
$this->page_name = 'module-' . $this->module->name . '-' . Dispatcher::getInstance()->getController();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function init()
|
||||
{
|
||||
self::$amz_payments = new AmzPayments();
|
||||
$this->isLogged = (bool) $this->context->customer->id && Customer::customerIdExistsStatic((int) $this->context->cookie->id_customer);
|
||||
|
||||
parent::init();
|
||||
|
||||
/* Disable some cache related bugs on the cart/order */
|
||||
header('Cache-Control: no-cache, must-revalidate');
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
|
||||
$this->display_column_left = false;
|
||||
$this->display_column_right = false;
|
||||
|
||||
$this->service = self::$amz_payments->getService();
|
||||
}
|
||||
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
|
||||
$this->context->smarty->assign('toCheckout', Tools::getValue('checkout'));
|
||||
$this->context->smarty->assign('fromCheckout', Tools::getValue('fromCheckout'));
|
||||
$this->context->smarty->assign('amzConnectEmail', $this->context->cookie->amzConnectEmail);
|
||||
|
||||
$this->processForm();
|
||||
|
||||
$this->setTemplate('connect_accounts.tpl');
|
||||
}
|
||||
|
||||
protected function processForm()
|
||||
{
|
||||
if (Tools::getValue('action') == 'tryConnect') {
|
||||
if (Tools::getValue('email') == $this->context->cookie->amzConnectEmail) {
|
||||
$customer = new Customer();
|
||||
$authentication = $customer->getByEmail(trim(Tools::getValue('email')), trim(Tools::getValue('passwd')));
|
||||
|
||||
if (isset($authentication->active) && ! $authentication->active) {
|
||||
$this->errors[] = Tools::displayError('Your account isn\'t available at this time, please contact us');
|
||||
} elseif (! $authentication || ! $customer->id) {
|
||||
$this->errors[] = Tools::displayError('Authentication failed.');
|
||||
} else {
|
||||
$authentication->save();
|
||||
AmazonPaymentsCustomerHelper::saveCustomersAmazonReference($authentication, $this->context->cookie->amzConnectCustomerId);
|
||||
|
||||
$this->context->cookie->id_compare = isset($this->context->cookie->id_compare) ? $this->context->cookie->id_compare : CompareProduct::getIdCompareByIdCustomer($customer->id);
|
||||
$this->context->cookie->id_customer = (int) $customer->id;
|
||||
$this->context->cookie->customer_lastname = $customer->lastname;
|
||||
$this->context->cookie->customer_firstname = $customer->firstname;
|
||||
$this->context->cookie->logged = 1;
|
||||
$customer->logged = 1;
|
||||
$this->context->cookie->is_guest = $customer->isGuest();
|
||||
$this->context->cookie->passwd = $customer->passwd;
|
||||
$this->context->cookie->email = $customer->email;
|
||||
|
||||
// Add customer to the context
|
||||
$this->context->customer = $customer;
|
||||
|
||||
if (Configuration::get('PS_CART_FOLLOWING') && (empty($this->context->cookie->id_cart) || Cart::getNbProducts($this->context->cookie->id_cart) == 0) && $id_cart = (int) Cart::lastNoneOrderedCart($this->context->customer->id)) {
|
||||
$this->context->cart = new Cart($id_cart);
|
||||
} else {
|
||||
$id_carrier = (int) $this->context->cart->id_carrier;
|
||||
$this->context->cart->id_carrier = 0;
|
||||
$this->context->cart->setDeliveryOption(null);
|
||||
$this->context->cart->id_address_delivery = (int) Address::getFirstCustomerAddressId((int) $customer->id);
|
||||
$this->context->cart->id_address_invoice = (int) Address::getFirstCustomerAddressId((int) $customer->id);
|
||||
}
|
||||
$this->context->cart->id_customer = (int) $customer->id;
|
||||
$this->context->cart->secure_key = $customer->secure_key;
|
||||
|
||||
if ($this->ajax && isset($id_carrier) && $id_carrier && Configuration::get('PS_ORDER_PROCESS_TYPE')) {
|
||||
$delivery_option = array(
|
||||
$this->context->cart->id_address_delivery => $id_carrier . ','
|
||||
);
|
||||
$this->context->cart->setDeliveryOption($delivery_option);
|
||||
}
|
||||
|
||||
$this->context->cart->save();
|
||||
$this->context->cookie->id_cart = (int) $this->context->cart->id;
|
||||
$this->context->cookie->write();
|
||||
$this->context->cart->autosetProductAddress();
|
||||
|
||||
Hook::exec('actionAuthentication');
|
||||
|
||||
// Login information have changed, so we check if the cart rules still apply
|
||||
CartRule::autoRemoveFromCart($this->context);
|
||||
CartRule::autoAddToCart($this->context);
|
||||
|
||||
if (Tools::getValue('toCheckout') == '1') {
|
||||
$goto = $this->context->link->getModuleLink('amzpayments', 'amzpayments');
|
||||
} elseif (Tools::getValue('fromCheckout') == '1') {
|
||||
$goto = 'index.php?controller=history';
|
||||
} elseif ($this->context->cart->nbProducts()) {
|
||||
$goto = 'index.php?controller=order';
|
||||
} else {
|
||||
if (Configuration::get('PS_SSL_ENABLED')) {
|
||||
$goto = _PS_BASE_URL_SSL_ . __PS_BASE_URI__;
|
||||
} else {
|
||||
$goto = _PS_BASE_URL_ . __PS_BASE_URI__;
|
||||
}
|
||||
}
|
||||
|
||||
Tools::redirect($goto);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
35
modules/amzpayments/controllers/front/index.php
Normal file
35
modules/amzpayments/controllers/front/index.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../../../");
|
||||
exit();
|
186
modules/amzpayments/controllers/front/ipn.php
Normal file
186
modules/amzpayments/controllers/front/ipn.php
Normal file
@ -0,0 +1,186 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmzpaymentsIpnModuleFrontController extends ModuleFrontController
|
||||
{
|
||||
|
||||
public $ssl = true;
|
||||
|
||||
public $isLogged = false;
|
||||
|
||||
public $display_column_left = false;
|
||||
|
||||
public $display_column_right = false;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->controller_type = 'modulefront';
|
||||
$this->module = Module::getInstanceByName(Tools::getValue('module'));
|
||||
if (! $this->module->active) {
|
||||
Tools::redirect('index');
|
||||
}
|
||||
|
||||
file_put_contents(dirname(__FILE__) . '/../../amz.log', '[' . date("Y-m-d H:i:s") . '] IPN wurde aufgerufen' . "\n", FILE_APPEND);
|
||||
|
||||
$headers_tmp = getallheaders();
|
||||
$headers = array();
|
||||
foreach ($headers_tmp as $k => $v) {
|
||||
$headers[Tools::strtolower($k)] = $v;
|
||||
}
|
||||
$response = Tools::file_get_contents('php://input');
|
||||
|
||||
$amz_payments = new AmzPayments();
|
||||
|
||||
try {
|
||||
$client = $amz_payments->getService(false, 'notification');
|
||||
file_put_contents(dirname(__FILE__) . '/../../amz.log', '[' . date("Y-m-d H:i:s") . '] Notification response received' . "\n", FILE_APPEND);
|
||||
$result = $client->parseRawMessage($headers, $response);
|
||||
} catch (OffAmazonPaymentsNotifications_InvalidMessageException $ex) {
|
||||
error_log($ex->getMessage());
|
||||
file_put_contents(dirname(__FILE__) . '/../../amz.log', '[' . date("Y-m-d H:i:s") . '] Error: ' . $ex->getMessage() . "\n", FILE_APPEND);
|
||||
header("HTTP/1.1 503 Service Unavailable");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
ob_start();
|
||||
|
||||
$response = $this->jsonCleanDecode($response);
|
||||
$message = $this->jsonCleanDecode($response->Message);
|
||||
$response_xml = simplexml_load_string($message->NotificationData);
|
||||
$response_xml = $response_xml;
|
||||
|
||||
if ($amz_payments->ipn_status == '1') {
|
||||
echo '[' . date("Y-m-d H:i:s") . '] [' . $message->NotificationType . '] ';
|
||||
|
||||
switch ($message->NotificationType) {
|
||||
case 'PaymentAuthorize':
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_type = \'auth\' AND amz_tx_amz_id = \'' . pSQL($response_xml->AuthorizationDetails->AmazonAuthorizationId) . '\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
|
||||
$sqlArr = array(
|
||||
'amz_tx_status' => pSQL((string) $response_xml->AuthorizationDetails->AuthorizationStatus->State),
|
||||
'amz_tx_last_change' => time(),
|
||||
'amz_tx_expiration' => strtotime($response_xml->AuthorizationDetails->ExpirationTimestamp),
|
||||
'amz_tx_last_update' => time()
|
||||
);
|
||||
Db::getInstance()->update('amz_transactions', $sqlArr, ' amz_tx_id = ' . (int) $r['amz_tx_id']);
|
||||
$amz_payments->refreshAuthorization($response_xml->AuthorizationDetails->AmazonAuthorizationId);
|
||||
if ($sqlArr['amz_tx_status'] == 'Open') {
|
||||
AmazonTransactions::setOrderStatusAuthorized($r['amz_tx_order_reference'], true);
|
||||
if ($amz_payments->capture_mode == 'after_auth') {
|
||||
$order_id = AmazonTransactions::getOrdersIdFromOrderRef($r['amz_tx_order_reference']);
|
||||
$order = new Order((int) $order_id);
|
||||
if (Validate::isLoadedObject($order)) {
|
||||
$currency = new Currency($order->id_currency);
|
||||
if (Validate::isLoadedObject($currency)) {
|
||||
AmazonTransactions::capture($amz_payments, $amz_payments->getService(), $response_xml->AuthorizationDetails->AmazonAuthorizationId, $r['amz_tx_amount'], $currency->iso_code);
|
||||
}
|
||||
}
|
||||
}
|
||||
} elseif ($sqlArr['amz_tx_status'] == 'Declined') {
|
||||
$reason = (string) $response_xml->AuthorizationDetails->AuthorizationStatus->ReasonCode;
|
||||
$amz_payments->intelligentDeclinedMail($response_xml->AuthorizationDetails->AmazonAuthorizationId, $reason);
|
||||
if ($amz_payments->decline_status_id > 0) {
|
||||
AmazonTransactions::setOrderStatusDeclined($r['amz_tx_order_reference']);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
case 'PaymentCapture':
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_type = \'capture\' AND amz_tx_amz_id = \'' . pSQL($response_xml->CaptureDetails->AmazonCaptureId) . '\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
|
||||
$sqlArr = array(
|
||||
'amz_tx_status' => pSQL((string) $response_xml->CaptureDetails->CaptureStatus->State),
|
||||
'amz_tx_last_change' => time(),
|
||||
'amz_tx_amount_refunded' => (float) $response_xml->CaptureDetails->RefundedAmount->Amount,
|
||||
'amz_tx_last_update' => time()
|
||||
);
|
||||
Db::getInstance()->update('amz_transactions', $sqlArr, ' amz_tx_id = ' . (int) $r['amz_tx_id']);
|
||||
|
||||
AmazonTransactions::setOrderStatusCapturedSuccesfully($r['amz_tx_order_reference']);
|
||||
|
||||
$orderTotal = AmazonTransactions::getOrderRefTotal($r['amz_tx_order_reference']);
|
||||
if ($r['amz_tx_amount'] == $orderTotal) {
|
||||
AmazonTransactions::closeOrder($amz_payments, $amz_payments->getService(), $r['amz_tx_order_reference']);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'PaymentRefund':
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_type = \'refund\' AND amz_tx_amz_id = \'' . pSQL($response_xml->RefundDetails->AmazonRefundId) . '\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
|
||||
$sqlArr = array(
|
||||
'amz_tx_status' => pSQL((string) $response_xml->RefundDetails->RefundStatus->State),
|
||||
'amz_tx_last_change' => time(),
|
||||
'amz_tx_last_update' => time()
|
||||
);
|
||||
Db::getInstance()->update('amz_transactions', $sqlArr, ' amz_tx_id = ' . (int) $r['amz_tx_id']);
|
||||
|
||||
break;
|
||||
case 'OrderReferenceNotification':
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions
|
||||
WHERE amz_tx_type = \'order_ref\' AND amz_tx_amz_id = \'' . pSQL($response_xml->OrderReference->AmazonOrderReferenceId) . '\'';
|
||||
$r = Db::getInstance()->getRow($q);
|
||||
|
||||
$sqlArr = array(
|
||||
'amz_tx_status' => pSQL((string) $response_xml->OrderReference->OrderReferenceStatus->State),
|
||||
'amz_tx_last_change' => time(),
|
||||
'amz_tx_last_update' => time()
|
||||
);
|
||||
Db::getInstance()->update('amz_transactions', $sqlArr, ' amz_tx_id = ' . (int) $r['amz_tx_id']);
|
||||
|
||||
break;
|
||||
}
|
||||
if ($amz_payments->capture_mode == 'after_shipping') {
|
||||
$amz_payments->shippingCapture();
|
||||
}
|
||||
}
|
||||
|
||||
$str = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
if (trim($str) != '') {
|
||||
$str .= "\n";
|
||||
}
|
||||
|
||||
file_put_contents(dirname(__FILE__) . '/../../amz.log', $str, FILE_APPEND);
|
||||
echo 'OK';
|
||||
exit();
|
||||
}
|
||||
|
||||
protected function jsonCleanDecode($json, $assoc = false, $depth = 512, $options = 0)
|
||||
{
|
||||
$json = preg_replace("#(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/)|([\s\t](//).*)#", '', $json);
|
||||
if (version_compare(phpversion(), '5.4.0', '>=')) {
|
||||
$json = Tools::jsonDecode($json, $assoc, $depth, $options);
|
||||
} elseif (version_compare(phpversion(), '5.3.0', '>=')) {
|
||||
$json = Tools::jsonDecode($json, $assoc, $depth);
|
||||
} else {
|
||||
$json = Tools::jsonDecode($json, $assoc);
|
||||
}
|
||||
return $json;
|
||||
}
|
||||
}
|
53
modules/amzpayments/controllers/front/jsmode.php
Normal file
53
modules/amzpayments/controllers/front/jsmode.php
Normal file
@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmzpaymentsJsmodeModuleFrontController extends ModuleFrontController
|
||||
{
|
||||
|
||||
public $ssl = true;
|
||||
|
||||
public $isLogged = false;
|
||||
|
||||
public $display_column_left = false;
|
||||
|
||||
public $display_column_right = false;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->controller_type = 'modulefront';
|
||||
|
||||
$this->module = Module::getInstanceByName(Tools::getValue('module'));
|
||||
if (! $this->module->active) {
|
||||
Tools::redirect('index');
|
||||
}
|
||||
$this->page_name = 'module-' . $this->module->name . '-' . Dispatcher::getInstance()->getController();
|
||||
|
||||
parent::__construct();
|
||||
header('Content-Type: application/javascript');
|
||||
$cookiestring = Tools::getValue('c');
|
||||
if ($cookiestring != '') {
|
||||
if (isset($this->context->cookie->$cookiestring)) {
|
||||
echo AmzPayments::prepareCookieValueForAmazonPaymentsUse($this->context->cookie->$cookiestring);
|
||||
}
|
||||
}
|
||||
exit();
|
||||
}
|
||||
}
|
85
modules/amzpayments/controllers/front/process_login.php
Normal file
85
modules/amzpayments/controllers/front/process_login.php
Normal file
@ -0,0 +1,85 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmzpaymentsProcess_LoginModuleFrontController extends ModuleFrontController
|
||||
{
|
||||
|
||||
public $ssl = true;
|
||||
|
||||
public $isLogged = false;
|
||||
|
||||
public $display_column_left = false;
|
||||
|
||||
public $display_column_right = false;
|
||||
|
||||
public $service;
|
||||
|
||||
protected $ajax_refresh = false;
|
||||
|
||||
protected $css_files_assigned = array();
|
||||
|
||||
protected $js_files_assigned = array();
|
||||
|
||||
protected static $amz_payments = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->controller_type = 'modulefront';
|
||||
|
||||
$this->module = Module::getInstanceByName(Tools::getValue('module'));
|
||||
if (! $this->module->active) {
|
||||
Tools::redirect('index');
|
||||
}
|
||||
$this->page_name = 'module-' . $this->module->name . '-' . Dispatcher::getInstance()->getController();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function init()
|
||||
{
|
||||
self::$amz_payments = new AmzPayments();
|
||||
$this->isLogged = (bool) $this->context->customer->id && Customer::customerIdExistsStatic((int) $this->context->cookie->id_customer);
|
||||
|
||||
parent::init();
|
||||
|
||||
/* Disable some cache related bugs on the cart/order */
|
||||
header('Cache-Control: no-cache, must-revalidate');
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
|
||||
$this->display_column_left = false;
|
||||
$this->display_column_right = false;
|
||||
|
||||
// Service initialisieren
|
||||
$this->service = self::$amz_payments->getService();
|
||||
}
|
||||
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
|
||||
unset($this->context->cookie->amazon_id);
|
||||
|
||||
$this->context->smarty->assign('toCheckout', Tools::getValue('toCheckout'));
|
||||
$this->context->smarty->assign('fromCheckout', Tools::getValue('fromCheckout'));
|
||||
|
||||
$this->setTemplate('process_login.tpl');
|
||||
}
|
||||
}
|
234
modules/amzpayments/controllers/front/select_address.php
Normal file
234
modules/amzpayments/controllers/front/select_address.php
Normal file
@ -0,0 +1,234 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmzpaymentsSelect_AddressModuleFrontController extends ModuleFrontController
|
||||
{
|
||||
|
||||
public $ssl = true;
|
||||
|
||||
public $isLogged = false;
|
||||
|
||||
public $display_column_left = false;
|
||||
|
||||
public $display_column_right = false;
|
||||
|
||||
public $service;
|
||||
|
||||
protected $ajax_refresh = false;
|
||||
|
||||
protected $css_files_assigned = array();
|
||||
|
||||
protected $js_files_assigned = array();
|
||||
|
||||
protected static $amz_payments = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->controller_type = 'modulefront';
|
||||
|
||||
$this->module = Module::getInstanceByName(Tools::getValue('module'));
|
||||
if (! $this->module->active) {
|
||||
Tools::redirect('index');
|
||||
}
|
||||
$this->page_name = 'module-' . $this->module->name . '-' . Dispatcher::getInstance()->getController();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
self::$amz_payments = new AmzPayments();
|
||||
$this->isLogged = (bool) $this->context->customer->id && Customer::customerIdExistsStatic((int) $this->context->cookie->id_customer);
|
||||
header('Cache-Control: no-cache, must-revalidate');
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
if (Tools::isSubmit('ajax')) {
|
||||
if (Tools::isSubmit('method')) {
|
||||
$this->service = self::$amz_payments->getService();
|
||||
|
||||
switch (Tools::getValue('method')) {
|
||||
case 'updateAddressesSelected':
|
||||
$get_order_reference_details_request = new OffAmazonPaymentsService_Model_GetOrderReferenceDetailsRequest();
|
||||
$get_order_reference_details_request->setSellerId(self::$amz_payments->merchant_id);
|
||||
$get_order_reference_details_request->setAmazonOrderReferenceId(Tools::getValue('amazonOrderReferenceId'));
|
||||
if (isset($this->context->cookie->amz_access_token)) {
|
||||
$get_order_reference_details_request->setAddressConsentToken(AmzPayments::prepareCookieValueForAmazonPaymentsUse($this->context->cookie->amz_access_token));
|
||||
}
|
||||
$reference_details_result_wrapper = $this->service->getOrderReferenceDetails($get_order_reference_details_request);
|
||||
$physical_destination = $reference_details_result_wrapper->GetOrderReferenceDetailsResult->getOrderReferenceDetails()
|
||||
->getDestination()
|
||||
->getPhysicalDestination();
|
||||
|
||||
$iso_code = (string) $physical_destination->GetCountryCode();
|
||||
$city = (string) $physical_destination->GetCity();
|
||||
$postcode = (string) $physical_destination->GetPostalCode();
|
||||
$state = (string) $physical_destination->GetStateOrRegion();
|
||||
|
||||
if (method_exists($physical_destination, 'getName')) {
|
||||
$names_array = explode(' ', (string) $physical_destination->getName(), 2);
|
||||
$names_array = AmzPayments::prepareNamesArray($names_array);
|
||||
} else {
|
||||
$names_array = array('amzFirstname', 'amzLastname');
|
||||
}
|
||||
|
||||
$phone = '0000000000';
|
||||
if (method_exists($physical_destination, 'getPhone') && (string) $physical_destination->getPhone() != '' && Validate::isPhoneNumber((string) $physical_destination->getPhone())) {
|
||||
$phone = (string) $physical_destination->getPhone();
|
||||
}
|
||||
|
||||
$address_delivery = AmazonPaymentsAddressHelper::findByAmazonOrderReferenceIdOrNew(Tools::getValue('amazonOrderReferenceId'), false, $physical_destination);
|
||||
$address_delivery->id_customer = (int) $this->context->cookie->id_customer;
|
||||
$address_delivery->id_country = Country::getByIso($iso_code);
|
||||
$address_delivery->alias = 'Amazon Pay';
|
||||
$address_delivery->lastname = $names_array[1];
|
||||
$address_delivery->firstname = $names_array[0];
|
||||
|
||||
if (method_exists($physical_destination, 'getAddressLine3') && method_exists($physical_destination, 'getAddressLine2') && method_exists($physical_destination, 'getAddressLine1')) {
|
||||
$s_company_name = '';
|
||||
if ((string) $physical_destination->getAddressLine3() != '') {
|
||||
$s_street = Tools::substr($physical_destination->getAddressLine3(), 0, Tools::strrpos($physical_destination->getAddressLine3(), ' '));
|
||||
$s_street_nr = Tools::substr($physical_destination->getAddressLine3(), Tools::strrpos($physical_destination->getAddressLine3(), ' ') + 1);
|
||||
$s_company_name = trim($physical_destination->getAddressLine1() . $physical_destination->getAddressLine2());
|
||||
} else {
|
||||
if ((string) $physical_destination->getAddressLine2() != '') {
|
||||
$s_street = Tools::substr($physical_destination->getAddressLine2(), 0, Tools::strrpos($physical_destination->getAddressLine2(), ' '));
|
||||
$s_street_nr = Tools::substr($physical_destination->getAddressLine2(), Tools::strrpos($physical_destination->getAddressLine2(), ' ') + 1);
|
||||
$s_company_name = trim($physical_destination->getAddressLine1());
|
||||
} else {
|
||||
$s_street = Tools::substr($physical_destination->getAddressLine1(), 0, Tools::strrpos($physical_destination->getAddressLine1(), ' '));
|
||||
$s_street_nr = Tools::substr($physical_destination->getAddressLine1(), Tools::strrpos($physical_destination->getAddressLine1(), ' ') + 1);
|
||||
}
|
||||
}
|
||||
if (in_array(Tools::strtolower((string)$physical_destination->getCountryCode()), array('de', 'at', 'uk'))) {
|
||||
if ($s_company_name != '') {
|
||||
$address_delivery->company = $s_company_name;
|
||||
}
|
||||
$address_delivery->address1 = (string) $s_street . ' ' . (string) $s_street_nr;
|
||||
} else {
|
||||
$address_delivery->address1 = (string) $physical_destination->getAddressLine1();
|
||||
if (trim($address_delivery->address1) == '') {
|
||||
$address_delivery->address1 = (string) $physical_destination->getAddressLine2();
|
||||
} else {
|
||||
if (trim((string)$physical_destination->getAddressLine2()) != '') {
|
||||
$address_delivery->address2 = (string) $physical_destination->getAddressLine2();
|
||||
}
|
||||
}
|
||||
if (trim((string)$physical_destination->getAddressLine3()) != '') {
|
||||
$address_delivery->address2.= ' ' . (string) $physical_destination->getAddressLine3();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$address_delivery->address1 = 'amzAddress1';
|
||||
}
|
||||
$address_delivery = AmzPayments::prepareAddressLines($address_delivery);
|
||||
$address_delivery->city = $city;
|
||||
$address_delivery->postcode = $postcode;
|
||||
$address_delivery->id_state = 0;
|
||||
if ($state != '') {
|
||||
$state_id = State::getIdByIso($state, Country::getByIso($iso_code));
|
||||
if (!$state_id) {
|
||||
$state_id = State::getIdByName($state);
|
||||
}
|
||||
if ($state_id) {
|
||||
$address_delivery->id_state = $state_id;
|
||||
}
|
||||
}
|
||||
$address_delivery->phone = $phone;
|
||||
|
||||
if (Tools::getValue('add') && is_array(Tools::getValue('add'))) {
|
||||
$address_delivery = AmazonPaymentsAddressHelper::addAdditionalValues($address_delivery, Tools::getValue('add'));
|
||||
}
|
||||
|
||||
$fields_to_set = array();
|
||||
if ($address_delivery->id_state > 0 && !AmazonPaymentsAddressHelper::stateBelongsToCountry($address_delivery->id_state, (int)Country::getByIso($iso_code))) {
|
||||
$address_delivery->id_state = 0;
|
||||
}
|
||||
if ($address_delivery->id_state == 0) {
|
||||
$country = new Country((int)Country::getByIso($iso_code));
|
||||
if ($country->contains_states) {
|
||||
if (sizeof(State::getStatesByIdCountry((int)Country::getByIso($iso_code))) > 0) {
|
||||
$address_delivery->id_state = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
$htmlstr = '';
|
||||
try {
|
||||
$address_delivery->save();
|
||||
} catch (Exception $e) {
|
||||
$fields_to_set = array_merge($fields_to_set, AmazonPaymentsAddressHelper::fetchInvalidInput($address_delivery, Tools::getValue('add')));
|
||||
$htmlstr = '';
|
||||
foreach ($fields_to_set as $field_to_set) {
|
||||
$this->context->smarty->assign('states', State::getStatesByIdCountry((int)Country::getByIso($iso_code)));
|
||||
$this->context->smarty->assign('field_name', $field_to_set);
|
||||
$this->context->smarty->assign('field_value', isset($address_delivery->$field_to_set) ? $address_delivery->$field_to_set : '');
|
||||
$htmlstr.= $this->context->smarty->fetch($this->module->getLocalPath() . 'views/templates/front/address_field.tpl');
|
||||
}
|
||||
$this->errors[] = $this->module->l('Please fill in the missing fields to save your address.');
|
||||
}
|
||||
|
||||
AmazonPaymentsAddressHelper::saveAddressAmazonReference($address_delivery, Tools::getValue('amazonOrderReferenceId'), $physical_destination);
|
||||
|
||||
if (! count($this->errors)) {
|
||||
if ($this->context->cart->nbProducts()) {
|
||||
if (Configuration::get('PS_SSL_ENABLED')) {
|
||||
$goto = _PS_BASE_URL_SSL_ . __PS_BASE_URI__ . 'index.php?controller=order';
|
||||
} else {
|
||||
$goto = _PS_BASE_URL_ . __PS_BASE_URI__ . 'index.php?controller=order';
|
||||
}
|
||||
} else {
|
||||
if (Configuration::get('PS_SSL_ENABLED')) {
|
||||
$goto = _PS_BASE_URL_SSL_ . __PS_BASE_URI__;
|
||||
} else {
|
||||
$goto = _PS_BASE_URL_ . __PS_BASE_URI__;
|
||||
}
|
||||
}
|
||||
|
||||
$result = array('state' => 'success',
|
||||
'hasError' => false,
|
||||
'redirect' => $goto
|
||||
);
|
||||
die(Tools::jsonEncode($result));
|
||||
}
|
||||
|
||||
if (count($this->errors)) {
|
||||
die(Tools::jsonEncode(array(
|
||||
'hasError' => true,
|
||||
'fields_to_set' => $fields_to_set,
|
||||
'fields_html' => $htmlstr,
|
||||
'errors' => $this->errors
|
||||
)));
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
$this->context->smarty->assign(array(
|
||||
'ajaxSetAddressUrl' => $this->context->link->getModuleLink('amzpayments', 'select_address', array(), true),
|
||||
'sellerID' => Configuration::get('AMZ_MERCHANT_ID')
|
||||
));
|
||||
$this->setTemplate('select_address.tpl');
|
||||
}
|
||||
}
|
350
modules/amzpayments/controllers/front/user_to_shop.php
Normal file
350
modules/amzpayments/controllers/front/user_to_shop.php
Normal file
@ -0,0 +1,350 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
class AmzpaymentsUser_To_ShopModuleFrontController extends ModuleFrontController
|
||||
{
|
||||
|
||||
public $ssl = true;
|
||||
|
||||
public $isLogged = false;
|
||||
|
||||
public $display_column_left = false;
|
||||
|
||||
public $display_column_right = false;
|
||||
|
||||
public $service;
|
||||
|
||||
protected $ajax_refresh = false;
|
||||
|
||||
protected $css_files_assigned = array();
|
||||
|
||||
protected $js_files_assigned = array();
|
||||
|
||||
protected static $amz_payments = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->controller_type = 'modulefront';
|
||||
|
||||
$this->module = Module::getInstanceByName(Tools::getValue('module'));
|
||||
if (! $this->module->active) {
|
||||
Tools::redirect('index');
|
||||
}
|
||||
$this->page_name = 'module-' . $this->module->name . '-' . Dispatcher::getInstance()->getController();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function init()
|
||||
{
|
||||
$_REQUEST['customer_privacy'] = 1;
|
||||
$_POST['customer_privacy'] = 1;
|
||||
self::$amz_payments = new AmzPayments();
|
||||
$this->isLogged = (bool) $this->context->customer->id && Customer::customerIdExistsStatic((int) $this->context->cookie->id_customer);
|
||||
|
||||
parent::init();
|
||||
|
||||
/* Disable some cache related bugs on the cart/order */
|
||||
header('Cache-Control: no-cache, must-revalidate');
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
|
||||
$this->display_column_left = false;
|
||||
$this->display_column_right = false;
|
||||
|
||||
// Service initialisieren
|
||||
$this->service = self::$amz_payments->getService();
|
||||
|
||||
if (Tools::isSubmit('ajax')) {
|
||||
if (Tools::isSubmit('method')) {
|
||||
switch (Tools::getValue('method')) {
|
||||
case 'redirectAuthentication':
|
||||
case 'setusertoshop':
|
||||
if (Tools::getValue('access_token')) {
|
||||
if (Tools::getValue('access_token') != 'undefined') {
|
||||
$this->context->cookie->amz_access_token = AmzPayments::prepareCookieValueForPrestaShopUse(Tools::getValue('access_token'));
|
||||
$this->context->cookie->amz_access_token_set_time = time();
|
||||
}
|
||||
} else {
|
||||
if (Tools::getValue('method') == 'redirectAuthentication') {
|
||||
Tools::redirect('index');
|
||||
} else {
|
||||
error_log('Error, method not submitted and no token');
|
||||
die('error');
|
||||
}
|
||||
}
|
||||
if (Tools::getValue('action') == 'fromCheckout') {
|
||||
$accessTokenValue = AmzPayments::prepareCookieValueForAmazonPaymentsUse(Tools::getValue('access_token'));
|
||||
} else {
|
||||
$accessTokenValue = Tools::getValue('access_token');
|
||||
}
|
||||
|
||||
$d = self::$amz_payments->requestTokenInfo($accessTokenValue);
|
||||
|
||||
if ($d->aud != self::$amz_payments->client_id) {
|
||||
if (Tools::getValue('method') == 'redirectAuthentication') {
|
||||
Tools::redirect('index');
|
||||
} else {
|
||||
error_log('auth error LPA');
|
||||
die('error');
|
||||
}
|
||||
}
|
||||
|
||||
$d = self::$amz_payments->requestProfile($accessTokenValue);
|
||||
|
||||
$customer_userid = $d->user_id;
|
||||
$customer_name = $d->name;
|
||||
$customer_email = $d->email;
|
||||
// $postcode = $d->postal_code;
|
||||
|
||||
if ($customers_local_id = AmazonPaymentsCustomerHelper::findByAmazonCustomerId($customer_userid)) {
|
||||
// Customer already exists - login
|
||||
Hook::exec('actionBeforeAuthentication');
|
||||
$customer = new Customer();
|
||||
$authentication = AmazonPaymentsCustomerHelper::getByCustomerID($customers_local_id, true, $customer);
|
||||
|
||||
if (isset($authentication->active) && ! $authentication->active) {
|
||||
$this->errors[] = Tools::displayError('Your account isn\'t available at this time, please contact us');
|
||||
} elseif (! $authentication || ! $customer->id) {
|
||||
$this->errors[] = Tools::displayError('Authentication failed.');
|
||||
} else {
|
||||
$this->context->cookie->id_compare = isset($this->context->cookie->id_compare) ? $this->context->cookie->id_compare : CompareProduct::getIdCompareByIdCustomer($customer->id);
|
||||
$this->context->cookie->id_customer = (int) $customer->id;
|
||||
$this->context->cookie->customer_lastname = $customer->lastname;
|
||||
$this->context->cookie->customer_firstname = $customer->firstname;
|
||||
$this->context->cookie->logged = 1;
|
||||
$customer->logged = 1;
|
||||
$this->context->cookie->is_guest = $customer->isGuest();
|
||||
$this->context->cookie->passwd = $customer->passwd;
|
||||
$this->context->cookie->email = $customer->email;
|
||||
|
||||
// Add customer to the context
|
||||
$this->context->customer = $customer;
|
||||
|
||||
if (Configuration::get('PS_CART_FOLLOWING') && (empty($this->context->cookie->id_cart) || Cart::getNbProducts($this->context->cookie->id_cart) == 0) && $id_cart = (int) Cart::lastNoneOrderedCart($this->context->customer->id)) {
|
||||
$this->context->cart = new Cart($id_cart);
|
||||
} else {
|
||||
$id_carrier = (int) $this->context->cart->id_carrier;
|
||||
$this->context->cart->id_carrier = 0;
|
||||
$this->context->cart->setDeliveryOption(null);
|
||||
$this->context->cart->id_address_delivery = (int) Address::getFirstCustomerAddressId((int) $customer->id);
|
||||
$this->context->cart->id_address_invoice = (int) Address::getFirstCustomerAddressId((int) $customer->id);
|
||||
}
|
||||
$this->context->cart->id_customer = (int) $customer->id;
|
||||
$this->context->cart->secure_key = $customer->secure_key;
|
||||
|
||||
if ($this->ajax && isset($id_carrier) && $id_carrier && Configuration::get('PS_ORDER_PROCESS_TYPE')) {
|
||||
$delivery_option = array(
|
||||
$this->context->cart->id_address_delivery => $id_carrier . ','
|
||||
);
|
||||
$this->context->cart->setDeliveryOption($delivery_option);
|
||||
}
|
||||
|
||||
$this->context->cart->save();
|
||||
$this->context->cookie->id_cart = (int) $this->context->cart->id;
|
||||
$this->context->cookie->write();
|
||||
$this->context->cart->autosetProductAddress();
|
||||
|
||||
Hook::exec('actionAuthentication');
|
||||
|
||||
// Login information have changed, so we check if the cart rules still apply
|
||||
CartRule::autoRemoveFromCart($this->context);
|
||||
CartRule::autoAddToCart($this->context);
|
||||
|
||||
if (Tools::getValue('action') == 'fromCheckout' && isset($this->context->cookie->amz_connect_order)) {
|
||||
AmzPayments::switchOrderToCustomer($this->context->customer->id, $this->context->cookie->amz_connect_order, true);
|
||||
}
|
||||
|
||||
if (Tools::getValue('action') == 'checkout') {
|
||||
$goto = $this->context->link->getModuleLink('amzpayments', 'amzpayments', array('session' => Tools::getValue('amazon_id')));
|
||||
} elseif (Tools::getValue('action') == 'fromCheckout') {
|
||||
$goto = 'index.php?controller=history';
|
||||
} elseif ($this->context->cart->nbProducts()) {
|
||||
$goto = 'index.php?controller=order';
|
||||
} else {
|
||||
if (Configuration::get('PS_SSL_ENABLED')) {
|
||||
$goto = _PS_BASE_URL_SSL_ . __PS_BASE_URI__;
|
||||
} else {
|
||||
$goto = _PS_BASE_URL_ . __PS_BASE_URI__;
|
||||
}
|
||||
}
|
||||
|
||||
if (Tools::getValue('method') == 'redirectAuthentication') {
|
||||
Tools::redirect($goto);
|
||||
} else {
|
||||
echo $goto;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (AmazonPaymentsCustomerHelper::findByEmailAddress($customer_email)) {
|
||||
$this->context->cookie->amzConnectEmail = $customer_email;
|
||||
$this->context->cookie->amzConnectCustomerId = $customer_userid;
|
||||
$goto = $this->context->link->getModuleLink('amzpayments', 'connect_accounts');
|
||||
if (Tools::getValue('action') && Tools::getValue('action') == 'checkout') {
|
||||
if (strpos($goto, '?') > 0) {
|
||||
$goto .= '&checkout=1';
|
||||
} else {
|
||||
$goto .= '?checkout=1';
|
||||
}
|
||||
}
|
||||
if (Tools::getValue('method') == 'redirectAuthentication') {
|
||||
Tools::redirect($goto);
|
||||
} else {
|
||||
echo $goto;
|
||||
}
|
||||
} else {
|
||||
// Customer does not exist - Create account
|
||||
Hook::exec('actionBeforeSubmitAccount');
|
||||
$this->create_account = true;
|
||||
$_POST['passwd'] = md5(time() . _COOKIE_KEY_);
|
||||
|
||||
$firstname = '';
|
||||
$lastname = '';
|
||||
$customer_name = preg_replace("/[0-9]/", "", $customer_name);
|
||||
if (strpos(trim($customer_name), ' ') !== false) {
|
||||
list ($firstname, $lastname) = explode(' ', trim($customer_name));
|
||||
} elseif (strpos(trim($customer_name), '-') !== false) {
|
||||
list ($firstname, $lastname) = explode('-', trim($customer_name));
|
||||
} else {
|
||||
$firstname = trim($customer_name);
|
||||
$lastname = 'Placeholder';
|
||||
}
|
||||
|
||||
$customer = new Customer();
|
||||
$customer->email = $customer_email;
|
||||
$lastname_address = $lastname;
|
||||
$firstname_address = $firstname;
|
||||
$_POST['lastname'] = Tools::getValue('customer_lastname', $lastname_address);
|
||||
$_POST['firstname'] = Tools::getValue('customer_firstname', $firstname_address);
|
||||
// $addresses_types = array('address');
|
||||
|
||||
$this->errors = array_unique(array_merge($this->errors, $customer->validateController()));
|
||||
|
||||
// Check the requires fields which are settings in the BO
|
||||
$this->errors = $this->errors + $customer->validateFieldsRequiredDatabase();
|
||||
|
||||
if (! count($this->errors)) {
|
||||
$customer->firstname = Tools::ucwords($customer->firstname);
|
||||
$customer->is_guest = 0;
|
||||
$customer->active = 1;
|
||||
|
||||
if (! count($this->errors)) {
|
||||
if ($customer->add()) {
|
||||
if (! $customer->is_guest) {
|
||||
if (! $this->sendConfirmationMail($customer)) {
|
||||
$this->errors[] = Tools::displayError('The email cannot be sent.');
|
||||
}
|
||||
}
|
||||
|
||||
AmazonPaymentsCustomerHelper::saveCustomersAmazonReference($customer, $customer_userid);
|
||||
|
||||
$this->updateContext($customer);
|
||||
|
||||
$this->context->cart->update();
|
||||
Hook::exec('actionCustomerAccountAdd', array(
|
||||
'_POST' => $_POST,
|
||||
'newCustomer' => $customer
|
||||
));
|
||||
|
||||
if (Tools::getValue('action') == 'fromCheckout' && isset($this->context->cookie->amz_connect_order)) {
|
||||
AmzPayments::switchOrderToCustomer($customer->id, $this->context->cookie->amz_connect_order, true);
|
||||
}
|
||||
|
||||
if (Tools::getValue('action') == 'checkout') {
|
||||
$goto = $this->context->link->getModuleLink('amzpayments', 'amzpayments', array('session' => Tools::getValue('amazon_id')));
|
||||
} elseif (Tools::getValue('action') == 'fromCheckout') {
|
||||
$goto = 'index.php?controller=history';
|
||||
} else {
|
||||
$goto = $this->context->link->getModuleLink('amzpayments', 'select_address');
|
||||
}
|
||||
|
||||
if (Tools::getValue('method') == 'redirectAuthentication') {
|
||||
Tools::redirect($goto);
|
||||
} else {
|
||||
echo $goto;
|
||||
}
|
||||
} else {
|
||||
$this->errors[] = Tools::displayError('An error occurred while creating your account.');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
error_log('Error validating customers informations');
|
||||
die('error');
|
||||
}
|
||||
}
|
||||
}
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
die('');
|
||||
}
|
||||
|
||||
/**
|
||||
* Update context after customer creation
|
||||
*
|
||||
* @param Customer $customer
|
||||
* Created customer
|
||||
*/
|
||||
protected function updateContext(Customer $customer)
|
||||
{
|
||||
$this->context->customer = $customer;
|
||||
$this->context->smarty->assign('confirmation', 1);
|
||||
$this->context->cookie->id_customer = (int) $customer->id;
|
||||
$this->context->cookie->customer_lastname = $customer->lastname;
|
||||
$this->context->cookie->customer_firstname = $customer->firstname;
|
||||
$this->context->cookie->passwd = $customer->passwd;
|
||||
$this->context->cookie->logged = 1;
|
||||
// if register process is in two steps, we display a message to confirm account creation
|
||||
if (! Configuration::get('PS_REGISTRATION_PROCESS_TYPE')) {
|
||||
$this->context->cookie->account_created = 1;
|
||||
}
|
||||
$customer->logged = 1;
|
||||
$this->context->cookie->email = $customer->email;
|
||||
$this->context->cookie->is_guest = ! Tools::getValue('is_new_customer', 1);
|
||||
// Update cart address
|
||||
$this->context->cart->secure_key = $customer->secure_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* sendConfirmationMail
|
||||
*
|
||||
* @param Customer $customer
|
||||
* @return bool
|
||||
*/
|
||||
protected function sendConfirmationMail(Customer $customer)
|
||||
{
|
||||
if (! Configuration::get('PS_CUSTOMER_CREATION_EMAIL')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return Mail::Send($this->context->language->id, 'account', Mail::l('Welcome!'), array(
|
||||
'{firstname}' => $customer->firstname,
|
||||
'{lastname}' => $customer->lastname,
|
||||
'{email}' => $customer->email,
|
||||
'{passwd}' => Tools::getValue('passwd')
|
||||
), $customer->email, $customer->firstname . ' ' . $customer->lastname);
|
||||
}
|
||||
}
|
36
modules/amzpayments/controllers/index.php
Normal file
36
modules/amzpayments/controllers/index.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../');
|
||||
exit;
|
49
modules/amzpayments/cron.php
Normal file
49
modules/amzpayments/cron.php
Normal file
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
include_once('../../config/config.inc.php');
|
||||
include_once('../../init.php');
|
||||
include_once('../../modules/amzpayments/amzpayments.php');
|
||||
|
||||
$module_name = Tools::getValue('moduleName');
|
||||
|
||||
$amz_payments = new AmzPayments();
|
||||
|
||||
if ($amz_payments->cron_status == '1' && Tools::getValue('pw') == $amz_payments->cron_password) {
|
||||
if ($amz_payments->capture_mode == 'after_shipping') {
|
||||
$amz_payments->shippingCapture();
|
||||
}
|
||||
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions WHERE amz_tx_status = \'Pending\' ORDER BY amz_tx_last_update ASC';
|
||||
$rs = Db::getInstance()->ExecuteS($q);
|
||||
foreach ($rs as $r) {
|
||||
$amz_payments->intelligentRefresh($r);
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
$q = 'SELECT * FROM ' . _DB_PREFIX_ . 'amz_transactions WHERE amz_tx_status != \'Closed\' ORDER BY amz_tx_last_update ASC LIMIT 40';
|
||||
$rs = Db::getInstance()->ExecuteS($q);
|
||||
foreach ($rs as $r) {
|
||||
$amz_payments->intelligentRefresh($r);
|
||||
sleep(1);
|
||||
}
|
||||
echo 'COMPLETED';
|
||||
}
|
35
modules/amzpayments/index.php
Executable file
35
modules/amzpayments/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
29
modules/amzpayments/ipn.php
Normal file
29
modules/amzpayments/ipn.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
/**
|
||||
* @deprecated This file is just for backward compatibility!
|
||||
*/
|
||||
|
||||
$_GET['module'] = 'amzpayments';
|
||||
$_GET['controller'] = 'ipn';
|
||||
$_GET['fc'] = 'module';
|
||||
require_once('../../index.php');
|
BIN
modules/amzpayments/logo.gif
Normal file
BIN
modules/amzpayments/logo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
15
modules/amzpayments/mails/de/amazon_hard_decline.html
Normal file
15
modules/amzpayments/mails/de/amazon_hard_decline.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Sehr geehrter Kunde, </strong><br />
|
||||
<br />
|
||||
Leider wurde die Zahlung zu Ihrer Bestellung {$ORDER_NR} vom {$ORDER_DATE} in unserem Onlineshop von Amazon Pay zurückgewiesen. Bitte kontaktieren Sie uns.
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
modules/amzpayments/mails/de/amazon_hard_decline.txt
Normal file
5
modules/amzpayments/mails/de/amazon_hard_decline.txt
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
Sehr geehrter Kunde,
|
||||
|
||||
Leider wurde die Zahlung zu Ihrer Bestellung {$ORDER_NR} vom {$ORDER_DATE} in unserem Onlineshop von Amazon Pay zurückgewiesen. Bitte kontaktieren Sie uns.
|
||||
|
20
modules/amzpayments/mails/de/amazon_soft_decline.html
Normal file
20
modules/amzpayments/mails/de/amazon_soft_decline.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Sehr geehrter Kunde, </strong><br />
|
||||
<br />
|
||||
Vielen Dank für Ihre Bestellung Nr. {$ORDER_NR} vom {$ORDER_DATE}.<br />
|
||||
<br />
|
||||
Leider wurde Ihre Bezahlung von Amazon Pay abgelehnt.<br />
|
||||
Sie können unter <a href="https://payments.amazon.de/overview">https://payments.amazon.de/overview</a> die Zahlungsinformationen für Ihre Bestellung aktualisieren, indem Sie eine andere Zahlungsweise auswählen oder eine neue Zahlungsweise eingeben. <br />
|
||||
Mit der neuen Zahlungsweise wird dann ein erneuter
|
||||
Zahlungsversuch vorgenommen und Sie erhalten eine Bestätigungsemail.<br />
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
8
modules/amzpayments/mails/de/amazon_soft_decline.txt
Normal file
8
modules/amzpayments/mails/de/amazon_soft_decline.txt
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
Sehr geehrter Kunde,
|
||||
|
||||
Vielen Dank für Ihre Bestellung {$ORDER_NR} vom {$ORDER_DATE}.
|
||||
Leider wurde Ihre Bezahlung von Amazon Pay abgelehnt.
|
||||
Sie können unter https://payments.amazon.de/overview die Zahlungsinformationen für Ihre Bestellung aktualisieren, indem Sie eine andere Zahlungsweise auswählen oder eine neue Zahlungsweise eingeben.
|
||||
Mit der neuen Zahlungsweise wird dann ein erneuter Zahlungsversuch vorgenommen und Sie erhalten eine Bestätigungsemail.
|
||||
|
35
modules/amzpayments/mails/de/index.php
Executable file
35
modules/amzpayments/mails/de/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../../");
|
||||
exit;
|
15
modules/amzpayments/mails/en/amazon_hard_decline.html
Normal file
15
modules/amzpayments/mails/en/amazon_hard_decline.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Dear customer, </strong><br />
|
||||
<br />
|
||||
Unfortunately Amazon Pay rejected the payment for your order {$ORDER_NR} from {$ORDER_DATE} in our online shop. Please contact us.
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
modules/amzpayments/mails/en/amazon_hard_decline.txt
Normal file
5
modules/amzpayments/mails/en/amazon_hard_decline.txt
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
Dear customer,
|
||||
|
||||
Unfortunately Amazon Pay rejected the payment for your order {$ORDER_NR} from {$ORDER_DATE} in our online shop. Please contact us.
|
||||
|
19
modules/amzpayments/mails/en/amazon_soft_decline.html
Normal file
19
modules/amzpayments/mails/en/amazon_soft_decline.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Dear customer, </strong><br />
|
||||
<br />
|
||||
Thank you for your order {$ORDER_NR} from {$ORDER_DATE}.<br />
|
||||
<br />
|
||||
Unfortunately your payment was rejected by Amazon Pay.<br />
|
||||
You can update the payment information for your order at <a href="https://payments.amazon.co.uk/overview">https://payments.amazon.co.uk/overview</a> by selecting or entering a different payment method. <br />
|
||||
We will try to authorize the payment again, and you will receive a confirmation email.<br />
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
8
modules/amzpayments/mails/en/amazon_soft_decline.txt
Normal file
8
modules/amzpayments/mails/en/amazon_soft_decline.txt
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
Dear customer,
|
||||
|
||||
Thank you for your order {$ORDER_NR} from {$ORDER_DATE}.
|
||||
Unfortunately your payment was rejected by Amazon Pay.
|
||||
You can update the payment information for your order at https://payments.amazon.co.uk/overview by selecting or entering a different payment method.
|
||||
We will try to authorize the payment again, and you will receive a confirmation email.
|
||||
|
35
modules/amzpayments/mails/en/index.php
Executable file
35
modules/amzpayments/mails/en/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../../");
|
||||
exit;
|
15
modules/amzpayments/mails/es/amazon_hard_decline.html
Normal file
15
modules/amzpayments/mails/es/amazon_hard_decline.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Saludos, </strong><br />
|
||||
<br />
|
||||
Desgraciadamente, Amazon Pay ha rechazado el pago de tu pedido en nuestra tienda online {$ORDER_NR} de {$ORDER_DATE}. Por favor, ponte en contacto con nosotros.
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
modules/amzpayments/mails/es/amazon_hard_decline.txt
Normal file
5
modules/amzpayments/mails/es/amazon_hard_decline.txt
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
Saludos,
|
||||
|
||||
Desgraciadamente, Amazon Pay ha rechazado el pago de tu pedido en nuestra tienda online {$ORDER_NR} de {$ORDER_DATE}. Por favor, ponte en contacto con nosotros.
|
||||
|
19
modules/amzpayments/mails/es/amazon_soft_decline.html
Normal file
19
modules/amzpayments/mails/es/amazon_soft_decline.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Saludos, </strong><br />
|
||||
<br />
|
||||
Muchas gracias por tu pedido {$ORDER_NR} de {$ORDER_DATE}.<br />
|
||||
<br />
|
||||
Desgraciadamente, Amazon Pay ha rechazado tu pago.<br />
|
||||
Por favor, dirígete a <a href="https://payments.amazon.es/overview">https://payments.amazon.es/overview</a> y revisa la información de pago de tu pedido. <br />
|
||||
Una vez hayas actualizado tu información de pago, solicitaremos automáticamente un nuevo pago en Amazon Pay y recibirás un correo electrónico de confirmación.<br />
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
7
modules/amzpayments/mails/es/amazon_soft_decline.txt
Normal file
7
modules/amzpayments/mails/es/amazon_soft_decline.txt
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
Saludos,
|
||||
|
||||
Muchas gracias por tu pedido {$ORDER_NR} de {$ORDER_DATE}.
|
||||
Desgraciadamente, Amazon Pay ha rechazado tu pago.
|
||||
Por favor, dirígete a https://payments.amazon.es/overview y revisa la información de pago de tu pedido.
|
||||
Una vez hayas actualizado tu información de pago, solicitaremos automáticamente un nuevo pago en Amazon Pay y recibirás un correo electrónico de confirmación.
|
35
modules/amzpayments/mails/es/index.php
Executable file
35
modules/amzpayments/mails/es/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../../");
|
||||
exit;
|
15
modules/amzpayments/mails/fr/amazon_hard_decline.html
Normal file
15
modules/amzpayments/mails/fr/amazon_hard_decline.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Cher client, </strong><br />
|
||||
<br />
|
||||
Malheureusement Amazon Pay n’a pas pu traier le paiement pour votre commande auprès {$ORDER_NR} de {$ORDER_DATE}. Veuillez nous contacter concernant cette commande.
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
modules/amzpayments/mails/fr/amazon_hard_decline.txt
Normal file
5
modules/amzpayments/mails/fr/amazon_hard_decline.txt
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
Cher client,
|
||||
|
||||
Malheureusement Amazon Pay n’a pas pu traier le paiement pour votre commande auprès {$ORDER_NR} de {$ORDER_DATE}. Veuillez nous contacter concernant cette commande.
|
||||
|
18
modules/amzpayments/mails/fr/amazon_soft_decline.html
Normal file
18
modules/amzpayments/mails/fr/amazon_soft_decline.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Cher client, </strong><br />
|
||||
<br />
|
||||
Merci pour votre commande auprès {$ORDER_NR} de {$ORDER_DATE}.<br />
|
||||
<br />
|
||||
Malheureusement Amazon Pay n’a pas pu traiter le paiement.<br />
|
||||
Veuillez aller sur <a href="https://payments.amazon.fr/overview">https://payments.amazon.fr/overview</a> et mettez à jour les informations de paiement pour votre commande. <br />
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
7
modules/amzpayments/mails/fr/amazon_soft_decline.txt
Normal file
7
modules/amzpayments/mails/fr/amazon_soft_decline.txt
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
Cher client,
|
||||
|
||||
Merci pour votre commande auprès {$ORDER_NR} de {$ORDER_DATE}.
|
||||
Malheureusement Amazon Pay n’a pas pu traiter le paiement.
|
||||
Veuillez aller sur https://payments.amazon.fr/overview et mettez à jour les informations de paiement pour votre commande.
|
||||
|
35
modules/amzpayments/mails/fr/index.php
Executable file
35
modules/amzpayments/mails/fr/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../../");
|
||||
exit;
|
35
modules/amzpayments/mails/index.php
Executable file
35
modules/amzpayments/mails/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
15
modules/amzpayments/mails/it/amazon_hard_decline.html
Normal file
15
modules/amzpayments/mails/it/amazon_hard_decline.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Gentile Cliente, </strong><br />
|
||||
<br />
|
||||
Purtroppo Amazon Pay ha rifiutato il pagamento del suo ordine nel nostro negozio on-line {$ORDER_NR} de {$ORDER_DATE}. Non esiti a contattarci per ulteriori informazioni a riguardo.
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
modules/amzpayments/mails/it/amazon_hard_decline.txt
Normal file
5
modules/amzpayments/mails/it/amazon_hard_decline.txt
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
Gentile Cliente,
|
||||
|
||||
Purtroppo Amazon Pay ha rifiutato il pagamento del suo ordine nel nostro negozio on-line {$ORDER_NR} de {$ORDER_DATE}. Non esiti a contattarci per ulteriori informazioni a riguardo.
|
||||
|
19
modules/amzpayments/mails/it/amazon_soft_decline.html
Normal file
19
modules/amzpayments/mails/it/amazon_soft_decline.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>Message de {shop_name}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="font-family: Verdana,sans-serif; font-size: 11px;width: 650px;"><a href="{shop_url}"><img alt="{shop_name}" border="0" src="{shop_logo}" title="{shop_name}" /></a><br />
|
||||
<strong>Gentile Cliente, </strong><br />
|
||||
<br />
|
||||
La ringraziamo molto per il suo ordine {$ORDER_NR} de {$ORDER_DATE}.<br />
|
||||
<br />
|
||||
Purtroppo Amazon Pay ha rifiutato il suo pagamento.<br />
|
||||
La preghiamo di andare all‘indirizzo <a href="https://payments.amazon.it/overview">https://payments.amazon.it/overview</a> selezionando un altro metodo di pagamento o inserendone uno nuovo. <br />
|
||||
Una volta inserito il nuovo metodo di pagamento, verrà effettuato un nuovo tentativo di pagamento e inviata un'e-mail di conferma.<br />
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
9
modules/amzpayments/mails/it/amazon_soft_decline.txt
Normal file
9
modules/amzpayments/mails/it/amazon_soft_decline.txt
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
Gentile Cliente,
|
||||
|
||||
La ringraziamo molto per il suo ordine {$ORDER_NR} de {$ORDER_DATE}.
|
||||
Purtroppo Amazon Pay ha rifiutato il suo pagamento.
|
||||
La preghiamo di andare all‘indirizzo https://payments.amazon.it/overview selezionando un altro metodo di pagamento o inserendone uno nuovo.
|
||||
Una volta inserito il nuovo metodo di pagamento, verrà effettuato un nuovo tentativo di pagamento e inviata un'e-mail di conferma.
|
||||
|
||||
|
35
modules/amzpayments/mails/it/index.php
Executable file
35
modules/amzpayments/mails/it/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../../");
|
||||
exit;
|
224
modules/amzpayments/translations/GB.php
Normal file
224
modules/amzpayments/translations/GB.php
Normal file
@ -0,0 +1,224 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_81d1ad142418eddcae2bbc31b0d4d8ad'] = 'Order completed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_f3861c4c3a4594ea61e265c2cb9b5c48'] = 'Payment process cancelled';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_71a85ee870436f9064ac3528a4c86549'] = 'Update is completed!';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_bae97ddc25077860b31fda55d247d7da'] = 'Authorisation request was started successfully';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3e3e79eb84fdf0f80a6800d0721cca16'] = 'Creation of the authorisation request has failed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_d6022e75cdbf4d4254dc72ed03259a13'] = 'Capture successful';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_5b493645ee2b8bfa9b0aa235b5521295'] = 'Capture failed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_da414780dda0664df1af13935e48c0c5'] = 'Refund request was started successfully';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3cc4859e502556d0d848c3bc38618782'] = 'Refund failed';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c78d107708639ef5909123dbc2f2d3aa'] = 'Amazon Pay - Login and Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_080e2a0b502a41599bdaa5978ee0ad36'] = 'Easy-to-use integration of Advanced Payment APIs for your Presta Shop';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_876f23178c29dc2552c0b48bf23cd9bd'] = 'Do you really want to uninstall the module?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d81002e59a1139fab6e1cd2753a09a90'] = 'Your Amazon Pay - Advanced Payment APIs details have to be configured before you can use the module!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2e280e445fcad71c3d066b11bdf20390'] = 'No currency has been set for this payment module';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_0bcb2adf017d8a410bc09e1e57031893'] = 'Amazon Pay - Authorized';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_27a76c6a37e670b2a8464263fe4e098c'] = 'Amazon Pay - Payment received';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_06a314be1e151ad86638cc5214fd8fb9'] = ': details are required.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6d02107e6b345898e2e003d4e30dc282'] = 'Not allowed input \"Region\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a42f87582faf7be0246795c6e62178e8'] = 'MWS Access Key is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4a6ec73d0115c9652ee6a29197899fa'] = 'MWS Secret Key is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ee011c3fd11b5dc4e3d8bd08b7747018'] = 'Merchant ID is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c888438d14855d7d96a2724ee9c306bd'] = 'Settings updated!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f4f70727dc34561dfde1a3c529b6205c'] = 'Settings';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfddeac754c1b6067251ed1748e407d'] = 'Amazon Merchant ID';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_916853799b53ff1f63a94b61df6d966a'] = 'AWS Access Key';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_73eeac3fa1a0ce48f381ca1e6d71f077'] = 'Secret Key';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfe9d72a4aae8f06a31025b7536be80'] = 'Client-ID for Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b24c9cbc8c7bd85744dcf6b8a933084f'] = 'Allowed values:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_960db2ed82202a9706b97775a4269378'] = 'Region';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d3b8bd6da3943c1f83379a4a0a7ab918'] = 'Mode Login/Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b988c537cc8b4e7d951196deb4defbb2'] = 'Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ae6d9d2f0877d0571dc03ccd5ef407e8'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ecd640fa2d15770cb1adee4075ad7afb'] = 'Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9b8926c200109a9e2a829e4d5ce14ade'] = 'Show buttons in frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Enabled';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disabled';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8667cecb1de0a963f560deab1b02523d'] = 'Hide Login with Amazon Elements in Frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e900e40bc91d3f9f7f0a99fed68a2e96'] = 'Operation mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_4245499695408b974322be6f01b0d17a'] = 'Test mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_cebd5bbe0ffdecc270a8a324e5a277dd'] = 'Live mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6ea96e7901e5d7d960ae3ab51a460dfe'] = 'When/How will the payment be authorised?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_74dc5ba3b79de0d9c7b7a40826794a32'] = 'during checkout / before completing the order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_517fb462c524717a2862e7f5a4f4b582'] = 'immediately after the order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_3c78b35502b2693fefdfc51cba3a53a5'] = 'manual';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7dbe434224e885e859b7707fa3ebf141'] = 'Order status for executed orders';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c92a02ec287f5151bea1493f769b8817'] = 'Order status for authorised payments';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_80d0c781220d833947e82a4bac83c66b'] = 'When/How will payments be capured?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_28c6194859e3104cfb02445b83efadc5'] = 'after delivery';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_05033bc4d960e0f74efacd29dbfb91fd'] = 'directly after the authorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f38911eda842056931cbcf497a2f8fe5'] = 'Order status to capture payment';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9d57203f843f48a4cbc5da56cd9eba9a'] = 'Order status after successful capture';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1a357f75f77b4eaa734c35cc15fa4ca7'] = 'Declined status';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da7bc25895336d39dfb2603378728d86'] = 'Provocate error (sandbox mode only!)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_63d098bd60c469852c135349eb50c6ad'] = 'Hard Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_679b25385157e8e2f4053d5225baee9d'] = 'Soft Decline (2min)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25f159eff77797ead5fbaf19eea4a7ae'] = 'Capture Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8eff3617002e9a854b9704717f35f7aa'] = 'Login in Popup-Window';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d64946b0089fa5361240915d80d1cea6'] = 'Exclude shipping methods';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_199ef1b03dbd9cff69ccdfe33f467a8c'] = 'Exclude products from Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12c3d641b9e8ed280e818675cf288d6b'] = 'Allow guest orders?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a6393c36c052c03efe4a8c0f0fcc487'] = 'Size of the Amazon Checkout button';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fea087517c26fadd409bd4b9dc642555'] = 'normal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d861877da56b8b4ceb35c8cbfdf65bb4'] = 'big';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_379b503ecd89a83cd772b12f32d99b86'] = 'very big';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b11e12b1d8e5da5a84cca3e46dfcbdf5'] = 'Size of the Amazon-Checkout button (Login/Login&Pay-Mode)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eb5c1399a871211c7e7ed732d15e3a8b'] = 'small';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dfa76a928ca510e1bd3c837d78358489'] = 'Colour of the Amazon Checkout button';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_090ce86a70f6c620da627abc6d01ac7a'] = 'Amazon yellow';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_caf3a042a037c064b7513ed640c22f77'] = 'Grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_db48e2b1ac86cbdd7a6dc51a9003ab53'] = 'Colour of The Amazon-Checkout button (Login/Login&Pay-Mode)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1dbd090957fe65e292f767afebeefa39'] = 'Light grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_af5e5b6fe4efe9a2def4b733b165c632'] = 'Dark grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_31a2f49179703a2e9762d620044dde00'] = 'Colour of The Amazon-Checkout button (Login/Login&Pay-Mode) in navigation-bar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da3d3cfa54113652c31233de9d533637'] = 'Button type \"login\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25e29d9c17462795383c7c21c965ad99'] = 'Login with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99dea78007133396a7b8ed70578ac6ae'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7075d3701c4e47035eb216cbda9a23ab'] = 'Just an \"A\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c6fecb49a169bf3a95ab401ac835c0d2'] = 'Button type \"pay\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed20689b0d8d53ec534166a88b67f259'] = 'Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4f8636404d488e3eb526c7fde0d31b8'] = 'Receive status updates via IPN';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d202d47478c2e5fadb48a5114954e797'] = 'Use this URL for IPN: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9bacd27a5ffedb81e1efc6454fa7f246'] = 'Use cron job for status updates';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5596b226abb08c30dd95c4a0073139f5'] = 'Use this URL for your cronjob: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e238b685f634947eb0ed378e3196abf9'] = 'Password for cronjob';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d1d51c8dcba4c98ea5cec6f56cf7413d'] = 'Automatically notify customers when payments are rejected';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2cfec4ef5bb5c2b81eded6ec7e82ccc'] = 'Preselect account creation in checkout';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2fac096fc5c586bcfecb255c585a3ef1'] = 'Force account creation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6deb26d36a88344bcd7f71914a086055'] = 'Template Bootstrap';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c9cc8cce247e49bae79f15173ce97354'] = 'Save';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f8928b5290746aa6041f3caa35d3e182'] = 'Authorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a240fa27925a635b08dc28c9e4f9216d'] = 'Order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ab85d9edc966536822a98a25f7d8640a'] = 'Withdrawal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_76f0ed934de85cc7131910b32ede7714'] = 'Refund';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12e5e0597b2980f55f11e5d775aabf8c'] = 'Your payment was rejected by Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dd9c5a48aa769b5db4e5fba108c39691'] = 'Your payment was rejected by Amazon - please contact us';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5aa818b1473c50ce1b40bf66663182c6'] = 'Your selected payment method is currently not available. Please select another one.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2af94a3e3857e4903cf97df11fd9440'] = 'Your selected payment method was rejected. Please choose an alternative method.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_56b55033f747893cf02a5797707ee383'] = 'Make Amazon customers your customers';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a7b8feea65558548dff1c84f2f8801ab'] = 'That\'s how it works:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_5b1a8c5b0fd7e134325ee37f10abed53'] = 'Register for Amazon Pay and complete your account setup by upload your verification documents on Seller Central.*';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd402661d1e485f7334d7dd1f34db51e'] = 'Start Registration Now';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a512eacd95cc1bb5ee5549eef1181202'] = 'Wait for an email of Amazon Pay that will inform you about successful account verification.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_e8ec2d3bb93bbf9539427b479d6a9395'] = 'Let your customers know';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_25d90ac00ef07707b2bc9c1dc74b398c'] = 'that they now can use Amazon Pay on your website.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_98e280401f0b14c5f12154fc67435600'] = 'See our video-guide about the integration with PrestaShop:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_7e9587e34d0a3b64bccbca42d4a15fcb'] = 'Download the Amazon Pay Integration Guide';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6c92285fa6d3e827b198d120ea3ac674'] = 'here';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_31f6f0676394c332a25f3222edacae03'] = 'Note: Please use an email address you didn\'t use for any Amazon account yet.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_4aaf36784bf013f0c988481f592f6e07'] = 'Customer Loyalty';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_33aa7ab3729e809c7003ccd4632271f2'] = 'Offer an easy way for customers to login on your site.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_572d183dfdaa0b7389558413777e7f92'] = 'Mobile-Friendly';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_49935b926bda4793f12d81645cca41c8'] = 'Buttons and widgets are optimized across desktop, tablet and mobile.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_edff1403425f8630b693266cf7056ad3'] = 'Fraud Protection';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6b3737610ac5241264fe4ee058127ac7'] = 'You are covered by Amazon\'s fraud protection, provided at no additional cost.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_f8e8d7166eb15b369812dcf7e257d38f'] = 'Higher conversion, higher revenues';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a730eca6c28e24224e888bbb17b87ba3'] = 'It can help you capture sales you might otherwise miss. Additionally, you benefit from the Amazon Pay fraud protection.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8459542c8c59ecb26529d4c5c6cd3a12'] = 'True payment processing';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6376d38e4317cb552dd389c556d187b6'] = '\"Pay with Amazon\" offers true payment processing. As a merchant, you will only forward the transaction amount.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_83c84d4538db0c96ca8a3963855013fa'] = 'Quick configuration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_03e8d0ad408c42265ba4be4b1a6a25f2'] = 'Just use copy and paste to configure the module with your Amazon Pay credentials, directly out of the Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8cd70bf7f9cf76fd769889b7d4ab6220'] = 'Parse data';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a3d2f55e975a1c99e3b92242d16abe29'] = 'URL and Configuration Infos';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_ef446b2503b4c7fe2ee047d53809fdef'] = 'Allowed Return URLs - Enter these URLs in your Amazon SellerCentral Configuration-Panel!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a86d4a390d4364577e9a45a5b3ee2a1a'] = 'Allowed JavaScript Origins - Enter these URLs in your Amazon SellerCentral Configuration-Panel!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_174ca35d99905e2ceb512c6789b1bed7'] = 'You can integrate the \"Login with Amazon\"-Button at any part of your template. Just use the following HTML-Code, but be aware to always (!) use a unique value for the attribute \"id\":';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_fa245a5c03e461251a588fade0fbd2bb'] = 'Version-Checker';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_9e6d5afc084382d3eb41d205b0653215'] = 'We check if there is a new version of the plugin available.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_19d04b594594d21dacab32ccf4feb5b6'] = 'Your version: ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6579d7f0af067b0aae4c40ab1b0334c2'] = 'There is a new version available: ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd8dd5f5ae81213cce452d234ab8d16b'] = 'Everything is fine - you are using the latest version';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_5a23e3ba7a2dceee4399422463690019'] = 'Capture authorised payments';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2f40690858b404ed10e62bdf422c704'] = 'Amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_a76d4ef5f3f6a672bbfab2865563e530'] = 'Time';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon transaction ID';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valid until';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_92570935b02b9e61e490bb5591dfba21'] = 'Capture full amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_55080bca308c255f5314b6df6174f2c5'] = 'Capture partial amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_44198125122162abc67ffeb11aeb8f3f'] = 'Authorise payment';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_0c12b293263b97b1b2623b98fd7025a3'] = 'Amount not yet authorised';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_3b33cbd88240ecf21c5d98d9c508ca5c'] = 'Maximum possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_497b836c9f23d8c521ff0e099050585a'] = 'Authorise more';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_53beb26d8bca00f56fbd295fdee83459'] = 'Refunds';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_cc61945cbbf46721a053467c395c666f'] = 'Refunded';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_754591b7de46a8e598df07d49e3147ef'] = 'Still possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_2e57a5e4cfc4babee6620ca92ef603ee'] = 'Last change';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_1b8858b68405caa612a275b1a808da38'] = 'Issue complete refund';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_4107cda935fb202a071f9d5a7f060164'] = 'Issue partial refund';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_c1f55441110885bb936d34fe27eff263'] = 'Refund more';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_9e0b4b79d1941d6b8455f3a87105d817'] = 'Amazon Pay history';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_384036f8b0067ec3bb710a92f8734b3b'] = 'Transaction type';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2f40690858b404ed10e62bdf422c704'] = 'Amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a76d4ef5f3f6a672bbfab2865563e530'] = 'Time';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3c410dbe27b4132d9c3565e4dea0cdf'] = 'Last Change';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon transaction ID';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valid until';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_06933067aafd48425d67bcb01bba5cb6'] = 'Update';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_d99d59366cc238d329d9fc8c7376d40b'] = 'Cancel order';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3523acaea68c5de7400bf22a46fc204'] = 'Close order';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_64b7812939d36ea6ed92a5e3780d581e'] = 'Amazon Summary';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_3da897917815714364886cd0764aa227'] = 'Authorised amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_f53c1ebef1d12dafe0e228236c393be7'] = 'Withdrawn amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_9f8c310d4b0402a61723b22c34fbd31c'] = 'Refunded amount';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fa31ce6046882558f0637d428a96abeb'] = 'Create customer account.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a1ff3881b92951d9663aaef38e8b637'] = 'You don\'t need to do anything. We create the account with the data of your current order.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eeceac1af4e7620894d6d2083921bb73'] = 'Buy now!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_fa31ce6046882558f0637d428a96abeb'] = 'Create customer account.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_9a1ff3881b92951d9663aaef38e8b637'] = 'You don\'t need to do anything. We create the account with the data of your current order.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_eeceac1af4e7620894d6d2083921bb73'] = 'Buy now';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_deb10517653c255364175796ace3553f'] = 'Product';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_9ff9c46512c186ebae182519a55dc6a9'] = 'Avail.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_6c957f72dc8cdacc75762f2cbdcdfaf2'] = 'Unit price';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_03ab340b3f99e03cff9e84314ead38c0'] = 'Qty';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_96b0141273eabab320119c467cdcaf17'] = 'Total';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_2370a4958c4ebe6d6c8045cd49a6b392'] = 'Total products (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_db205f01b4fd580fb5daa9072d96849d'] = 'Total products';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ebaee01719541f61281c16ba22ebbfde'] = 'Total products (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_5cfa28d1182c6bd5bbd1af0bd459efbe'] = 'Total gift wrapping (tax excl.):';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_31f52379817244bb67196c880749cfd8'] = 'Total gift wrapping cost:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_59816dd41a0dab043184d5ab19e2edaf'] = 'Total gift wrapping (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_66f51e43606e2baebb8e9c3bfe965da4'] = 'Shipping:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ecba3578d8cd65126d4a47c76b3c9c2d'] = 'Free Shipping!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f246a17c095de09e043cc1cb917481da'] = 'Total shipping (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f4e8b53a114e5a17d051ab84d326cae5'] = 'Total shipping';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_e93f43fa527c3534aeca987091d6c049'] = 'Total shipping (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_9816a5054cd05761b6765fbef0062b29'] = 'Total vouchers (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ada0f55ef37f4928c5cd970f378c15e8'] = 'Total vouchers';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_19809527da8b7308e45e2dc6ac40cca9'] = 'Total vouchers (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_598a4c4d56197cc1f6bca50b20aa484a'] = 'Total tax:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_a82868319826fb092b73968e661b5b38'] = 'Vouchers';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_444bcb3a3fcf8389296c49467f27e1d6'] = 'ok';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f7b96335c6a33477579e43f3da368507'] = 'Take advantage of our offers:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1ac6ee29e9e68fb71bad91c1d34348cc'] = '%s:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1021f02536dc46ab3b07c269949e4de7'] = 'Text #%s:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f2a6c498fb90ee345d997f888fce3b18'] = 'Delete';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_c8cd21bd2e33378f10611bc4498cf96f'] = 'Delete this customization';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ec211f7c20af43e742bf2570c3cb84f9'] = 'Add';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1d9baf077ee87921f57a8fe42d510b65'] = 'Subtract';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_633dfeead551299f8224bc60eb5aaca9'] = 'Thank you for your login with Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_eafa313a0fc72443ff59653adb7fdebb'] = 'There is already a customer account with this e-mail-address in our shop. Please enter your password to connect it with your Amazon-account.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_dc647eb65e6711e155375218212b3964'] = 'Password';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_98980b642469e6353fda51e7c25ee66e'] = 'Connect accounts';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_599100c527155892f4359effc359a76b'] = 'Thank you. Your order has been successful. We now create your account.';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_633dfeead551299f8224bc60eb5aaca9'] = 'Thank you for your login with Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_1d90cfb5cc90a32ee0146e7a9aec46b9'] = 'You will be redirected in a few seconds...';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Your order at ';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'is complete.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_fb4ea5a18e5f77bece3219a4171320a9'] = 'You have chosen Amazon Pay for your payment.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Your order will be dispatched shortly.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'For further questions, please contact our';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'customer-support.';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Your order at ';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_75fbf512d744977d62599cc3f0ae2bb4'] = 'is complete.';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_ed20689b0d8d53ec534166a88b67f259'] = 'Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_8811becbf523354e20e2017242326f70'] = '(Comfortable and save payment with your amazon-account)';
|
206
modules/amzpayments/translations/de.php
Normal file
206
modules/amzpayments/translations/de.php
Normal file
@ -0,0 +1,206 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_81d1ad142418eddcae2bbc31b0d4d8ad'] = 'Bestellung abgeschlossen';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_f3861c4c3a4594ea61e265c2cb9b5c48'] = 'Zahlungsvorgang abgebrochen';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_71a85ee870436f9064ac3528a4c86549'] = 'Aktualisierung abgeschlossen!';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_bae97ddc25077860b31fda55d247d7da'] = 'Autorisierungsanfrage wurde erfolgreich gestellt';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3e3e79eb84fdf0f80a6800d0721cca16'] = 'Autorisierungsanfrage fehlgeschlagen';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_d6022e75cdbf4d4254dc72ed03259a13'] = 'Einzug erfolgreich';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_5b493645ee2b8bfa9b0aa235b5521295'] = 'Einzug fehlgeschlagen';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_da414780dda0664df1af13935e48c0c5'] = 'Rückzahlung erfolgreich eingereicht';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3cc4859e502556d0d848c3bc38618782'] = 'Rückzahlung fehlgeschlagen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c78d107708639ef5909123dbc2f2d3aa'] = 'Amazon Pay - Login and Pay mit Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_080e2a0b502a41599bdaa5978ee0ad36'] = 'Einfache zu nutzende Integration von Advanced Payment APIs für Ihren Presta Shop';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_876f23178c29dc2552c0b48bf23cd9bd'] = 'Wollen Sie das Modul wirklich deinstallieren?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d81002e59a1139fab6e1cd2753a09a90'] = 'Ihre Amazon Pay Advanced Details müssen gepflegt werden, bevor Sie das Modul nutzen können!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2e280e445fcad71c3d066b11bdf20390'] = 'No currency has been set for this payment module';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_0bcb2adf017d8a410bc09e1e57031893'] = 'Amazon Pay - autorisiert';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_27a76c6a37e670b2a8464263fe4e098c'] = 'Amazon Pay - Zahlung eingegangen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_06a314be1e151ad86638cc5214fd8fb9'] = ': Eingaben erforderlich';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6d02107e6b345898e2e003d4e30dc282'] = 'Unzulässige Eingabe \'Region\'';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a42f87582faf7be0246795c6e62178e8'] = 'AWS Zugangsschlüssel-ID ist falsch.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4a6ec73d0115c9652ee6a29197899fa'] = 'MWS Geheimer Schlüssel ist falsch.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ee011c3fd11b5dc4e3d8bd08b7747018'] = 'Händler ID ist falsch.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c888438d14855d7d96a2724ee9c306bd'] = 'Settings aktualisiert!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f4f70727dc34561dfde1a3c529b6205c'] = 'Einstellungen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfddeac754c1b6067251ed1748e407d'] = 'Amazon Händler ID';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_916853799b53ff1f63a94b61df6d966a'] = 'AWS Zugangsschlüssel-ID';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_73eeac3fa1a0ce48f381ca1e6d71f077'] = 'Geheimer Schlüssel';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfe9d72a4aae8f06a31025b7536be80'] = 'Client-ID für Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b24c9cbc8c7bd85744dcf6b8a933084f'] = 'Erlaubte Werte:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_960db2ed82202a9706b97775a4269378'] = 'Region';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d3b8bd6da3943c1f83379a4a0a7ab918'] = 'Betriebsmodus Login/Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b988c537cc8b4e7d951196deb4defbb2'] = 'Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ae6d9d2f0877d0571dc03ccd5ef407e8'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ecd640fa2d15770cb1adee4075ad7afb'] = 'Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9b8926c200109a9e2a829e4d5ce14ade'] = 'Buttons in Frontend zeigen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Aktiv';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b9f5c797ebbf55adccdd8539a65a0241'] = 'Inaktiv';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8667cecb1de0a963f560deab1b02523d'] = 'Login mit Amazon Komponenten im Frontend verbergen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e900e40bc91d3f9f7f0a99fed68a2e96'] = 'Betriebsmodus';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_4245499695408b974322be6f01b0d17a'] = 'Testbetrieb';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_cebd5bbe0ffdecc270a8a324e5a277dd'] = 'Livebetrieb';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6ea96e7901e5d7d960ae3ab51a460dfe'] = 'Wann/Wie soll die Zahlung autorisiert werden?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_74dc5ba3b79de0d9c7b7a40826794a32'] = 'während des Checkouts / vor Abschluss der Bestellung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_517fb462c524717a2862e7f5a4f4b582'] = 'direkt nach der Bestellung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_3c78b35502b2693fefdfc51cba3a53a5'] = 'manuell';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7dbe434224e885e859b7707fa3ebf141'] = 'Status für eingegangene Bestellung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c92a02ec287f5151bea1493f769b8817'] = 'Bestellstatus nach erfolgreicher Autorisierung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_80d0c781220d833947e82a4bac83c66b'] = 'Wann/Wie soll die Zahlung eingezogen werden?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_28c6194859e3104cfb02445b83efadc5'] = 'nach Versand';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_05033bc4d960e0f74efacd29dbfb91fd'] = 'direkt nach der Autorisierung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f38911eda842056931cbcf497a2f8fe5'] = 'Bestellstatus zum Auslösen des Geldeinzugs';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9d57203f843f48a4cbc5da56cd9eba9a'] = 'Bestellstatus nach erfolgreichem Geldeinzug';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1a357f75f77b4eaa734c35cc15fa4ca7'] = 'Bestellstatus bei abgelehnter Autorisierung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da7bc25895336d39dfb2603378728d86'] = 'Fehler provozieren (nur Sandbox)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Nein';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_63d098bd60c469852c135349eb50c6ad'] = 'Hard Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_679b25385157e8e2f4053d5225baee9d'] = 'Soft Decline (2min)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25f159eff77797ead5fbaf19eea4a7ae'] = 'Capture Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8eff3617002e9a854b9704717f35f7aa'] = 'Wenn möglich Amazon-Login in Popup';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d64946b0089fa5361240915d80d1cea6'] = 'Versandarten ausschließen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_199ef1b03dbd9cff69ccdfe33f467a8c'] = 'Produkte von Zahlung mit Amazon ausschließen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12c3d641b9e8ed280e818675cf288d6b'] = 'Gastbestellungen erlauben?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b11e12b1d8e5da5a84cca3e46dfcbdf5'] = 'Größe des Amazon-Checkout-Buttons (Login/Login&Pay-Modus)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eb5c1399a871211c7e7ed732d15e3a8b'] = 'klein';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fea087517c26fadd409bd4b9dc642555'] = 'normal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d861877da56b8b4ceb35c8cbfdf65bb4'] = 'groß';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_379b503ecd89a83cd772b12f32d99b86'] = 'sehr groß';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_db48e2b1ac86cbdd7a6dc51a9003ab53'] = 'Farbe des Amazon-Checkout-Buttons (Login/Login&Pay-Modus)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_090ce86a70f6c620da627abc6d01ac7a'] = 'Amazon gelb';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1dbd090957fe65e292f767afebeefa39'] = 'Hellgrau';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_af5e5b6fe4efe9a2def4b733b165c632'] = 'Dunkelgrau';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_31a2f49179703a2e9762d620044dde00'] = 'Farbe des Amazon-Checkout-Buttons (Login/Login&Pay-Modus) in Navigation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da3d3cfa54113652c31233de9d533637'] = 'Button Typ Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25e29d9c17462795383c7c21c965ad99'] = 'Login mit Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99dea78007133396a7b8ed70578ac6ae'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7075d3701c4e47035eb216cbda9a23ab'] = 'Nur ein \"A\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c6fecb49a169bf3a95ab401ac835c0d2'] = 'Button Typ Bezahlen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed20689b0d8d53ec534166a88b67f259'] = 'Bezahlen mit Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Bezahlen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4f8636404d488e3eb526c7fde0d31b8'] = 'Status Updates per IPN empfangen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d202d47478c2e5fadb48a5114954e797'] = 'URL für Amazon IPN';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9bacd27a5ffedb81e1efc6454fa7f246'] = 'Cronjob für Status Updates freischalten';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5596b226abb08c30dd95c4a0073139f5'] = 'URL für Cronjob';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e238b685f634947eb0ed378e3196abf9'] = 'Passwort für Cronjob';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d1d51c8dcba4c98ea5cec6f56cf7413d'] = 'Kunden automatisch benachrichtigen, wenn Zahlungen abgelehnt wurden';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2cfec4ef5bb5c2b81eded6ec7e82ccc'] = 'Checkbox f. Kontoerstellung in Checkout vorselektieren';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2fac096fc5c586bcfecb255c585a3ef1'] = 'Kontoerstellung erzwingen';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6deb26d36a88344bcd7f71914a086055'] = 'Template Bootstrap';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f8928b5290746aa6041f3caa35d3e182'] = 'Authorisierung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a240fa27925a635b08dc28c9e4f9216d'] = 'Bestellung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ab85d9edc966536822a98a25f7d8640a'] = 'Einzug';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_76f0ed934de85cc7131910b32ede7714'] = 'Erstattung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12e5e0597b2980f55f11e5d775aabf8c'] = 'Ihre Zahlung wurde von Amazon abgelehnt';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dd9c5a48aa769b5db4e5fba108c39691'] = 'Ihre Zahlung wurde von Amazon abgelehnt - bitte kontaktieren Sie uns';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7de64f538bdd7057ea1bbf5b46572d67'] = 'Bitte geben Sie die fehlenden Adressdaten ein';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5aa818b1473c50ce1b40bf66663182c6'] = 'Die von Ihnen gewählte Zahlungsart ist leider momentan nicht verfügbar. Bitte wählen Sie eine andere.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2af94a3e3857e4903cf97df11fd9440'] = 'Ihre gewählte Zahlungsmethode wurde abgelehnt. Bitte wählen Sie eine alternative Methode.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7de64f538bdd7057ea1bbf5b46572d67'] = 'Bitte geben Sie die fehlenden Adressdaten ein';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_56b55033f747893cf02a5797707ee383'] = 'Machen Sie Amazon-Kunden zu Ihren Kunden';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a7b8feea65558548dff1c84f2f8801ab'] = 'So funktioniert\'s';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_5b1a8c5b0fd7e134325ee37f10abed53'] = 'Registrieren Sie sich für Amazon Pay*. Loggen Sie sich nach der Registrierung in Seller Central ein, um die Accounteinrichtung abzuschließen.*';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd402661d1e485f7334d7dd1f34db51e'] = 'Jetzt Registrieren';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a512eacd95cc1bb5ee5549eef1181202'] = 'Warten Sie auf die Email von Amazon Pay, die sie über die erfolgreiche Account-Verifizierung informiert.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_e8ec2d3bb93bbf9539427b479d6a9395'] = 'Lassen Sie Ihre Kunden wissen,';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_25d90ac00ef07707b2bc9c1dc74b398c'] = 'dass Sie \"Bezahlen mit Amazon\" in Ihrem Online-Shop anbieten.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_98e280401f0b14c5f12154fc67435600'] = 'Sehen Sie hier unseren Video-Leitfaden zur Integration mit PrestaShop:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6c92285fa6d3e827b198d120ea3ac674'] = 'hier';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_7e9587e34d0a3b64bccbca42d4a15fcb'] = 'Downloaden Sie den Amazon Pay Integration Guide';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_31f6f0676394c332a25f3222edacae03'] = 'Bitte beachten Sie: Verwenden Sie eine Email-Adresse, die bisher für noch kein Amazon-Konto benutzt wurde.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_4aaf36784bf013f0c988481f592f6e07'] = 'Loyale Kunden';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_33aa7ab3729e809c7003ccd4632271f2'] = 'Bieten Sie Ihren Kunden einen einfachen Login.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_572d183dfdaa0b7389558413777e7f92'] = 'Mobiloptimiert';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_49935b926bda4793f12d81645cca41c8'] = 'Buttons und Widgets sind Desktop-, Tablet- und Mobiloptimiert.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_edff1403425f8630b693266cf7056ad3'] = 'Schutz vor Zahlungsausfällen';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6b3737610ac5241264fe4ee058127ac7'] = 'Reduzieren Sie Kosten und schützen Sie Ihr Unternehmen mit dem bewährten Schutz vor Zahlungsausfällen von Amazon. Dieser Service ist für Sie kostenlos.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_f8e8d7166eb15b369812dcf7e257d38f'] = 'Chance: höhere Konversion, mehr Umsatz';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a730eca6c28e24224e888bbb17b87ba3'] = 'Amazon Pay kann Ihnen helfen, Umsätze mit Kunden zu erzielen, die aufgrund komplizierterer Anmelde- und Bezahloptionen sonst nicht bei Ihnen eingekauft hätten.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8459542c8c59ecb26529d4c5c6cd3a12'] = 'Reine Zahlungsabwicklung';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6376d38e4317cb552dd389c556d187b6'] = '„Login und Bezahlen mit Amazon“ bietet reine Zahlungsabwicklung. Als Händler übermitteln Sie nur den abzuwickelnden Betrag.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_83c84d4538db0c96ca8a3963855013fa'] = 'Schnelle Konfiguration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_03e8d0ad408c42265ba4be4b1a6a25f2'] = 'Kopieren Sie einfach die Zugangsdaten aus dem Seller-Central in das folgende Textfeld.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8cd70bf7f9cf76fd769889b7d4ab6220'] = 'Daten verarbeiten';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a3d2f55e975a1c99e3b92242d16abe29'] = 'URL und Konfiguration Infos';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_ef446b2503b4c7fe2ee047d53809fdef'] = 'Tragen Sie diese URLs in Ihrem Amazon SellerCentral in der \"Login mit Amazon\"-Konfiguration unter dem Punkt \"Allowed Return URLs\" ein:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a86d4a390d4364577e9a45a5b3ee2a1a'] = 'Tragen Sie diese URL in Ihrem Amazon SellerCentral in der \"Login mit Amazon\"-Konfiguration unter dem Punkt \"Allowed JavaScript Origins\" ein:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_174ca35d99905e2ceb512c6789b1bed7'] = 'Sie können in Ihrem Template an beliebigen Stellen den \"Login mit Amazon\"-Button integrieren. Nutzen Sie hier für den folgenden HTML-Code und tragen Sie beim Attribut \"id\" immer (!) einen eindeutigen Wert ein:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_fa245a5c03e461251a588fade0fbd2bb'] = 'Version-Checker';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_9e6d5afc084382d3eb41d205b0653215'] = 'Wir prüfen, ob eine neue Plugin-Version verfügbar ist.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_19d04b594594d21dacab32ccf4feb5b6'] = 'Ihre Version:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6579d7f0af067b0aae4c40ab1b0334c2'] = 'Es ist eine neue Version verfügbar:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd8dd5f5ae81213cce452d234ab8d16b'] = 'Alles gut - Sie nutzen die aktuellste Version!';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_06df33001c1d7187fdd81ea1f5b277aa'] = 'Aktionen';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_5a23e3ba7a2dceee4399422463690019'] = 'Autorisierten Betrag einziehen';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2f40690858b404ed10e62bdf422c704'] = 'Betrag';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_a76d4ef5f3f6a672bbfab2865563e530'] = 'Zeit';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon-Transaktions-ID ';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2844b8e17ecaaeae68d018fe9418af0'] = 'Gültig bis ';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_92570935b02b9e61e490bb5591dfba21'] = 'Vollen Betrag einziehen';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_55080bca308c255f5314b6df6174f2c5'] = 'Teilbetrag einziehen';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_44198125122162abc67ffeb11aeb8f3f'] = 'Zahlung autorisieren';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_0c12b293263b97b1b2623b98fd7025a3'] = 'Noch nicht autorisierter Betrag';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_3b33cbd88240ecf21c5d98d9c508ca5c'] = 'Maximal möglich';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_497b836c9f23d8c521ff0e099050585a'] = 'Mehr autorisieren';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_53beb26d8bca00f56fbd295fdee83459'] = 'Erstattungen';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_cc61945cbbf46721a053467c395c666f'] = 'Erstattet';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_754591b7de46a8e598df07d49e3147ef'] = 'Noch möglich';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_2e57a5e4cfc4babee6620ca92ef603ee'] = 'Letzte Änderung';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_1b8858b68405caa612a275b1a808da38'] = 'Vollständig erstatten';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_4107cda935fb202a071f9d5a7f060164'] = 'Teilweise erstatten';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_c1f55441110885bb936d34fe27eff263'] = 'Mehr erstatten';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_9e0b4b79d1941d6b8455f3a87105d817'] = 'Amazon Pay Verlauf';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_384036f8b0067ec3bb710a92f8734b3b'] = 'Transaktionstyp';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2f40690858b404ed10e62bdf422c704'] = 'Betrag';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a76d4ef5f3f6a672bbfab2865563e530'] = 'Zeit';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3c410dbe27b4132d9c3565e4dea0cdf'] = 'Letzte Änderung';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon-Transaktions-ID ';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2844b8e17ecaaeae68d018fe9418af0'] = 'Gültig bis';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_06933067aafd48425d67bcb01bba5cb6'] = 'Aktualisieren';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_d99d59366cc238d329d9fc8c7376d40b'] = 'Bestellung abbrechen';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3523acaea68c5de7400bf22a46fc204'] = 'Bestellung schließen';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_64b7812939d36ea6ed92a5e3780d581e'] = 'Amazon Pay Zusammenfassung';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_3da897917815714364886cd0764aa227'] = 'Autorisierter Betrag';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_f53c1ebef1d12dafe0e228236c393be7'] = 'Eingezogener Betrag';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_9f8c310d4b0402a61723b22c34fbd31c'] = 'Erstatteter Betrag';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_7cb32e708d6b961d476baced73d362bb'] = 'USt-Identnummer';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_b60bb13a87fe3ae5463aeb0980a5a8a1'] = 'DNI';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_fe66abce284ec8589e7d791185b5c442'] = 'Telefon';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_41c2fff4867cc204120f001e7af20f7a'] = 'Mobil';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_46a2a41cc6e552044816a2d04634545d'] = 'Bundesland';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fa31ce6046882558f0637d428a96abeb'] = 'Ich möchte ein Kundenkonto erstellen.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a1ff3881b92951d9663aaef38e8b637'] = 'Sie müssen nichts weiter hierfür tun, es werden die Daten auf Ihrer aktuellen Bestellung verwendet, um das Konto zu erstellen.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eeceac1af4e7620894d6d2083921bb73'] = 'Jetzt kaufen!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Es tut uns leid, die von Ihnen ausgewählte Adresse wird von uns nicht beliefert. Bitte wählen Sie eine andere Adresse aus.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_fa31ce6046882558f0637d428a96abeb'] = 'Ich möchte ein Kundenkonto erstellen.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_9a1ff3881b92951d9663aaef38e8b637'] = 'Sie müssen nichts weiter hierfür tun, es werden die Daten auf Ihrer aktuellen Bestellung verwendet, um das Konto zu erstellen.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_eeceac1af4e7620894d6d2083921bb73'] = 'Jetzt kaufen!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Es tut uns leid, die von Ihnen ausgewählte Adresse wird von uns nicht beliefert. Bitte wählen Sie eine andere Adresse aus.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_633dfeead551299f8224bc60eb5aaca9'] = 'Vielen Dank für Ihre Anmeldung mit Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_eafa313a0fc72443ff59653adb7fdebb'] = 'In unserem Shop existiert bereits ein Benutzerkonto mit dieser E-Mail-Addresse. Bitte geben Sie Ihr Passwort ein, um dieses mit Ihrem Amazon-Konto zu verknüpfen.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_dc647eb65e6711e155375218212b3964'] = 'Passwort';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_98980b642469e6353fda51e7c25ee66e'] = 'Konten jetzt verknüpfen';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_599100c527155892f4359effc359a76b'] = 'Vielen Dank, Ihre Bestellung war erfolgreich. Wir verknüpfen nun Ihr Amazon Account mit unserem Shop.';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_633dfeead551299f8224bc60eb5aaca9'] = 'Vielen Dank für Ihre Anmeldung mit Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_1d90cfb5cc90a32ee0146e7a9aec46b9'] = 'Sie werden in wenigen Sekunden weitergeleitet...';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_3e9e333adde6e70086bd29441c8c45eb'] = 'Adresse wählen';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7d5fd5da702c79b9fcb4fa1b7c63ee7f'] = 'Danke, dass Sie Login mit Amazon in unseren Shop nutzen.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_50842b129a33396a62b7dc81a73a7c1a'] = 'Bitte wählen Sie noch eine Standardadresse für Ihren Account. Sie können unabhängig von dieser später für Ihre Bestellung eine beliebige Lieferanschrift wählen.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_a0bfb8e59e6c13fc8d990781f77694fe'] = 'Weiter';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_daa6b483e9f6ca081ec7e0b4a352f9e9'] = 'Adresse Speichern';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Ihre Bestellung bei';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'ist vollständig.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_fb4ea5a18e5f77bece3219a4171320a9'] = 'Sie haben Amazon Pay als Bezahlmethode gewählt.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Ihre Bestellung wird in Kürze versandt.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Für weitere Fragen wenden Sie sich bitte an unseren';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'Kunden-Support.';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Ihre Bestellung bei';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_75fbf512d744977d62599cc3f0ae2bb4'] = 'ist vollständig.';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_ed20689b0d8d53ec534166a88b67f259'] = 'Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_8811becbf523354e20e2017242326f70'] = '(Komfortabel mit Ihrem Amazon-Account bezahlen)';
|
224
modules/amzpayments/translations/en.php
Normal file
224
modules/amzpayments/translations/en.php
Normal file
@ -0,0 +1,224 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_81d1ad142418eddcae2bbc31b0d4d8ad'] = 'Order completed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_f3861c4c3a4594ea61e265c2cb9b5c48'] = 'Payment process cancelled';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_71a85ee870436f9064ac3528a4c86549'] = 'Update is completed!';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_bae97ddc25077860b31fda55d247d7da'] = 'Authorisation request was started successfully';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3e3e79eb84fdf0f80a6800d0721cca16'] = 'Creation of the authorisation request has failed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_d6022e75cdbf4d4254dc72ed03259a13'] = 'Capture successful';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_5b493645ee2b8bfa9b0aa235b5521295'] = 'Capture failed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_da414780dda0664df1af13935e48c0c5'] = 'Refund request was started successfully';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3cc4859e502556d0d848c3bc38618782'] = 'Refund failed';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c78d107708639ef5909123dbc2f2d3aa'] = 'Amazon Pay - Login and Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_080e2a0b502a41599bdaa5978ee0ad36'] = 'Easy-to-use integration of Advanced Payment APIs for your Presta Shop';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_876f23178c29dc2552c0b48bf23cd9bd'] = 'Do you really want to uninstall the module?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d81002e59a1139fab6e1cd2753a09a90'] = 'Your Amazon Pay - Advanced Payment APIs details have to be configured before you can use the module!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2e280e445fcad71c3d066b11bdf20390'] = 'No currency has been set for this payment module';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_0bcb2adf017d8a410bc09e1e57031893'] = 'Amazon Pay - Authorized';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_27a76c6a37e670b2a8464263fe4e098c'] = 'Amazon Pay - Payment received';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_06a314be1e151ad86638cc5214fd8fb9'] = ': details are required.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6d02107e6b345898e2e003d4e30dc282'] = 'Not allowed input \"Region\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a42f87582faf7be0246795c6e62178e8'] = 'MWS Access Key is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4a6ec73d0115c9652ee6a29197899fa'] = 'MWS Secret Key is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ee011c3fd11b5dc4e3d8bd08b7747018'] = 'Merchant ID is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c888438d14855d7d96a2724ee9c306bd'] = 'Settings updated!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f4f70727dc34561dfde1a3c529b6205c'] = 'Settings';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfddeac754c1b6067251ed1748e407d'] = 'Amazon Merchant ID';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_916853799b53ff1f63a94b61df6d966a'] = 'AWS Access Key';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_73eeac3fa1a0ce48f381ca1e6d71f077'] = 'Secret Key';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfe9d72a4aae8f06a31025b7536be80'] = 'Client-ID for Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b24c9cbc8c7bd85744dcf6b8a933084f'] = 'Allowed values:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_960db2ed82202a9706b97775a4269378'] = 'Region';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d3b8bd6da3943c1f83379a4a0a7ab918'] = 'Mode Login/Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b988c537cc8b4e7d951196deb4defbb2'] = 'Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ae6d9d2f0877d0571dc03ccd5ef407e8'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ecd640fa2d15770cb1adee4075ad7afb'] = 'Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9b8926c200109a9e2a829e4d5ce14ade'] = 'Show buttons in frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Enabled';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disabled';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8667cecb1de0a963f560deab1b02523d'] = 'Hide Login with Amazon Elements in Frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e900e40bc91d3f9f7f0a99fed68a2e96'] = 'Operation mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_4245499695408b974322be6f01b0d17a'] = 'Test mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_cebd5bbe0ffdecc270a8a324e5a277dd'] = 'Live mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6ea96e7901e5d7d960ae3ab51a460dfe'] = 'When/How will the payment be authorised?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_74dc5ba3b79de0d9c7b7a40826794a32'] = 'during checkout / before completing the order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_517fb462c524717a2862e7f5a4f4b582'] = 'immediately after the order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_3c78b35502b2693fefdfc51cba3a53a5'] = 'manual';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7dbe434224e885e859b7707fa3ebf141'] = 'Order status for executed orders';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c92a02ec287f5151bea1493f769b8817'] = 'Order status for authorised payments';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_80d0c781220d833947e82a4bac83c66b'] = 'When/How will payments be capured?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_28c6194859e3104cfb02445b83efadc5'] = 'after delivery';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_05033bc4d960e0f74efacd29dbfb91fd'] = 'directly after the authorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f38911eda842056931cbcf497a2f8fe5'] = 'Order status to capture payment';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9d57203f843f48a4cbc5da56cd9eba9a'] = 'Order status after successful capture';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1a357f75f77b4eaa734c35cc15fa4ca7'] = 'Declined status';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da7bc25895336d39dfb2603378728d86'] = 'Provocate error (sandbox mode only!)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_63d098bd60c469852c135349eb50c6ad'] = 'Hard Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_679b25385157e8e2f4053d5225baee9d'] = 'Soft Decline (2min)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25f159eff77797ead5fbaf19eea4a7ae'] = 'Capture Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8eff3617002e9a854b9704717f35f7aa'] = 'Login in Popup-Window';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d64946b0089fa5361240915d80d1cea6'] = 'Exclude shipping methods';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_199ef1b03dbd9cff69ccdfe33f467a8c'] = 'Exclude products from Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12c3d641b9e8ed280e818675cf288d6b'] = 'Allow guest orders?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a6393c36c052c03efe4a8c0f0fcc487'] = 'Size of the Amazon Checkout button';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fea087517c26fadd409bd4b9dc642555'] = 'normal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d861877da56b8b4ceb35c8cbfdf65bb4'] = 'big';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_379b503ecd89a83cd772b12f32d99b86'] = 'very big';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b11e12b1d8e5da5a84cca3e46dfcbdf5'] = 'Size of the Amazon-Checkout button (Login/Login&Pay-Mode)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eb5c1399a871211c7e7ed732d15e3a8b'] = 'small';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dfa76a928ca510e1bd3c837d78358489'] = 'Colour of the Amazon Checkout button';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_090ce86a70f6c620da627abc6d01ac7a'] = 'Amazon yellow';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_caf3a042a037c064b7513ed640c22f77'] = 'Grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_db48e2b1ac86cbdd7a6dc51a9003ab53'] = 'Colour of The Amazon-Checkout button (Login/Login&Pay-Mode)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1dbd090957fe65e292f767afebeefa39'] = 'Light grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_af5e5b6fe4efe9a2def4b733b165c632'] = 'Dark grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_31a2f49179703a2e9762d620044dde00'] = 'Colour of The Amazon-Checkout button (Login/Login&Pay-Mode) in navigation-bar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da3d3cfa54113652c31233de9d533637'] = 'Button type \"login\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25e29d9c17462795383c7c21c965ad99'] = 'Login with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99dea78007133396a7b8ed70578ac6ae'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7075d3701c4e47035eb216cbda9a23ab'] = 'Just an \"A\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c6fecb49a169bf3a95ab401ac835c0d2'] = 'Button type \"pay\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed20689b0d8d53ec534166a88b67f259'] = 'Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4f8636404d488e3eb526c7fde0d31b8'] = 'Receive status updates via IPN';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d202d47478c2e5fadb48a5114954e797'] = 'Use this URL for IPN: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9bacd27a5ffedb81e1efc6454fa7f246'] = 'Use cron job for status updates';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5596b226abb08c30dd95c4a0073139f5'] = 'Use this URL for your cronjob: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e238b685f634947eb0ed378e3196abf9'] = 'Password for cronjob';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d1d51c8dcba4c98ea5cec6f56cf7413d'] = 'Automatically notify customers when payments are rejected';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2cfec4ef5bb5c2b81eded6ec7e82ccc'] = 'Preselect account creation in checkout';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2fac096fc5c586bcfecb255c585a3ef1'] = 'Force account creation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6deb26d36a88344bcd7f71914a086055'] = 'Template Bootstrap';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c9cc8cce247e49bae79f15173ce97354'] = 'Save';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f8928b5290746aa6041f3caa35d3e182'] = 'Authorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a240fa27925a635b08dc28c9e4f9216d'] = 'Order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ab85d9edc966536822a98a25f7d8640a'] = 'Withdrawal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_76f0ed934de85cc7131910b32ede7714'] = 'Refund';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12e5e0597b2980f55f11e5d775aabf8c'] = 'Your payment was rejected by Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dd9c5a48aa769b5db4e5fba108c39691'] = 'Your payment was rejected by Amazon - please contact us';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5aa818b1473c50ce1b40bf66663182c6'] = 'Your selected payment method is currently not available. Please select another one.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2af94a3e3857e4903cf97df11fd9440'] = 'Your selected payment method was rejected. Please choose an alternative method.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_56b55033f747893cf02a5797707ee383'] = 'Make Amazon customers your customers';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a7b8feea65558548dff1c84f2f8801ab'] = 'That\'s how it works:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_5b1a8c5b0fd7e134325ee37f10abed53'] = 'Register for Amazon Pay and complete your account setup by upload your verification documents on Seller Central.*';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd402661d1e485f7334d7dd1f34db51e'] = 'Start Registration Now';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a512eacd95cc1bb5ee5549eef1181202'] = 'Wait for an email of Amazon Pay that will inform you about successful account verification.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_e8ec2d3bb93bbf9539427b479d6a9395'] = 'Let your customers know';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_25d90ac00ef07707b2bc9c1dc74b398c'] = 'that they now can use Amazon Pay on your website.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_98e280401f0b14c5f12154fc67435600'] = 'See our video-guide about the integration with PrestaShop:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_7e9587e34d0a3b64bccbca42d4a15fcb'] = 'Download the Amazon Pay Integration Guide';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6c92285fa6d3e827b198d120ea3ac674'] = 'here';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_31f6f0676394c332a25f3222edacae03'] = 'Note: Please use an email address you didn\'t use for any Amazon account yet.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_4aaf36784bf013f0c988481f592f6e07'] = 'Customer Loyalty';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_33aa7ab3729e809c7003ccd4632271f2'] = 'Offer an easy way for customers to login on your site.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_572d183dfdaa0b7389558413777e7f92'] = 'Mobile-Friendly';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_49935b926bda4793f12d81645cca41c8'] = 'Buttons and widgets are optimized across desktop, tablet and mobile.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_edff1403425f8630b693266cf7056ad3'] = 'Fraud Protection';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6b3737610ac5241264fe4ee058127ac7'] = 'You are covered by Amazon\'s fraud protection, provided at no additional cost.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_f8e8d7166eb15b369812dcf7e257d38f'] = 'Higher conversion, higher revenues';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a730eca6c28e24224e888bbb17b87ba3'] = 'It can help you capture sales you might otherwise miss. Additionally, you benefit from the Amazon Pay fraud protection.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8459542c8c59ecb26529d4c5c6cd3a12'] = 'True payment processing';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6376d38e4317cb552dd389c556d187b6'] = '\"Pay with Amazon\" offers true payment processing. As a merchant, you will only forward the transaction amount.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_83c84d4538db0c96ca8a3963855013fa'] = 'Quick configuration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_03e8d0ad408c42265ba4be4b1a6a25f2'] = 'Just use copy and paste to configure the module with your Amazon Pay credentials, directly out of the Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8cd70bf7f9cf76fd769889b7d4ab6220'] = 'Parse data';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a3d2f55e975a1c99e3b92242d16abe29'] = 'URL and Configuration Infos';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_ef446b2503b4c7fe2ee047d53809fdef'] = 'Allowed Return URLs - Enter these URLs in your Amazon SellerCentral Configuration-Panel!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a86d4a390d4364577e9a45a5b3ee2a1a'] = 'Allowed JavaScript Origins - Enter these URLs in your Amazon SellerCentral Configuration-Panel!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_174ca35d99905e2ceb512c6789b1bed7'] = 'You can integrate the \"Login with Amazon\"-Button at any part of your template. Just use the following HTML-Code, but be aware to always (!) use a unique value for the attribute \"id\":';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_fa245a5c03e461251a588fade0fbd2bb'] = 'Version-Checker';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_9e6d5afc084382d3eb41d205b0653215'] = 'We check if there is a new version of the plugin available.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_19d04b594594d21dacab32ccf4feb5b6'] = 'Your version: ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6579d7f0af067b0aae4c40ab1b0334c2'] = 'There is a new version available: ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd8dd5f5ae81213cce452d234ab8d16b'] = 'Everything is fine - you are using the latest version';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_5a23e3ba7a2dceee4399422463690019'] = 'Capture authorised payments';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2f40690858b404ed10e62bdf422c704'] = 'Amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_a76d4ef5f3f6a672bbfab2865563e530'] = 'Time';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon transaction ID';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valid until';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_92570935b02b9e61e490bb5591dfba21'] = 'Capture full amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_55080bca308c255f5314b6df6174f2c5'] = 'Capture partial amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_44198125122162abc67ffeb11aeb8f3f'] = 'Authorise payment';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_0c12b293263b97b1b2623b98fd7025a3'] = 'Amount not yet authorised';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_3b33cbd88240ecf21c5d98d9c508ca5c'] = 'Maximum possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_497b836c9f23d8c521ff0e099050585a'] = 'Authorise more';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_53beb26d8bca00f56fbd295fdee83459'] = 'Refunds';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_cc61945cbbf46721a053467c395c666f'] = 'Refunded';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_754591b7de46a8e598df07d49e3147ef'] = 'Still possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_2e57a5e4cfc4babee6620ca92ef603ee'] = 'Last change';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_1b8858b68405caa612a275b1a808da38'] = 'Issue complete refund';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_4107cda935fb202a071f9d5a7f060164'] = 'Issue partial refund';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_c1f55441110885bb936d34fe27eff263'] = 'Refund more';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_9e0b4b79d1941d6b8455f3a87105d817'] = 'Amazon Pay history';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_384036f8b0067ec3bb710a92f8734b3b'] = 'Transaction type';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2f40690858b404ed10e62bdf422c704'] = 'Amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a76d4ef5f3f6a672bbfab2865563e530'] = 'Time';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3c410dbe27b4132d9c3565e4dea0cdf'] = 'Last Change';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon transaction ID';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valid until';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_06933067aafd48425d67bcb01bba5cb6'] = 'Update';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_d99d59366cc238d329d9fc8c7376d40b'] = 'Cancel order';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3523acaea68c5de7400bf22a46fc204'] = 'Close order';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_64b7812939d36ea6ed92a5e3780d581e'] = 'Amazon Summary';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_3da897917815714364886cd0764aa227'] = 'Authorised amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_f53c1ebef1d12dafe0e228236c393be7'] = 'Withdrawn amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_9f8c310d4b0402a61723b22c34fbd31c'] = 'Refunded amount';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fa31ce6046882558f0637d428a96abeb'] = 'Create customer account.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a1ff3881b92951d9663aaef38e8b637'] = 'You don\'t need to do anything. We create the account with the data of your current order.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eeceac1af4e7620894d6d2083921bb73'] = 'Buy now!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_fa31ce6046882558f0637d428a96abeb'] = 'Create customer account.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_9a1ff3881b92951d9663aaef38e8b637'] = 'You don\'t need to do anything. We create the account with the data of your current order.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_eeceac1af4e7620894d6d2083921bb73'] = 'Buy now';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_deb10517653c255364175796ace3553f'] = 'Product';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_9ff9c46512c186ebae182519a55dc6a9'] = 'Avail.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_6c957f72dc8cdacc75762f2cbdcdfaf2'] = 'Unit price';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_03ab340b3f99e03cff9e84314ead38c0'] = 'Qty';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_96b0141273eabab320119c467cdcaf17'] = 'Total';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_2370a4958c4ebe6d6c8045cd49a6b392'] = 'Total products (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_db205f01b4fd580fb5daa9072d96849d'] = 'Total products';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ebaee01719541f61281c16ba22ebbfde'] = 'Total products (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_5cfa28d1182c6bd5bbd1af0bd459efbe'] = 'Total gift wrapping (tax excl.):';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_31f52379817244bb67196c880749cfd8'] = 'Total gift wrapping cost:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_59816dd41a0dab043184d5ab19e2edaf'] = 'Total gift wrapping (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_66f51e43606e2baebb8e9c3bfe965da4'] = 'Shipping:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ecba3578d8cd65126d4a47c76b3c9c2d'] = 'Free Shipping!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f246a17c095de09e043cc1cb917481da'] = 'Total shipping (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f4e8b53a114e5a17d051ab84d326cae5'] = 'Total shipping';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_e93f43fa527c3534aeca987091d6c049'] = 'Total shipping (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_9816a5054cd05761b6765fbef0062b29'] = 'Total vouchers (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ada0f55ef37f4928c5cd970f378c15e8'] = 'Total vouchers';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_19809527da8b7308e45e2dc6ac40cca9'] = 'Total vouchers (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_598a4c4d56197cc1f6bca50b20aa484a'] = 'Total tax:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_a82868319826fb092b73968e661b5b38'] = 'Vouchers';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_444bcb3a3fcf8389296c49467f27e1d6'] = 'ok';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f7b96335c6a33477579e43f3da368507'] = 'Take advantage of our offers:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1ac6ee29e9e68fb71bad91c1d34348cc'] = '%s:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1021f02536dc46ab3b07c269949e4de7'] = 'Text #%s:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f2a6c498fb90ee345d997f888fce3b18'] = 'Delete';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_c8cd21bd2e33378f10611bc4498cf96f'] = 'Delete this customization';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ec211f7c20af43e742bf2570c3cb84f9'] = 'Add';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1d9baf077ee87921f57a8fe42d510b65'] = 'Subtract';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_633dfeead551299f8224bc60eb5aaca9'] = 'Thank you for your login with Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_eafa313a0fc72443ff59653adb7fdebb'] = 'There is already a customer account with this e-mail-address in our shop. Please enter your password to connect it with your Amazon-account.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_dc647eb65e6711e155375218212b3964'] = 'Password';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_98980b642469e6353fda51e7c25ee66e'] = 'Connect accounts';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_599100c527155892f4359effc359a76b'] = 'Thank you. Your order has been successful. We now create your account.';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_633dfeead551299f8224bc60eb5aaca9'] = 'Thank you for your login with Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_1d90cfb5cc90a32ee0146e7a9aec46b9'] = 'You will be redirected in a few seconds...';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Your order at ';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'is complete.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_fb4ea5a18e5f77bece3219a4171320a9'] = 'You have chosen Amazon Pay for your payment.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Your order will be dispatched shortly.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'For further questions, please contact our';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'customer-support.';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Your order at ';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_75fbf512d744977d62599cc3f0ae2bb4'] = 'is complete.';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_ed20689b0d8d53ec534166a88b67f259'] = 'Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_8811becbf523354e20e2017242326f70'] = '(Comfortable and save payment with your amazon-account)';
|
207
modules/amzpayments/translations/es.php
Normal file
207
modules/amzpayments/translations/es.php
Normal file
@ -0,0 +1,207 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_81d1ad142418eddcae2bbc31b0d4d8ad'] = 'Pedido completado';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_f3861c4c3a4594ea61e265c2cb9b5c48'] = 'Proceso de pago cancelado';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_71a85ee870436f9064ac3528a4c86549'] = 'Actualización completada';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_bae97ddc25077860b31fda55d247d7da'] = 'Se ha iniciado la solicitud de autorización correctamente';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3e3e79eb84fdf0f80a6800d0721cca16'] = 'No se ha podido crear la solicitud de autorización';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_d6022e75cdbf4d4254dc72ed03259a13'] = 'Pago captado';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_5b493645ee2b8bfa9b0aa235b5521295'] = 'Pago no captado';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_da414780dda0664df1af13935e48c0c5'] = 'Se ha iniciado la solicitud de reembolso correctamente';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3cc4859e502556d0d848c3bc38618782'] = 'No se ha realizado el reembolso';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c78d107708639ef5909123dbc2f2d3aa'] = 'Amazon Pay - Pagar con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_080e2a0b502a41599bdaa5978ee0ad36'] = 'Integración sencilla de API de Amazon Advanced Payment para tu PrestaShop';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_876f23178c29dc2552c0b48bf23cd9bd'] = '¿Seguro que quieres desinstalar el módulo?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d81002e59a1139fab6e1cd2753a09a90'] = 'Tienes que configurar tus datos de Amazon Pay - API de Amazon Advanced Payment antes de poder usar el módulo.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2e280e445fcad71c3d066b11bdf20390'] = 'No se ha establecido una divisa para este módulo de pago';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_0bcb2adf017d8a410bc09e1e57031893'] = 'Amazon Pay: autorizado';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_27a76c6a37e670b2a8464263fe4e098c'] = 'Amazon Pay: pago recibido';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_06a314be1e151ad86638cc5214fd8fb9'] = ': details are required.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6d02107e6b345898e2e003d4e30dc282'] = 'Entrada no permitida: \"Región\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a42f87582faf7be0246795c6e62178e8'] = 'La clave de acceso a MWS es incorrecta.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4a6ec73d0115c9652ee6a29197899fa'] = 'La clave secreta de MWS es incorrecta.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ee011c3fd11b5dc4e3d8bd08b7747018'] = 'El ID de vendedor es incorrecto.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c888438d14855d7d96a2724ee9c306bd'] = 'Configuración actualizada';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f4f70727dc34561dfde1a3c529b6205c'] = 'Configuración';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfddeac754c1b6067251ed1748e407d'] = 'ID de vendedor de Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_916853799b53ff1f63a94b61df6d966a'] = 'Clave de acceso a AWS';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_73eeac3fa1a0ce48f381ca1e6d71f077'] = 'Clave secreta';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfe9d72a4aae8f06a31025b7536be80'] = 'ID de cliente para Login y Pagar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b24c9cbc8c7bd85744dcf6b8a933084f'] = 'Valores permitidos: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_960db2ed82202a9706b97775a4269378'] = 'Región';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d3b8bd6da3943c1f83379a4a0a7ab918'] = 'Modo Login y Pagar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b988c537cc8b4e7d951196deb4defbb2'] = 'Pagar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ae6d9d2f0877d0571dc03ccd5ef407e8'] = 'Iniciar sesión';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ecd640fa2d15770cb1adee4075ad7afb'] = 'Login y Pagar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9b8926c200109a9e2a829e4d5ce14ade'] = 'Mostrar botones en la página principal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Yes';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b9f5c797ebbf55adccdd8539a65a0241'] = 'No';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8667cecb1de0a963f560deab1b02523d'] = 'Ocultar los elementos Login con Amazon en el frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e900e40bc91d3f9f7f0a99fed68a2e96'] = 'Funcionamiento';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_4245499695408b974322be6f01b0d17a'] = 'Modo de prueba';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_cebd5bbe0ffdecc270a8a324e5a277dd'] = 'Modo de uso real';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6ea96e7901e5d7d960ae3ab51a460dfe'] = '¿Cuándo y cómo se autorizará el pago?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_74dc5ba3b79de0d9c7b7a40826794a32'] = 'durante el pago/antes de completar el pedido';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_517fb462c524717a2862e7f5a4f4b582'] = 'inmediatamente después del pedido';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_3c78b35502b2693fefdfc51cba3a53a5'] = 'manual';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7dbe434224e885e859b7707fa3ebf141'] = 'Status für eingegangene Bestellung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c92a02ec287f5151bea1493f769b8817'] = 'Estado del pedido para pagos autorizados';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_80d0c781220d833947e82a4bac83c66b'] = '¿Cuándo y cómo se captarán los pagos?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_28c6194859e3104cfb02445b83efadc5'] = 'después de la entrega';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_05033bc4d960e0f74efacd29dbfb91fd'] = 'directamente después de la autorización';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f38911eda842056931cbcf497a2f8fe5'] = 'Estado del pedido para captar el pago';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9d57203f843f48a4cbc5da56cd9eba9a'] = 'Estado del pedido después de captar el pago correctamente';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1a357f75f77b4eaa734c35cc15fa4ca7'] = 'Declined status';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da7bc25895336d39dfb2603378728d86'] = 'Provocar errores (sólo Sandbox)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_63d098bd60c469852c135349eb50c6ad'] = 'Rechazo definitivo';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_679b25385157e8e2f4053d5225baee9d'] = 'Rechazo temporal (2 min)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25f159eff77797ead5fbaf19eea4a7ae'] = 'Rechazo de captación';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8eff3617002e9a854b9704717f35f7aa'] = 'Iniciar sesión en una ventana emergente';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d64946b0089fa5361240915d80d1cea6'] = 'Excluir métodos de pago';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_199ef1b03dbd9cff69ccdfe33f467a8c'] = 'Excluir productos de Pagar con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12c3d641b9e8ed280e818675cf288d6b'] = '¿Permitir pedidos de invitados?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b11e12b1d8e5da5a84cca3e46dfcbdf5'] = 'Tamaño del botón de pago de Amazon (modo Iniciar sesión/Login y Pagar)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eb5c1399a871211c7e7ed732d15e3a8b'] = 'pequeño';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fea087517c26fadd409bd4b9dc642555'] = 'normal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d861877da56b8b4ceb35c8cbfdf65bb4'] = 'grande';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_379b503ecd89a83cd772b12f32d99b86'] = 'muy grande';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_db48e2b1ac86cbdd7a6dc51a9003ab53'] = 'Color del botón de pago de Amazon (modo Iniciar sesión/Login y Pagar)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_090ce86a70f6c620da627abc6d01ac7a'] = 'Amarillo Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1dbd090957fe65e292f767afebeefa39'] = 'Gris claro';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_af5e5b6fe4efe9a2def4b733b165c632'] = 'Gris oscuro';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_31a2f49179703a2e9762d620044dde00'] = 'Color del botón de pago de Amazon (modo Iniciar sesión/Login y Pagar) en la barra de navegación';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da3d3cfa54113652c31233de9d533637'] = 'Tipo de botón \"login\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25e29d9c17462795383c7c21c965ad99'] = 'Login con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99dea78007133396a7b8ed70578ac6ae'] = 'Iniciar sesión';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7075d3701c4e47035eb216cbda9a23ab'] = 'Sólo una \"A\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c6fecb49a169bf3a95ab401ac835c0d2'] = 'Tipo de botón \"pagar\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed20689b0d8d53ec534166a88b67f259'] = 'Pagar con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Pagar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4f8636404d488e3eb526c7fde0d31b8'] = 'Recibir actualizaciones de estado a través de IPN';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d202d47478c2e5fadb48a5114954e797'] = 'URL de IPN de Amazon ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9bacd27a5ffedb81e1efc6454fa7f246'] = 'Usar tarea cron para la actualizaciones de estado';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5596b226abb08c30dd95c4a0073139f5'] = 'URL de la tarea cron';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e238b685f634947eb0ed378e3196abf9'] = 'Contraseña para la tarea cron';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d1d51c8dcba4c98ea5cec6f56cf7413d'] = 'Notificar automáticamente a los clientes cuando se rechacen los pagos';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2cfec4ef5bb5c2b81eded6ec7e82ccc'] = 'Preseleccionar creación de cuenta al pagar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2fac096fc5c586bcfecb255c585a3ef1'] = 'Forzar creación de cuenta';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6deb26d36a88344bcd7f71914a086055'] = 'Template Bootstrap';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c9cc8cce247e49bae79f15173ce97354'] = 'Save';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f8928b5290746aa6041f3caa35d3e182'] = 'Autorización';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a240fa27925a635b08dc28c9e4f9216d'] = 'Pedido';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ab85d9edc966536822a98a25f7d8640a'] = 'Retirada';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_76f0ed934de85cc7131910b32ede7714'] = 'Reembolso';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12e5e0597b2980f55f11e5d775aabf8c'] = 'Amazon ha rechazado tu pago';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dd9c5a48aa769b5db4e5fba108c39691'] = 'Amazon ha rechazado tu pago. Ponte en contacto con nosotros';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7de64f538bdd7057ea1bbf5b46572d67'] = 'Por favor, complete los campos faltantes para guardar su dirección';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5aa818b1473c50ce1b40bf66663182c6'] = 'Tu método de pago seleccionado no está disponible en este momento. Selecciona otro.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2af94a3e3857e4903cf97df11fd9440'] = 'Se ha rechazado el método de pago seleccionado. Selecciona otro.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7de64f538bdd7057ea1bbf5b46572d67'] = 'Por favor, complete los campos faltantes para guardar su dirección';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_56b55033f747893cf02a5797707ee383'] = 'Convierte a los clientes de Amazon en tus propios clientes de forma rápida y fácil ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a7b8feea65558548dff1c84f2f8801ab'] = 'Así es como funciona:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_5b1a8c5b0fd7e134325ee37f10abed53'] = 'Registra tu cuenta de Amazon Pay. Después de registrarte tendrás que iniciar sesión en Seller Central para completar la creación de tu cuenta.*';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd402661d1e485f7334d7dd1f34db51e'] = 'Registrate ya';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a512eacd95cc1bb5ee5549eef1181202'] = 'Recibirás un E-mail de Amazon Pay con la información de que tu cuenta está verificada.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_e8ec2d3bb93bbf9539427b479d6a9395'] = 'Usa nuestra guía de marketing ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_25d90ac00ef07707b2bc9c1dc74b398c'] = 'para vendedores para darte a conocer y facilitarle a millones de clientes las compras en tu página.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_98e280401f0b14c5f12154fc67435600'] = 'Sehen Sie hier unseren Video-Leitfaden zur Integration mit PrestaShop:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6c92285fa6d3e827b198d120ea3ac674'] = 'aquí';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_7e9587e34d0a3b64bccbca42d4a15fcb'] = 'Descárgate %s la guía de integración de Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_31f6f0676394c332a25f3222edacae03'] = 'Nota: Por favor, utiliza una dirección de correo electrónico que aun no exista en ninguna otra cuenta de Amazon. ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_4aaf36784bf013f0c988481f592f6e07'] = 'Fidelidad de los clients';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_33aa7ab3729e809c7003ccd4632271f2'] = 'Ofrecer a los clientes una forma fácil de registrarse en tu sitio web. ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_572d183dfdaa0b7389558413777e7f92'] = 'Optimizado para móviles';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_49935b926bda4793f12d81645cca41c8'] = 'Nuestros botones y widgets están optimizados para equipos de escritorio, tablets y móviles.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_edff1403425f8630b693266cf7056ad3'] = 'Protección contra frauds';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6b3737610ac5241264fe4ee058127ac7'] = 'Quédate tranquilo gracias a la sofisticada protección contra fraudes de Amazon sin costes adicionales.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_f8e8d7166eb15b369812dcf7e257d38f'] = 'Chance: höhere Konversion, mehr Umsatz';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a730eca6c28e24224e888bbb17b87ba3'] = 'Amazon Pay kann Ihnen helfen, Umsätze mit Kunden zu erzielen, die aufgrund komplizierterer Anmelde- und Bezahloptionen sonst nicht bei Ihnen eingekauft hätten.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8459542c8c59ecb26529d4c5c6cd3a12'] = 'Reine Zahlungsabwicklung';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6376d38e4317cb552dd389c556d187b6'] = '„Login und Bezahlen mit Amazon“ bietet reine Zahlungsabwicklung. Als Händler übermitteln Sie nur den abzuwickelnden Betrag.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_83c84d4538db0c96ca8a3963855013fa'] = 'Quick configuration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_03e8d0ad408c42265ba4be4b1a6a25f2'] = 'Just use copy and paste to configure the module with your Amazon Pay credentials, directly out of the Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8cd70bf7f9cf76fd769889b7d4ab6220'] = 'Parse data';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a3d2f55e975a1c99e3b92242d16abe29'] = 'Informaciones';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_ef446b2503b4c7fe2ee047d53809fdef'] = 'URL de devolución permitidas: introduce estas URL en tu panel de configuración de Amazon Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a86d4a390d4364577e9a45a5b3ee2a1a'] = 'Orígenes de JavaScript permitidos: introduce estas URL en tu panel de configuración de Amazon Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_174ca35d99905e2ceb512c6789b1bed7'] = 'Puedes integrar el botón \"Login con Amazon\" en cualquier parte de tu plantilla. Sólo tienes que usar el siguiente código HTML, pero no te olvides de utilizar siempre un valor único para el \"id\" de atributo:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_fa245a5c03e461251a588fade0fbd2bb'] = 'Version-Checker';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_9e6d5afc084382d3eb41d205b0653215'] = 'Estamos comprobando si hay una nueva versión del módulo disponible';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_19d04b594594d21dacab32ccf4feb5b6'] = 'Tu versión:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6579d7f0af067b0aae4c40ab1b0334c2'] = 'Hay una nueva versión:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd8dd5f5ae81213cce452d234ab8d16b'] = 'Todo correcto, estás usando la última versión';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_06df33001c1d7187fdd81ea1f5b277aa'] = 'Acciones';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_5a23e3ba7a2dceee4399422463690019'] = 'Captar pagos autorizados';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2f40690858b404ed10e62bdf422c704'] = 'Importe';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_a76d4ef5f3f6a672bbfab2865563e530'] = 'Hora';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_20be7c12875a3a104057a2aa31c1952b'] = 'ID de transacción de Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2844b8e17ecaaeae68d018fe9418af0'] = 'Válido hasta';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_92570935b02b9e61e490bb5591dfba21'] = 'Captar importe total';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_55080bca308c255f5314b6df6174f2c5'] = 'Captar importe parcial';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_44198125122162abc67ffeb11aeb8f3f'] = 'Autorizar pago';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_0c12b293263b97b1b2623b98fd7025a3'] = 'Importe sin autorizar';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_3b33cbd88240ecf21c5d98d9c508ca5c'] = 'Máximo posible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_497b836c9f23d8c521ff0e099050585a'] = 'Autorizar más';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_53beb26d8bca00f56fbd295fdee83459'] = 'Reembolsos';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_cc61945cbbf46721a053467c395c666f'] = 'Reembolsado';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_754591b7de46a8e598df07d49e3147ef'] = 'Aún es posible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_ec53a8c4f07baed5d8825072c89799be'] = 'Estado';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_2e57a5e4cfc4babee6620ca92ef603ee'] = 'Último cambio';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_1b8858b68405caa612a275b1a808da38'] = 'Emitir reembolso completo';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_4107cda935fb202a071f9d5a7f060164'] = 'Emitir reembolso parcial';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_c1f55441110885bb936d34fe27eff263'] = 'Reembolsar más';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_9e0b4b79d1941d6b8455f3a87105d817'] = 'Historial de Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_384036f8b0067ec3bb710a92f8734b3b'] = 'Tipo de transacción';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2f40690858b404ed10e62bdf422c704'] = 'Importe';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a76d4ef5f3f6a672bbfab2865563e530'] = 'Hora';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_ec53a8c4f07baed5d8825072c89799be'] = 'Estado';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3c410dbe27b4132d9c3565e4dea0cdf'] = 'Último cambio';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_20be7c12875a3a104057a2aa31c1952b'] = 'ID de transacción de Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2844b8e17ecaaeae68d018fe9418af0'] = 'Válido hasta';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_06933067aafd48425d67bcb01bba5cb6'] = 'Actualizar';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_d99d59366cc238d329d9fc8c7376d40b'] = 'Cancelar pedido';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3523acaea68c5de7400bf22a46fc204'] = 'Cerrar pedido';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_64b7812939d36ea6ed92a5e3780d581e'] = 'Resumen de Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_3da897917815714364886cd0764aa227'] = 'Importe autorizado';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_f53c1ebef1d12dafe0e228236c393be7'] = 'Importe retirado';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_9f8c310d4b0402a61723b22c34fbd31c'] = 'Importe reembolsado';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_7cb32e708d6b961d476baced73d362bb'] = 'Número de IVA';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_b60bb13a87fe3ae5463aeb0980a5a8a1'] = 'DNI';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_fe66abce284ec8589e7d791185b5c442'] = 'Teléfono';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_41c2fff4867cc204120f001e7af20f7a'] = 'Teléfono móvil';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_46a2a41cc6e552044816a2d04634545d'] = 'Región';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fa31ce6046882558f0637d428a96abeb'] = 'Crear cuenta de cliente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a1ff3881b92951d9663aaef38e8b637'] = 'No necesitas hacer nada más. Crearemos la cuenta con los datos de tu pedido actual.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eeceac1af4e7620894d6d2083921bb73'] = '¡Comprar ahora!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Lo sentimos, no podemos entregar a la dirección que ha seleccionado. Por favor, selecciona una diferente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Lo sentimos, no podemos entregar a la dirección que ha seleccionado. Por favor, selecciona una diferente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_c9cc8cce247e49bae79f15173ce97354'] = 'Continuar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_fa31ce6046882558f0637d428a96abeb'] = 'Crear cuenta de cliente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_9a1ff3881b92951d9663aaef38e8b637'] = 'No necesitas hacer nada más. Crearemos la cuenta con los datos de tu pedido actual.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_eeceac1af4e7620894d6d2083921bb73'] = '¡Comprar ahora!';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_633dfeead551299f8224bc60eb5aaca9'] = 'Gracias por iniciar sesión con Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_eafa313a0fc72443ff59653adb7fdebb'] = 'Ya hay una cuenta de cliente con esta dirección de correo electrónico en nuestra tienda. Introduce tu contraseña para vincularla a tu cuenta de Amazon.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_dc647eb65e6711e155375218212b3964'] = 'Contraseña';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_98980b642469e6353fda51e7c25ee66e'] = 'Conectar cuentas';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_599100c527155892f4359effc359a76b'] = 'Gracias. Tu pedido se ha registrado correctamente. Ahora crearemos tu cuenta.';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_633dfeead551299f8224bc60eb5aaca9'] = 'Gracias por iniciar sesión con Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_1d90cfb5cc90a32ee0146e7a9aec46b9'] = 'En un momento se te redirigirá a otra página...';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_3e9e333adde6e70086bd29441c8c45eb'] = 'La dirección';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_a5058d1398eb35e54f561de54459aece'] = 'Seleccionar dirección';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_a0bfb8e59e6c13fc8d990781f77694fe'] = 'Continuar';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_daa6b483e9f6ca081ec7e0b4a352f9e9'] = 'Guardar cambios';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7d5fd5da702c79b9fcb4fa1b7c63ee7f'] = 'Gracias por utilizar Login con Amazon en nuestra tienda.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_50842b129a33396a62b7dc81a73a7c1a'] = 'Por favor, seleccione una dirección predeterminada para la creación de su cuenta. Usted podrá elegir una dirección de envío durante el proceso de checkout.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Su orden en ';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'está completa.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_fb4ea5a18e5f77bece3219a4171320a9'] = 'Usted ha elegido Amazon Pay para su pago.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Su orden será enviada dentro de poco.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Para más información, por favor contacte a ';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'nuestro Atención al cliente.';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Su orden en ';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_75fbf512d744977d62599cc3f0ae2bb4'] = 'está completa.';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_ed20689b0d8d53ec534166a88b67f259'] = 'Pagar con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_8811becbf523354e20e2017242326f70'] = '(Pagos cómodos y seguros con tu cuenta de Amazon)';
|
207
modules/amzpayments/translations/fr.php
Normal file
207
modules/amzpayments/translations/fr.php
Normal file
@ -0,0 +1,207 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_81d1ad142418eddcae2bbc31b0d4d8ad'] = 'Commande terminée';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_f3861c4c3a4594ea61e265c2cb9b5c48'] = 'Paiement annulé';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_71a85ee870436f9064ac3528a4c86549'] = 'Mise à jour terminée.';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_bae97ddc25077860b31fda55d247d7da'] = 'Demande d\'autorisation envoyée';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3e3e79eb84fdf0f80a6800d0721cca16'] = 'Echec de la création de demande d\'autorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_d6022e75cdbf4d4254dc72ed03259a13'] = 'Saisie réussie';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_5b493645ee2b8bfa9b0aa235b5521295'] = 'Echec de la saisie';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_da414780dda0664df1af13935e48c0c5'] = 'La demande de remboursement a bien été envoyée';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3cc4859e502556d0d848c3bc38618782'] = 'Echec du remboursement';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c78d107708639ef5909123dbc2f2d3aa'] = 'Amazon Pay - Payer avec Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_080e2a0b502a41599bdaa5978ee0ad36'] = 'facile à utiliser pour intergration d\'Advanced Payments APIs pour votre PrestaShop';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_876f23178c29dc2552c0b48bf23cd9bd'] = 'Voulez-vous vraiment désinstaller le module?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d81002e59a1139fab6e1cd2753a09a90'] = 'Vos détails d\'Amazon Pay Advanced doivent être traité avant que vous utilisiez le module';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2e280e445fcad71c3d066b11bdf20390'] = 'Aucune devise n\'a été définie pour ce module de paiement';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_0bcb2adf017d8a410bc09e1e57031893'] = 'Amazon Pay - autorisé';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_27a76c6a37e670b2a8464263fe4e098c'] = 'Amazon Pay - paiement reçu';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_06a314be1e151ad86638cc5214fd8fb9'] = ': details are required.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6d02107e6b345898e2e003d4e30dc282'] = 'Entrée \"Région\" non autorisée';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a42f87582faf7be0246795c6e62178e8'] = 'La clé d\'accès MWS est incorrecte.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4a6ec73d0115c9652ee6a29197899fa'] = 'La clé secrète MWS est incorrecte.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ee011c3fd11b5dc4e3d8bd08b7747018'] = 'L\'identifiant marchand est incorrect.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c888438d14855d7d96a2724ee9c306bd'] = 'Paramètres actualisés';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfddeac754c1b6067251ed1748e407d'] = 'Identifiant marchand Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_916853799b53ff1f63a94b61df6d966a'] = 'Clé d\'accès AWS';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_73eeac3fa1a0ce48f381ca1e6d71f077'] = 'Clé secrète';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfe9d72a4aae8f06a31025b7536be80'] = 'Identifiant client pour Connectez-vous et Payez';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b24c9cbc8c7bd85744dcf6b8a933084f'] = 'Valeurs autorisées: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_960db2ed82202a9706b97775a4269378'] = 'Région';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d3b8bd6da3943c1f83379a4a0a7ab918'] = 'Mode Connectez-vous/Payez';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b988c537cc8b4e7d951196deb4defbb2'] = 'Payer';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ae6d9d2f0877d0571dc03ccd5ef407e8'] = 'Connexion';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ecd640fa2d15770cb1adee4075ad7afb'] = 'Connectez-vous et Payez';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9b8926c200109a9e2a829e4d5ce14ade'] = 'Afficher les boutons à l\'avant';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Oui';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b9f5c797ebbf55adccdd8539a65a0241'] = 'Non';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8667cecb1de0a963f560deab1b02523d'] = 'Cacher les éléments de connexion avec Amazon sur la partie client';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e900e40bc91d3f9f7f0a99fed68a2e96'] = 'Mode de fonctionnement';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_4245499695408b974322be6f01b0d17a'] = 'Mode test';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_cebd5bbe0ffdecc270a8a324e5a277dd'] = 'Mode en ligne';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6ea96e7901e5d7d960ae3ab51a460dfe'] = 'Quand et comment le paiement sera-t-il autorisé?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_74dc5ba3b79de0d9c7b7a40826794a32'] = 'pendant le paiement / avant de terminer la commande';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_517fb462c524717a2862e7f5a4f4b582'] = 'immédiatement après la commande';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_3c78b35502b2693fefdfc51cba3a53a5'] = 'manuel';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7dbe434224e885e859b7707fa3ebf141'] = 'Etat des commandes passées';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c92a02ec287f5151bea1493f769b8817'] = 'Etat de la commande pour les paiements autorisés';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_80d0c781220d833947e82a4bac83c66b'] = 'Quand et comment les paiements seront-ils saisis ?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_28c6194859e3104cfb02445b83efadc5'] = 'après l\'expédition';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_05033bc4d960e0f74efacd29dbfb91fd'] = 'directement après l\'autorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f38911eda842056931cbcf497a2f8fe5'] = 'Etat de la commande pour saisir un paiement';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9d57203f843f48a4cbc5da56cd9eba9a'] = 'Etat de la commande après une saisie réussie';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1a357f75f77b4eaa734c35cc15fa4ca7'] = 'Commande refusée';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da7bc25895336d39dfb2603378728d86'] = 'Provoquer des erreurs (Sandbox uniquement)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_63d098bd60c469852c135349eb50c6ad'] = 'Refus long';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_679b25385157e8e2f4053d5225baee9d'] = 'Refus court (2 min)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25f159eff77797ead5fbaf19eea4a7ae'] = 'Capture déclinée';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8eff3617002e9a854b9704717f35f7aa'] = 'Connectez-vous dans une fenêtre contextuelle';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d64946b0089fa5361240915d80d1cea6'] = 'Exclure des modes d\'expédition';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_199ef1b03dbd9cff69ccdfe33f467a8c'] = 'Exclure des produits du service Payez avec Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12c3d641b9e8ed280e818675cf288d6b'] = 'Autoriser les commandes en tant qu\'invité ?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b11e12b1d8e5da5a84cca3e46dfcbdf5'] = 'Taille du bouton de paiement Amazon-(Mode Connectez-vous/Connectez-vous et Payez)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eb5c1399a871211c7e7ed732d15e3a8b'] = 'petit';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fea087517c26fadd409bd4b9dc642555'] = 'normale';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d861877da56b8b4ceb35c8cbfdf65bb4'] = 'grand';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_379b503ecd89a83cd772b12f32d99b86'] = 'très grand';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_db48e2b1ac86cbdd7a6dc51a9003ab53'] = 'Couleur du bouton de paiement Amazon-(Mode Connectez-vous/Connectez-vous et Payez)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_090ce86a70f6c620da627abc6d01ac7a'] = 'Jaune Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1dbd090957fe65e292f767afebeefa39'] = 'Gris clair';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_af5e5b6fe4efe9a2def4b733b165c632'] = 'Gris foncé';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_31a2f49179703a2e9762d620044dde00'] = 'Couleur du bouton de paiement Amazon-(Mode Connectez-vous/Connectez-vous et Payez) dans la barre de navigation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da3d3cfa54113652c31233de9d533637'] = 'Type de bouton \"Connectez-vous\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25e29d9c17462795383c7c21c965ad99'] = 'Connectez-vous avec Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99dea78007133396a7b8ed70578ac6ae'] = 'Connexion';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7075d3701c4e47035eb216cbda9a23ab'] = 'Juste un \"A\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c6fecb49a169bf3a95ab401ac835c0d2'] = 'Type de bouton \"Payez\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed20689b0d8d53ec534166a88b67f259'] = 'Payez avec Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Payer';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4f8636404d488e3eb526c7fde0d31b8'] = 'Recevoir les mises à jour de statut par notification de paiement instantané';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d202d47478c2e5fadb48a5114954e797'] = 'URL pour la notification de paiement instantané Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9bacd27a5ffedb81e1efc6454fa7f246'] = 'Activer les tâches Cron pour les mises à jour de statut';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5596b226abb08c30dd95c4a0073139f5'] = 'URL pour les tâches Cron';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e238b685f634947eb0ed378e3196abf9'] = 'Mot de passe pour les tâches Cron';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d1d51c8dcba4c98ea5cec6f56cf7413d'] = 'Prévenir automatiquement les clients lorsque des paiements ont été refusés';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2cfec4ef5bb5c2b81eded6ec7e82ccc'] = 'Présélectionner la création de compte lors du paiement';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2fac096fc5c586bcfecb255c585a3ef1'] = 'Forcer la création de compte';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6deb26d36a88344bcd7f71914a086055'] = 'Template Bootstrap';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f8928b5290746aa6041f3caa35d3e182'] = 'Autorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a240fa27925a635b08dc28c9e4f9216d'] = 'Commande';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ab85d9edc966536822a98a25f7d8640a'] = 'Réception de paiement';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_76f0ed934de85cc7131910b32ede7714'] = 'Remboursé';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12e5e0597b2980f55f11e5d775aabf8c'] = 'Votre paiement a été refusé par Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dd9c5a48aa769b5db4e5fba108c39691'] = 'Votre paiement a été refusé par Amazon, veuillez nous contacter';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7de64f538bdd7057ea1bbf5b46572d67'] = 'Merci de remplir les champs manquants afin de sauvegarder votre adresse';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5aa818b1473c50ce1b40bf66663182c6'] = 'Le moyen de paiement sélectionné n\'est pas disponible pour le moment. Veuillez en choisir un autre.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2af94a3e3857e4903cf97df11fd9440'] = 'Le moyen de paiement sélectionné a été refusé. Veuillez choisir un autre moyen de paiement.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7de64f538bdd7057ea1bbf5b46572d67'] = 'Merci de remplir les champs manquants afin de sauvegarder votre adresse';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_56b55033f747893cf02a5797707ee383'] = 'Faites des clients Amazon vos clients, simplement et rapidement ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a7b8feea65558548dff1c84f2f8801ab'] = 'Voici le detail:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_5b1a8c5b0fd7e134325ee37f10abed53'] = 'Complétez notre formulaire d\'enregistrement en ligne et terminez la configuration de votre compte en téléchargeant vos documents de vérification sur Seller Central.*';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd402661d1e485f7334d7dd1f34db51e'] = 'Inscrivez-vous';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a512eacd95cc1bb5ee5549eef1181202'] = 'Attendez l’email d’Amazon Pay vous informant que la vérification de votre compte a été effectuée avec succès. ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_e8ec2d3bb93bbf9539427b479d6a9395'] = 'Utilisez notre guide marketing ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_25d90ac00ef07707b2bc9c1dc74b398c'] = 'pour les marchands afin de diffuser le message et de permettre à des millions de clients d\'acheter sur votre site Web.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_98e280401f0b14c5f12154fc67435600'] = 'Sehen Sie hier unseren Video-Leitfaden zur Integration mit PrestaShop:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6c92285fa6d3e827b198d120ea3ac674'] = 'ici';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_7e9587e34d0a3b64bccbca42d4a15fcb'] = 'Téléchargez le guide d’intégration Amazon Pay ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_31f6f0676394c332a25f3222edacae03'] = 'Remarque: Veuillez utiliser une adresse email qui n’a jamais servi pour un autre compte Amazon.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_4aaf36784bf013f0c988481f592f6e07'] = 'Fidélité client';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_33aa7ab3729e809c7003ccd4632271f2'] = 'Une méthode de connexion à votre site simple pour les clients.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_572d183dfdaa0b7389558413777e7f92'] = 'Accessible par mobile';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_49935b926bda4793f12d81645cca41c8'] = 'Nos boutons et widgets sont optimisés pour les ordinateurs de bureau, tablettes et portables.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_edff1403425f8630b693266cf7056ad3'] = 'Protection contre la fraude';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6b3737610ac5241264fe4ee058127ac7'] = 'Ayez l\'esprit tranquille grâce à notre protection avancée contre la fraude sans frais supplémentaires';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_f8e8d7166eb15b369812dcf7e257d38f'] = 'Chance: höhere Konversion, mehr Umsatz';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a730eca6c28e24224e888bbb17b87ba3'] = 'Amazon Pay kann Ihnen helfen, Umsätze mit Kunden zu erzielen, die aufgrund komplizierterer Anmelde- und Bezahloptionen sonst nicht bei Ihnen eingekauft hätten.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8459542c8c59ecb26529d4c5c6cd3a12'] = 'Reine Zahlungsabwicklung';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6376d38e4317cb552dd389c556d187b6'] = '„Login und Bezahlen mit Amazon“ bietet reine Zahlungsabwicklung. Als Händler übermitteln Sie nur den abzuwickelnden Betrag.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_83c84d4538db0c96ca8a3963855013fa'] = 'Quick configuration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_03e8d0ad408c42265ba4be4b1a6a25f2'] = 'Just use copy and paste to configure the module with your Amazon Pay credentials, directly out of the Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8cd70bf7f9cf76fd769889b7d4ab6220'] = 'Parse data';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a3d2f55e975a1c99e3b92242d16abe29'] = 'URL et informations de configuration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_ef446b2503b4c7fe2ee047d53809fdef'] = 'Urls de retour autorisées - Entrez ces Urls dans le panneau de configuration de votre compte vendeur Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a86d4a390d4364577e9a45a5b3ee2a1a'] = 'Origines Javascript autorisées - Entrez ces Urls dans le panneau de configuration de votre compte vendeur Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_174ca35d99905e2ceb512c6789b1bed7'] = 'Vous pouvez intégrer le bouton \" Payer avec Amazon\" dans n\'importe qu\'elle partie de votre template . Utilisez simplement le code HTML suivant mais soyez sûr de toujours (!) utiliser une valeur unique pour l\'attribut \"id\" ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_fa245a5c03e461251a588fade0fbd2bb'] = 'Version-Checker';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_9e6d5afc084382d3eb41d205b0653215'] = 'Nous vérifions si il y a une nouvelle version disponible';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_19d04b594594d21dacab32ccf4feb5b6'] = 'Votre version:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6579d7f0af067b0aae4c40ab1b0334c2'] = 'Il y a une nouvelle version disponible';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd8dd5f5ae81213cce452d234ab8d16b'] = 'Tout va bien - vous utilisez la dernière version disponible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_5a23e3ba7a2dceee4399422463690019'] = 'Saisir la totalité du montant';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2f40690858b404ed10e62bdf422c704'] = 'Montant';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_a76d4ef5f3f6a672bbfab2865563e530'] = 'Heure';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_20be7c12875a3a104057a2aa31c1952b'] = 'Identifiant de transaction Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valide jusqu\'à';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_92570935b02b9e61e490bb5591dfba21'] = 'Saisir la totalité du montant';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_55080bca308c255f5314b6df6174f2c5'] = 'Saisir une partie du montant';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_44198125122162abc67ffeb11aeb8f3f'] = 'Autoriser le paiement';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_0c12b293263b97b1b2623b98fd7025a3'] = 'Montant pas encore autorisé';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_3b33cbd88240ecf21c5d98d9c508ca5c'] = 'Montant maximal possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_497b836c9f23d8c521ff0e099050585a'] = 'Autoriser davantage';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_53beb26d8bca00f56fbd295fdee83459'] = 'Remboursements';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_cc61945cbbf46721a053467c395c666f'] = 'Remboursé';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_754591b7de46a8e598df07d49e3147ef'] = 'Toujours possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_ec53a8c4f07baed5d8825072c89799be'] = 'Statut';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_2e57a5e4cfc4babee6620ca92ef603ee'] = 'Dernière modification';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_1b8858b68405caa612a275b1a808da38'] = 'Emettre un remboursement intégral';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_4107cda935fb202a071f9d5a7f060164'] = 'Emettre un remboursement partiel';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_c1f55441110885bb936d34fe27eff263'] = 'Rembourser davantage';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_9e0b4b79d1941d6b8455f3a87105d817'] = 'Historique Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_384036f8b0067ec3bb710a92f8734b3b'] = 'Type de transaction';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2f40690858b404ed10e62bdf422c704'] = 'Montant';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a76d4ef5f3f6a672bbfab2865563e530'] = 'Heure';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_ec53a8c4f07baed5d8825072c89799be'] = 'Statut';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3c410dbe27b4132d9c3565e4dea0cdf'] = 'Dernière modification';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_20be7c12875a3a104057a2aa31c1952b'] = 'Identifiant de transaction Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valide jusqu\'à';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_06933067aafd48425d67bcb01bba5cb6'] = 'Mise à jour';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_d99d59366cc238d329d9fc8c7376d40b'] = 'Annuler la commande';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3523acaea68c5de7400bf22a46fc204'] = 'Terminer la commande';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_64b7812939d36ea6ed92a5e3780d581e'] = 'Résumé Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_3da897917815714364886cd0764aa227'] = 'Montant autorisé';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_f53c1ebef1d12dafe0e228236c393be7'] = 'Montant perçu';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_9f8c310d4b0402a61723b22c34fbd31c'] = 'Montant remboursé';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_7cb32e708d6b961d476baced73d362bb'] = 'Numéro de TVA';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_b60bb13a87fe3ae5463aeb0980a5a8a1'] = 'DNI';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_fe66abce284ec8589e7d791185b5c442'] = 'Téléphone';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_41c2fff4867cc204120f001e7af20f7a'] = 'Téléphone Portable';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_46a2a41cc6e552044816a2d04634545d'] = 'Région';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fa31ce6046882558f0637d428a96abeb'] = 'Créer un compte client.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a1ff3881b92951d9663aaef38e8b637'] = 'Vous n\'avez rien à faire. Nous nous occupons de créer le compte avec les données de votre commande actuelle.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eeceac1af4e7620894d6d2083921bb73'] = 'Acheter maintenant';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Nous sommes désolés mais nous ne pouvons pas livrer à l’adresse sélectionnée, veuillez s’il vous plait en choisir une autre.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Nous sommes désolés mais nous ne pouvons pas livrer à l’adresse sélectionnée, veuillez s’il vous plait en choisir une autre.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_c9cc8cce247e49bae79f15173ce97354'] = 'Continuer';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_fa31ce6046882558f0637d428a96abeb'] = 'Créer un compte client.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_9a1ff3881b92951d9663aaef38e8b637'] = 'Vous n\'avez rien à faire. Nous nous occupons de créer le compte avec les données de votre commande actuelle.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_eeceac1af4e7620894d6d2083921bb73'] = 'Acheter maintenant';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_633dfeead551299f8224bc60eb5aaca9'] = 'Merci de vous être connecté avec Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_eafa313a0fc72443ff59653adb7fdebb'] = 'Cette adresse e-mail est déjà associée à un compte client dans notre boutique. Saisissez votre mot de passe pour le connecter à votre compte Amazon.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_dc647eb65e6711e155375218212b3964'] = 'Mot de passe';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_98980b642469e6353fda51e7c25ee66e'] = 'Connecter les comptes';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_599100c527155892f4359effc359a76b'] = 'Bien cordialement. Votre commande a bien été passée. Nous créons maintenant votre compte.';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_633dfeead551299f8224bc60eb5aaca9'] = 'Merci de vous être connecté avec Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_1d90cfb5cc90a32ee0146e7a9aec46b9'] = 'Vous allez être redirigé dans quelques secondes...';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_3e9e333adde6e70086bd29441c8c45eb'] = 'L\'adresse';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_a5058d1398eb35e54f561de54459aece'] = 'Sélectionnez l\'adresse';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_a0bfb8e59e6c13fc8d990781f77694fe'] = 'Continuer';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_daa6b483e9f6ca081ec7e0b4a352f9e9'] = 'Sauvegarder les modifications';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7d5fd5da702c79b9fcb4fa1b7c63ee7f'] = 'Merci d’utiliser Login avec Amazon sur votre site.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_50842b129a33396a62b7dc81a73a7c1a'] = 'Veuillez s’il vous plait sélectionner l’adresse pour la création de votre compte. Vous pourrez choisir une addresse de livraison différente lors de la commande.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Votre commande de ';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'est effective.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_fb4ea5a18e5f77bece3219a4171320a9'] = 'Vous avez choisi Amazon Pay comme moyen de paiement.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Votre commande sera bientôt expédiée';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Pour toute autre question merci de contacter notre ';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'service client.';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Votre commande de ';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_75fbf512d744977d62599cc3f0ae2bb4'] = 'est effective.';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_ed20689b0d8d53ec534166a88b67f259'] = 'Payez avec Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_8811becbf523354e20e2017242326f70'] = '(Paiement sécurisé et pratique avec votre compte Amazon)';
|
35
modules/amzpayments/translations/index.php
Executable file
35
modules/amzpayments/translations/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
207
modules/amzpayments/translations/it.php
Normal file
207
modules/amzpayments/translations/it.php
Normal file
@ -0,0 +1,207 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_81d1ad142418eddcae2bbc31b0d4d8ad'] = 'Ordine completato';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_f3861c4c3a4594ea61e265c2cb9b5c48'] = 'Elaborazione pagamento annullata';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_71a85ee870436f9064ac3528a4c86549'] = 'Aggiornamento completato!';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_bae97ddc25077860b31fda55d247d7da'] = 'Richiesta di autorizzazione avviata';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3e3e79eb84fdf0f80a6800d0721cca16'] = 'Creazione della richiesta di autorizzazione non riuscita';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_d6022e75cdbf4d4254dc72ed03259a13'] = 'Acquisizione completata';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_5b493645ee2b8bfa9b0aa235b5521295'] = 'Acquisizione non riuscita';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_da414780dda0664df1af13935e48c0c5'] = 'Richiesta di rimborso avviata';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3cc4859e502556d0d848c3bc38618782'] = 'Rimborso non riuscito';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c78d107708639ef5909123dbc2f2d3aa'] = 'Amazon Pay - Pagare con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_080e2a0b502a41599bdaa5978ee0ad36'] = 'Semplice integrazione di API di pagamento avanzato per il tuo Presta Shop';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_876f23178c29dc2552c0b48bf23cd9bd'] = 'Disinstallare il modulo?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d81002e59a1139fab6e1cd2753a09a90'] = 'È necessario configurare i dettagli delle API di pagamento avanzato Amazon Pay prima di poter usare il modulo.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2e280e445fcad71c3d066b11bdf20390'] = 'Nessuna valuta impostata per questo modulo di pagamento';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_0bcb2adf017d8a410bc09e1e57031893'] = 'Amazon Pay - Autorizzato';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_27a76c6a37e670b2a8464263fe4e098c'] = 'Amazon Pay - Pagamento ricevuto';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_06a314be1e151ad86638cc5214fd8fb9'] = ': details are required.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6d02107e6b345898e2e003d4e30dc282'] = 'Immissione \"Area geografica\" non consentita';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a42f87582faf7be0246795c6e62178e8'] = 'Chiave di accesso MWS errata.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4a6ec73d0115c9652ee6a29197899fa'] = 'Chiave segreta MWS errata.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ee011c3fd11b5dc4e3d8bd08b7747018'] = 'Numero venditore errato.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f4f70727dc34561dfde1a3c529b6205c'] = 'Impostazioni';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfddeac754c1b6067251ed1748e407d'] = 'Numero venditore Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_916853799b53ff1f63a94b61df6d966a'] = 'Chiave di accesso AWS';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_73eeac3fa1a0ce48f381ca1e6d71f077'] = 'Chiave segreta';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfe9d72a4aae8f06a31025b7536be80'] = 'ID cliente per Accedi e paga';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b24c9cbc8c7bd85744dcf6b8a933084f'] = 'Valori consentiti: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_960db2ed82202a9706b97775a4269378'] = 'Area geografica';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d3b8bd6da3943c1f83379a4a0a7ab918'] = 'Modalità Accedi e paga';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b988c537cc8b4e7d951196deb4defbb2'] = 'Paga';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ae6d9d2f0877d0571dc03ccd5ef407e8'] = 'Accedi';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ecd640fa2d15770cb1adee4075ad7afb'] = 'Accedi e paga';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9b8926c200109a9e2a829e4d5ce14ade'] = 'Mostra pulsanti in front-end';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Si';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b9f5c797ebbf55adccdd8539a65a0241'] = 'No';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8667cecb1de0a963f560deab1b02523d'] = 'Nascondere Componenti Accedi con Amazon in Frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e900e40bc91d3f9f7f0a99fed68a2e96'] = 'Modalità operativa';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_4245499695408b974322be6f01b0d17a'] = 'Modalità Test';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_cebd5bbe0ffdecc270a8a324e5a277dd'] = 'Modalità Live';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6ea96e7901e5d7d960ae3ab51a460dfe'] = 'Quando/come verrà autorizzato il pagamento?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_74dc5ba3b79de0d9c7b7a40826794a32'] = 'durante il checkout / prima di completare l\'ordine';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_517fb462c524717a2862e7f5a4f4b582'] = 'subito dopo l\'ordine';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_3c78b35502b2693fefdfc51cba3a53a5'] = 'manuale';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7dbe434224e885e859b7707fa3ebf141'] = 'Status für eingegangene Bestellung';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c92a02ec287f5151bea1493f769b8817'] = 'Stato ordine per pagamenti autorizzati';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_80d0c781220d833947e82a4bac83c66b'] = 'Quando/come verranno acquisiti i pagamenti?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_28c6194859e3104cfb02445b83efadc5'] = 'dopo la consegna';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_05033bc4d960e0f74efacd29dbfb91fd'] = 'subito dopo l\'autorizzazione';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f38911eda842056931cbcf497a2f8fe5'] = 'Stato ordine per acquisizione pagamento';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9d57203f843f48a4cbc5da56cd9eba9a'] = 'Stato ordine dopo acquisizione completata';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1a357f75f77b4eaa734c35cc15fa4ca7'] = 'Declined status';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da7bc25895336d39dfb2603378728d86'] = 'Provoca errori (solo Sandbox)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_63d098bd60c469852c135349eb50c6ad'] = 'Rifiuto definitivo';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_679b25385157e8e2f4053d5225baee9d'] = 'Rifiuto flessibile (2 min.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25f159eff77797ead5fbaf19eea4a7ae'] = 'Rifiuto di acquisizione';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8eff3617002e9a854b9704717f35f7aa'] = 'Accesso in finestra popup';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d64946b0089fa5361240915d80d1cea6'] = 'Escludi metodi di spedizione';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_199ef1b03dbd9cff69ccdfe33f467a8c'] = 'Escludi prodotti da Paga con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12c3d641b9e8ed280e818675cf288d6b'] = 'Consentire ordini da parte di ospiti?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b11e12b1d8e5da5a84cca3e46dfcbdf5'] = 'Dimensione del pulsante checkout Amazon (Modalità Accedi/Accedi e paga)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eb5c1399a871211c7e7ed732d15e3a8b'] = 'piccolo';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fea087517c26fadd409bd4b9dc642555'] = 'normale';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d861877da56b8b4ceb35c8cbfdf65bb4'] = 'grande';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_379b503ecd89a83cd772b12f32d99b86'] = 'molto grande';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_db48e2b1ac86cbdd7a6dc51a9003ab53'] = 'Colore del pulsante checkout Amazon (Modalità Accedi/Accedi e paga)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_090ce86a70f6c620da627abc6d01ac7a'] = 'Giallo Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1dbd090957fe65e292f767afebeefa39'] = 'Grigio chiaro';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_af5e5b6fe4efe9a2def4b733b165c632'] = 'Grigio scuro';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_31a2f49179703a2e9762d620044dde00'] = 'Colore del pulsante checkout Amazon (Modalità Accedi/Accedi e paga) sulla barra di navigazione';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da3d3cfa54113652c31233de9d533637'] = 'Tipo pulsante \"accedi\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25e29d9c17462795383c7c21c965ad99'] = 'Accedi con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99dea78007133396a7b8ed70578ac6ae'] = 'Accedi';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7075d3701c4e47035eb216cbda9a23ab'] = 'Solo una \"A\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c6fecb49a169bf3a95ab401ac835c0d2'] = 'Tipo pulsante \"paga\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed20689b0d8d53ec534166a88b67f259'] = 'Paga con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Paga';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4f8636404d488e3eb526c7fde0d31b8'] = 'Ricevi aggiornamenti di stato tramite IPN';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d202d47478c2e5fadb48a5114954e797'] = 'URL per IPN Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9bacd27a5ffedb81e1efc6454fa7f246'] = 'Usa cron job per gli aggiornamenti di stato';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5596b226abb08c30dd95c4a0073139f5'] = 'URL per cron job';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e238b685f634947eb0ed378e3196abf9'] = 'Password per cron job';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d1d51c8dcba4c98ea5cec6f56cf7413d'] = 'Notifica automaticamente i clienti quando i pagamenti vengono rifiutati';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2cfec4ef5bb5c2b81eded6ec7e82ccc'] = 'Acquista ora!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2fac096fc5c586bcfecb255c585a3ef1'] = 'Preseleziona creazione account al checkout';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6deb26d36a88344bcd7f71914a086055'] = 'Template Bootstrap';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c9cc8cce247e49bae79f15173ce97354'] = 'Save';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f8928b5290746aa6041f3caa35d3e182'] = 'Autorizzazione';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a240fa27925a635b08dc28c9e4f9216d'] = 'Ordine';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ab85d9edc966536822a98a25f7d8640a'] = 'Prelievo';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_76f0ed934de85cc7131910b32ede7714'] = 'Rimborso';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12e5e0597b2980f55f11e5d775aabf8c'] = 'Il tuo pagamento è stato rifiutato da Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dd9c5a48aa769b5db4e5fba108c39691'] = 'Il tuo pagamento è stato rifiutato da Amazon. Contattaci.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7de64f538bdd7057ea1bbf5b46572d67'] = 'Per favore completa i campi mancanti per salvare il tuo indirizzo';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5aa818b1473c50ce1b40bf66663182c6'] = 'Il metodo di pagamento selezionato non è al momento disponibile. Scegline un altro.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2af94a3e3857e4903cf97df11fd9440'] = 'Il metodo di pagamento selezionato è stato rifiutato. Scegli un metodo diverso.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7de64f538bdd7057ea1bbf5b46572d67'] = 'Per favore completa i campi mancanti per salvare il tuo indirizzo';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_56b55033f747893cf02a5797707ee383'] = 'I clienti Amazon diventano i tuoi, in modo semplice e rapido ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a7b8feea65558548dff1c84f2f8801ab'] = 'Ecco come funziona:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_5b1a8c5b0fd7e134325ee37f10abed53'] = 'Compila il nostro modulo di registrazione online e completa la configurazione dell\'account caricando i tuoi documenti di verifica in Seller Central.*';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd402661d1e485f7334d7dd1f34db51e'] = 'Iniza la registrazione';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a512eacd95cc1bb5ee5549eef1181202'] = 'La invitiamo ad attendere, riceverà un’email da parte di Amazon Pay non appena l’account sarà verificato.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_e8ec2d3bb93bbf9539427b479d6a9395'] = 'Utilizza la nostra Guida al marketing';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_25d90ac00ef07707b2bc9c1dc74b398c'] = 'per i venditori per diffondere la notizia e consentire ai clienti di effettuare acquisti sul tuo sito web.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_98e280401f0b14c5f12154fc67435600'] = 'Sehen Sie hier unseren Video-Leitfaden zur Integration mit PrestaShop:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6c92285fa6d3e827b198d120ea3ac674'] = 'qui';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_7e9587e34d0a3b64bccbca42d4a15fcb'] = 'Scarichi la nostra Guida per l’integrazione Amazon Pay ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_31f6f0676394c332a25f3222edacae03'] = 'Nota: La preghiamo di usare un indirizzo email che non sia mai stato associato a qualsiasi altro account Amazon.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_4aaf36784bf013f0c988481f592f6e07'] = 'Fidelizzazione dei client';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_33aa7ab3729e809c7003ccd4632271f2'] = 'Offri ai clienti un modo semplice per accedere al tuo sito.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_572d183dfdaa0b7389558413777e7f92'] = 'Mobile-friendly';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_49935b926bda4793f12d81645cca41c8'] = 'I nostri pulsanti e widget sono ottimizzati per l\'uso su desktop, tablet e dispositivi mobili.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_edff1403425f8630b693266cf7056ad3'] = 'Protezione contro le frodi';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6b3737610ac5241264fe4ee058127ac7'] = 'Il sofisticato sistema di protezione contro il rischio di frodi fornito da Amazon, senza alcun costo aggiuntivo, ti offre la massima tranquillità e sicurezza.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_f8e8d7166eb15b369812dcf7e257d38f'] = 'Chance: höhere Konversion, mehr Umsatz';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a730eca6c28e24224e888bbb17b87ba3'] = 'Amazon Pay kann Ihnen helfen, Umsätze mit Kunden zu erzielen, die aufgrund komplizierterer Anmelde- und Bezahloptionen sonst nicht bei Ihnen eingekauft hätten.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8459542c8c59ecb26529d4c5c6cd3a12'] = 'Reine Zahlungsabwicklung';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6376d38e4317cb552dd389c556d187b6'] = '„Login und Bezahlen mit Amazon“ bietet reine Zahlungsabwicklung. Als Händler übermitteln Sie nur den abzuwickelnden Betrag.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_83c84d4538db0c96ca8a3963855013fa'] = 'Quick configuration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_03e8d0ad408c42265ba4be4b1a6a25f2'] = 'Just use copy and paste to configure the module with your Amazon Pay credentials, directly out of the Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8cd70bf7f9cf76fd769889b7d4ab6220'] = 'Parse data';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a3d2f55e975a1c99e3b92242d16abe29'] = 'Info';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_ef446b2503b4c7fe2ee047d53809fdef'] = 'URL di restituzione consentiti - Inserisci questi URL nel tuo pannello di configurazione di Seller Central!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a86d4a390d4364577e9a45a5b3ee2a1a'] = 'Sorgenti JavaScript consentite - Inserisci questi URL nel tuo pannello di configurazione di Seller Central!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_174ca35d99905e2ceb512c6789b1bed7'] = '\'Puoi integrare il pulsante \"Accedi con Amazon\" in qualsiasi parte del modello. Usa il seguente codice HTML, ma assicurati di usare sempre un valore univoco per l\'attributo \"id\":';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_fa245a5c03e461251a588fade0fbd2bb'] = 'Version-Checker';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_9e6d5afc084382d3eb41d205b0653215'] = 'È in corso la verifica della disponibilità di nuove versioni del modulo';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_19d04b594594d21dacab32ccf4feb5b6'] = 'Versione in uso:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6579d7f0af067b0aae4c40ab1b0334c2'] = 'Nuova versione:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd8dd5f5ae81213cce452d234ab8d16b'] = 'Stai utilizzando la versione più aggiornata';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_06df33001c1d7187fdd81ea1f5b277aa'] = 'Azioni Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_5a23e3ba7a2dceee4399422463690019'] = 'Acquisisci pagamenti autorizzati';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2f40690858b404ed10e62bdf422c704'] = 'Importo';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_a76d4ef5f3f6a672bbfab2865563e530'] = 'Ora';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_20be7c12875a3a104057a2aa31c1952b'] = 'Numero transazione Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2844b8e17ecaaeae68d018fe9418af0'] = 'Data di scadenza';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_92570935b02b9e61e490bb5591dfba21'] = 'Acquisisci importo intero';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_55080bca308c255f5314b6df6174f2c5'] = 'Acquisisci importo parziale';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_44198125122162abc67ffeb11aeb8f3f'] = 'Autorizza pagamento';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_0c12b293263b97b1b2623b98fd7025a3'] = 'Importo non ancora autorizzato ';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_3b33cbd88240ecf21c5d98d9c508ca5c'] = 'Massimo consentito';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_497b836c9f23d8c521ff0e099050585a'] = 'Autorizza di più';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_53beb26d8bca00f56fbd295fdee83459'] = 'Rimborsi';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_cc61945cbbf46721a053467c395c666f'] = 'Rimborsato';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_754591b7de46a8e598df07d49e3147ef'] = 'Ancora possibile';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_ec53a8c4f07baed5d8825072c89799be'] = 'Stato';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_2e57a5e4cfc4babee6620ca92ef603ee'] = 'Ultima modifica';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_1b8858b68405caa612a275b1a808da38'] = 'Emetti rimborso completo';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_4107cda935fb202a071f9d5a7f060164'] = 'Emetti rimborso parziale';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_c1f55441110885bb936d34fe27eff263'] = 'Rimborsa di più';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_9e0b4b79d1941d6b8455f3a87105d817'] = 'Cronologia Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_384036f8b0067ec3bb710a92f8734b3b'] = 'Tipo di transazione';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2f40690858b404ed10e62bdf422c704'] = 'Importo';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a76d4ef5f3f6a672bbfab2865563e530'] = 'Ora';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_ec53a8c4f07baed5d8825072c89799be'] = 'Stato';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3c410dbe27b4132d9c3565e4dea0cdf'] = 'Ultima modifica';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_20be7c12875a3a104057a2aa31c1952b'] = 'Numero transazione Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2844b8e17ecaaeae68d018fe9418af0'] = 'Data di scadenza';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_06933067aafd48425d67bcb01bba5cb6'] = 'Aggiorna';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_d99d59366cc238d329d9fc8c7376d40b'] = 'Annulla ordine';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3523acaea68c5de7400bf22a46fc204'] = 'Chiudi ordine';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_64b7812939d36ea6ed92a5e3780d581e'] = 'Riepilogo Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_3da897917815714364886cd0764aa227'] = 'Importo autorizzato';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_f53c1ebef1d12dafe0e228236c393be7'] = 'Importo prelevato';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_9f8c310d4b0402a61723b22c34fbd31c'] = 'Importo rimborsato';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_7cb32e708d6b961d476baced73d362bb'] = 'Partita IVA';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_b60bb13a87fe3ae5463aeb0980a5a8a1'] = 'Codice fiscale';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_fe66abce284ec8589e7d791185b5c442'] = 'Telefono';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_41c2fff4867cc204120f001e7af20f7a'] = 'Cellulare';
|
||||
$_MODULE['<{amzpayments}prestashop>address_field_46a2a41cc6e552044816a2d04634545d'] = 'Regione';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fa31ce6046882558f0637d428a96abeb'] = 'Crea account cliente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a1ff3881b92951d9663aaef38e8b637'] = 'Non devi fare nulla. L\'account verrà creato con i dati del tuo ordine attuale.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eeceac1af4e7620894d6d2083921bb73'] = 'Acquista ora!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Siamo spiacenti, non possiamo spedire all’indirizzo selezionato. Selezionane uno differente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_ed2d210dda2538d57f8f3a455fbf54ef'] = 'Siamo spiacenti, non possiamo spedire all’indirizzo selezionato. Selezionane uno differente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_c9cc8cce247e49bae79f15173ce97354'] = 'Continua';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_fa31ce6046882558f0637d428a96abeb'] = 'Crea account cliente.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_9a1ff3881b92951d9663aaef38e8b637'] = 'Non devi fare nulla. L\'account verrà creato con i dati del tuo ordine attuale.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_eeceac1af4e7620894d6d2083921bb73'] = 'Acquista ora!';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_633dfeead551299f8224bc60eb5aaca9'] = 'Grazie per aver effettuato l\'accesso ad Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_eafa313a0fc72443ff59653adb7fdebb'] = 'Nel nostro negozio esiste già un account cliente con questo indirizzo e-mail. Inserisci la password per associarlo al tuo account Amazon.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_dc647eb65e6711e155375218212b3964'] = 'Password';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_98980b642469e6353fda51e7c25ee66e'] = 'Associa account';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_599100c527155892f4359effc359a76b'] = 'Grazie. Il tuo ordine è stato inviato. Ora verrà creato il tuo account.';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_633dfeead551299f8224bc60eb5aaca9'] = 'Grazie per aver effettuato l\'accesso ad Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_1d90cfb5cc90a32ee0146e7a9aec46b9'] = 'Verrai reindirizzato tra pochi secondi...';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_3e9e333adde6e70086bd29441c8c45eb'] = 'L\'indirizzo';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_a5058d1398eb35e54f561de54459aece'] = 'Seleziona indirizzo';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_a0bfb8e59e6c13fc8d990781f77694fe'] = 'Continua';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_daa6b483e9f6ca081ec7e0b4a352f9e9'] = 'Salva modifiche';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_7d5fd5da702c79b9fcb4fa1b7c63ee7f'] = 'Grazie per aver utilizzato Accedi con Amazon sul nostro sito.';
|
||||
$_MODULE['<{amzpayments}prestashop>select_address_50842b129a33396a62b7dc81a73a7c1a'] = 'Seleziona un indirizzo predefinito per la creazione del tuo account. Potrai poi scegliere un indirizzo di spedizione differente durante il checkout.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Il tuo ordine su';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'è completato.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_fb4ea5a18e5f77bece3219a4171320a9'] = 'Hai scelto Amazon Pay per il tuo pagamento.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Il tuo ordine verrà inviato a breve.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'Per ulteriori domande, contatta il nostro';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'servizio clienti.';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Il tuo ordine su ';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_75fbf512d744977d62599cc3f0ae2bb4'] = 'è completato.';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_ed20689b0d8d53ec534166a88b67f259'] = 'Paga con Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_8811becbf523354e20e2017242326f70'] = '(Pagamento pratico e sicuro con il tuo account Amazon)';
|
224
modules/amzpayments/translations/us.php
Normal file
224
modules/amzpayments/translations/us.php
Normal file
@ -0,0 +1,224 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_81d1ad142418eddcae2bbc31b0d4d8ad'] = 'Order completed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_f3861c4c3a4594ea61e265c2cb9b5c48'] = 'Payment process cancelled';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_71a85ee870436f9064ac3528a4c86549'] = 'Update is completed!';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_bae97ddc25077860b31fda55d247d7da'] = 'Authorisation request was started successfully';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3e3e79eb84fdf0f80a6800d0721cca16'] = 'Creation of the authorisation request has failed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_d6022e75cdbf4d4254dc72ed03259a13'] = 'Capture successful';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_5b493645ee2b8bfa9b0aa235b5521295'] = 'Capture failed';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_da414780dda0664df1af13935e48c0c5'] = 'Refund request was started successfully';
|
||||
$_MODULE['<{amzpayments}prestashop>ajax_3cc4859e502556d0d848c3bc38618782'] = 'Refund failed';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c78d107708639ef5909123dbc2f2d3aa'] = 'Amazon Pay - Login and Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_080e2a0b502a41599bdaa5978ee0ad36'] = 'Easy-to-use integration of Advanced Payment APIs for your Presta Shop';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_876f23178c29dc2552c0b48bf23cd9bd'] = 'Do you really want to uninstall the module?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d81002e59a1139fab6e1cd2753a09a90'] = 'Your Amazon Pay - Advanced Payment APIs details have to be configured before you can use the module!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2e280e445fcad71c3d066b11bdf20390'] = 'No currency has been set for this payment module';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_0bcb2adf017d8a410bc09e1e57031893'] = 'Amazon Pay - Authorized';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_27a76c6a37e670b2a8464263fe4e098c'] = 'Amazon Pay - Payment received';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_06a314be1e151ad86638cc5214fd8fb9'] = ': details are required.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6d02107e6b345898e2e003d4e30dc282'] = 'Not allowed input \"Region\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a42f87582faf7be0246795c6e62178e8'] = 'MWS Access Key is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4a6ec73d0115c9652ee6a29197899fa'] = 'MWS Secret Key is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ee011c3fd11b5dc4e3d8bd08b7747018'] = 'Merchant ID is wrong.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c888438d14855d7d96a2724ee9c306bd'] = 'Settings updated!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f4f70727dc34561dfde1a3c529b6205c'] = 'Settings';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfddeac754c1b6067251ed1748e407d'] = 'Amazon Merchant ID';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_916853799b53ff1f63a94b61df6d966a'] = 'AWS Access Key';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_73eeac3fa1a0ce48f381ca1e6d71f077'] = 'Secret Key';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2bfe9d72a4aae8f06a31025b7536be80'] = 'Client-ID for Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b24c9cbc8c7bd85744dcf6b8a933084f'] = 'Allowed values:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_960db2ed82202a9706b97775a4269378'] = 'Region';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d3b8bd6da3943c1f83379a4a0a7ab918'] = 'Mode Login/Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b988c537cc8b4e7d951196deb4defbb2'] = 'Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ae6d9d2f0877d0571dc03ccd5ef407e8'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ecd640fa2d15770cb1adee4075ad7afb'] = 'Login & Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9b8926c200109a9e2a829e4d5ce14ade'] = 'Show buttons in frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Enabled';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disabled';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8667cecb1de0a963f560deab1b02523d'] = 'Hide Login with Amazon Elements in Frontend';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e900e40bc91d3f9f7f0a99fed68a2e96'] = 'Operation mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_4245499695408b974322be6f01b0d17a'] = 'Test mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_cebd5bbe0ffdecc270a8a324e5a277dd'] = 'Live mode';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6ea96e7901e5d7d960ae3ab51a460dfe'] = 'When/How will the payment be authorized?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_74dc5ba3b79de0d9c7b7a40826794a32'] = 'during checkout / before completing the order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_517fb462c524717a2862e7f5a4f4b582'] = 'immediately after the order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_3c78b35502b2693fefdfc51cba3a53a5'] = 'manual';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7dbe434224e885e859b7707fa3ebf141'] = 'Order status for executed orders';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c92a02ec287f5151bea1493f769b8817'] = 'Order status for authorized payments';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_80d0c781220d833947e82a4bac83c66b'] = 'When/How will payments be capured?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_28c6194859e3104cfb02445b83efadc5'] = 'after delivery';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_05033bc4d960e0f74efacd29dbfb91fd'] = 'directly after the authorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f38911eda842056931cbcf497a2f8fe5'] = 'Order status to capture payment';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9d57203f843f48a4cbc5da56cd9eba9a'] = 'Order status after successful capture';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1a357f75f77b4eaa734c35cc15fa4ca7'] = 'Declined status';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da7bc25895336d39dfb2603378728d86'] = 'Provocate error (sandbox mode only!)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_63d098bd60c469852c135349eb50c6ad'] = 'Hard Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_679b25385157e8e2f4053d5225baee9d'] = 'Soft Decline (2min)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25f159eff77797ead5fbaf19eea4a7ae'] = 'Capture Decline';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_8eff3617002e9a854b9704717f35f7aa'] = 'Login in Popup-Window';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d64946b0089fa5361240915d80d1cea6'] = 'Exclude shipping methods';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_199ef1b03dbd9cff69ccdfe33f467a8c'] = 'Exclude products from Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12c3d641b9e8ed280e818675cf288d6b'] = 'Allow guest orders?';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a6393c36c052c03efe4a8c0f0fcc487'] = 'Size of the Amazon Checkout button';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fea087517c26fadd409bd4b9dc642555'] = 'normal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d861877da56b8b4ceb35c8cbfdf65bb4'] = 'big';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_379b503ecd89a83cd772b12f32d99b86'] = 'very big';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b11e12b1d8e5da5a84cca3e46dfcbdf5'] = 'Size of the Amazon-Checkout button (Login/Login&Pay-Mode)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eb5c1399a871211c7e7ed732d15e3a8b'] = 'small';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dfa76a928ca510e1bd3c837d78358489'] = 'Colour of the Amazon Checkout button';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_090ce86a70f6c620da627abc6d01ac7a'] = 'Amazon yellow';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_caf3a042a037c064b7513ed640c22f77'] = 'Grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_db48e2b1ac86cbdd7a6dc51a9003ab53'] = 'Colour of The Amazon-Checkout button (Login/Login&Pay-Mode)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_1dbd090957fe65e292f767afebeefa39'] = 'Light grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_af5e5b6fe4efe9a2def4b733b165c632'] = 'Dark grey';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_31a2f49179703a2e9762d620044dde00'] = 'Colour of The Amazon-Checkout button (Login/Login&Pay-Mode) in navigation-bar';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_da3d3cfa54113652c31233de9d533637'] = 'Button type \"login\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_25e29d9c17462795383c7c21c965ad99'] = 'Login with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99dea78007133396a7b8ed70578ac6ae'] = 'Login';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_7075d3701c4e47035eb216cbda9a23ab'] = 'Just an \"A\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c6fecb49a169bf3a95ab401ac835c0d2'] = 'Button type \"pay\"';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ed20689b0d8d53ec534166a88b67f259'] = 'Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_b4f8636404d488e3eb526c7fde0d31b8'] = 'Receive status updates via IPN';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d202d47478c2e5fadb48a5114954e797'] = 'Use this URL for IPN: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9bacd27a5ffedb81e1efc6454fa7f246'] = 'Use cron job for status updates';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5596b226abb08c30dd95c4a0073139f5'] = 'Use this URL for your cronjob: ';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_e238b685f634947eb0ed378e3196abf9'] = 'Password for cronjob';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_d1d51c8dcba4c98ea5cec6f56cf7413d'] = 'Automatically notify customers when payments are rejected';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2cfec4ef5bb5c2b81eded6ec7e82ccc'] = 'Preselect account creation in checkout';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_2fac096fc5c586bcfecb255c585a3ef1'] = 'Force account creation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_6deb26d36a88344bcd7f71914a086055'] = 'Template Bootstrap';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_c9cc8cce247e49bae79f15173ce97354'] = 'Save';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_f8928b5290746aa6041f3caa35d3e182'] = 'Authorisation';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a240fa27925a635b08dc28c9e4f9216d'] = 'Order';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_ab85d9edc966536822a98a25f7d8640a'] = 'Withdrawal';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_76f0ed934de85cc7131910b32ede7714'] = 'Refund';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_12e5e0597b2980f55f11e5d775aabf8c'] = 'Your payment was rejected by Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_dd9c5a48aa769b5db4e5fba108c39691'] = 'Your payment was rejected by Amazon - please contact us';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_5aa818b1473c50ce1b40bf66663182c6'] = 'Your selected payment method is currently not available. Please select another one.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_a2af94a3e3857e4903cf97df11fd9440'] = 'Your selected payment method was rejected. Please choose an alternative method.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_56b55033f747893cf02a5797707ee383'] = 'Make Amazon customers your customers';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a7b8feea65558548dff1c84f2f8801ab'] = 'That\'s how it works:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_5b1a8c5b0fd7e134325ee37f10abed53'] = 'Register for Amazon Pay and complete your account setup by upload your verification documents on Seller Central.*';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd402661d1e485f7334d7dd1f34db51e'] = 'Start Registration Now';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a512eacd95cc1bb5ee5549eef1181202'] = 'Wait for an email of Amazon Pay that will inform you about successful account verification.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_e8ec2d3bb93bbf9539427b479d6a9395'] = 'Let your customers know';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_25d90ac00ef07707b2bc9c1dc74b398c'] = 'that they now can use Amazon Pay on your website.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_98e280401f0b14c5f12154fc67435600'] = 'See our video-guide about the integration with PrestaShop:';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_7e9587e34d0a3b64bccbca42d4a15fcb'] = 'Download the Amazon Pay Integration Guide';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6c92285fa6d3e827b198d120ea3ac674'] = 'here';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_31f6f0676394c332a25f3222edacae03'] = 'Note: Please use an email address you didn\'t use for any Amazon account yet.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_4aaf36784bf013f0c988481f592f6e07'] = 'Customer Loyalty';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_33aa7ab3729e809c7003ccd4632271f2'] = 'Offer an easy way for customers to login on your site.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_572d183dfdaa0b7389558413777e7f92'] = 'Mobile-Friendly';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_49935b926bda4793f12d81645cca41c8'] = 'Buttons and widgets are optimized across desktop, tablet and mobile.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_edff1403425f8630b693266cf7056ad3'] = 'Fraud Protection';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6b3737610ac5241264fe4ee058127ac7'] = 'You are covered by Amazon\'s fraud protection, provided at no additional cost.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_f8e8d7166eb15b369812dcf7e257d38f'] = 'Higher conversion, higher revenues';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a730eca6c28e24224e888bbb17b87ba3'] = 'It can help you capture sales you might otherwise miss. Additionally, you benefit from the Amazon Pay fraud protection.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8459542c8c59ecb26529d4c5c6cd3a12'] = 'True payment processing';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6376d38e4317cb552dd389c556d187b6'] = '\"Pay with Amazon\" offers true payment processing. As a merchant, you will only forward the transaction amount.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_83c84d4538db0c96ca8a3963855013fa'] = 'Quick configuration';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_03e8d0ad408c42265ba4be4b1a6a25f2'] = 'Just use copy and paste to configure the module with your Amazon Pay credentials, directly out of the Seller Central.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_8cd70bf7f9cf76fd769889b7d4ab6220'] = 'Parse data';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a3d2f55e975a1c99e3b92242d16abe29'] = 'URL and Configuration Infos';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_ef446b2503b4c7fe2ee047d53809fdef'] = 'Allowed Return URLs - Enter these URLs in your Amazon SellerCentral Configuration-Panel!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_a86d4a390d4364577e9a45a5b3ee2a1a'] = 'Allowed JavaScript Origins - Enter these URLs in your Amazon SellerCentral Configuration-Panel!';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_174ca35d99905e2ceb512c6789b1bed7'] = 'You can integrate the \"Login with Amazon\"-Button at any part of your template. Just use the following HTML-Code, but be aware to always (!) use a unique value for the attribute \"id\":';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_fa245a5c03e461251a588fade0fbd2bb'] = 'Version-Checker';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_9e6d5afc084382d3eb41d205b0653215'] = 'We check if there is a new version of the plugin available.';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_19d04b594594d21dacab32ccf4feb5b6'] = 'Your version: ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_6579d7f0af067b0aae4c40ab1b0334c2'] = 'There is a new version available: ';
|
||||
$_MODULE['<{amzpayments}prestashop>configuration_dd8dd5f5ae81213cce452d234ab8d16b'] = 'Everything is fine - you are using the latest version';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_5a23e3ba7a2dceee4399422463690019'] = 'Capture authorized payments';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2f40690858b404ed10e62bdf422c704'] = 'Amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_a76d4ef5f3f6a672bbfab2865563e530'] = 'Time';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon transaction ID';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valid until';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_92570935b02b9e61e490bb5591dfba21'] = 'Capture full amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_55080bca308c255f5314b6df6174f2c5'] = 'Capture partial amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_44198125122162abc67ffeb11aeb8f3f'] = 'Authorize payment';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_0c12b293263b97b1b2623b98fd7025a3'] = 'Amount not yet authorized';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_3b33cbd88240ecf21c5d98d9c508ca5c'] = 'Maximum possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_497b836c9f23d8c521ff0e099050585a'] = 'Authorize more';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_53beb26d8bca00f56fbd295fdee83459'] = 'Refunds';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_cc61945cbbf46721a053467c395c666f'] = 'Refunded';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_754591b7de46a8e598df07d49e3147ef'] = 'Still possible';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_2e57a5e4cfc4babee6620ca92ef603ee'] = 'Last change';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_1b8858b68405caa612a275b1a808da38'] = 'Issue complete refund';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_4107cda935fb202a071f9d5a7f060164'] = 'Issue partial refund';
|
||||
$_MODULE['<{amzpayments}prestashop>order_actions_c1f55441110885bb936d34fe27eff263'] = 'Refund more';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_9e0b4b79d1941d6b8455f3a87105d817'] = 'Amazon Pay history';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_384036f8b0067ec3bb710a92f8734b3b'] = 'Transaction type';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2f40690858b404ed10e62bdf422c704'] = 'Amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a76d4ef5f3f6a672bbfab2865563e530'] = 'Time';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_ec53a8c4f07baed5d8825072c89799be'] = 'Status';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3c410dbe27b4132d9c3565e4dea0cdf'] = 'Last Change';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_20be7c12875a3a104057a2aa31c1952b'] = 'Amazon transaction ID';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_b2844b8e17ecaaeae68d018fe9418af0'] = 'Valid until';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_06933067aafd48425d67bcb01bba5cb6'] = 'Update';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_d99d59366cc238d329d9fc8c7376d40b'] = 'Cancel order';
|
||||
$_MODULE['<{amzpayments}prestashop>order_history_a3523acaea68c5de7400bf22a46fc204'] = 'Close order';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_64b7812939d36ea6ed92a5e3780d581e'] = 'Amazon Summary';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_3da897917815714364886cd0764aa227'] = 'Authorized amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_f53c1ebef1d12dafe0e228236c393be7'] = 'Withdrawn amount';
|
||||
$_MODULE['<{amzpayments}prestashop>order_summary_9f8c310d4b0402a61723b22c34fbd31c'] = 'Refunded amount';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_fa31ce6046882558f0637d428a96abeb'] = 'Create customer account.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_9a1ff3881b92951d9663aaef38e8b637'] = 'You don\'t need to do anything. We create the account with the data of your current order.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_eeceac1af4e7620894d6d2083921bb73'] = 'Buy now!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_fa31ce6046882558f0637d428a96abeb'] = 'Create customer account.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_9a1ff3881b92951d9663aaef38e8b637'] = 'You don\'t need to do anything. We create the account with the data of your current order.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_bs_eeceac1af4e7620894d6d2083921bb73'] = 'Buy now!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_deb10517653c255364175796ace3553f'] = 'Product';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_9ff9c46512c186ebae182519a55dc6a9'] = 'Avail.';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_6c957f72dc8cdacc75762f2cbdcdfaf2'] = 'Unit price';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_03ab340b3f99e03cff9e84314ead38c0'] = 'Qty';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_96b0141273eabab320119c467cdcaf17'] = 'Total';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_2370a4958c4ebe6d6c8045cd49a6b392'] = 'Total products (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_db205f01b4fd580fb5daa9072d96849d'] = 'Total products';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ebaee01719541f61281c16ba22ebbfde'] = 'Total products (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_5cfa28d1182c6bd5bbd1af0bd459efbe'] = 'Total gift wrapping (tax excl.):';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_31f52379817244bb67196c880749cfd8'] = 'Total gift wrapping cost:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_59816dd41a0dab043184d5ab19e2edaf'] = 'Total gift wrapping (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_66f51e43606e2baebb8e9c3bfe965da4'] = 'Shipping:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ecba3578d8cd65126d4a47c76b3c9c2d'] = 'Free Shipping!';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f246a17c095de09e043cc1cb917481da'] = 'Total shipping (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f4e8b53a114e5a17d051ab84d326cae5'] = 'Total shipping';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_e93f43fa527c3534aeca987091d6c049'] = 'Total shipping (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_9816a5054cd05761b6765fbef0062b29'] = 'Total vouchers (tax excl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ada0f55ef37f4928c5cd970f378c15e8'] = 'Total vouchers';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_19809527da8b7308e45e2dc6ac40cca9'] = 'Total vouchers (tax incl.)';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_598a4c4d56197cc1f6bca50b20aa484a'] = 'Total tax:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_a82868319826fb092b73968e661b5b38'] = 'Vouchers';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_444bcb3a3fcf8389296c49467f27e1d6'] = 'ok';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f7b96335c6a33477579e43f3da368507'] = 'Take advantage of our offers:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1ac6ee29e9e68fb71bad91c1d34348cc'] = '%s:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1021f02536dc46ab3b07c269949e4de7'] = 'Text #%s:';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_f2a6c498fb90ee345d997f888fce3b18'] = 'Delete';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_c8cd21bd2e33378f10611bc4498cf96f'] = 'Delete this customization';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_ec211f7c20af43e742bf2570c3cb84f9'] = 'Add';
|
||||
$_MODULE['<{amzpayments}prestashop>amzpayments_orderdetails_summary_1d9baf077ee87921f57a8fe42d510b65'] = 'Subtract';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_633dfeead551299f8224bc60eb5aaca9'] = 'Thank you for your login with Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_eafa313a0fc72443ff59653adb7fdebb'] = 'There is already a customer account with this e-mail-address in our shop. Please enter your password to connect it with your Amazon-account.';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_dc647eb65e6711e155375218212b3964'] = 'Password';
|
||||
$_MODULE['<{amzpayments}prestashop>connect_accounts_98980b642469e6353fda51e7c25ee66e'] = 'Connect accounts';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_599100c527155892f4359effc359a76b'] = 'Thank you. Your order has been successful. We now create your account.';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_633dfeead551299f8224bc60eb5aaca9'] = 'Thank you for your login with Amazon Pay';
|
||||
$_MODULE['<{amzpayments}prestashop>process_login_1d90cfb5cc90a32ee0146e7a9aec46b9'] = 'You will be redirected in a few seconds...';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Your order at ';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_75fbf512d744977d62599cc3f0ae2bb4'] = 'is complete.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_fb4ea5a18e5f77bece3219a4171320a9'] = 'You have chosen Amazon Pay for your payment.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_e6dc7945b557a1cd949bea92dd58963e'] = 'Your order will be dispatched shortly.';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_0db71da7150c27142eef9d22b843b4a9'] = 'For further questions, please contact our';
|
||||
$_MODULE['<{amzpayments}prestashop>confirmation_64430ad2835be8ad60c59e7d44e4b0b1'] = 'customer-support.';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Your order at ';
|
||||
$_MODULE['<{amzpayments}prestashop>displaytopcolumn_75fbf512d744977d62599cc3f0ae2bb4'] = 'is complete.';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_ed20689b0d8d53ec534166a88b67f259'] = 'Pay with Amazon';
|
||||
$_MODULE['<{amzpayments}prestashop>payment_8811becbf523354e20e2017242326f70'] = '(Comfortable and save payment with your amazon-account)';
|
35
modules/amzpayments/upgrade/index.php
Executable file
35
modules/amzpayments/upgrade/index.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
59
modules/amzpayments/upgrade/upgrade-2.0.14.php
Normal file
59
modules/amzpayments/upgrade/upgrade-2.0.14.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_14($module)
|
||||
{
|
||||
Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `' . _DB_PREFIX_ . 'amz_orders` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id_order` int(11) NOT NULL,
|
||||
`amazon_auth_reference_id` varchar(255) NOT NULL,
|
||||
`amazon_authorization_id` varchar(255) NOT NULL,
|
||||
`amazon_order_reference_id` varchar(255) NOT NULL,
|
||||
`amazon_capture_id` varchar(255) NOT NULL,
|
||||
`amazon_capture_reference_id` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
||||
');
|
||||
|
||||
Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `' . _DB_PREFIX_ . 'amz_address` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id_address` int(11) NOT NULL,
|
||||
`amazon_order_reference_id` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
||||
');
|
||||
|
||||
Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `' . _DB_PREFIX_ . 'amz_customer` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`id_customer` int(11) NOT NULL,
|
||||
`amazon_customer_id` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
||||
');
|
||||
return true;
|
||||
}
|
32
modules/amzpayments/upgrade/upgrade-2.0.15.php
Normal file
32
modules/amzpayments/upgrade/upgrade-2.0.15.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_15($module)
|
||||
{
|
||||
$old_value = Configuration::get('CLIENT_ID');
|
||||
Configuration::updateValue('AMZ_CLIENT_ID', $old_value);
|
||||
Configuration::deleteByName('CLIENT_ID');
|
||||
return true;
|
||||
}
|
32
modules/amzpayments/upgrade/upgrade-2.0.16.php
Normal file
32
modules/amzpayments/upgrade/upgrade-2.0.16.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_16($module)
|
||||
{
|
||||
$old_value = Configuration::get('MERCHANT_ID');
|
||||
Configuration::updateValue('AMZ_MERCHANT_ID', $old_value);
|
||||
Configuration::deleteByName('MERCHANT_ID');
|
||||
return true;
|
||||
}
|
36
modules/amzpayments/upgrade/upgrade-2.0.19.php
Normal file
36
modules/amzpayments/upgrade/upgrade-2.0.19.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_19($module)
|
||||
{
|
||||
$config_keys = array('BUTTON_VISIBILITY', 'POPUP', 'ALLOW_GUEST', 'IPN_STATUS', 'CRON_STATUS', 'SEND_MAILS_ON_DECLINE', 'PRESELECT_CREATE_ACCOUNT', 'FORCE_ACCOUNT_CREATION');
|
||||
foreach ($config_keys as $config_key) {
|
||||
$old_value = Configuration::get($config_key);
|
||||
if ($old_value == '') {
|
||||
Configuration::updateValue($config_key, '0');
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
30
modules/amzpayments/upgrade/upgrade-2.0.20.php
Normal file
30
modules/amzpayments/upgrade/upgrade-2.0.20.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_20($module)
|
||||
{
|
||||
Configuration::updateValue('TEMPLATE_VARIANT_BS', '0');
|
||||
return true;
|
||||
}
|
30
modules/amzpayments/upgrade/upgrade-2.0.23.php
Normal file
30
modules/amzpayments/upgrade/upgrade-2.0.23.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_23($module)
|
||||
{
|
||||
$module->registerHook('displayBackOfficeHeader');
|
||||
return true;
|
||||
}
|
30
modules/amzpayments/upgrade/upgrade-2.0.43.php
Normal file
30
modules/amzpayments/upgrade/upgrade-2.0.43.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_43($module)
|
||||
{
|
||||
$module->registerHook('displayTopColumn');
|
||||
return true;
|
||||
}
|
30
modules/amzpayments/upgrade/upgrade-2.0.58.php
Normal file
30
modules/amzpayments/upgrade/upgrade-2.0.58.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_58($module)
|
||||
{
|
||||
Configuration::updateValue('AMZ_HIDE_LOGIN_BTNS', '0');
|
||||
return true;
|
||||
}
|
32
modules/amzpayments/upgrade/upgrade-2.0.59.php
Normal file
32
modules/amzpayments/upgrade/upgrade-2.0.59.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* 2013-2017 Amazon Advanced Payment APIs Modul
|
||||
*
|
||||
* for Support please visit www.patworx.de
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* @author patworx multimedia GmbH <service@patworx.de>
|
||||
* @copyright 2013-2017 patworx multimedia GmbH
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_2_0_59($module)
|
||||
{
|
||||
Db::getInstance()->execute('
|
||||
ALTER TABLE `' . _DB_PREFIX_ . 'amz_address` ADD `amazon_hash` VARCHAR(255) NOT NULL AFTER `amazon_order_reference_id`;
|
||||
');
|
||||
return true;
|
||||
}
|
28
modules/amzpayments/vendor/OffAmazonPayments/.autoloader.php
vendored
Normal file
28
modules/amzpayments/vendor/OffAmazonPayments/.autoloader.php
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
|
||||
/************************************************************************
|
||||
* OPTIONAL ON SOME INSTALLATIONS
|
||||
*
|
||||
* Autoload function is reponsible for loading classes of the library on demand
|
||||
*
|
||||
* NOTE: Only one __autoload function is allowed by PHP per each PHP installation,
|
||||
* and this function may need to be replaced with individual require_once statements
|
||||
* in case where other framework that define an __autoload already loaded.
|
||||
*
|
||||
* However, since this library follow common naming convention for PHP classes it
|
||||
* may be possible to simply re-use an autoload mechanism defined by other frameworks
|
||||
* (provided library is installed in the PHP include path), and so classes may just
|
||||
* be loaded even when this function is removed
|
||||
***********************************************************************/
|
||||
function __autoload($className){
|
||||
$filePath = str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
|
||||
$includePaths = explode(PATH_SEPARATOR, get_include_path());
|
||||
foreach($includePaths as $includePath){
|
||||
if(file_exists($includePath . DIRECTORY_SEPARATOR . $filePath)){
|
||||
require_once $filePath;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
27
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/HttpException.php
vendored
Normal file
27
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/HttpException.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
/**
|
||||
* Exception thrown when an error is encountered with
|
||||
* the curl http library
|
||||
*
|
||||
*/
|
||||
class OffAmazonPayments_HttpException
|
||||
extends Exception
|
||||
{
|
||||
}
|
||||
?>
|
31
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/IHttpRequest.php
vendored
Normal file
31
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/IHttpRequest.php
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
interface IHttpRequest {
|
||||
|
||||
/**
|
||||
* Create a http get request for the resource
|
||||
* at the given uri
|
||||
*
|
||||
* @param execute the underlying http request
|
||||
*
|
||||
* @return response header + body
|
||||
*/
|
||||
public function execute();
|
||||
};
|
||||
|
||||
?>
|
41
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/IHttpRequestFactory.php
vendored
Normal file
41
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/IHttpRequestFactory.php
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
interface IHttpRequestFactory {
|
||||
|
||||
/**
|
||||
* Create a http get request for the resource
|
||||
* at the given uri
|
||||
*
|
||||
* @param url uniform resource locator to get
|
||||
*
|
||||
* @return IHttpRequest object
|
||||
*/
|
||||
public function createGetRequest($url);
|
||||
|
||||
/**
|
||||
* Create a http post request using to given
|
||||
* given uri & body content
|
||||
*
|
||||
* @param url uniform resource locator to post
|
||||
*
|
||||
* @return IHttpRequest object
|
||||
*/
|
||||
public function createPostRequest($url, $body);
|
||||
};
|
||||
|
||||
?>
|
162
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/Impl/HttpRequestCurlImpl.php
vendored
Normal file
162
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/Impl/HttpRequestCurlImpl.php
vendored
Normal file
@ -0,0 +1,162 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPayments/HttpRequest/HttpException.php';
|
||||
require_once 'OffAmazonPayments/HttpRequest/IHttpRequest.php';
|
||||
|
||||
class HttpRequestCurlImpl implements IHttpRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* Reference to the underlying curl handle
|
||||
*/
|
||||
private $_ch = null;
|
||||
|
||||
/*
|
||||
* Default headers for curl requests
|
||||
*/
|
||||
private $_headers = array(
|
||||
'Expect' => null // Don't expect 100 Continue
|
||||
);
|
||||
|
||||
/**
|
||||
* Create a new instane of the class + underlying curl handle
|
||||
*
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->_ch = curl_init();
|
||||
curl_setopt($this->_ch, CURLOPT_SSL_VERIFYPEER, true);
|
||||
curl_setopt($this->_ch, CURLOPT_SSL_VERIFYHOST, 2);
|
||||
curl_setopt($this->_ch, CURLOPT_HEADER, true);
|
||||
curl_setopt($this->_ch, CURLOPT_RETURNTRANSFER, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the url for the curl handle
|
||||
*
|
||||
* @param url resource to request
|
||||
*/
|
||||
public function setUrl($url) {
|
||||
curl_setopt($this->_ch, CURLOPT_URL, $url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the port for the curl handle
|
||||
*
|
||||
* @param port to use
|
||||
*/
|
||||
public function setPort($port) {
|
||||
curl_setopt($this->_ch, CURLOPT_PORT, $port);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the useragent for the curl handle
|
||||
*
|
||||
* @param userAgent for request
|
||||
*/
|
||||
public function setUserAgent($userAgent) {
|
||||
curl_setopt($this->_ch, CURLOPT_USERAGENT, $userAgent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Make this request a post request with the given body
|
||||
*
|
||||
* @param body http POST request body
|
||||
*/
|
||||
public function makePost($body) {
|
||||
curl_setopt($this->_ch, CURLOPT_POST, true);
|
||||
curl_setopt($this->_ch, CURLOPT_POSTFIELDS, $body);
|
||||
|
||||
array_push($this->_headers, 'Content-Type', "application/x-www-form-urlencoded; charset=utf-8");
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the ca bundle file
|
||||
*
|
||||
* @param caBundleFile file containing trusted ca certs
|
||||
*/
|
||||
public function setCaBundleFile($caBundleFile)
|
||||
{
|
||||
curl_setopt($this->_ch, CURLOPT_CAINFO, $caBundleFile);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the proxy hostname and port
|
||||
*
|
||||
* @param hostnameport username and password in <hostname>:<port> format
|
||||
*
|
||||
*/
|
||||
public function setupProxy($hostnameport)
|
||||
{
|
||||
curl_setopt($this->_ch, CURLOPT_PROXY, $hostnameport);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the proxy username and password
|
||||
*
|
||||
* @param usernamepwd username and password in <username>:<password> format
|
||||
*
|
||||
*/
|
||||
public function setupProxyUsernameAndPassword($usernamepwd)
|
||||
{
|
||||
curl_setopt($this->_ch, CURLOPT_PROXYUSERPWD, $usernamepwd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a http get request for the resource
|
||||
* at the given uri
|
||||
*
|
||||
* @param execute the underlying http request
|
||||
*
|
||||
* @return response header + body
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
$this->setRequestHeaders();
|
||||
$response = '';
|
||||
if (!$response = curl_exec($this->_ch)) {
|
||||
$errorNo = curl_error($this->_ch);
|
||||
curl_close($this->_ch);
|
||||
throw new OffAmazonPayments_HttpException($errorNo);
|
||||
}
|
||||
|
||||
curl_close($this->_ch);
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup request header information
|
||||
*
|
||||
*/
|
||||
private function setRequestHeaders()
|
||||
{
|
||||
$allHeadersStr = array();
|
||||
foreach($this->_headers as $name => $val) {
|
||||
$str = $name . ": ";
|
||||
if(isset($val)) {
|
||||
$str = $str . $val;
|
||||
}
|
||||
$allHeadersStr[] = $str;
|
||||
}
|
||||
|
||||
curl_setopt($this->_ch, CURLOPT_HTTPHEADER, $allHeadersStr);
|
||||
}
|
||||
};
|
||||
|
||||
?>
|
166
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/Impl/HttpRequestFactoryCurlImpl.php
vendored
Normal file
166
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/Impl/HttpRequestFactoryCurlImpl.php
vendored
Normal file
@ -0,0 +1,166 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPayments/HttpRequest/IHttpRequestFactory.php';
|
||||
require_once 'OffAmazonPayments/HttpRequest/Impl/HttpRequestCurlImpl.php';
|
||||
require_once 'OffAmazonPayments/OffAmazonPaymentsServiceUtils.php';
|
||||
require_once 'OffAmazonPaymentsService/MerchantValues.php';
|
||||
|
||||
/**
|
||||
* Wrapper to simplify curl functions for http get/set
|
||||
*
|
||||
*/
|
||||
class HttpRequestFactoryCurlImpl implements IHttpRequestFactory
|
||||
{
|
||||
|
||||
/**
|
||||
* Merchant values configuration instance
|
||||
*
|
||||
*/
|
||||
private $_merchantValues = null;
|
||||
|
||||
|
||||
/**
|
||||
* Create an instance of the client class
|
||||
*
|
||||
* @param instance of OffAmazonPayments_MerchantValues class
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($merchantValues) {
|
||||
|
||||
if(!isset($merchantValues)) {
|
||||
throw new InvalidArgumentException("merchantValue object not injected");
|
||||
}
|
||||
|
||||
$this->_merchantValues = $merchantValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a http get request for the resource
|
||||
* at the given uri
|
||||
*
|
||||
* @param url uniform resource locator to get
|
||||
*
|
||||
* @return HttpRequest object
|
||||
*/
|
||||
public function createGetRequest($url)
|
||||
{
|
||||
return $this->createNewRequest($url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a http post request using to given
|
||||
* given uri & body content
|
||||
*
|
||||
* @param url uniform resource locator to post
|
||||
*
|
||||
* @return HttpRequest object
|
||||
*/
|
||||
public function createPostRequest($url, $body)
|
||||
{
|
||||
$httpRequest = $this->createNewRequest($url);
|
||||
$httpRequest->makePost($body);
|
||||
|
||||
return $httpRequest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new curl handle and set up with default
|
||||
* options for all requests
|
||||
*
|
||||
* @param url resource to request
|
||||
*
|
||||
* @return curl handle
|
||||
*/
|
||||
private function createNewRequest($url)
|
||||
{
|
||||
$httpRequest = new HttpRequestCurlImpl();
|
||||
|
||||
$parsedUrl = $this->_setupConnectionInfo($url);
|
||||
|
||||
$httpRequest->setUrl($parsedUrl['url']);
|
||||
$httpRequest->setPort($parsedUrl['port']);
|
||||
$httpRequest->setUserAgent($this->_merchantValues->getUserAgentString());
|
||||
|
||||
# if a ca bundle is configured, use it as opposed to the default ca
|
||||
# configured for the server
|
||||
if ($this->_merchantValues->isCaBundleConfigured()) {
|
||||
$httpRequest->setCaBundleFile($this->_merchantValues->getCaBundleFile());
|
||||
}
|
||||
|
||||
if ($this->_merchantValues->isProxyConfigured()) {
|
||||
$this->setupProxyForCurl($httpRequest);
|
||||
}
|
||||
|
||||
return $httpRequest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the connection parameters for the request
|
||||
*
|
||||
* @param url resource to request
|
||||
*
|
||||
*/
|
||||
private function _setupConnectionInfo($url)
|
||||
{
|
||||
$parsed_url = parse_url($url);
|
||||
|
||||
$uri = array_key_exists('path', $parsed_url) ? $parsed_url['path'] : null;
|
||||
if (!isset($uri)) {
|
||||
$uri = "/";
|
||||
}
|
||||
|
||||
$scheme = '';
|
||||
|
||||
switch ($parsed_url['scheme']) {
|
||||
case 'https':
|
||||
$scheme = 'https://';
|
||||
$port = array_key_exists('port', $parsed_url) && (isset($parsed_url['port'])) ? $parsed_url['port'] : 443;
|
||||
break;
|
||||
default:
|
||||
$scheme = 'http://';
|
||||
$port = array_key_exists('port', $parsed_url) && (isset($parsed_url['port'])) ? $parsed_url['port'] : 80;
|
||||
}
|
||||
|
||||
$retVal = array(
|
||||
'port' => $port,
|
||||
'url' => $scheme . $parsed_url['host'] . $uri
|
||||
);
|
||||
|
||||
return $retVal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup proxy options for curl handle
|
||||
*
|
||||
* @param httpRequest httpRequestObject
|
||||
*
|
||||
*/
|
||||
private function setupProxyForCurl($httpRequest)
|
||||
{
|
||||
$proxy = $this->_merchantValues->getProxyHost() . ':' . $this->_merchantValues->getProxyPort();
|
||||
$httpRequest->setupProxy($proxy);
|
||||
|
||||
if ($this->_merchantValues->isProxyAuthenticationConfigured()) {
|
||||
$proxyUserPwd = $this->_merchantValues->getProxyUsername() . ':' . $this->_merchantValues->getProxyPassword();
|
||||
$httpRequest->setupProxyUsernameAndPassword($proxyUserPwd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
35
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/Impl/index.php
vendored
Executable file
35
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/Impl/index.php
vendored
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
35
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/index.php
vendored
Executable file
35
modules/amzpayments/vendor/OffAmazonPayments/HttpRequest/index.php
vendored
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
371
modules/amzpayments/vendor/OffAmazonPayments/Model.php
vendored
Normal file
371
modules/amzpayments/vendor/OffAmazonPayments/Model.php
vendored
Normal file
@ -0,0 +1,371 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* OffAmazonPayments_Model - base class for all model classes
|
||||
*/
|
||||
abstract class OffAmazonPayments_Model
|
||||
{
|
||||
|
||||
/**
|
||||
* Defined fields for the model
|
||||
* object
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fields = array ();
|
||||
|
||||
/**
|
||||
* Construct new model class
|
||||
*
|
||||
* @param mixed $data - DOMElement or Associative Array to construct from.
|
||||
*/
|
||||
public function __construct($data = null)
|
||||
{
|
||||
if (!is_null($data)) {
|
||||
if ($this->_isAssociativeArray($data)) {
|
||||
$this->_fromAssociativeArray($data);
|
||||
} elseif ($this->_isDOMElement($data)) {
|
||||
$this->_fromDOMElement($data);
|
||||
} else {
|
||||
throw new Exception(
|
||||
"Unable to construct from provided data." .
|
||||
"Please be sure to pass associative array or DOMElement"
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Support for virtual properties getters.
|
||||
*
|
||||
* Virtual property call example:
|
||||
*
|
||||
* $action->Property
|
||||
*
|
||||
* Direct getter(preferred):
|
||||
*
|
||||
* $action->getProperty()
|
||||
*
|
||||
* @param string $propertyName name of the property
|
||||
*
|
||||
* @return value of the property
|
||||
*/
|
||||
public function __get($propertyName)
|
||||
{
|
||||
$getter = "get$propertyName";
|
||||
return $this->$getter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Support for virtual properties setters.
|
||||
*
|
||||
* Virtual property call example:
|
||||
*
|
||||
* $action->Property = 'ABC'
|
||||
*
|
||||
* Direct setter (preferred):
|
||||
*
|
||||
* $action->setProperty('ABC')
|
||||
*
|
||||
* @param string $propertyName name of the property
|
||||
* @param mixed $propertyValue value of the property
|
||||
*
|
||||
* @return instance of the object
|
||||
*/
|
||||
public function __set($propertyName, $propertyValue)
|
||||
{
|
||||
$setter = "set$propertyName";
|
||||
$this->$setter($propertyValue);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* XML fragment representation of this object
|
||||
* Note, name of the root determined by caller
|
||||
* This fragment returns inner fields representation only
|
||||
*
|
||||
* @return string XML fragment for this object
|
||||
*/
|
||||
protected function toXMLFragment()
|
||||
{
|
||||
$xml = "";
|
||||
foreach ($this->fields as $fieldName => $field) {
|
||||
$fieldValue = $field['FieldValue'];
|
||||
if (!is_null($fieldValue)) {
|
||||
$fieldType = $field['FieldType'];
|
||||
if (is_array($fieldType)) {
|
||||
if ($this->_isComplexType($fieldType[0])) {
|
||||
foreach ($fieldValue as $item) {
|
||||
$xml .= "<$fieldName>";
|
||||
$xml .= $item->_toXMLFragment();
|
||||
$xml .= "</$fieldName>";
|
||||
}
|
||||
} else {
|
||||
foreach ($fieldValue as $item) {
|
||||
$xml .= "<$fieldName>";
|
||||
$xml .= $this->_escapeXML($item);
|
||||
$xml .= "</$fieldName>";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ($this->_isComplexType($fieldType)) {
|
||||
$xml .= "<$fieldName>";
|
||||
$xml .= $fieldValue->_toXMLFragment();
|
||||
$xml .= "</$fieldName>";
|
||||
} else {
|
||||
$xml .= "<$fieldName>";
|
||||
$xml .= $this->_escapeXML($fieldValue);
|
||||
$xml .= "</$fieldName>";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $xml;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Escape special XML characters
|
||||
*
|
||||
* @param string $str unescaped xml string
|
||||
*
|
||||
* @return string with escaped XML characters
|
||||
*/
|
||||
private function _escapeXML($str)
|
||||
{
|
||||
$from = array( "&", "<", ">", "'", "\"");
|
||||
$to = array( "&", "<", ">", "'", """);
|
||||
return str_replace($from, $to, $str);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Construct from DOMElement
|
||||
*
|
||||
* This function iterates over object fields and queries XML
|
||||
* for corresponding tag value. If query succeeds, value extracted
|
||||
* from xml, and field value properly constructed based on field type.
|
||||
*
|
||||
* Field types defined as arrays always constructed as arrays,
|
||||
* even if XML contains a single element - to make sure that
|
||||
* data structure is predictable, and no is_array checks are
|
||||
* required.
|
||||
*
|
||||
* @param DOMElement $dom XML element to construct from
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function _fromDOMElement(DOMElement $dom)
|
||||
{
|
||||
$xpath = new DOMXPath($dom->ownerDocument);
|
||||
$xpath->registerNamespace(
|
||||
'a',
|
||||
self::getNamespace()
|
||||
);
|
||||
|
||||
foreach ($this->fields as $fieldName => $field) {
|
||||
$fieldType = $field['FieldType'];
|
||||
if (is_array($fieldType)) {
|
||||
if ($this->_isComplexType($fieldType[0])) {
|
||||
$elements = $xpath->query("//*[local-name()='$fieldName']", $dom);
|
||||
if ($elements->length >= 1) {
|
||||
include_once str_replace(
|
||||
'_',
|
||||
DIRECTORY_SEPARATOR,
|
||||
$fieldType[0]
|
||||
) . ".php";
|
||||
foreach ($elements as $element) {
|
||||
$this->fields[$fieldName]['FieldValue'][]
|
||||
= new $fieldType[0]($element);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$elements = $xpath->query("//*[local-name()='$fieldName']", $dom);
|
||||
if ($elements->length >= 1) {
|
||||
foreach ($elements as $element) {
|
||||
$text = $xpath->query('./text()', $element);
|
||||
$this->fields[$fieldName]['FieldValue'][]
|
||||
= $text->item(0)->data;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ($this->_isComplexType($fieldType)) {
|
||||
$elements = $xpath->query("//*[local-name()='$fieldName']", $dom);
|
||||
if ($elements->length == 1) {
|
||||
include_once str_replace(
|
||||
'_',
|
||||
DIRECTORY_SEPARATOR,
|
||||
$fieldType
|
||||
) . ".php";
|
||||
$this->fields[$fieldName]['FieldValue']
|
||||
= new $fieldType($elements->item(0));
|
||||
}
|
||||
} else {
|
||||
$element = $xpath->query("./*[local-name()='$fieldName']/text()", $dom);
|
||||
if ($element->length >= 1) {
|
||||
$this->fields[$fieldName]['FieldValue']
|
||||
= $element->item(0)->data;
|
||||
}
|
||||
$attribute = $xpath->query("./@$fieldName", $dom);
|
||||
if ($attribute->length == 1) {
|
||||
$this->fields[$fieldName]['FieldValue']
|
||||
= $attribute->item(0)->nodeValue;
|
||||
if (isset ($this->fields['Value'])) {
|
||||
$parentNode = $attribute->item(0)->parentNode;
|
||||
$this->fields['Value']['FieldValue']
|
||||
= $parentNode->nodeValue;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Construct from Associative Array
|
||||
*
|
||||
* @param array $array associative array to construct from
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function _fromAssociativeArray(array $array)
|
||||
{
|
||||
foreach ($this->fields as $fieldName => $field) {
|
||||
$fieldType = $field['FieldType'];
|
||||
if (is_array($fieldType)) {
|
||||
if ($this->_isComplexType($fieldType[0])) {
|
||||
if (array_key_exists($fieldName, $array)) {
|
||||
$elements = $array[$fieldName];
|
||||
if (!$this->_isNumericArray($elements)) {
|
||||
$elements = array($elements);
|
||||
}
|
||||
if (count($elements) >= 1) {
|
||||
include_once str_replace(
|
||||
'_',
|
||||
DIRECTORY_SEPARATOR,
|
||||
$fieldType[0]
|
||||
) . ".php";
|
||||
foreach ($elements as $element) {
|
||||
$this->fields[$fieldName]['FieldValue'][]
|
||||
= new $fieldType[0]($element);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (array_key_exists($fieldName, $array)) {
|
||||
$elements = $array[$fieldName];
|
||||
if (!$this->_isNumericArray($elements)) {
|
||||
$elements = array($elements);
|
||||
}
|
||||
if (count($elements) >= 1) {
|
||||
foreach ($elements as $element) {
|
||||
$this->fields[$fieldName]['FieldValue'][]
|
||||
= $element;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ($this->_isComplexType($fieldType)) {
|
||||
if (array_key_exists($fieldName, $array)) {
|
||||
include_once str_replace(
|
||||
'_',
|
||||
DIRECTORY_SEPARATOR,
|
||||
$fieldType
|
||||
) . ".php";
|
||||
$this->fields[$fieldName]['FieldValue']
|
||||
= new $fieldType($array[$fieldName]);
|
||||
}
|
||||
} else {
|
||||
if (array_key_exists($fieldName, $array)) {
|
||||
$this->fields[$fieldName]['FieldValue']
|
||||
= $array[$fieldName];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Determines if field is complex type
|
||||
*
|
||||
* @param string $fieldType field type name
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function _isComplexType ($fieldType)
|
||||
{
|
||||
return preg_match('/^OffAmazonPayments.*_Model_/', $fieldType);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether passed variable is an associative array
|
||||
*
|
||||
* @param mixed $var value to check
|
||||
*
|
||||
* @return TRUE if passed variable is an associative array
|
||||
*/
|
||||
private function _isAssociativeArray($var)
|
||||
{
|
||||
return is_array($var) && array_keys($var) !== range(0, sizeof($var) - 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether passed variable is DOMElement
|
||||
*
|
||||
* @param mixed $var value to check
|
||||
*
|
||||
* @return TRUE if passed variable is DOMElement
|
||||
*/
|
||||
private function _isDOMElement($var)
|
||||
{
|
||||
return $var instanceof DOMElement;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether passed variable is numeric array
|
||||
*
|
||||
* @param mixed $var value to check
|
||||
*
|
||||
* @return TRUE if passed variable is an numeric array
|
||||
*/
|
||||
protected function isNumericArray($var)
|
||||
{
|
||||
return is_array($var) && array_keys($var) === range(0, sizeof($var) - 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the namespace for the xml
|
||||
*
|
||||
* @return string xml namespace
|
||||
*/
|
||||
protected static function getNamespace()
|
||||
{
|
||||
return "https://mws.amazonservices.com/ipn/OffAmazonPayments/2013-01-01";
|
||||
}
|
||||
}
|
||||
?>
|
137
modules/amzpayments/vendor/OffAmazonPayments/OffAmazonPaymentsServiceUtils.php
vendored
Normal file
137
modules/amzpayments/vendor/OffAmazonPayments/OffAmazonPaymentsServiceUtils.php
vendored
Normal file
@ -0,0 +1,137 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
class OffAmazonPaymentsServiceUtils
|
||||
{
|
||||
const MWS_CLIENT_VERSION = '2013-01-01';
|
||||
const APPLICATION_LIBRARY_VERSION = '1.0.12';
|
||||
|
||||
public function buildUserAgentString($applicationName, $applicationVersion, $attributes = null)
|
||||
{
|
||||
if (is_null($attributes)) {
|
||||
$attributes = array ();
|
||||
}
|
||||
|
||||
if (!array_key_exists("ApplicationLibraryVersion", $attributes)) {
|
||||
array_push($attributes, "ApplicationLibraryVersion", self::APPLICATION_LIBRARY_VERSION);
|
||||
}
|
||||
|
||||
return $this->constructUserAgentHeader($applicationName, $applicationVersion, $attributes);
|
||||
}
|
||||
|
||||
private function constructUserAgentHeader($applicationName, $applicationVersion, $attributes)
|
||||
{
|
||||
$userAgent
|
||||
= $this->quoteApplicationName($applicationName)
|
||||
. '/'
|
||||
. $this->quoteApplicationVersion($applicationVersion);
|
||||
|
||||
$userAgent .= ' (';
|
||||
$userAgent .= 'Language=PHP/' . phpversion();
|
||||
$userAgent .= '; ';
|
||||
$userAgent .= 'Platform=' . php_uname('s') . '/' . php_uname('m') . '/' . php_uname('r');
|
||||
$userAgent .= '; ';
|
||||
$userAgent .= 'MWSClientVersion=' . self::MWS_CLIENT_VERSION;
|
||||
|
||||
foreach ($attributes as $key => $value) {
|
||||
if (empty($value)) {
|
||||
throw new InvalidArgumentException("value for $key cannot be null or empty");
|
||||
}
|
||||
|
||||
$userAgent .= '; '
|
||||
. $this->quoteAttributeName($key)
|
||||
. '='
|
||||
. $this->quoteAttributeValue($value);
|
||||
}
|
||||
|
||||
$userAgent .= ')';
|
||||
|
||||
return $userAgent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Collapse multiple whitespace characters into a single ' ' and backslash escape '\',
|
||||
* and '/' characters from a string.
|
||||
* @param $s
|
||||
* @return string
|
||||
*/
|
||||
private function quoteApplicationName($s) {
|
||||
$quotedString = $this->collapseWhitespace($s);
|
||||
$quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
|
||||
$quotedString = preg_replace('/\//', '\\/', $quotedString);
|
||||
|
||||
return $quotedString;
|
||||
}
|
||||
|
||||
/**
|
||||
* Collapse multiple whitespace characters into a single ' ' and backslash escape '\',
|
||||
* and '(' characters from a string.
|
||||
*
|
||||
* @param $s
|
||||
* @return string
|
||||
*/
|
||||
private function quoteApplicationVersion($s) {
|
||||
$quotedString = $this->collapseWhitespace($s);
|
||||
$quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
|
||||
$quotedString = preg_replace('/\\(/', '\\(', $quotedString);
|
||||
|
||||
return $quotedString;
|
||||
}
|
||||
|
||||
/**
|
||||
* Collapse multiple whitespace characters into a single ' ' character.
|
||||
* @param $s
|
||||
* @return string
|
||||
*/
|
||||
private function collapseWhitespace($s) {
|
||||
return preg_replace('/ {2,}|\s/', ' ', $s);
|
||||
}
|
||||
|
||||
/**
|
||||
* Collapse multiple whitespace characters into a single ' ' and backslash escape '\',
|
||||
* and '=' characters from a string.
|
||||
*
|
||||
* @param $s
|
||||
* @return unknown_type
|
||||
*/
|
||||
private function quoteAttributeName($s) {
|
||||
$quotedString = $this->collapseWhitespace($s);
|
||||
$quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
|
||||
$quotedString = preg_replace('/\\=/', '\\=', $quotedString);
|
||||
|
||||
return $quotedString;
|
||||
}
|
||||
|
||||
/**
|
||||
* Collapse multiple whitespace characters into a single ' ' and backslash escape ';', '\',
|
||||
* and ')' characters from a string.
|
||||
*
|
||||
* @param $s
|
||||
* @return unknown_type
|
||||
*/
|
||||
private function quoteAttributeValue($s) {
|
||||
$quotedString = $this->collapseWhitespace($s);
|
||||
$quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
|
||||
$quotedString = preg_replace('/\\;/', '\\;', $quotedString);
|
||||
$quotedString = preg_replace('/\\)/', '\\)', $quotedString);
|
||||
|
||||
return $quotedString;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
35
modules/amzpayments/vendor/OffAmazonPayments/index.php
vendored
Executable file
35
modules/amzpayments/vendor/OffAmazonPayments/index.php
vendored
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
124
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Client.php
vendored
Normal file
124
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Client.php
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/Interface.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/SnsMessageParser.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/SnsMessageValidator.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/OpenSslVerifySignature.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/IpnNotificationParser.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/XmlNotificationParser.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/InvalidMessageException.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Notification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/NotificationMetadata.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/AuthorizationDetails.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/AuthorizationNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/BillingAgreement.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/BillingAgreementLimits.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/BillingAgreementNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/BillingAgreementStatus.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/CaptureDetails.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/CaptureNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/IdList.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/IpnNotificationMetadata.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/NotificationImpl.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/NotificationMetadataImpl.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/OrderItemCategories.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/OrderReference.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/OrderReferenceNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/OrderReferenceStatus.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/OrderTotal.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/Price.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/RefundDetails.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/RefundNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SellerBillingAgreementAttributes.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SellerOrderAttributes.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SnsNotificationMetadata.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/Status.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditDetails.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditSummary.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditSummaryList.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditReversalSummary.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditReversalSummaryList.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditReversalNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditReversalDetails.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SolutionProviderMerchantNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/MerchantRegistrationDetails.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SolutionProviderOptions.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SolutionProviderOption.php';
|
||||
require_once 'OffAmazonPaymentsService/MerchantValuesBuilder.php';
|
||||
require_once 'OffAmazonPayments/HttpRequest/Impl/HttpRequestFactoryCurlImpl.php';
|
||||
|
||||
/**
|
||||
* Implementation of the OffAmazonPaymentsNotifications
|
||||
* library
|
||||
*
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Client
|
||||
implements OffAmazonPaymentsNotifications_Interface
|
||||
{
|
||||
/**
|
||||
* Store an instance of the sns message validator
|
||||
* object
|
||||
*
|
||||
* @var SnsMessageValidator
|
||||
*/
|
||||
private $_snsMessageValidator = null;
|
||||
|
||||
/**
|
||||
* Create an instance of the client class
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($config = null)
|
||||
{
|
||||
$merchantValues = OffAmazonPaymentsService_MerchantValuesBuilder::create($config)->build();
|
||||
$this->_snsMessageValidator
|
||||
= new SnsMessageValidator(
|
||||
new OpenSslVerifySignature($merchantValues->getCnName(),
|
||||
new HttpRequestFactoryCurlImpl($merchantValues)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts a http POST body and headers into
|
||||
* a notification object
|
||||
*
|
||||
* @param array $headers post request headers
|
||||
* @param string $body post request body, should be json
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
*
|
||||
* @return OffAmazonPaymentNotifications_Notification
|
||||
*/
|
||||
public function parseRawMessage($headers, $body)
|
||||
{
|
||||
// Is this json, is this
|
||||
// an sns message, do we have the fields we require
|
||||
$snsMessage = SnsMessageParser::parseNotification($headers, $body);
|
||||
// security validation - check that this message is
|
||||
// from amazon and that it has been signed correctly
|
||||
$this->_snsMessageValidator->validateMessage($snsMessage);
|
||||
|
||||
// Convert to object - convert from basic class to object
|
||||
$ipnMessage = IpnNotificationParser::parseSnsMessage($snsMessage);
|
||||
|
||||
return XmlNotificationParser::parseIpnMessage($ipnMessage);
|
||||
}
|
||||
}
|
||||
?>
|
79
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/Certificate.php
vendored
Normal file
79
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/Certificate.php
vendored
Normal file
@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/InvalidCertificateException.php';
|
||||
|
||||
/**
|
||||
* Class to wrap a Certificate
|
||||
*
|
||||
*/
|
||||
class Certificate
|
||||
{
|
||||
/**
|
||||
* Certificate as string (read from file/URL)
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $_certificate;
|
||||
|
||||
/**
|
||||
* Create a new instance of the certificate and
|
||||
* wraps the contents in a class
|
||||
*
|
||||
* Throws an exception if the message is not valid
|
||||
* as defined by the implementation of this class
|
||||
*
|
||||
* @param string $certificate a string pasred from file/URL
|
||||
*
|
||||
* @return new instance of concreate class
|
||||
*/
|
||||
public function __construct($certificate)
|
||||
{
|
||||
$this->_certificate = $certificate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the certificate string
|
||||
*
|
||||
* @return string of contents
|
||||
*/
|
||||
public function getCertificate()
|
||||
{
|
||||
return $this->_certificate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract the subject field from the certificate and return the contents
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidCertificateException if not found
|
||||
*
|
||||
* @return array of contents of the subject if found
|
||||
*/
|
||||
public function getSubject()
|
||||
{
|
||||
$certInfo = openssl_x509_parse($this->_certificate, true);
|
||||
$certSubject = $certInfo["subject"];
|
||||
|
||||
if (is_null($certSubject)) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidCertificateException(
|
||||
"Error with certificate - subject cannot be found"
|
||||
);
|
||||
}
|
||||
return $certSubject;
|
||||
}
|
||||
}
|
||||
?>
|
69
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/IpnNotificationParser.php
vendored
Normal file
69
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/IpnNotificationParser.php
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/Message.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/IpnNotificationMetadata.php';
|
||||
|
||||
/**
|
||||
* Wrapper around a decoded IPN notification message
|
||||
* in json format
|
||||
*/
|
||||
class IpnNotificationParser
|
||||
{
|
||||
/**
|
||||
* Converts a an sns message into a
|
||||
* ipn notification object
|
||||
*
|
||||
* @param Messsage $snsMsg snsMessage
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications if there is an error
|
||||
*
|
||||
* @return Message ipn message
|
||||
*/
|
||||
public static function parseSnsMessage(Message $snsMsg)
|
||||
{
|
||||
// Create the message and extract the information we need
|
||||
$ipnMsg = new Message($snsMsg->getMandatoryField("Message"));
|
||||
self::_addMetadataToIpnMessage(
|
||||
$ipnMsg,
|
||||
$snsMsg->getNotificationMetadata()
|
||||
);
|
||||
return $ipnMsg;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create the metadata object for the ipn message and attach
|
||||
* to the object instance
|
||||
*
|
||||
* @param Message $ipnMsg ipn message
|
||||
* @param OffAmazonPaymentsNotifications_NotificationMetadata $messageMetadata parent notification
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private static function _addMetadataToIpnMessage (
|
||||
Message $ipnMsg,
|
||||
OffAmazonPaymentsNotifications_NotificationMetadata $messageMetadata = null
|
||||
) {
|
||||
$ipnMetadata
|
||||
= new OffAmazonPaymentsNotifications_Model_IPNNotificationMetadata(
|
||||
$ipnMsg,
|
||||
$messageMetadata
|
||||
);
|
||||
$ipnMsg->setNotificationMetadata($ipnMetadata);
|
||||
}
|
||||
}
|
||||
?>
|
157
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/Message.php
vendored
Normal file
157
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/Message.php
vendored
Normal file
@ -0,0 +1,157 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/InvalidMessageException.php';
|
||||
|
||||
/**
|
||||
* Class to wrap a message
|
||||
*
|
||||
*/
|
||||
class Message
|
||||
{
|
||||
/**
|
||||
* Json message as associative array
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $_message;
|
||||
|
||||
/**
|
||||
* Metadata for the request
|
||||
*
|
||||
* @var NotificationMetadata
|
||||
*/
|
||||
private $_notificationMetadata = null;
|
||||
|
||||
/**
|
||||
* Create a new instance of the message and
|
||||
* wraps the contents in a class
|
||||
*
|
||||
* Throws an exception if the message is not valid
|
||||
* as defined by the implementation of this class
|
||||
*
|
||||
* @param string $json json string
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
*
|
||||
* @return new instance of concreate class
|
||||
*/
|
||||
public function __construct($json)
|
||||
{
|
||||
$this->_message = json_decode($json, true);
|
||||
|
||||
$json_error = json_last_error();
|
||||
|
||||
if ($json_error != 0) {
|
||||
$errorMsg = "Error with message - content is not in json format" .
|
||||
self::_getErrorMessageForJsonError($json_error) . " " .
|
||||
$json;
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
$errorMsg
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the notification metadata
|
||||
*
|
||||
* @param NotificationMetadata $notificationMetadata value to set
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setNotificationMetadata($notificationMetadata)
|
||||
{
|
||||
$this->_notificationMetadata = $notificationMetadata;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the notification metadata
|
||||
*
|
||||
* @return NotificationMetadata
|
||||
*/
|
||||
public function getNotificationMetadata()
|
||||
{
|
||||
return $this->_notificationMetadata;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract the mandatory field from the message and return the contents
|
||||
*
|
||||
* @param string $fieldName name of the field to extract
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if not found
|
||||
*
|
||||
* @return string field contents if found
|
||||
*/
|
||||
public function getMandatoryField($fieldName)
|
||||
{
|
||||
$value = $this->getField($fieldName);
|
||||
if (is_null($value)) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with json message - mandatory field " . $fieldName .
|
||||
" cannot be found"
|
||||
);
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract the field if present, return null if not defined
|
||||
*
|
||||
* @param string $fieldName name of the field to extract
|
||||
*
|
||||
* @return string field contents if found, null otherwise
|
||||
*/
|
||||
public function getField($fieldName)
|
||||
{
|
||||
if (array_key_exists($fieldName, $this->_message)) {
|
||||
return $this->_message[$fieldName];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a json error code to a descriptive error
|
||||
* message
|
||||
*
|
||||
* @param int $json_error message code
|
||||
*
|
||||
* @return string error message
|
||||
*/
|
||||
private static function _getErrorMessageForJsonError($json_error)
|
||||
{
|
||||
switch ($json_error) {
|
||||
case JSON_ERROR_DEPTH:
|
||||
return " - maximum stack depth exceeded.";
|
||||
break;
|
||||
case JSON_ERROR_STATE_MISMATCH:
|
||||
return " - invalid or malformed JSON.";
|
||||
break;
|
||||
case JSON_ERROR_CTRL_CHAR:
|
||||
return " - control character error.";
|
||||
break;
|
||||
case JSON_ERROR_SYNTAX:
|
||||
return " - syntax error.";
|
||||
break;
|
||||
default:
|
||||
return ".";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
167
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/OpenSslVerifySignature.php
vendored
Normal file
167
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/OpenSslVerifySignature.php
vendored
Normal file
@ -0,0 +1,167 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License .
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/VerifySignature.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/InvalidMessageException.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/Certificate.php';
|
||||
require_once 'OffAmazonPayments/HttpRequest/IHttpRequestFactory.php';
|
||||
require_once 'OffAmazonPayments/HttpRequest/HttpException.php';
|
||||
|
||||
/**
|
||||
* OpenSSL Implemntation of the verify signature algorithm
|
||||
*
|
||||
*/
|
||||
class OpenSslVerifySignature implements VerifySignature
|
||||
{
|
||||
|
||||
/**
|
||||
* Expected value for the CN field in an
|
||||
* Amazon issued certificate
|
||||
*/
|
||||
private $_expectedCnName = null;
|
||||
|
||||
/**
|
||||
* IHttpRequestFactory for creating http requests
|
||||
*
|
||||
*/
|
||||
private $_httpRequestFactory = null;
|
||||
|
||||
/**
|
||||
* Create a new instance of the openssl implementation of
|
||||
* verify signature
|
||||
*
|
||||
* @param string expectedCnName for Amazon cert
|
||||
* @param IHttpRequestFactory httpRequestFactory factory to create http requests
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($expectedCnName, $httpRequestFactory)
|
||||
{
|
||||
$this->_expectedCnName = $expectedCnName;
|
||||
$this->_httpRequestFactory = $httpRequestFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that the signature is correct for the given data and
|
||||
* public key
|
||||
*
|
||||
* @param string $data data to validate
|
||||
* @param string $signature decoded signature to compare against
|
||||
* @param string $certificatePath path to certificate, can be file or url
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if there
|
||||
* is an error
|
||||
* with the call
|
||||
*
|
||||
* @return bool true if valid
|
||||
*/
|
||||
public function verifySignatureIsCorrect($data, $signature, $certificatePath)
|
||||
{
|
||||
$cert = $this->_getCertificateFromCertifcatePath($certificatePath);
|
||||
$certificate = new Certificate($cert);
|
||||
|
||||
return $this->verifySignatureIsCorrectFromCertificate($data, $signature, $certificate);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that the signature is correct for the given data and
|
||||
* public key
|
||||
*
|
||||
* @param string $data data to validate
|
||||
* @param string $signature decoded signature to compare against
|
||||
* @param string $certificate certificate object defined in Certificate.php
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if there
|
||||
* is an error
|
||||
* with the call
|
||||
*
|
||||
* @return bool true if valid
|
||||
*/
|
||||
public function verifySignatureIsCorrectFromCertificate($data, $signature, $certificate)
|
||||
{
|
||||
$certKey = openssl_get_publickey($certificate->getCertificate());
|
||||
|
||||
if ($certKey === False) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Unable to extract public key from cert");
|
||||
}
|
||||
|
||||
try {
|
||||
$certSubject = $certificate->getSubject();
|
||||
} catch (Exception $ex) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Unable to verify certificate - error with the certificate subject",
|
||||
null, $ex
|
||||
);
|
||||
}
|
||||
|
||||
$this->_verifyCertificateSubject($certSubject);
|
||||
|
||||
$result = -1;
|
||||
try {
|
||||
$result = openssl_verify($data, $signature, $certKey, OPENSSL_ALGO_SHA1);
|
||||
} catch (Exception $ex) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Unable to verify signature - error with the verification algorithm",
|
||||
null, $ex
|
||||
);
|
||||
}
|
||||
|
||||
return ($result > 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that certificate is issued by Amazon
|
||||
*
|
||||
* @param array $certificateSubject certificate subject array
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function _verifyCertificateSubject($certificateSubject)
|
||||
{
|
||||
if ( strcmp($certificateSubject["CN"], $this->_expectedCnName) ) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Unable to verify certificate issued by Amazon - error with certificate subject"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Request the signing certificate from the given path, in order to
|
||||
* get the public key
|
||||
*
|
||||
* @param string $certificatePath certificate path to retreive
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function _getCertificateFromCertifcatePath($certificatePath)
|
||||
{
|
||||
try {
|
||||
return $this->_httpRequestFactory->createGetRequest($certificatePath)->execute();
|
||||
} catch (OffAmazonPayments_HttpException $ex) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with signature validation - unable to request signing certificate at " . $certificatePath .
|
||||
" - underlying exception of " . $ex->getMessage()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
111
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/SnsMessageParser.php
vendored
Normal file
111
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/SnsMessageParser.php
vendored
Normal file
@ -0,0 +1,111 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/Message.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SnsNotificationMetadata.php';
|
||||
|
||||
/**
|
||||
* Parses a json string message into an sns message
|
||||
*/
|
||||
class SnsMessageParser
|
||||
{
|
||||
|
||||
/**
|
||||
* Convert a json string to a json msg that
|
||||
* meets our expections of a SnsMessage
|
||||
*
|
||||
* @param string $jsonString raw data as json string
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if not valid json
|
||||
*
|
||||
* @return Message converted message
|
||||
*/
|
||||
public static function parseNotification($headers, $jsonString)
|
||||
{
|
||||
self::_validateHeaders($headers);
|
||||
$snsMsg = new Message($jsonString);
|
||||
self::_checkForCorrectMessageType($snsMsg);
|
||||
self::_setMetadataForMessage($snsMsg);
|
||||
return $snsMsg;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate the sns header fields to see if we should
|
||||
* handle this message
|
||||
*
|
||||
* @param array $headers array of headers, organised in key, value pairs
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private static function _validateHeaders($headers)
|
||||
{
|
||||
// Quickly check that this is a sns message
|
||||
if (!array_key_exists('x-amz-sns-message-type', $headers)) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with message - header " .
|
||||
"does not contain x-amz-sns-message-type header"
|
||||
);
|
||||
}
|
||||
|
||||
if ($headers['x-amz-sns-message-type'] !== 'Notification') {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with message - header x-amz-sns-message-type is not " .
|
||||
"Notification, is " . $headers['x-amz-sns-message-type']
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that the SNS message type is notification
|
||||
*
|
||||
* @param message $snsJsonMsg convertedJsonMsg
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if not correct type
|
||||
*
|
||||
* @return void if correct type
|
||||
*/
|
||||
private static function _checkForCorrectMessageType($snsJsonMsg)
|
||||
{
|
||||
$type = $snsJsonMsg->getMandatoryField("Type");
|
||||
if (strcasecmp($type, "Notification") != 0) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with SNS Notification - unexpected message with Type of " .
|
||||
$type
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate an sns metadata instance based on the values
|
||||
* in the sns message
|
||||
*
|
||||
* @param message $snsJsonMsg convertedJsonMsg to attach the metadata to
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if not correct type
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private static function _setMetadataForMessage(Message $snsMsg)
|
||||
{
|
||||
$notificationMetadata
|
||||
= new OffAmazonPaymentsNotifications_Model_SnsNotificationMetadata($snsMsg);
|
||||
$snsMsg->setNotificationMetadata($notificationMetadata);
|
||||
}
|
||||
}
|
||||
?>
|
200
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/SnsMessageValidator.php
vendored
Normal file
200
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/SnsMessageValidator.php
vendored
Normal file
@ -0,0 +1,200 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/Message.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/VerifySignature.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/InvalidMessageException.php';
|
||||
|
||||
/**
|
||||
* Performs validation of the sns message to
|
||||
* make sure signatures match and is signed by
|
||||
* Amazon
|
||||
*
|
||||
*/
|
||||
class SnsMessageValidator
|
||||
{
|
||||
/**
|
||||
* Implementation of the signature verification algorithm
|
||||
*
|
||||
* @var VerifySignature
|
||||
*/
|
||||
private $_verifySignature = null;
|
||||
|
||||
/**
|
||||
* @var string A pattern that will match all regional SNS endpoints, e.g.:
|
||||
* - sns.<region>.amazonaws.com (AWS)
|
||||
* - sns.us-gov-west-1.amazonaws.com (AWS GovCloud)
|
||||
* - sns.cn-north-1.amazonaws.com.cn (AWS China)
|
||||
*/
|
||||
private static $defaultHostPattern = '/^sns\.[a-zA-Z0-9\-]{3,}\.amazonaws\.com(\.cn)?$/';
|
||||
|
||||
/**
|
||||
* Create new instance of the SnsMessageValidator
|
||||
*
|
||||
* @param VerifySignature $verifySignature implementation of the
|
||||
* verify signature algorithm
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if verification fails
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(VerifySignature $verifySignature)
|
||||
{
|
||||
$this->_verifySignature = $verifySignature;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate that the given sns message is valid
|
||||
* defined as being signed by Amazon and that the
|
||||
* signature matches the message contents
|
||||
*
|
||||
* @param Message $snsMessage sns message to check
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if the
|
||||
* validation
|
||||
* fails
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function validateMessage(Message $snsMessage)
|
||||
{
|
||||
switch($snsMessage->getMandatoryField("SignatureVersion")) {
|
||||
case "1":
|
||||
$this->_verifySignatureWithVersionOneAlgorithm($snsMessage);
|
||||
break;
|
||||
default:
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with signature verification - " .
|
||||
"unable to handle signature version " .
|
||||
$snsMessage->getMandatoryField("SignatureVersion")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implement the version one signature verification algorithm
|
||||
*
|
||||
* @param Message $snsMessage sns message
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if the
|
||||
* validation
|
||||
* fails
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function _verifySignatureWithVersionOneAlgorithm(Message $snsMessage)
|
||||
{
|
||||
|
||||
$this->validateUrl($snsMessage->getMandatoryField("SigningCertURL"));
|
||||
|
||||
$result = $this->_verifySignature->verifySignatureIsCorrect(
|
||||
$this->_constructSignatureFromSnsMessage($snsMessage),
|
||||
base64_decode($snsMessage->getMandatoryField("Signature")),
|
||||
$snsMessage->getMandatoryField("SigningCertURL")
|
||||
);
|
||||
|
||||
if (!$result) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Unable to match signature from remote server: signature of " .
|
||||
$this->_constructSignatureFromSnsMessage($snsMessage) .
|
||||
" , SigningCertURL of " .
|
||||
$snsMessage->getMandatoryField("SigningCertURL") .
|
||||
" , SignatureOf " .
|
||||
$snsMessage->getMandatoryField("Signature")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Recreate the signature based on the field values for the
|
||||
* sns message
|
||||
*
|
||||
* @param Message $snsMessage sns message
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if the
|
||||
* validation
|
||||
* fails
|
||||
*
|
||||
* @return string signature string
|
||||
*/
|
||||
private function _constructSignatureFromSnsMessage(Message $snsMessage)
|
||||
{
|
||||
if (strcmp($snsMessage->getMandatoryField("Type"), "Notification") != 0) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with signature verification - unable to verify " .
|
||||
$snsMessage->getMandatoryField("Type") . " message"
|
||||
);
|
||||
}
|
||||
|
||||
// get the list of fields that we are interested in
|
||||
$fields = array(
|
||||
"Timestamp" => true,
|
||||
"Message" => true,
|
||||
"MessageId" => true,
|
||||
"Subject" => false,
|
||||
"TopicArn" => true,
|
||||
"Type" => true
|
||||
);
|
||||
|
||||
// sort the fields into byte order based on the key name(A-Za-z)
|
||||
ksort($fields);
|
||||
|
||||
// extract the key value pairs and sort in byte order
|
||||
$signatureFields = array();
|
||||
foreach ($fields as $fieldName => $mandatoryField) {
|
||||
if ($mandatoryField) {
|
||||
$value = $snsMessage->getMandatoryField($fieldName);
|
||||
} else {
|
||||
$value = $snsMessage->getField($fieldName);
|
||||
}
|
||||
|
||||
if (!is_null($value)) {
|
||||
array_push($signatureFields, $fieldName);
|
||||
array_push($signatureFields, $value);
|
||||
}
|
||||
}
|
||||
|
||||
// create the signature string - key / value in byte order
|
||||
// delimited by newline character + ending with a new line character
|
||||
return implode("\n", $signatureFields) . "\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensures that the URL of the certificate is one belonging to AWS, and not
|
||||
* just something from the amazonaws domain, which could include S3 buckets.
|
||||
*
|
||||
* @param string $url Certificate URL
|
||||
*
|
||||
* @throws InvalidSnsMessageException if the cert url is invalid.
|
||||
*/
|
||||
private function validateUrl($url)
|
||||
{
|
||||
$parsed = parse_url($url);
|
||||
if (empty($parsed['scheme'])
|
||||
|| empty($parsed['host'])
|
||||
|| $parsed['scheme'] !== 'https'
|
||||
|| substr($url, -4) !== '.pem'
|
||||
|| !preg_match(self::$defaultHostPattern, $parsed['host'])
|
||||
) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
'The certificate is located on an invalid domain.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
41
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/VerifySignature.php
vendored
Normal file
41
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/VerifySignature.php
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License .
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
/**
|
||||
* Interface to abstract an implementation of the
|
||||
* signature verification algorithm
|
||||
*
|
||||
*/
|
||||
interface VerifySignature
|
||||
{
|
||||
/**
|
||||
* Verify that the signature is correct for the given data and
|
||||
* public key
|
||||
*
|
||||
* @param string $data data to validate
|
||||
* @param string $signature decoded signature to compare against
|
||||
* @param string $certificatePath path to certificate, can be file or url
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException if there
|
||||
* is an error
|
||||
* with the call
|
||||
*
|
||||
* @return bool true if valid
|
||||
*/
|
||||
function verifySignatureIsCorrect($data, $signature, $certificatePath);
|
||||
}
|
||||
?>
|
167
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/XmlNotificationParser.php
vendored
Normal file
167
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/XmlNotificationParser.php
vendored
Normal file
@ -0,0 +1,167 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/Impl/Message.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/AuthorizationNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/BillingAgreementNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/RefundNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/CaptureNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/OrderReferenceNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/ProviderCreditReversalNotification.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/SolutionProviderMerchantNotification.php';
|
||||
|
||||
|
||||
/**
|
||||
* Wrapper around a decoded IPN notification message to create
|
||||
* the notification
|
||||
*/
|
||||
class XmlNotificationParser
|
||||
{
|
||||
/**
|
||||
* Converts a ipn message into a
|
||||
* notification object
|
||||
*
|
||||
* @param JsonMesssage $ipnMsg ipnMessage
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications if there is an error
|
||||
*
|
||||
* @return Message
|
||||
*/
|
||||
public static function parseIpnMessage(Message $ipnMsg)
|
||||
{
|
||||
$xmlDocumentElement = self::_getXmlFromIpnMessage($ipnMsg);
|
||||
return self::_createNotificationForNotificationType(
|
||||
$ipnMsg,
|
||||
$xmlDocumentElement
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the xml message from the ipn payload
|
||||
* into an xml document
|
||||
*
|
||||
* @param Message $ipnMsg ipn message
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
*
|
||||
* @return XmlElement xml document element
|
||||
*/
|
||||
private static function _getXmlFromIpnMessage(Message $ipnMsg)
|
||||
{
|
||||
// Try and load the notification data as xml
|
||||
$notificationData = $ipnMsg->getMandatoryField("NotificationData");
|
||||
|
||||
$dom = new DOMDocument();
|
||||
try {
|
||||
$dom->loadXML($notificationData);
|
||||
} catch (Exception $ex) {
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with ipn message - NotificationData field does not contain xml, " .
|
||||
"contents: " . $notificationData
|
||||
);
|
||||
}
|
||||
|
||||
return $dom->documentElement;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Return a notification object initialised by the xml
|
||||
*
|
||||
* @param Message $ipnMsg ipn message
|
||||
* @param XmlNode $xmlDocumentElement xml message
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Notification
|
||||
*/
|
||||
private static function _createNotificationForNotificationType(
|
||||
Message $ipnMsg,
|
||||
$xmlDocumentElement
|
||||
) {
|
||||
// Construct an instance of the notification class
|
||||
switch ($ipnMsg->getMandatoryField("NotificationType")) {
|
||||
case "OrderReferenceNotification":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_OrderReferenceNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
case "BillingAgreementNotification":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_BillingAgreementNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
case "PaymentAuthorize":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_AuthorizationNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
case "PaymentCapture":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_CaptureNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
case "PaymentRefund":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_RefundNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
case "ProviderCredit":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_ProviderCreditNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
case "ProviderCreditReversal":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_ProviderCreditReversalNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
case "SolutionProviderEvent":
|
||||
$notification
|
||||
= new OffAmazonPaymentsNotifications_Model_SolutionProviderMerchantNotification(
|
||||
$ipnMsg->getNotificationMetadata(),
|
||||
$xmlDocumentElement
|
||||
);
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new OffAmazonPaymentsNotifications_InvalidMessageException(
|
||||
"Error with IPN notification - unknown notification " .
|
||||
$ipnMsg->getMandatoryField("NotificationType")
|
||||
);
|
||||
}
|
||||
|
||||
return $notification;
|
||||
}
|
||||
}
|
||||
?>
|
35
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/index.php
vendored
Executable file
35
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Impl/index.php
vendored
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
39
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Interface.php
vendored
Normal file
39
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Interface.php
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
/**
|
||||
* Interface for interacting with the OffAmazonPaymentsNotifications
|
||||
* library
|
||||
*
|
||||
*/
|
||||
interface OffAmazonPaymentsNotifications_Interface
|
||||
{
|
||||
/**
|
||||
* Converts a http POST body and headers into
|
||||
* a notification object
|
||||
*
|
||||
* @param array $headers post request headers
|
||||
* @param string $body post request body, should be json
|
||||
*
|
||||
* @throws OffAmazonPaymentsNotifications_InvalidMessage
|
||||
*
|
||||
* @return OffAmazonPaymentNotifications_Notification
|
||||
*/
|
||||
public function parseRawMessage($headers, $body);
|
||||
}
|
||||
|
||||
?>
|
27
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/InvalidCertificateException.php
vendored
Normal file
27
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/InvalidCertificateException.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
/**
|
||||
* Exception thrown when an error occurred in parsing the certificate
|
||||
* received by the client library
|
||||
*
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_InvalidCertificateException
|
||||
extends Exception
|
||||
{
|
||||
}
|
||||
?>
|
27
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/InvalidMessageException.php
vendored
Normal file
27
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/InvalidMessageException.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
/**
|
||||
* Exception thrown when an unknown or untrusted message
|
||||
* is received by the client library
|
||||
*
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_InvalidMessageException
|
||||
extends Exception
|
||||
{
|
||||
}
|
||||
?>
|
745
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/AuthorizationDetails.php
vendored
Normal file
745
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/AuthorizationDetails.php
vendored
Normal file
@ -0,0 +1,745 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
require_once 'OffAmazonPayments/Model.php';
|
||||
|
||||
/**
|
||||
* OffAmazonPaymentsNotifications_Model_AuthorizationDetails
|
||||
*
|
||||
* Properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmazonAuthorizationId: string</li>
|
||||
* <li>AuthorizationReferenceId: string</li>
|
||||
* <li>AuthorizationAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>CapturedAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>AuthorizationFee: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>IdList: OffAmazonPaymentsNotifications_Model_IdList</li>
|
||||
* <li>CreationTimestamp: string</li>
|
||||
* <li>ExpirationTimestamp: string</li>
|
||||
* <li>AddressVerificationCode: string</li>
|
||||
* <li>AuthorizationStatus: OffAmazonPaymentsNotifications_Model_Status</li>
|
||||
* <li>OrderItemCategories:
|
||||
* OffAmazonPaymentsNotifications_Model_OrderItemCategories</li>
|
||||
* <li>CaptureNow: bool</li>
|
||||
* <li>SoftDescriptor: string</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Model_AuthorizationDetails extends OffAmazonPayments_Model
|
||||
{
|
||||
|
||||
/**
|
||||
* Construct new OffAmazonPaymentsNotifications_Model_AuthorizationDetails
|
||||
*
|
||||
* @param mixed $data DOMElement or Associative Array to construct from.
|
||||
*
|
||||
* Valid properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmazonAuthorizationId: string</li>
|
||||
* <li>AuthorizationReferenceId: string</li>
|
||||
* <li>AuthorizationAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>CapturedAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>AuthorizationFee: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>IdList: OffAmazonPaymentsNotifications_Model_IdList</li>
|
||||
* <li>CreationTimestamp: string</li>
|
||||
* <li>ExpirationTimestamp: string</li>
|
||||
* <li>AddressVerificationCode: string</li>
|
||||
* <li>AuthorizationStatus: OffAmazonPaymentsNotifications_Model_Status</li>
|
||||
* <li>OrderItemCategories:
|
||||
* OffAmazonPaymentsNotifications_Model_OrderItemCategories</li>
|
||||
* <li>CaptureNow: bool</li>
|
||||
* <li>SoftDescriptor: string</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
public function __construct($data = null)
|
||||
{
|
||||
$this->fields = array (
|
||||
'AmazonAuthorizationId' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'AuthorizationReferenceId' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'AuthorizationAmount' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
),
|
||||
'CapturedAmount' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
),
|
||||
'AuthorizationFee' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
),
|
||||
'IdList' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_IdList'
|
||||
),
|
||||
'CreationTimestamp' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'ExpirationTimestamp' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'AddressVerificationCode' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'AuthorizationStatus' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Status'
|
||||
),
|
||||
'OrderItemCategories' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType'
|
||||
=> 'OffAmazonPaymentsNotifications_Model_OrderItemCategories'
|
||||
),
|
||||
'CaptureNow' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'bool'
|
||||
),
|
||||
'SoftDescriptor' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
);
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AmazonAuthorizationId property.
|
||||
*
|
||||
* @return string AmazonAuthorizationId
|
||||
*/
|
||||
public function getAmazonAuthorizationId()
|
||||
{
|
||||
return $this->fields['AmazonAuthorizationId']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmazonAuthorizationId property.
|
||||
*
|
||||
* @param string $value AmazonAuthorizationId value
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setAmazonAuthorizationId($value)
|
||||
{
|
||||
$this->fields['AmazonAuthorizationId']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmazonAuthorizationId and returns this instance
|
||||
*
|
||||
* @param string $value AmazonAuthorizationId value
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withAmazonAuthorizationId($value)
|
||||
{
|
||||
$this->setAmazonAuthorizationId($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if AmazonAuthorizationId is set
|
||||
*
|
||||
* @return bool true if AmazonAuthorizationId is set
|
||||
*/
|
||||
public function isSetAmazonAuthorizationId()
|
||||
{
|
||||
return !is_null($this->fields['AmazonAuthorizationId']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AuthorizationReferenceId property.
|
||||
*
|
||||
* @return string AuthorizationReferenceId
|
||||
*/
|
||||
public function getAuthorizationReferenceId()
|
||||
{
|
||||
return $this->fields['AuthorizationReferenceId']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationReferenceId property.
|
||||
*
|
||||
* @param string $value AuthorizationReferenceId
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setAuthorizationReferenceId($value)
|
||||
{
|
||||
$this->fields['AuthorizationReferenceId']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationReferenceId and returns this instance
|
||||
*
|
||||
* @param string $value AuthorizationReferenceId
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withAuthorizationReferenceId($value)
|
||||
{
|
||||
$this->setAuthorizationReferenceId($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if AuthorizationReferenceId is set
|
||||
*
|
||||
* @return bool true if AuthorizationReferenceId is set
|
||||
*/
|
||||
public function isSetAuthorizationReferenceId()
|
||||
{
|
||||
return !is_null($this->fields['AuthorizationReferenceId']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AuthorizationAmount.
|
||||
*
|
||||
* @return Price AuthorizationAmount
|
||||
*/
|
||||
public function getAuthorizationAmount()
|
||||
{
|
||||
return $this->fields['AuthorizationAmount']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationAmount.
|
||||
*
|
||||
* @param Price $value AuthorizationAmount
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setAuthorizationAmount($value)
|
||||
{
|
||||
$this->fields['AuthorizationAmount']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationAmount and returns this instance
|
||||
*
|
||||
* @param Price $value AuthorizationAmount
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withAuthorizationAmount($value)
|
||||
{
|
||||
$this->setAuthorizationAmount($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if AuthorizationAmount is set
|
||||
*
|
||||
* @return bool true if AuthorizationAmount property is set
|
||||
*/
|
||||
public function isSetAuthorizationAmount()
|
||||
{
|
||||
return !is_null($this->fields['AuthorizationAmount']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CapturedAmount.
|
||||
*
|
||||
* @return Price CapturedAmount
|
||||
*/
|
||||
public function getCapturedAmount()
|
||||
{
|
||||
return $this->fields['CapturedAmount']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CapturedAmount.
|
||||
*
|
||||
* @param Price $value CapturedAmount
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setCapturedAmount($value)
|
||||
{
|
||||
$this->fields['CapturedAmount']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CapturedAmount and returns this instance
|
||||
*
|
||||
* @param Price $value CapturedAmount
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withCapturedAmount($value)
|
||||
{
|
||||
$this->setCapturedAmount($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CapturedAmount is set
|
||||
*
|
||||
* @return bool true if CapturedAmount property is set
|
||||
*/
|
||||
public function isSetCapturedAmount()
|
||||
{
|
||||
return !is_null($this->fields['CapturedAmount']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AuthorizationFee.
|
||||
*
|
||||
* @return Price AuthorizationFee
|
||||
*/
|
||||
public function getAuthorizationFee()
|
||||
{
|
||||
return $this->fields['AuthorizationFee']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationFee.
|
||||
*
|
||||
* @param Price $value AuthorizationFee
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setAuthorizationFee($value)
|
||||
{
|
||||
$this->fields['AuthorizationFee']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationFee and returns this instance
|
||||
*
|
||||
* @param Price $value AuthorizationFee
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withAuthorizationFee($value)
|
||||
{
|
||||
$this->setAuthorizationFee($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if AuthorizationFee is set
|
||||
*
|
||||
* @return bool true if AuthorizationFee property is set
|
||||
*/
|
||||
public function isSetAuthorizationFee()
|
||||
{
|
||||
return !is_null($this->fields['AuthorizationFee']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the IdList.
|
||||
*
|
||||
* @return IdList IdList
|
||||
*/
|
||||
public function getIdList()
|
||||
{
|
||||
return $this->fields['IdList']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the IdList.
|
||||
*
|
||||
* @param IdList $value IdList
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setIdList($value)
|
||||
{
|
||||
$this->fields['IdList']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the IdList and returns this instance
|
||||
*
|
||||
* @param IdList $value IdList
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withIdList($value)
|
||||
{
|
||||
$this->setIdList($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if IdList is set
|
||||
*
|
||||
* @return bool true if IdList property is set
|
||||
*/
|
||||
public function isSetIdList()
|
||||
{
|
||||
return !is_null($this->fields['IdList']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CreationTimestamp property.
|
||||
*
|
||||
* @return string CreationTimestamp
|
||||
*/
|
||||
public function getCreationTimestamp()
|
||||
{
|
||||
return $this->fields['CreationTimestamp']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CreationTimestamp property.
|
||||
*
|
||||
* @param string $value CreationTimestamp
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setCreationTimestamp($value)
|
||||
{
|
||||
$this->fields['CreationTimestamp']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CreationTimestamp and returns this instance
|
||||
*
|
||||
* @param string $value CreationTimestamp
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withCreationTimestamp($value)
|
||||
{
|
||||
$this->setCreationTimestamp($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CreationTimestamp is set
|
||||
*
|
||||
* @return bool true if CreationTimestamp is set
|
||||
*/
|
||||
public function isSetCreationTimestamp()
|
||||
{
|
||||
return !is_null($this->fields['CreationTimestamp']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ExpirationTimestamp property.
|
||||
*
|
||||
* @return string ExpirationTimestamp
|
||||
*/
|
||||
public function getExpirationTimestamp()
|
||||
{
|
||||
return $this->fields['ExpirationTimestamp']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ExpirationTimestamp property.
|
||||
*
|
||||
* @param string $value ExpirationTimestamp
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setExpirationTimestamp($value)
|
||||
{
|
||||
$this->fields['ExpirationTimestamp']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ExpirationTimestamp and returns this instance
|
||||
*
|
||||
* @param string $value ExpirationTimestamp
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withExpirationTimestamp($value)
|
||||
{
|
||||
$this->setExpirationTimestamp($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if ExpirationTimestamp is set
|
||||
*
|
||||
* @return bool true if ExpirationTimestamp is set
|
||||
*/
|
||||
public function isSetExpirationTimestamp()
|
||||
{
|
||||
return !is_null($this->fields['ExpirationTimestamp']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AddrerificationCode property.
|
||||
*
|
||||
* @param string AddressVerificationCode
|
||||
* @return this instance
|
||||
*/
|
||||
public function getAddressVerificationCode()
|
||||
{
|
||||
return $this->fields['AddressVerificationCode']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AddressVerificationCode property.
|
||||
*
|
||||
* @param string AddressVerificationCode
|
||||
* @return this instance
|
||||
*/
|
||||
public function setAddressVerificationCode($value)
|
||||
{
|
||||
$this->fields['AddressVerificationCode']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AddressVerificationCode and return this instance
|
||||
*
|
||||
* @param string $value AddressVerificationCode
|
||||
* @return OffAmazonPaymentsService_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withAddressVerificationCode($value)
|
||||
{
|
||||
$this->setAddressVerificationCode($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if AddressVerificationCode is set
|
||||
*
|
||||
* @return bool true if AddressVerificationCode is set
|
||||
*/
|
||||
public function isSetAddressVerificationCode()
|
||||
{
|
||||
return !is_null($this->fields['AddressVerificationCode']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AuthorizationStatus.
|
||||
*
|
||||
* @return Status AuthorizationStatus
|
||||
*/
|
||||
public function getAuthorizationStatus()
|
||||
{
|
||||
return $this->fields['AuthorizationStatus']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationStatus.
|
||||
*
|
||||
* @param Status $value AuthorizationStatus
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setAuthorizationStatus($value)
|
||||
{
|
||||
$this->fields['AuthorizationStatus']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationStatus and returns this instance
|
||||
*
|
||||
* @param Status $value AuthorizationStatus
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withAuthorizationStatus($value)
|
||||
{
|
||||
$this->setAuthorizationStatus($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if AuthorizationStatus is set
|
||||
*
|
||||
* @return bool true if AuthorizationStatus property is set
|
||||
*/
|
||||
public function isSetAuthorizationStatus()
|
||||
{
|
||||
return !is_null($this->fields['AuthorizationStatus']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the OrderItemCategories.
|
||||
*
|
||||
* @return OrderItemCategories OrderItemCategories
|
||||
*/
|
||||
public function getOrderItemCategories()
|
||||
{
|
||||
return $this->fields['OrderItemCategories']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the OrderItemCategories.
|
||||
*
|
||||
* @param OrderItemCategories $value OrderItemCategories
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setOrderItemCategories($value)
|
||||
{
|
||||
$this->fields['OrderItemCategories']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the OrderItemCategories and returns this instance
|
||||
*
|
||||
* @param OrderItemCategories $value OrderItemCategories
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withOrderItemCategories($value)
|
||||
{
|
||||
$this->setOrderItemCategories($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if OrderItemCategories is set
|
||||
*
|
||||
* @return bool true if OrderItemCategories property is set
|
||||
*/
|
||||
public function isSetOrderItemCategories()
|
||||
{
|
||||
return !is_null($this->fields['OrderItemCategories']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CaptureNow property.
|
||||
*
|
||||
* @return bool CaptureNow
|
||||
*/
|
||||
public function getCaptureNow()
|
||||
{
|
||||
return $this->fields['CaptureNow']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureNow property.
|
||||
*
|
||||
* @param bool $value CaptureNow
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setCaptureNow($value)
|
||||
{
|
||||
$this->fields['CaptureNow']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureNow and returns this instance
|
||||
*
|
||||
* @param bool $value CaptureNow
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withCaptureNow($value)
|
||||
{
|
||||
$this->setCaptureNow($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CaptureNow is set
|
||||
*
|
||||
* @return bool true if CaptureNow is set
|
||||
*/
|
||||
public function isSetCaptureNow()
|
||||
{
|
||||
return !is_null($this->fields['CaptureNow']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the SoftDescriptor property.
|
||||
*
|
||||
* @return string SoftDescriptor
|
||||
*/
|
||||
public function getSoftDescriptor()
|
||||
{
|
||||
return $this->fields['SoftDescriptor']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the SoftDescriptor property.
|
||||
*
|
||||
* @param string $value SoftDescriptor
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setSoftDescriptor($value)
|
||||
{
|
||||
$this->fields['SoftDescriptor']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the SoftDescriptor and returns this instance
|
||||
*
|
||||
* @param string $value SoftDescriptor
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withSoftDescriptor($value)
|
||||
{
|
||||
$this->setSoftDescriptor($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if SoftDescriptor is set
|
||||
*
|
||||
* @return bool true if SoftDescriptor is set
|
||||
*/
|
||||
public function isSetSoftDescriptor()
|
||||
{
|
||||
return !is_null($this->fields['SoftDescriptor']['FieldValue']);
|
||||
}
|
||||
}
|
||||
?>
|
161
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/AuthorizationNotification.php
vendored
Normal file
161
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/AuthorizationNotification.php
vendored
Normal file
@ -0,0 +1,161 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/NotificationImpl.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/NotificationMetadata.php';
|
||||
|
||||
/**
|
||||
* OffAmazonPaymentsNotifications_Model_AuthorizationNotification
|
||||
*
|
||||
* Properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AuthorizationDetails:
|
||||
* OffAmazonPaymentsNotifications_Model_AuthorizationDetails</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Model_AuthorizationNotification
|
||||
extends OffAmazonPaymentsNotifications_NotificationImpl
|
||||
{
|
||||
/**
|
||||
* Construct new OffAmazonPaymentsNotifications_Model_AuthorizationNotification
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_NotificationMetadata $notificationMetadata metadata for request
|
||||
* @param mixed $data DOMElement or Associative Array
|
||||
* to construct from.
|
||||
*
|
||||
* Valid properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AuthorizationDetails:
|
||||
* OffAmazonPaymentsNotifications_Model_AuthorizationDetails</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
public function __construct(
|
||||
OffAmazonPaymentsNotifications_NotificationMetadata $notificationMetadata,
|
||||
$data = null
|
||||
) {
|
||||
$this->fields = array (
|
||||
'AuthorizationDetails' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' =>
|
||||
'OffAmazonPaymentsNotifications_Model_AuthorizationDetails'
|
||||
)
|
||||
);
|
||||
parent::__construct(
|
||||
$notificationMetadata,
|
||||
"AuthorizationNotification",
|
||||
$data
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct OffAmazonPaymentsNotifications_Model_AuthorizationNotification
|
||||
* from XML string
|
||||
*
|
||||
* @param string $xml XML string to construct from
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_AuthorizationNotification
|
||||
*/
|
||||
public static function fromXML($xml)
|
||||
{
|
||||
$dom = new DOMDocument();
|
||||
$dom->loadXML($xml);
|
||||
$xpath = new DOMXPath($dom);
|
||||
$xpath->registerNamespace('a', self::getNamespace());
|
||||
$response = $xpath->query('//a:AuthorizationNotification');
|
||||
if ($response->length == 1) {
|
||||
return
|
||||
new OffAmazonPaymentsNotifications_Model_AuthorizationNotification(
|
||||
$response->item(0)
|
||||
);
|
||||
} else {
|
||||
throw new Exception(
|
||||
"Unable to construct " .
|
||||
"OffAmazonPaymentsNotifications_Model_AuthorizationNotification" .
|
||||
"from provided XML. Make sure that AuthorizationNotification" .
|
||||
"is a root element"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AuthorizationNotification.
|
||||
*
|
||||
* @return AuthorizationDetails property value
|
||||
*/
|
||||
public function getAuthorizationDetails()
|
||||
{
|
||||
return $this->fields['AuthorizationDetails']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationDetails.
|
||||
*
|
||||
* @param AuthorizationDetails $value new value
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setAuthorizationDetails($value)
|
||||
{
|
||||
$this->fields['AuthorizationDetails']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AuthorizationDetails
|
||||
* and returns this instance
|
||||
*
|
||||
* @param AuthorizationDetails $value AuthorizationDetails
|
||||
*
|
||||
* @return OffAmazonPaymentsServices_Model_AuthorizationDetails instance
|
||||
*/
|
||||
public function withAuthorizationDetails($value)
|
||||
{
|
||||
$this->setAuthorizationDetails($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if AuthorizationDetails is set
|
||||
*
|
||||
* @return bool true if AuthorizationDetails property is set
|
||||
*/
|
||||
public function isSetAuthorizationDetails()
|
||||
{
|
||||
return !is_null($this->fields['AuthorizationDetails']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* XML Representation for this object
|
||||
*
|
||||
* @return string XML for this object
|
||||
*/
|
||||
public function toXML()
|
||||
{
|
||||
$xml = "";
|
||||
$xml .= "<AuthorizationNotification xmlns=\"";
|
||||
$xml .= self::getNamespace();
|
||||
$xml .= "\">";
|
||||
$xml .= $this->_toXMLFragment();
|
||||
$xml .= "</AuthorizationNotification>";
|
||||
return $xml;
|
||||
}
|
||||
}
|
||||
?>
|
355
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreement.php
vendored
Normal file
355
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreement.php
vendored
Normal file
@ -0,0 +1,355 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
require_once 'OffAmazonPayments/Model.php';
|
||||
|
||||
/**
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreement
|
||||
*
|
||||
* Properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmazonBillingAgreementId: string</li>
|
||||
* <li>SellerBillingAgreementAttributes:
|
||||
* OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes</li>
|
||||
* <li>BillingAgreementStatus:
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreementStatus</li>
|
||||
* <li>CreationTimestamp: string</li>
|
||||
* <li>BillingAgreementLimits:
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreementLimits</li>
|
||||
* <li>BillingAgreementConsent: bool</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Model_BillingAgreement extends OffAmazonPayments_Model
|
||||
{
|
||||
|
||||
/**
|
||||
* Construct new OffAmazonPaymentsNotifications_Model_BillingAgreement
|
||||
*
|
||||
* @param mixed $data DOMElement or Associative Array to construct from.
|
||||
*
|
||||
* Valid properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmazonBillingAgreementId: string</li>
|
||||
* <li>SellerBillingAgreementAttributes:
|
||||
* OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes</li>
|
||||
* <li>BillingAgreementStatus:
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreementStatus</li>
|
||||
* <li>CreationTimestamp: string</li>
|
||||
* <li>BillingAgreementLimits:
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreementLimits</li>
|
||||
* <li>BillingAgreementConsent: bool</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
public function __construct ($data = null)
|
||||
{
|
||||
$this->fields = array(
|
||||
'AmazonBillingAgreementId' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'SellerBillingAgreementAttributes' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes'
|
||||
),
|
||||
'BillingAgreementStatus' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_BillingAgreementStatus'
|
||||
),
|
||||
'CreationTimestamp' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'BillingAgreementLimits' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_BillingAgreementLimits'
|
||||
),
|
||||
'BillingAgreementConsent' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'bool'
|
||||
)
|
||||
);
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AmazonBillingAgreementId property.
|
||||
*
|
||||
* @return string AmazonBillingAgreementId
|
||||
*/
|
||||
public function getAmazonBillingAgreementId ()
|
||||
{
|
||||
return $this->fields['AmazonBillingAgreementId']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmazonBillingAgreementId property.
|
||||
*
|
||||
* @param string AmazonBillingAgreementId
|
||||
* @return this instance
|
||||
*/
|
||||
public function setAmazonBillingAgreementId ($value)
|
||||
{
|
||||
$this->fields['AmazonBillingAgreementId']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmazonBillingAgreementId and returns this instance
|
||||
*
|
||||
* @param string $value AmazonBillingAgreementId
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementDetails instance
|
||||
*/
|
||||
public function withAmazonBillingAgreementId ($value)
|
||||
{
|
||||
$this->setAmazonBillingAgreementId($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if AmazonBillingAgreementId is set
|
||||
*
|
||||
* @return bool true if AmazonBillingAgreementId is set
|
||||
*/
|
||||
public function isSetAmazonBillingAgreementId ()
|
||||
{
|
||||
return ! is_null($this->fields['AmazonBillingAgreementId']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the BillingAgreementLimits.
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementLimits BillingAgreementLimits
|
||||
*/
|
||||
public function getBillingAgreementLimits ()
|
||||
{
|
||||
return $this->fields['BillingAgreementLimits']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreementLimits.
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_BillingAgreementLimits BillingAgreementLimits
|
||||
* @return void
|
||||
*/
|
||||
public function setBillingAgreementLimits ($value)
|
||||
{
|
||||
$this->fields['BillingAgreementLimits']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreementLimits and returns this instance
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_BillingAgreementLimits $value BillingAgreementLimits
|
||||
* @return OffAmazonPaymentsService_Model_BillingAgreementDetails instance
|
||||
*/
|
||||
public function withBillingAgreementLimits ($value)
|
||||
{
|
||||
$this->setBillingAgreementLimits($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if BillingAgreementLimits is set
|
||||
*
|
||||
* @return bool true if BillingAgreementLimits property is set
|
||||
*/
|
||||
public function isSetBillingAgreementLimits ()
|
||||
{
|
||||
return ! is_null($this->fields['BillingAgreementLimits']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the SellerBillingAgreementAttributes.
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes SellerBillingAgreementAttributes
|
||||
*/
|
||||
public function getSellerBillingAgreementAttributes ()
|
||||
{
|
||||
return $this->fields['SellerBillingAgreementAttributes']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the SellerBillingAgreementAttributes.
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes SellerBillingAgreementAttributes
|
||||
* @return void
|
||||
*/
|
||||
public function setSellerBillingAgreementAttributes ($value)
|
||||
{
|
||||
$this->fields['SellerBillingAgreementAttributes']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the SellerBillingAgreementAttributes and returns this instance
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_SellerBillingAgreementAttributes $value SellerBillingAgreementAttributes
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementDetails instance
|
||||
*/
|
||||
public function withSellerBillingAgreementAttributes ($value)
|
||||
{
|
||||
$this->setSellerBillingAgreementAttributes($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if SellerBillingAgreementAttributes is set
|
||||
*
|
||||
* @return bool true if SellerBillingAgreementAttributes property is set
|
||||
*/
|
||||
public function isSetSellerBillingAgreementAttributes ()
|
||||
{
|
||||
return ! is_null($this->fields['SellerBillingAgreementAttributes']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the BillingAgreementStatus.
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementStatus BillingAgreementStatus
|
||||
*/
|
||||
public function getBillingAgreementStatus ()
|
||||
{
|
||||
return $this->fields['BillingAgreementStatus']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreementStatus.
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_BillingAgreementStatus BillingAgreementStatus
|
||||
* @return void
|
||||
*/
|
||||
public function setBillingAgreementStatus ($value)
|
||||
{
|
||||
$this->fields['BillingAgreementStatus']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreementStatus and returns this instance
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_BillingAgreementStatus $value BillingAgreementStatus
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementDetails instance
|
||||
*/
|
||||
public function withBillingAgreementStatus ($value)
|
||||
{
|
||||
$this->setBillingAgreementStatus($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if BillingAgreementStatus is set
|
||||
*
|
||||
* @return bool true if BillingAgreementStatus property is set
|
||||
*/
|
||||
public function isSetBillingAgreementStatus ()
|
||||
{
|
||||
return ! is_null($this->fields['BillingAgreementStatus']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CreationTimestamp property.
|
||||
*
|
||||
* @return string CreationTimestamp
|
||||
*/
|
||||
public function getCreationTimestamp ()
|
||||
{
|
||||
return $this->fields['CreationTimestamp']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CreationTimestamp property.
|
||||
*
|
||||
* @param string CreationTimestamp
|
||||
* @return this instance
|
||||
*/
|
||||
public function setCreationTimestamp ($value)
|
||||
{
|
||||
$this->fields['CreationTimestamp']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CreationTimestamp and returns this instance
|
||||
*
|
||||
* @param string $value CreationTimestamp
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementDetails instance
|
||||
*/
|
||||
public function withCreationTimestamp ($value)
|
||||
{
|
||||
$this->setCreationTimestamp($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if CreationTimestamp is set
|
||||
*
|
||||
* @return bool true if CreationTimestamp is set
|
||||
*/
|
||||
public function isSetCreationTimestamp ()
|
||||
{
|
||||
return ! is_null($this->fields['CreationTimestamp']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the BillingAgreementConsent property.
|
||||
*
|
||||
* @return bool BillingAgreementConsent
|
||||
*/
|
||||
public function getBillingAgreementConsent ()
|
||||
{
|
||||
return $this->fields['BillingAgreementConsent']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreementConsent property.
|
||||
*
|
||||
* @param bool BillingAgreementConsent
|
||||
* @return this instance
|
||||
*/
|
||||
public function setBillingAgreementConsent ($value)
|
||||
{
|
||||
$this->fields['BillingAgreementConsent']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreementConsent and returns this instance
|
||||
*
|
||||
* @param bool $value BillingAgreementConsent
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementDetails instance
|
||||
*/
|
||||
public function withBillingAgreementConsent ($value)
|
||||
{
|
||||
$this->setBillingAgreementConsent($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if BillingAgreementConsent is set
|
||||
*
|
||||
* @return bool true if BillingAgreementConsent is set
|
||||
*/
|
||||
public function isSetBillingAgreementConsent ()
|
||||
{
|
||||
return ! is_null($this->fields['BillingAgreementConsent']['FieldValue']);
|
||||
}
|
||||
}
|
||||
?>
|
254
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreementLimits.php
vendored
Normal file
254
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreementLimits.php
vendored
Normal file
@ -0,0 +1,254 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
require_once 'OffAmazonPayments/Model.php';
|
||||
|
||||
/**
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreementLimits
|
||||
*
|
||||
* Properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmountLimitPerTimePeriod: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>TimePeriodStartDate: string</li>
|
||||
* <li>TimePeriodEndDate: string</li>
|
||||
* <li>CurrentRemainingBalance: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Model_BillingAgreementLimits extends OffAmazonPayments_Model
|
||||
{
|
||||
|
||||
/**
|
||||
* Construct new OffAmazonPaymentsNotifications_Model_BillingAgreementLimits
|
||||
*
|
||||
* @param mixed $data DOMElement or Associative Array to construct from.
|
||||
*
|
||||
* Valid properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmountLimitPerTimePeriod: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>TimePeriodStartDate: string</li>
|
||||
* <li>TimePeriodEndDate: string</li>
|
||||
* <li>CurrentRemainingBalance: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
public function __construct ($data = null)
|
||||
{
|
||||
$this->fields = array(
|
||||
|
||||
'AmountLimitPerTimePeriod' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
),
|
||||
|
||||
'TimePeriodStartDate' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
|
||||
'TimePeriodEndDate' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
|
||||
'CurrentRemainingBalance' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
)
|
||||
)
|
||||
;
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AmountLimitPerTimePeriod.
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_Price AmountLimitPerTimePeriod
|
||||
*/
|
||||
public function getAmountLimitPerTimePeriod ()
|
||||
{
|
||||
return $this->fields['AmountLimitPerTimePeriod']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmountLimitPerTimePeriod.
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_Price AmountLimitPerTimePeriod
|
||||
* @return void
|
||||
*/
|
||||
public function setAmountLimitPerTimePeriod ($value)
|
||||
{
|
||||
$this->fields['AmountLimitPerTimePeriod']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmountLimitPerTimePeriod and returns this instance
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_Price $value AmountLimitPerTimePeriod
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementLimits instance
|
||||
*/
|
||||
public function withAmountLimitPerTimePeriod ($value)
|
||||
{
|
||||
$this->setAmountLimitPerTimePeriod($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if AmountLimitPerTimePeriod is set
|
||||
*
|
||||
* @return bool true if AmountLimitPerTimePeriod property is set
|
||||
*/
|
||||
public function isSetAmountLimitPerTimePeriod ()
|
||||
{
|
||||
return ! is_null($this->fields['AmountLimitPerTimePeriod']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the TimePeriodStartDate property.
|
||||
*
|
||||
* @return string TimePeriodStartDate
|
||||
*/
|
||||
public function getTimePeriodStartDate ()
|
||||
{
|
||||
return $this->fields['TimePeriodStartDate']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the TimePeriodStartDate property.
|
||||
*
|
||||
* @param string TimePeriodStartDate
|
||||
* @return this instance
|
||||
*/
|
||||
public function setTimePeriodStartDate ($value)
|
||||
{
|
||||
$this->fields['TimePeriodStartDate']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the TimePeriodStartDate and returns this instance
|
||||
*
|
||||
* @param string $value TimePeriodStartDate
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementLimits instance
|
||||
*/
|
||||
public function withTimePeriodStartDate ($value)
|
||||
{
|
||||
$this->setTimePeriodStartDate($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if TimePeriodStartDate is set
|
||||
*
|
||||
* @return bool true if TimePeriodStartDate is set
|
||||
*/
|
||||
public function isSetTimePeriodStartDate ()
|
||||
{
|
||||
return ! is_null($this->fields['TimePeriodStartDate']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the TimePeriodEndDate property.
|
||||
*
|
||||
* @return string TimePeriodEndDate
|
||||
*/
|
||||
public function getTimePeriodEndDate ()
|
||||
{
|
||||
return $this->fields['TimePeriodEndDate']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the TimePeriodEndDate property.
|
||||
*
|
||||
* @param string TimePeriodEndDate
|
||||
* @return this instance
|
||||
*/
|
||||
public function setTimePeriodEndDate ($value)
|
||||
{
|
||||
$this->fields['TimePeriodEndDate']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the TimePeriodEndDate and returns this instance
|
||||
*
|
||||
* @param string $value TimePeriodEndDate
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementLimits instance
|
||||
*/
|
||||
public function withTimePeriodEndDate ($value)
|
||||
{
|
||||
$this->setTimePeriodEndDate($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if TimePeriodEndDate is set
|
||||
*
|
||||
* @return bool true if TimePeriodEndDate is set
|
||||
*/
|
||||
public function isSetTimePeriodEndDate ()
|
||||
{
|
||||
return ! is_null($this->fields['TimePeriodEndDate']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CurrentRemainingBalance.
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_Price CurrentRemainingBalance
|
||||
*/
|
||||
public function getCurrentRemainingBalance ()
|
||||
{
|
||||
return $this->fields['CurrentRemainingBalance']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CurrentRemainingBalance.
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_Price CurrentRemainingBalance
|
||||
* @return void
|
||||
*/
|
||||
public function setCurrentRemainingBalance ($value)
|
||||
{
|
||||
$this->fields['CurrentRemainingBalance']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CurrentRemainingBalance and returns this instance
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_Model_Price $value CurrentRemainingBalance
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementLimits instance
|
||||
*/
|
||||
public function withCurrentRemainingBalance ($value)
|
||||
{
|
||||
$this->setCurrentRemainingBalance($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if CurrentRemainingBalance is set
|
||||
*
|
||||
* @return bool true if CurrentRemainingBalance property is set
|
||||
*/
|
||||
public function isSetCurrentRemainingBalance ()
|
||||
{
|
||||
return ! is_null($this->fields['CurrentRemainingBalance']['FieldValue']);
|
||||
}
|
||||
}
|
||||
?>
|
149
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreementNotification.php
vendored
Normal file
149
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreementNotification.php
vendored
Normal file
@ -0,0 +1,149 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
require_once 'OffAmazonPaymentsNotifications/Model/NotificationImpl.php';
|
||||
require_once 'OffAmazonPaymentsNotifications/NotificationMetadata.php';
|
||||
|
||||
/**
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreementNotification
|
||||
*
|
||||
* Properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>BillingAgreement: OffAmazonPaymentsNotifications_Model_BillingAgreement</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Model_BillingAgreementNotification extends OffAmazonPaymentsNotifications_NotificationImpl
|
||||
{
|
||||
|
||||
/**
|
||||
* Construct new OffAmazonPaymentsNotifications_Model_BillingAgreementNotification
|
||||
*
|
||||
* @param OffAmazonPaymentsNotifications_NotificationMetadata $notificationMetadata metadata for request
|
||||
* @param mixed $data DOMElement or Associative Array
|
||||
* to construct from.
|
||||
*
|
||||
* Valid properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>BillingAgreement: OffAmazonPaymentsNotifications_Model_BillingAgreement</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
public function __construct (
|
||||
OffAmazonPaymentsNotifications_NotificationMetadata $notificationMetadata, $data = null)
|
||||
{
|
||||
$this->fields = array(
|
||||
'BillingAgreement' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_BillingAgreement'
|
||||
)
|
||||
);
|
||||
parent::__construct($notificationMetadata, "BillingAgreementNotification", $data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct OffAmazonPaymentsNotifications_Model_BillingAgreementNotification
|
||||
* from XML string
|
||||
*
|
||||
* @param string $xml XML string to construct from
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementNotification
|
||||
*/
|
||||
public static function fromXML ($xml)
|
||||
{
|
||||
$dom = new DOMDocument();
|
||||
$dom->loadXML($xml);
|
||||
$xpath = new DOMXPath($dom);
|
||||
$xpath->registerNamespace('a', self::getNamespace());
|
||||
$response = $xpath->query('//a:BillingAgreementNotification');
|
||||
if ($response->length == 1) {
|
||||
return new OffAmazonPaymentsNotifications_Model_BillingAgreementNotification(
|
||||
$response->item(0));
|
||||
} else {
|
||||
throw new Exception(
|
||||
"Unable to construct " .
|
||||
"OffAmazonPaymentsNotifications_Model_BillingAgreementNotification" .
|
||||
"from provided XML. Make sure that BillingAgreementNotification" .
|
||||
"is a root element");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the BillingAgreement.
|
||||
*
|
||||
* @return BillingAgreement property value
|
||||
*/
|
||||
public function getBillingAgreement ()
|
||||
{
|
||||
return $this->fields['BillingAgreement']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreement.
|
||||
*
|
||||
* @param BillingAgreement $value new value
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setBillingAgreement ($value)
|
||||
{
|
||||
$this->fields['BillingAgreement']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the BillingAgreement
|
||||
* and returns this instance
|
||||
*
|
||||
* @param BillingAgreementNotification $value BillingAgreement
|
||||
*
|
||||
* @return OffAmazonPaymentsServices_Model_BillingAgreementNotification instance
|
||||
*/
|
||||
public function withBillingAgreement ($value)
|
||||
{
|
||||
$this->setBillingAgreement($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if BillingAgreement is set
|
||||
*
|
||||
* @return bool true if BillingAgreement property is set
|
||||
*/
|
||||
public function isSetBillingAgreement ()
|
||||
{
|
||||
return ! is_null($this->fields['BillingAgreement']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* XML Representation for this object
|
||||
*
|
||||
* @return string XML for this object
|
||||
*/
|
||||
public function toXML ()
|
||||
{
|
||||
$xml = "";
|
||||
$xml .= "<BillingAgreementNotification xmlns=\"";
|
||||
$xml .= self::getNamespace();
|
||||
$xml .= "\">";
|
||||
$xml .= $this->_toXMLFragment();
|
||||
$xml .= "</BillingAgreementNotification>";
|
||||
return $xml;
|
||||
}
|
||||
}
|
||||
?>
|
249
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreementStatus.php
vendored
Normal file
249
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/BillingAgreementStatus.php
vendored
Normal file
@ -0,0 +1,249 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
require_once 'OffAmazonPayments/Model.php';
|
||||
|
||||
/**
|
||||
* OffAmazonPaymentsNotifications_Model_BillingAgreementStatus
|
||||
*
|
||||
* Properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>State: string</li>
|
||||
* <li>LastUpdateTimestamp: string</li>
|
||||
* <li>ReasonCode: string</li>
|
||||
* <li>ReasonDescription: string</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Model_BillingAgreementStatus extends OffAmazonPayments_Model
|
||||
{
|
||||
|
||||
/**
|
||||
* Construct new OffAmazonPaymentsNotifications_Model_BillingAgreementStatus
|
||||
*
|
||||
* @param mixed $data DOMElement or Associative Array to construct from.
|
||||
*
|
||||
* Valid properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>State: string</li>
|
||||
* <li>LastUpdateTimestamp: string</li>
|
||||
* <li>ReasonCode: string</li>
|
||||
* <li>ReasonDescription: string</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
public function __construct ($data = null)
|
||||
{
|
||||
$this->fields = array(
|
||||
'State' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'LastUpdateTimestamp' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'ReasonCode' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'ReasonDescription' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
)
|
||||
);
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the State property.
|
||||
*
|
||||
* @return string State
|
||||
*/
|
||||
public function getState ()
|
||||
{
|
||||
return $this->fields['State']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the State property.
|
||||
*
|
||||
* @param string State
|
||||
* @return this instance
|
||||
*/
|
||||
public function setState ($value)
|
||||
{
|
||||
$this->fields['State']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the State and returns this instance
|
||||
*
|
||||
* @param string $value State
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementStatus instance
|
||||
*/
|
||||
public function withState ($value)
|
||||
{
|
||||
$this->setState($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if State is set
|
||||
*
|
||||
* @return bool true if State is set
|
||||
*/
|
||||
public function isSetState ()
|
||||
{
|
||||
return ! is_null($this->fields['State']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the LastUpdateTimestamp property.
|
||||
*
|
||||
* @return string LastUpdateTimestamp
|
||||
*/
|
||||
public function getLastUpdateTimestamp ()
|
||||
{
|
||||
return $this->fields['LastUpdateTimestamp']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the LastUpdateTimestamp property.
|
||||
*
|
||||
* @param string LastUpdateTimestamp
|
||||
* @return this instance
|
||||
*/
|
||||
public function setLastUpdateTimestamp ($value)
|
||||
{
|
||||
$this->fields['LastUpdateTimestamp']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the LastUpdateTimestamp and returns this instance
|
||||
*
|
||||
* @param string $value LastUpdateTimestamp
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementStatus instance
|
||||
*/
|
||||
public function withLastUpdateTimestamp ($value)
|
||||
{
|
||||
$this->setLastUpdateTimestamp($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if LastUpdateTimestamp is set
|
||||
*
|
||||
* @return bool true if LastUpdateTimestamp is set
|
||||
*/
|
||||
public function isSetLastUpdateTimestamp ()
|
||||
{
|
||||
return ! is_null($this->fields['LastUpdateTimestamp']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ReasonCode property.
|
||||
*
|
||||
* @return string ReasonCode
|
||||
*/
|
||||
public function getReasonCode ()
|
||||
{
|
||||
return $this->fields['ReasonCode']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ReasonCode property.
|
||||
*
|
||||
* @param string ReasonCode
|
||||
* @return this instance
|
||||
*/
|
||||
public function setReasonCode ($value)
|
||||
{
|
||||
$this->fields['ReasonCode']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ReasonCode and returns this instance
|
||||
*
|
||||
* @param string $value ReasonCode
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementStatus instance
|
||||
*/
|
||||
public function withReasonCode ($value)
|
||||
{
|
||||
$this->setReasonCode($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if ReasonCode is set
|
||||
*
|
||||
* @return bool true if ReasonCode is set
|
||||
*/
|
||||
public function isSetReasonCode ()
|
||||
{
|
||||
return ! is_null($this->fields['ReasonCode']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ReasonDescription property.
|
||||
*
|
||||
* @return string ReasonDescription
|
||||
*/
|
||||
public function getReasonDescription ()
|
||||
{
|
||||
return $this->fields['ReasonDescription']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ReasonDescription property.
|
||||
*
|
||||
* @param string ReasonDescription
|
||||
* @return this instance
|
||||
*/
|
||||
public function setReasonDescription ($value)
|
||||
{
|
||||
$this->fields['ReasonDescription']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ReasonDescription and returns this instance
|
||||
*
|
||||
* @param string $value ReasonDescription
|
||||
* @return OffAmazonPaymentsNotifications_Model_BillingAgreementStatus instance
|
||||
*/
|
||||
public function withReasonDescription ($value)
|
||||
{
|
||||
$this->setReasonDescription($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if ReasonDescription is set
|
||||
*
|
||||
* @return bool true if ReasonDescription is set
|
||||
*/
|
||||
public function isSetReasonDescription ()
|
||||
{
|
||||
return ! is_null($this->fields['ReasonDescription']['FieldValue']);
|
||||
}
|
||||
}
|
||||
?>
|
585
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/CaptureDetails.php
vendored
Normal file
585
modules/amzpayments/vendor/OffAmazonPaymentsNotifications/Model/CaptureDetails.php
vendored
Normal file
@ -0,0 +1,585 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************************
|
||||
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*
|
||||
* You may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
* http://aws.amazon.com/apache2.0
|
||||
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License
|
||||
* for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License.
|
||||
* *****************************************************************************
|
||||
*/
|
||||
|
||||
require_once 'OffAmazonPayments/Model.php';
|
||||
|
||||
/**
|
||||
* OffAmazonPaymentsNotifications_Model_CaptureDetails
|
||||
*
|
||||
* Properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmazonCaptureId: string</li>
|
||||
* <li>CaptureReferenceId: string</li>
|
||||
* <li>CaptureAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>RefundedAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>CaptureFee: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>IdList: OffAmazonPaymentsNotifications_Model_IdList</li>
|
||||
* <li>CreationTimestamp: string</li>
|
||||
* <li>CaptureStatus: OffAmazonPaymentsNotifications_Model_Status</li>
|
||||
* <li>SoftDescriptor: string</li>
|
||||
* <li>ProviderCreditSummaryList: OffAmazonPaymentsNotifications_Model_ProviderCreditSummaryList</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
class OffAmazonPaymentsNotifications_Model_CaptureDetails
|
||||
extends OffAmazonPayments_Model
|
||||
{
|
||||
|
||||
/**
|
||||
* Construct new OffAmazonPaymentsNotifications_Model_CaptureDetails
|
||||
*
|
||||
* @param mixed $data DOMElement or Associative Array to construct from.
|
||||
*
|
||||
* Valid properties:
|
||||
* <ul>
|
||||
*
|
||||
* <li>AmazonCaptureId: string</li>
|
||||
* <li>CaptureReferenceId: string</li>
|
||||
* <li>CaptureAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>RefundedAmount: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>CaptureFee: OffAmazonPaymentsNotifications_Model_Price</li>
|
||||
* <li>IdList: OffAmazonPaymentsNotifications_Model_IdList</li>
|
||||
* <li>CreationTimestamp: string</li>
|
||||
* <li>CaptureStatus: OffAmazonPaymentsNotifications_Model_Status</li>
|
||||
* <li>ProviderCreditSummaryList: OffAmazonPaymentsNotifications_Model_ProviderCreditSummaryList</li>
|
||||
* <li>SoftDescriptor: string</li>
|
||||
*
|
||||
* </ul>
|
||||
*/
|
||||
public function __construct($data = null)
|
||||
{
|
||||
$this->fields = array (
|
||||
'AmazonCaptureId' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'CaptureReferenceId' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'CaptureAmount' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
),
|
||||
'RefundedAmount' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
),
|
||||
'CaptureFee' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Price'
|
||||
),
|
||||
'IdList' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_IdList'
|
||||
),
|
||||
'CreationTimestamp' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
),
|
||||
'CaptureStatus' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_Status'
|
||||
),
|
||||
'ProviderCreditSummaryList' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'OffAmazonPaymentsNotifications_Model_ProviderCreditSummaryList'
|
||||
),
|
||||
'SoftDescriptor' => array(
|
||||
'FieldValue' => null,
|
||||
'FieldType' => 'string'
|
||||
)
|
||||
);
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the AmazonCaptureId property.
|
||||
*
|
||||
* @return string AmazonCaptureId
|
||||
*/
|
||||
public function getAmazonCaptureId()
|
||||
{
|
||||
return $this->fields['AmazonCaptureId']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmazonCaptureId property.
|
||||
*
|
||||
* @param string $value AmazonCaptureId
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setAmazonCaptureId($value)
|
||||
{
|
||||
$this->fields['AmazonCaptureId']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the AmazonCaptureId and returns this instance
|
||||
*
|
||||
* @param string $value AmazonCaptureId
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withAmazonCaptureId($value)
|
||||
{
|
||||
$this->setAmazonCaptureId($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if AmazonCaptureId is set
|
||||
*
|
||||
* @return bool true if AmazonCaptureId is set
|
||||
*/
|
||||
public function isSetAmazonCaptureId()
|
||||
{
|
||||
return !is_null($this->fields['AmazonCaptureId']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CaptureReferenceId property.
|
||||
*
|
||||
* @return string CaptureReferenceId
|
||||
*/
|
||||
public function getCaptureReferenceId()
|
||||
{
|
||||
return $this->fields['CaptureReferenceId']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureReferenceId property.
|
||||
*
|
||||
* @param string $value CaptureReferenceId
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setCaptureReferenceId($value)
|
||||
{
|
||||
$this->fields['CaptureReferenceId']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureReferenceId and returns this instance
|
||||
*
|
||||
* @param string $value CaptureReferenceId
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withCaptureReferenceId($value)
|
||||
{
|
||||
$this->setCaptureReferenceId($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CaptureReferenceId is set
|
||||
*
|
||||
* @return bool true if CaptureReferenceId is set
|
||||
*/
|
||||
public function isSetCaptureReferenceId()
|
||||
{
|
||||
return !is_null($this->fields['CaptureReferenceId']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CaptureAmount.
|
||||
*
|
||||
* @return Price CaptureAmount
|
||||
*/
|
||||
public function getCaptureAmount()
|
||||
{
|
||||
return $this->fields['CaptureAmount']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureAmount.
|
||||
*
|
||||
* @param Price $value CaptureAmount
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setCaptureAmount($value)
|
||||
{
|
||||
$this->fields['CaptureAmount']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureAmount and returns this instance
|
||||
*
|
||||
* @param Price $value CaptureAmount
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withCaptureAmount($value)
|
||||
{
|
||||
$this->setCaptureAmount($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CaptureAmount is set
|
||||
*
|
||||
* @return bool true if CaptureAmount property is set
|
||||
*/
|
||||
public function isSetCaptureAmount()
|
||||
{
|
||||
return !is_null($this->fields['CaptureAmount']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the RefundedAmount.
|
||||
*
|
||||
* @return Price RefundedAmount
|
||||
*/
|
||||
public function getRefundedAmount()
|
||||
{
|
||||
return $this->fields['RefundedAmount']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the RefundedAmount.
|
||||
*
|
||||
* @param Price $value RefundedAmount
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setRefundedAmount($value)
|
||||
{
|
||||
$this->fields['RefundedAmount']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the RefundedAmount and returns this instance
|
||||
*
|
||||
* @param Price $value RefundedAmount
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withRefundedAmount($value)
|
||||
{
|
||||
$this->setRefundedAmount($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if RefundedAmount is set
|
||||
*
|
||||
* @return bool true if RefundedAmount property is set
|
||||
*/
|
||||
public function isSetRefundedAmount()
|
||||
{
|
||||
return !is_null($this->fields['RefundedAmount']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CaptureFee.
|
||||
*
|
||||
* @return Price CaptureFee
|
||||
*/
|
||||
public function getCaptureFee()
|
||||
{
|
||||
return $this->fields['CaptureFee']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureFee.
|
||||
*
|
||||
* @param Price $value CaptureFee
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setCaptureFee($value)
|
||||
{
|
||||
$this->fields['CaptureFee']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureFee and returns this instance
|
||||
*
|
||||
* @param Price $value CaptureFee
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withCaptureFee($value)
|
||||
{
|
||||
$this->setCaptureFee($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CaptureFee is set
|
||||
*
|
||||
* @return bool true if CaptureFee property is set
|
||||
*/
|
||||
public function isSetCaptureFee()
|
||||
{
|
||||
return !is_null($this->fields['CaptureFee']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the IdList.
|
||||
*
|
||||
* @return IdList IdList
|
||||
*/
|
||||
public function getIdList()
|
||||
{
|
||||
return $this->fields['IdList']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the IdList.
|
||||
*
|
||||
* @param IdList $value IdList
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setIdList($value)
|
||||
{
|
||||
$this->fields['IdList']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the IdList and returns this instance
|
||||
*
|
||||
* @param IdList $value IdList
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withIdList($value)
|
||||
{
|
||||
$this->setIdList($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if IdList is set
|
||||
*
|
||||
* @return bool true if IdList property is set
|
||||
*/
|
||||
public function isSetIdList()
|
||||
{
|
||||
return !is_null($this->fields['IdList']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CreationTimestamp property.
|
||||
*
|
||||
* @return string CreationTimestamp
|
||||
*/
|
||||
public function getCreationTimestamp()
|
||||
{
|
||||
return $this->fields['CreationTimestamp']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CreationTimestamp property.
|
||||
*
|
||||
* @param string $value CreationTimestamp
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setCreationTimestamp($value)
|
||||
{
|
||||
$this->fields['CreationTimestamp']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CreationTimestamp and returns this instance
|
||||
*
|
||||
* @param string $value CreationTimestamp
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withCreationTimestamp($value)
|
||||
{
|
||||
$this->setCreationTimestamp($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CreationTimestamp is set
|
||||
*
|
||||
* @return bool true if CreationTimestamp is set
|
||||
*/
|
||||
public function isSetCreationTimestamp()
|
||||
{
|
||||
return !is_null($this->fields['CreationTimestamp']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the CaptureStatus.
|
||||
*
|
||||
* @return Status CaptureStatus
|
||||
*/
|
||||
public function getCaptureStatus()
|
||||
{
|
||||
return $this->fields['CaptureStatus']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureStatus.
|
||||
*
|
||||
* @param Status $value CaptureStatus
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setCaptureStatus($value)
|
||||
{
|
||||
$this->fields['CaptureStatus']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the CaptureStatus and returns this instance
|
||||
*
|
||||
* @param Status $value CaptureStatus
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withCaptureStatus($value)
|
||||
{
|
||||
$this->setCaptureStatus($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if CaptureStatus is set
|
||||
*
|
||||
* @return bool true if CaptureStatus property is set
|
||||
*/
|
||||
public function isSetCaptureStatus()
|
||||
{
|
||||
return !is_null($this->fields['CaptureStatus']['FieldValue']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the SoftDescriptor property.
|
||||
*
|
||||
* @return string SoftDescriptor
|
||||
*/
|
||||
public function getSoftDescriptor()
|
||||
{
|
||||
return $this->fields['SoftDescriptor']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the SoftDescriptor property.
|
||||
*
|
||||
* @param string $value SoftDescriptor
|
||||
*
|
||||
* @return this instance
|
||||
*/
|
||||
public function setSoftDescriptor($value)
|
||||
{
|
||||
$this->fields['SoftDescriptor']['FieldValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the SoftDescriptor and returns this instance
|
||||
*
|
||||
* @param string $value SoftDescriptor
|
||||
*
|
||||
* @return OffAmazonPaymentsNotifications_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withSoftDescriptor($value)
|
||||
{
|
||||
$this->setSoftDescriptor($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if SoftDescriptor is set
|
||||
*
|
||||
* @return bool true if SoftDescriptor is set
|
||||
*/
|
||||
public function isSetSoftDescriptor()
|
||||
{
|
||||
return !is_null($this->fields['SoftDescriptor']['FieldValue']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ProviderCreditSummaryList.
|
||||
*
|
||||
* @return ProviderCreditSummaryList ProviderCreditSummaryList
|
||||
*/
|
||||
public function getProviderCreditSummaryList()
|
||||
{
|
||||
return $this->fields['ProviderCreditSummaryList']['FieldValue'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ProviderCreditSummaryList.
|
||||
*
|
||||
* @param ProviderCreditSummaryList ProviderCreditSummaryList
|
||||
* @return void
|
||||
*/
|
||||
public function setProviderCreditSummaryList($value)
|
||||
{
|
||||
$this->fields['ProviderCreditSummaryList']['FieldValue'] = $value;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ProviderCreditSummaryList and returns this instance
|
||||
*
|
||||
* @param ProviderCreditSummaryList $value ProviderCreditSummaryList
|
||||
* @return OffAmazonPaymentsService_Model_CaptureDetails instance
|
||||
*/
|
||||
public function withProviderCreditSummaryList($value)
|
||||
{
|
||||
$this->setProviderCreditSummaryList($value);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if ProviderCreditSummaryList is set
|
||||
*
|
||||
* @return bool true if ProviderCreditSummaryList property is set
|
||||
*/
|
||||
public function isSetProviderCreditSummaryList()
|
||||
{
|
||||
return !is_null($this->fields['ProviderCreditSummaryList']['FieldValue']);
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user