download all files

This commit is contained in:
Roman Pyrih
2025-06-24 14:14:35 +02:00
parent ebed09c00b
commit 4c71b5d9c2
72007 changed files with 10407727 additions and 40029 deletions

View File

@@ -0,0 +1,33 @@
<?php
/**
* NOTICE OF LICENSE
*
* This source file is subject to a commercial license from SARL 202 ecommence
* Use, copy, modification or distribution of this source file without written
* license agreement from the SARL 202 ecommence is strictly forbidden.
* In order to obtain a license, please contact us: tech@202-ecommerce.com
* ...........................................................................
* INFORMATION SUR LA LICENCE D'UTILISATION
*
* L'utilisation de ce fichier source est soumise a une licence commerciale
* concedee par la societe 202 ecommence
* Toute utilisation, reproduction, modification ou distribution du present
* fichier source sans contrat de licence ecrit de la part de la SARL 202 ecommence est
* expressement interdite.
* Pour obtenir une licence, veuillez contacter 202-ecommerce <tech@202-ecommerce.com>
* ...........................................................................
*
* @author 202-ecommerce <tech@202-ecommerce.com>
* @copyright Copyright (c) 202-ecommerce
* @license Commercial license
*/
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;

View File

@@ -0,0 +1,42 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="21px" viewBox="0 0 20 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Checkout-Payment" transform="translate(-841.000000, -407.000000)">
<g id="paypal-reassurance-tooltip" transform="translate(491.000000, 385.000000)">
<g id="wherever-you-are" transform="translate(261.000000, 20.500000)">
<g id="baseline-language-24px" transform="translate(87.000000, 0.000000)">
<polygon id="Path" points="0 0 24 0 24 24 0 24"></polygon>
<path d="M11.99,2 C6.47,2 2,6.48 2,12 C2,17.52 6.47,22 11.99,22 C17.52,22 22,17.52 22,12 C22,6.48 17.52,2 11.99,2 Z M18.92,8 L15.97,8 C15.65,6.75 15.19,5.55 14.59,4.44 C16.43,5.07 17.96,6.35 18.92,8 Z M12,4.04 C12.83,5.24 13.48,6.57 13.91,8 L10.09,8 C10.52,6.57 11.17,5.24 12,4.04 Z M4.26,14 C4.1,13.36 4,12.69 4,12 C4,11.31 4.1,10.64 4.26,10 L7.64,10 C7.56,10.66 7.5,11.32 7.5,12 C7.5,12.68 7.56,13.34 7.64,14 L4.26,14 Z M5.08,16 L8.03,16 C8.35,17.25 8.81,18.45 9.41,19.56 C7.57,18.93 6.04,17.66 5.08,16 L5.08,16 Z M8.03,8 L5.08,8 C6.04,6.34 7.57,5.07 9.41,4.44 C8.81,5.55 8.35,6.75 8.03,8 L8.03,8 Z M12,19.96 C11.17,18.76 10.52,17.43 10.09,16 L13.91,16 C13.48,17.43 12.83,18.76 12,19.96 Z M14.34,14 L9.66,14 C9.57,13.34 9.5,12.68 9.5,12 C9.5,11.32 9.57,10.65 9.66,10 L14.34,10 C14.43,10.65 14.5,11.32 14.5,12 C14.5,12.68 14.43,13.34 14.34,14 Z M14.59,19.56 C15.19,18.45 15.65,17.25 15.97,16 L18.92,16 C17.96,17.65 16.43,18.93 14.59,19.56 L14.59,19.56 Z M16.36,14 C16.44,13.34 16.5,12.68 16.5,12 C16.5,11.32 16.44,10.66 16.36,10 L19.74,10 C19.9,10.64 20,11.31 20,12 C20,12.69 19.9,13.36 19.74,14 L16.36,14 Z" id="Shape" fill="#00B3E3" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</g>
</svg>

View File

@@ -0,0 +1,35 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
<div class="alert alert-info">
<div>
{{l s='You have to [b]finish your payment[/b] done with your PayPal account ' mod='paypal'}|paypalreplace nofilter} {if isset($paypalEmail)}{$paypalEmail|escape:'htmlall':'utf-8'}{/if}
</div>
<div>
{l s='by accepting the terms of service and clicking on the order validation button below.' mod='paypal'}
</div>
</div>

View File

