{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License version 3.0 * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * 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 PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 *}
{if !$orderPayPal}
{if $psCheckoutCart->getPaypalStatus() === 'CANCELED'} {elseif $psCheckoutCart->getPaypalStatus() === 'REVERSED'} {else}

{l s='The PayPal account that was used to create this order is no longer linked to the PrestaShop Checkout module.' mod='ps_checkout'}

{l s='In order to see this information, please reconnect the correct PayPal account.' mod='ps_checkout'}


{/if}
{/if} {if $orderPayPal}

{l s='PayPal Order' mod='ps_checkout'}

{l s='Reference' mod='ps_checkout'}
{$orderPayPal.id|escape:'html':'UTF-8'}
{l s='Status' mod='ps_checkout'}
{$orderPayPal.status.translated|escape:'html':'UTF-8'}
{l s='Total' mod='ps_checkout'}
{$orderPayPal.total}
{l s='Balance' mod='ps_checkout'}
{$orderPayPal.balance}
{l s='Payment mode' mod='ps_checkout'}
{$orderPaymentDisplayName|escape:'html':'UTF-8'} {$orderPaymentDisplayName|escape:'html':'UTF-8'}
{l s='Environment' mod='ps_checkout'}
{if $isProductionEnv} {l s='Production' mod='ps_checkout'} {else} {l s='Test' mod='ps_checkout'} {/if}
{if $psCheckoutCart->paypal_funding === 'card'}
{l s='3D Secure' mod='ps_checkout'}
{if $orderPayPal.is3DSecureAvailable && $orderPayPal.isLiabilityShifted} {l s='Success' mod='ps_checkout'} {elseif $orderPayPal.is3DSecureAvailable && !$orderPayPal.isLiabilityShifted} {l s='Failed' mod='ps_checkout'} {else} {l s='Card does not support 3D Secure' mod='ps_checkout'} {/if}
{l s='Liability shift' mod='ps_checkout'}
{if $orderPayPal.isLiabilityShifted} {l s='Bank' mod='ps_checkout'} {else} {l s='Merchant' mod='ps_checkout'} {/if}
{/if}
{if $psCheckoutCart->paypal_funding === 'card' && !$orderPayPal.isLiabilityShifted}
{l s='The bank issuer declined the liability shift. We advice you not to honor the order immediately, wait a few days in case of chargeback and contact the consumer to ensure authenticity of the transaction. For this type of cases we also recommend to consider Chargeback protection.' mod='ps_checkout'}
{/if} {if $psCheckoutCart->paypal_funding === 'card' && $orderPayPal.isLiabilityShifted}
{l s='The bank issuer accepted the liability shift. You can safely honor the order.' mod='ps_checkout'}
{/if}
{if !empty($orderPayPal.transactions)}
{assign var="counter" value=1} {foreach $orderPayPal.transactions as $orderPayPalTransaction} {assign var="counter" value=$counter+1} {/foreach}
{assign var="counter" value=1} {foreach $orderPayPal.transactions as $orderPayPalTransaction} {assign var="maxAmountRefundable" value=$orderPayPalTransaction.maxAmountRefundable|string_format:"%.2f"} {assign var="orderPayPalRefundAmountIdentifier" value='orderPayPalRefundAmount'|cat:$orderPayPalTransaction.id}

{l s='Transaction details' mod='ps_checkout'}

{l s='Reference' mod='ps_checkout'}
{$orderPayPalTransaction.id}
{l s='Status' mod='ps_checkout'}
{$orderPayPalTransaction.status.translated}
{l s='Amount (Tax incl.)' mod='ps_checkout'}
{$orderPayPalTransaction.amount} {$orderPayPalTransaction.currency}
{if !empty($orderPayPalTransaction.seller_protection)}
{l s='Seller protection' mod='ps_checkout'}
{$orderPayPalTransaction.seller_protection.translated|escape:'html':'UTF-8'}
{/if}
{if $orderPayPalTransaction.gross_amount || $orderPayPalTransaction.paypal_fee || $orderPayPalTransaction.net_amount}

{l s='Transaction amounts' mod='ps_checkout'}

{if $orderPayPalTransaction.gross_amount}
{l s='Gross amount' mod='ps_checkout'}
{$orderPayPalTransaction.gross_amount} {$orderPayPalTransaction.currency}
{/if} {if $orderPayPalTransaction.paypal_fee}
{l s='Fees (Tax Incl.)' mod='ps_checkout'}
- {$orderPayPalTransaction.paypal_fee} {$orderPayPalTransaction.currency}
{/if} {if $orderPayPalTransaction.net_amount}
{l s='Net amount' mod='ps_checkout'}
{$orderPayPalTransaction.net_amount} {$orderPayPalTransaction.currency}
{/if}
{/if} {l s='See on PayPal' mod='ps_checkout'} {if $orderPayPalTransaction.isRefundable} {l s='Refund' mod='ps_checkout'} {/if}
{if $orderPayPalTransaction.isRefundable} {/if} {assign var="counter" value=$counter+1} {/foreach}
{/if} {/if}