Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Paypal Image problem
 
karpik
Jr. Member
 
Total Posts:  15
Joined:  2008-08-06
Wakefield
 

HI all,

I have a problem with one page checkout paypal image shown on the picture attached.

Before I click on paypal as payment option everything is fine, after I click it a placeholder appears but doesn`t load any picture. Ideally I would like this place holder not to appear at all even when paypal is ticked.

Code surrounding this is:

</dd
        <
dt
            <
input id="p_method_paypal_express" value="paypal_express" type="radio" name="payment[method]" title="PayPal" onclick="payment.switchMethod('paypal_express')" class="radio" /> 
            <
label for="p_method_paypal_express">PayPal <!-- PayPal Logo --> 
<
a href="#" title="Acceptance Mark" onclick="[removed]window.open('https://www.paypal.com/gb/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=0, top=0, width=400, height=350'); return false;"><img src="https://www.paypal.com/en_GB/i/logo/PayPal_mark_37x23.gif" alt="Acceptance Mark" class="v-middle" /></a
<!-- 
PayPal Logo --> 
</
label
    </
dt
        <
dd
        <
ul class="form-list" id="payment_form_paypal_express" style="display:none;"
    <
li><img src="" alt="PayPal" /></li
    <
li>You will be redirected to the PayPal website.</li
</
ul
    </
dd>
Image Attachments
paypalproblem.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
jguiss
Member
 
Avatar
Total Posts:  75
Joined:  2007-11-30
France / Avignon
 

I found a solution…

Go to : app/design/frontend/base/default/template/paypal/payment/redirect.phtml

And replace “<?php echo $this->getBannerSrc() ?>” with your img url.

It’s works for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
dannyh
Jr. Member
 
Total Posts:  15
Joined:  2010-01-17
 

Thank you Tedece, this fixed it for me as well.

One side note for people using Magento, building a custom theme and couldn’t find what Tedece mentioned:

If you have build a custom theme check the other frontend folders
so:
app/design/frontend/OTHER FOLDER/default/template/paypal/payment/redirect.phtml

It was the fix for me.

Danny

 
Magento Community Magento Community
Magento Community
Magento Community
 
Epidigit
Jr. Member
 
Total Posts:  2
Joined:  2010-06-30
 

Hi, I also have a question related to the topic. Could anyone help? My magento version is 1.4.1.1

 
Magento Community Magento Community
Magento Community
Magento Community
 
Workwell
Member
 
Avatar
Total Posts:  63
Joined:  2010-05-05
London
 
Epidigit - 20 February 2011 06:35 AM

Hi, I also have a question related to the topic. Could anyone help? My magento version is 1.4.1.1

URL Fix worked for me

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top