@@ -0,0 +1,41 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
<div class="alert alert-info">
<div>
{{l s='You have to [b]finish your payment[/b] done with your PayPal account ' mod='paypal'}|paypalreplace nofilter} {if isset($paypalEmail)}{$paypalEmail|escape:'htmlall':'utf-8'}{/if}
</div>
<div>
{l s='by accepting the terms of service and clicking on the order validation button below.' mod='paypal'}
</div>
<br>
<div>
{l s='Please note that the additional delivery fees (%1s) have been applied. For more details, please check your order summary.' sprintf=[$carrierFees] mod='paypal'}
</div>
</div>

View File

@@ -0,0 +1,42 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="21px" viewBox="0 0 20 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Checkout-Payment" transform="translate(-841.000000, -496.000000)">
<g id="paypal-reassurance-tooltip" transform="translate(491.000000, 385.000000)">
<g id="mostly-free" transform="translate(261.000000, 109.500000)">
<g id="baseline-monetization_on-24px" transform="translate(87.000000, 0.000000)">
<path d="M12,2 C6.48,2 2,6.48 2,12 C2,17.52 6.48,22 12,22 C17.52,22 22,17.52 22,12 C22,6.48 17.52,2 12,2 Z M13.41,18.09 L13.41,20 L10.74,20 L10.74,18.07 C9.03,17.71 7.58,16.61 7.47,14.67 L9.43,14.67 C9.53,15.72 10.25,16.54 12.08,16.54 C14.04,16.54 14.48,15.56 14.48,14.95 C14.48,14.12 14.04,13.34 11.81,12.81 C9.33,12.21 7.63,11.19 7.63,9.14 C7.63,7.42 9.02,6.3 10.74,5.93 L10.74,4 L13.41,4 L13.41,5.95 C15.27,6.4 16.2,7.81 16.26,9.34 L14.3,9.34 C14.25,8.23 13.66,7.47 12.08,7.47 C10.58,7.47 9.68,8.15 9.68,9.11 C9.68,9.95 10.33,10.5 12.35,11.02 C14.37,11.54 16.53,12.41 16.53,14.93 C16.52,16.76 15.15,17.76 13.41,18.09 Z" id="Shape" fill="#00B3E3" fill-rule="nonzero"></path>
<polygon id="Path" points="0 0 24 0 24 24 0 24"></polygon>
</g>
</g>
</g>
</g>
</g>
</svg>

View File

@@ -0,0 +1,42 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="21px" viewBox="0 0 20 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Checkout-Payment" transform="translate(-619.000000, -496.000000)">
<g id="paypal-reassurance-tooltip" transform="translate(491.000000, 385.000000)">
<g id="simple-and-convenient" transform="translate(39.000000, 109.500000)">
<g id="baseline-offline_bolt-24px" transform="translate(87.000000, 0.000000)">
<polygon id="Path" points="0 0 24 0 24 24 0 24"></polygon>
<path d="M12,2.02 C6.49,2.02 2.02,6.49 2.02,12 C2.02,17.51 6.49,21.98 12,21.98 C17.51,21.98 21.98,17.51 21.98,12 C21.98,6.49 17.51,2.02 12,2.02 Z M11.48,20 L11.48,13.74 L8,13.74 L13,4 L13,10.26 L16.35,10.26 L11.48,20 Z" id="Shape" fill="#00B3E3" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</g>
</svg>

View File

@@ -0,0 +1,47 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<?xml version="1.0" encoding="iso-8859-1"?>
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 477.867 477.867" style="enable-background:new 0 0 477.867 477.867;" xml:space="preserve" width="20px" height="21px">
<g>
<g>
<path fill="#00B3E3" d="M409.6,170.667h-17.067V153.6C392.439,68.808,323.725,0.094,238.933,0c-84.792,0.094-153.506,68.808-153.6,153.6v17.067
H68.267c-9.426,0-17.067,7.641-17.067,17.067V460.8c0,9.426,7.641,17.067,17.067,17.067H409.6c9.426,0,17.067-7.641,17.067-17.067
V187.733C426.667,178.308,419.026,170.667,409.6,170.667z M119.467,153.6c0-65.98,53.487-119.467,119.467-119.467
S358.4,87.62,358.4,153.6v17.067H119.467V153.6z M392.533,443.733h-307.2V204.8h307.2V443.733z"/>
</g>
</g>
<g>
<g>
<path fill="#00B3E3" d="M287.209,290.111c-7.211-20.472-26.571-34.152-48.276-34.111c-28.211-0.053-51.124,22.773-51.177,50.984
c-0.041,21.705,13.639,41.065,34.111,48.276v37.274c0,9.426,7.641,17.067,17.067,17.067S256,401.959,256,392.533V355.26
C282.609,345.888,296.582,316.719,287.209,290.111z M238.933,324.267c-9.426,0-17.067-7.641-17.067-17.067
s7.641-17.067,17.067-17.067S256,297.774,256,307.2S248.359,324.267,238.933,324.267z"/>
</g>
</g>
</svg>

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
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;

