first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
st_theme_use_stylesheet('stPaypal.css');
|
||||
|
||||
$smarty->assign('successful', $paypal_response->isSuccessful());
|
||||
$smarty->assign('already_payed', $paypal_response->hasError(10412) || $paypal_response->hasError(10415));
|
||||
$smarty->assign('pending', $paypal_response->getPaymentStatus() == 'Pending');
|
||||
$smarty->assign('paypal_button', link_to(image_tag('https://www.paypal.com/' . stPaypal::getButtonLocaleByCulture($sf_user->getCulture()) . '/i/btn/btn_xpressCheckout.gif', array('alt' => __('Zapłać w systemie PayPal'))), '@stPaypalSetExpressCheckout?order_id=' . $order_id . '&order_hash=' . $hash_code));
|
||||
|
||||
$smarty->display('paypal_return.html');
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
st_theme_use_stylesheet('stPaypal.css');
|
||||
|
||||
$smarty->assign('successful', $paypal_response->isSuccessful());
|
||||
$smarty->assign('already_payed', $paypal_response->hasError(10412) || $paypal_response->hasError(10415));
|
||||
$smarty->assign('pending', $paypal_response->getPaymentStatus() == 'Pending');
|
||||
$smarty->assign('paypal_button', link_to(image_tag('https://www.paypal.com/' . stPaypal::getButtonLocaleByCulture($sf_user->getCulture()) . '/i/btn/btn_xpressCheckout.gif', array('alt' => __('Zapłać w systemie PayPal'))), '@stPaypalSetExpressCheckout?order_id=' . $order_id . '&order_hash=' . $hash_code));
|
||||
|
||||
$smarty->display('paypal_return.html');
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
st_theme_use_stylesheet('stPaypal.css');
|
||||
$smarty->display('paypal_set_express_checkout.html');
|
||||
?>
|
||||
@@ -0,0 +1,22 @@
|
||||
<div class="st_application">
|
||||
<h1 class="st_title">
|
||||
{__ text="Paypal"}
|
||||
</h1>
|
||||
{if $successful}
|
||||
<p id="st_paypal-message-success">
|
||||
{__ text="Dziękujemy za dokonanie płatności. Twoje zamówienie zostanie zrealizowane po otrzymaniu płatności."}
|
||||
</p>
|
||||
{elseif $already_payed}
|
||||
<p id="st_paypal-message-failed">
|
||||
{__ text="Zamówienie zostało już opłacone."}
|
||||
</p>
|
||||
{else}
|
||||
<p id="st_paypal-message-failed">
|
||||
{__ text="Wystąpił problem podczas realizowania płatności za pośrednictwem serwisu Paypal."}
|
||||
</p>
|
||||
<p id="st_paypal-checkout-button">
|
||||
{$paypal_button}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="st_application">
|
||||
<h1 class="st_title">
|
||||
{__ text="Paypal"}
|
||||
</h1>
|
||||
<p id="st_paypal-message-failed">
|
||||
{__ text="Wystąpił problem podczas realizowania płatności za pośrednictwem serwisu Paypal."}
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,12 @@
|
||||
<div class="st_application">
|
||||
<h1 class="st_title">
|
||||
{__ text="Paypal"}
|
||||
</h1>
|
||||
<p id="st_paypal-message-success">
|
||||
{if $already_payed}
|
||||
{__ text="Zamówienie zostało już opłacone."}
|
||||
{else}
|
||||
{$paypal_button}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,31 @@
|
||||
<div id="stPayment_return" class="box roundies">
|
||||
<div class="title">
|
||||
<h2>
|
||||
<img src="{image_path image='stPaypalPlugin/paypal_logo.png'}" alt="paypal" />
|
||||
</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
{if $successful}
|
||||
<p id="st_paypal-message-success">
|
||||
{__ text="Dziękujemy za dokonanie płatności. Twoje zamówienie zostanie zrealizowane po otrzymaniu płatności."}
|
||||
</p>
|
||||
<div class="buttons important">
|
||||
<a class="important" href="/">{__ text="Przejdź do strony głównej" langCatalogue="stPaypalFrontend"}</a>
|
||||
</div>
|
||||
{elseif $already_payed}
|
||||
<p id="st_paypal-message-failed">
|
||||
{__ text="Zamówienie zostało już opłacone."}
|
||||
</p>
|
||||
<div class="buttons important">
|
||||
<a class="important" href="/">{__ text="Przejdź do strony głównej" langCatalogue="stPaypalFrontend"}</a>
|
||||
</div>
|
||||
{else}
|
||||
<p id="st_paypal-message-failed">
|
||||
{__ text="Wystąpił problem podczas realizowania płatności za pośrednictwem serwisu Paypal."}
|
||||
</p>
|
||||
<p id="st_paypal-checkout-button">
|
||||
{$paypal_button}
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<p id="st_paypal-message-failed">
|
||||
{__ text="Wystąpił problem podczas realizowania płatności za pośrednictwem serwisu Paypal."}
|
||||
</p>
|
||||
@@ -0,0 +1,12 @@
|
||||
<div id="st_box_payment">
|
||||
<span>
|
||||
{$description}
|
||||
</span>
|
||||
<p id="st_paypal-message-success">
|
||||
{if $already_payed}
|
||||
{__ text="Zamówienie zostało już opłacone."}
|
||||
{else}
|
||||
{$paypal_button}
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,20 @@
|
||||
{set layout="one_column"}
|
||||
<div id="payment">
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{__ text="PayPal"}
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
{if $successful}
|
||||
<p>{__ text="Dziękujemy za dokonanie płatności. Twoje zamówienie zostanie zrealizowane po otrzymaniu płatności."}</p>
|
||||
<a href="/" class="btn btn-primary">{__ text="Wróć do zakupów" langCatalogue="stPayment"}</a>
|
||||
{elseif $already_payed}
|
||||
<p>{__ text="Zamówienie zostało już opłacone."}</p>
|
||||
<a href="/" class="btn btn-primary">{__ text="Wróć do zakupów" langCatalogue="stPayment"}</a>
|
||||
{else}
|
||||
<p>{__ text="Wystąpił problem podczas realizowania płatności za pośrednictwem serwisu Paypal."}</p>
|
||||
<p>{$paypal_button}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<p id="st_paypal-message-failed">
|
||||
{__ text="Wystąpił problem podczas realizowania płatności za pośrednictwem serwisu Paypal."}
|
||||
</p>
|
||||
@@ -0,0 +1,12 @@
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{__ text="PayPal"}
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
{if $already_payed}
|
||||
<p>{__ text="Zamówienie zostało już opłacone."}</p>
|
||||
{else}
|
||||
{$paypal_button}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user