Jump to content

Anpassung Bezahlseite der Bezahldienste


Recommended Posts

Mit den Bezahlsachen habe ich so meine Probleme....  überweisung wird erst gar net angezeigt und nun funktionieren Paypal und Payrexx aber die Optik ist schlimm. 

 

Paypal zeigt nicht den Button und ich finde absolut nicht wo ich das anpassen kann.  entweder Hardcore ind en Files oder Editor, das muss sauber und gleichmässig aussehen.

Version 1.6  mit Standard Templatepost-762997-0-86416100-1504513066_thumb.jpg

Link to comment
Share on other sites

Das Paypal kein Logo anzeigt ist ein bekanntes bzw. häufiges Problem. Dafür muss man eine .tpl Datei anpassen.  Vermutlich ist es die Datei

./views/templates/hook/integral_evolution_payment.tpl:

 

So sollte der Quelltext am Ende ungefähr aussehen, damit auch ein Logo erscheint.

[code=auto:0]<div class="row">
    <div class="col-xs-12">
<p class="payment_module paypal">
                    <a href="javascript:void(0)" onclick="" id="paypal_process_payment" title="Mit Ihrem Paypal-Konto oder Ihrer Kreditkarte bezahlen">
                                                                        <img src="/modules/paypal/views/img/default_logos/custom_horizontal.png" alt="Mit PayPal / Kreditkarte bezahlen}" height="48px" />
                                         Mit PayPal / Kreditkarte bezahlen
                                
            </a>
        </p>
</div>
</div>[/code]
Link to comment
Share on other sites

Ui, da muss ich mich irgendwie einarbeiten,  meine Datei sieht komplett anders aus... Gibt es irgendwo nen Fix, finde leider nichts und man muss das Rad ja nicht zweimal erfinden wenn es bekannt ist. Suche war leider meinerseits komplett vergeblich

{*
* 2007-2017 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 [email protected] 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 <[email protected]>
*  @copyright 2007-2017 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}


{*Displaying a button or the iframe*}
{if $payment_hss_solution == $smarty.const.PAYPAL_HSS_REDIRECTION}
	{if $smarty.const._PS_VERSION_ >= 1.6}

	<div class="row">
		<div class="col-xs-12 col-md-6">
		<p class="payment_module paypal" >
			<a href="javascript:void(0)" style="padding-left:17px;" onclick="$('#paypal_form').submit();" id="paypal_process_payment" title="{l s='Pay with your card or your PayPal account' mod='paypal'}">
				
						<img src="{$logos.LocalPayPalHorizontalSolutionPP|escape:'htmlall':'UTF-8'}" alt="{l s='Pay with your card or your PayPal account' mod='paypal'}" height="48px" />		
					{l s='Pay with your card or your PayPal account' mod='paypal'}
			</a>
		</p>
		</div>
	</div>
[code=auto:0]<div class="row">
    <div class="col-xs-12">
<p class="payment_module paypal">
                    <a href="javascript:void(0)" onclick="" id="paypal_process_payment" title="Mit Ihrem Paypal-Konto oder Ihrer Kreditkarte bezahlen">
                                                                        <img src="/modules/paypal/views/img/default_logos/custom_horizontal.png" alt="Mit PayPal / Kreditkarte bezahlen}" height="48px" />
                                         Mit PayPal / Kreditkarte bezahlen
                                
            </a>
        </p>
</div>
</div>[/code]
	{else}
	<p class="payment_module">
		<a href="javascript:void(0)" onclick="$('#paypal_form').submit();" id="paypal_process_payment" title="{l s='Pay with your card or your PayPal account' mod='paypal'}">
			
					<img src="{$logos.LocalPayPalHorizontalSolutionPP|escape:'htmlall':'UTF-8'}" alt="{l s='Pay with your card or your PayPal account' mod='paypal'}" height="48px" />		
				{l s='Pay with your card or your PayPal account' mod='paypal'}
		</a>
	</p>
	{/if}
{else}
	{if $smarty.const._PS_VERSION_ >= 1.6}
	<div class="row">
		<div class="col-xs-12 col-md-6">
		<p class="payment_module">
			<iframe name="hss_iframe" width="556px" height="540px" style="overflow: hidden; border: none" class="payment_module"></iframe>	
		</p>
		</div>
	</div>
	{else}
	<hr style="border-top: 1px dotted rgb(204, 204, 204);" />
	<iframe name="hss_iframe" width="556px" height="540px" style="overflow: hidden; border: none" class="payment_module"></iframe>
	{/if}
{/if}



<form style="display: none" {if $payment_hss_solution == $smarty.const.PAYPAL_HSS_IFRAME}target="hss_iframe"{/if} id="paypal_form" name="paypal_form" method="post" action="{$action_url|escape:'htmlall':'UTF-8'}">
	<input type="hidden" name="cmd" value="_hosted-payment" />

	<input type="hidden" name="billing_first_name" value="{$billing_address->firstname|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="billing_last_name" value="{$billing_address->lastname|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="billing_address1" value="{$billing_address->address1|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="billing_address2" value="{$billing_address->address2|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="billing_city" value="{$billing_address->city|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="billing_zip" value="{$billing_address->postcode|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="billing_country" value="{$billing_address->country->iso_code|escape:'htmlall':'UTF-8'}" />
	{if ($billing_address->id_state != 0)}
		<input type="hidden" name="billing_state" value="{$billing_address->state->name|escape:'htmlall':'UTF-8'}" />
	{/if}
	<input type="hidden" name="first_name" value="{$delivery_address->firstname|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="last_name" value="{$delivery_address->lastname|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="buyer_email" value="{$customer->email|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="address1" value="{$delivery_address->address1|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="address2" value="{$delivery_address->address2|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="city" value="{$delivery_address->city|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="zip" value="{$delivery_address->postcode|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="country" value="{$delivery_address->country->iso_code|escape:'htmlall':'UTF-8'}" />
	{if ($delivery_address->id_state != 0)}
		<input type="hidden" name="billing_state" value="{$delivery_address->state->name|escape:'htmlall':'UTF-8'}" />
	{/if}

	<input type="hidden" name="address_override" value="true" />
	<input type="hidden" name="showShippingAddress" value="true" />

	<input type="hidden" name="currency_code" value="{$currency->iso_code|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="invoice" value="{$customer->id|intval}_{$time|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="shipping" value="{$shipping|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="tax" value="{$cart_details.total_tax|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="subtotal" value="{$subtotal|escape:'htmlall':'UTF-8'}" />

	<input type="hidden" name="custom" value="{$custom|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="notify_url" value="{$notify_url|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="paymentaction" value="sale" />
	<input type="hidden" name="business" value="{$business_account|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="template" value="template{$payment_hss_template|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="cbt" value="{l s='Return back to the merchant\'s website' mod='paypal'}" />
	<input type="hidden" name="cancel_return" value="{$cancel_return|escape:'htmlall':'UTF-8'}" />
	<input type="hidden" name="return" value="{$return_url|escape:'htmlall':'UTF-8'}" />
    <input type="hidden" name="bn" value="{$tracking_code|escape:'htmlall':'UTF-8'}" />
    <input type="hidden" name="lc" value="{$iso_code|escape:'htmlall':'UTF-8'}" />
</form>

{if $payment_hss_solution == $smarty.const.PAYPAL_HSS_IFRAME}
{literal}
<script type="text/javascript">
	$(document).ready( function() {
		$('#paypal_form').submit();
	});
</script>
{/literal}
{/if}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...