View File

@@ -0,0 +1,119 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
{*Displaying a button or the iframe*}
<div class="row">
<div class="col-xs-12 col-md-10">
<div class="braintree-row-payment">
<div class="payment_module braintree-card">
<form action="{$braintreeSubmitUrl}" id="braintree-form" method="post">
{if isset($init_error)}
<div class="alert alert-danger">{$init_error|escape:'htmlall':'UTF-8'}</div>
<div id="logo_braintree_by_paypal"><img src="https://s3-us-west-1.amazonaws.com/bt-partner-assets/paypal-braintree.png" height="20px"></div>
{else}
{if isset($active_vaulting) && isset($payment_methods) && !empty($payment_methods)}
<div id="bt-vault-form">
<p><b>{l s='Choose your card' mod='paypal'}:</b></p>
<select name="bt_vaulting_token" class="form-control">
<option value="">{l s='Choose your card' mod='paypal'}</option>
{foreach from=$payment_methods key=method_key item=method}
<option value="{$method.token|escape:'htmlall':'UTF-8'}" {if $check3Dsecure} data-nonce="{$method.nonce}"{/if}>
{if $method.name}{$method.name|escape:'htmlall':'UTF-8'} - {/if}
{$method.info|escape:'htmlall':'UTF-8'}
</option>
{/foreach}
</select>
</div>
{/if}
<div id="block-card-number" class="block_field">
<div id="card-number" class="hosted_field"><div id="card-image"></div></div>
</div>
<div id="block-expiration-date" class="block_field half_block_field">
<div id="expiration-date" class="hosted_field"></div>
</div>
<div id="block-cvv" class="block_field half_block_field">
<div id="cvv" class="hosted_field"></div>
</div>
<input type="hidden" name="deviceData" id="deviceData"/>
<input type="hidden" name="client_token" value="{$braintreeToken|escape:'htmlall':'UTF-8'}">
<input type="hidden" name="liabilityShifted" id="liabilityShifted"/>
<input type="hidden" name="liabilityShiftPossible" id="liabilityShiftPossible"/>
<input type="hidden" name="payment_method_nonce" id="payment_method_nonce"/>
<input type="hidden" name="card_type" id="braintree_card_type"/>
<input type="hidden" name="payment_method_bt" value="{$method_bt|escape:'htmlall':'UTF-8'}"/>
<div class="paypal_clear"></div>
<div id="bt-card-error-msg" class="alert alert-danger"></div>
{if isset($active_vaulting) && $active_vaulting}
<div class="save-in-vault">
<input type="checkbox" name="save_card_in_vault" id="save_card_in_vault"/> <label for="save_card_in_vault"> {l s='Memorize my card' mod='paypal'}</label>
</div>
{/if}
<div id="logo_braintree_by_paypal"><img src="https://s3-us-west-1.amazonaws.com/bt-partner-assets/paypal-braintree.png" height="20px"></div>
{/if}
</form>
</div>
</div>
</div>
</div>
<script>
var authorization = '{$braintreeToken|escape:'htmlall':'UTF-8'}';
var bt_amount = {$braintreeAmount|escape:'htmlall':'UTF-8'};
var check3DS = {$check3Dsecure|escape:'htmlall':'UTF-8'};
var bt_translations = {
client:"{l s='Error creating Client Token' mod='paypal'}",
card_nmb:"{l s='Card number' mod='paypal'}",
cvc:"{l s='CVC' mod='paypal'}",
date:"{l s='MM/YY' mod='paypal'}",
hosted:"{l s='Error creating Hosted Fields' mod='paypal'}",
empty:"{l s='All fields are empty! Please fill out the form.' mod='paypal'}",
invalid:"{l s='Some fields are invalid :' mod='paypal'}",
token:"{l s='Tokenization failed server side. Is the card valid?' mod='paypal'}",
network:"{l s='Network error occurred when tokenizing.' mod='paypal'}",
tkn_failed:"{l s='Tokenize failed' mod='paypal'}",
https:"{l s='3D Secure requires HTTPS.' mod='paypal'}",
load_3d:"{l s='Loading 3D Secure failed' mod='paypal'}",
request_problem:"{l s='There was a problem with your request.' mod='paypal'}",
failed_3d:"{l s='3D Secure Failed' mod='paypal'}",
empty_field:"{l s='is empty.' mod='paypal'}",
expirationDate:"{l s='Expiration Date' mod='paypal'}",
number:"{l s='card number' mod='paypal'}",
cvv:"{l s='CVV' mod='paypal'}",
};
</script>

View File

@@ -0,0 +1,91 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
<!-- Header part menu -->
<head>
{block name='head'}
{include file='_partials/head.tpl'}
{/block}
</head>
<body>
{hook h='displayAfterBodyOpeningTag'}
<main>
<!-- Menu part-->
<header id="header">
{block name='header'}
{include file='_partials/header.tpl'}
{/block}
</header>
<!-- Header part ends -->
<section id="wrapper">
<div class="container">
<section id="main">
<section id="content" class="page-content card card-block">
{include file='_partials/breadcrumb.tpl'}
<h2>{l s='Error in Paypal' mod='paypal'}</h2>
<div class="table-responsive-row clearfix">
<p class="paypal_error_msg">
{if $error_msg == '' && $msg_long == ''}
{if $error_code}<span class="code">[{$error_code|escape:'htmlall':'UTF-8'}]</span>{/if}
{l s='Unexpected error occurred. Please contact shop administrator.' mod='paypal'}
{else}
{if $error_code}<span class="code">[{$error_code|escape:'htmlall':'UTF-8'}]</span>{/if}
{if $error_msg}<span class="short">{$error_msg|escape:'htmlall':'UTF-8'}</span>{/if}
<br>
{if $msg_long && $msg_long != $error_msg}
<span class="long">{l s='Additional error message : ' mod='paypal'}{$msg_long|escape:'htmlall':'UTF-8'}</span>
{/if}
{/if}
</p>
{if $show_retry}
<a class="btn btn-secondary" href="{$link->getPageLink('order', true)}">{l s='Try to pay again' mod='paypal'}</a>
{/if}
</div>
</section>
</section>
</div>
</section>
<!-- Footer starts -->
<footer id="footer">
{block name="footer"}
{include file="_partials/footer.tpl"}
{/block}
</footer>
<!-- Footer Ends -->
{block name='javascript_bottom'}
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
{/block}
{hook h='displayBeforeBodyClosingTag'}
</main>
</body>

View File

@@ -0,0 +1,28 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
<p>{l s='You will be redirected to the PayPal website to process your card payment.' mod='paypal'}</p>
<p>{l s='PayPal secures your payment and protect your financial information with strong encryption tools.' mod='paypal'}</p>

View File

@@ -0,0 +1,31 @@
{*
* 2007-2020 PayPal
*
* 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-2020 PayPal SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*
*}
<div class="row">
<div id="ppplus-mb-error-message"></div>
<div id="ppplus-mb" class="pp__position-relative"></div>
</div>

View File

@@ -0,0 +1,66 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='My payment methods' mod='paypal'}
{/block}
{block name='page_content'}
<!-- Page content -->
{if $payment_methods}
<form action="{$link->getModuleLink('paypal', 'account', ['process' => 'save'])}" method="post">
{foreach from=$payment_methods key=method_key item=payment_method}
{if $method_key == 'card-braintree'}<h3>{l s='Your cards' mod='paypal'}</h3>{/if}
{if $method_key == 'paypal-braintree'}<h3>{l s='Your paypal accounts' mod='paypal'}</h3>{/if}
{foreach from=$payment_method key=key item=method}
<p class="method">
{if $method.name}<b>{$method.name|escape:'htmlall':'UTF-8'} : </b>{/if}
{$method.info|escape:'htmlall':'UTF-8'}
<a href="{$link->getModuleLink('paypal', 'account', ['process' => 'delete', 'method' => {$method.method|escape:'htmlall':'UTF-8'}, 'id_method' => {$method.id_paypal_vaulting|escape:'htmlall':'UTF-8'}])}"><i class="material-icons">delete</i></a>
<br />
{if !$method.name}{l s='Add name' mod='paypal'}{else}{l s='Edit name' mod='paypal'}{/if}
<span class="edit_name" data-method_id="{$method.id_paypal_vaulting|escape:'htmlall':'UTF-8'}"><i class="material-icons">mode_edit</i></span>
<input type="text" value="{$method.name|escape:'htmlall':'UTF-8'}" name="name_{$method.id_paypal_vaulting|escape:'htmlall':'UTF-8'}" class="form-control" style="display: none"/>
</p>
{/foreach}
{/foreach}
<p><button class="btn btn-default" type="submit">{l s='Save' mod='paypal'} <i class="material-icons">save</i></button></p>
</form>
{else}
{l s='You don\'t have saved payment methods from Paypal' mod='paypal'}
{/if}
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function(){
$(document).on('click', '.edit_name', function(){
var methodId = $(this).data('method_id');
$('input[name=name_'+methodId+']').show();
});
});
</script>
{/block}

View File

@@ -0,0 +1,79 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
<div class="row">
<div class="col-xs-12 col-md-10">
<div class="paypal-braintree-row-payment">
<div class="payment_module paypal-braintree">
<form action="{$braintreeSubmitUrl}" id="paypal-braintree-form" method="post">
{include file="module:paypal/views/templates/front/payment_infos.tpl"}
{if isset($init_error)}
<div class="alert alert-danger">{$init_error}</div>
{else}
<input type="hidden" name="payment_method_nonce" id="paypal_payment_method_nonce"/>
<input type="hidden" name="payment_method_bt" value="{$bt_method|escape:'htmlall':'UTF-8'}"/>
<div id="paypal-button"></div>
<div id="paypal-vault-info"><p>{l s='You have to finish your payment done with your PayPal account:' mod='paypal'}</p></div>
{if isset($active_vaulting) && $active_vaulting}
<div class="save-in-vault">
<input type="checkbox" name="save_account_in_vault" id="save_account_in_vault"/> <label for="save_account_in_vault"> {l s='Memorize my PayPal account' mod='paypal'}</label>
</div>
{/if}
{if isset($active_vaulting) && isset($payment_methods) && !empty($payment_methods)}
<div id="bt-vault-form">
<p><b>{l s='Choose your PayPal account' mod='paypal'}:</b></p>
<select name="pbt_vaulting_token" class="form-control">
<option value="">{l s='Choose your paypal account' mod='paypal'}</option>
{foreach from=$payment_methods key=method_key item=method}
<option value="{$method.token|escape:'htmlall':'UTF-8'}">
{if $method.name}{$method.name|escape:'htmlall':'UTF-8'} - {/if}
{$method.info|escape:'htmlall':'UTF-8'}
</option>
{/foreach}
</select>
</div>
{/if}
{/if}
</form>
<div id="bt-paypal-error-msg" class="alert alert-danger"></div>
</div>
</div>
</div>
</div>
<script>
var paypal_braintree = {
authorization : '{$braintreeToken|escape:'htmlall':'UTF-8'}',
amount : {$braintreeAmount|escape:'htmlall':'UTF-8'},
mode : '{$mode|escape:'htmlall':'UTF-8'}',
currency : '{$currency|escape:'htmlall':'UTF-8'}'
};
paypal_braintree.translations = {
empty_nonce:"{l s='Click paypal button first' mod='paypal'}"
};
</script>

View File

@@ -0,0 +1,45 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
<style>
#popup-ppp-waiting p {
font-size: 16px;
margin: 10px;
line-height: 1.5em;
color: #373a3c;
}
</style>
<div class="row">
<div class="col-xs-12 col-md-10">
<div class="paypal-plus-row-payment">
<div class="payment_module paypal-plus">
{include file="module:paypal/views/templates/front/payment_infos.tpl"}
<div id="ppplus" style="width: 100%;"></div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,32 @@
{*
* 2007-2020 PayPal
*
* 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 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
*}
{if isset($resources) && is_array($resources) && empty($resources) == false}
{foreach from=$resources item=resource}
<link href="{$resource|addslashes}" rel="prefetch" as="script">
{/foreach}
{/if}