Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    red flag Logo doesn't show up on PayPal checkout page

    Hi,

    I created a custom payment page with my logo and made it primary on PayPal website. But when I checked out on my website choosing PayPal as the payment method, my logo did not show up. I contacted PayPal for help and they told me to check with Zencart to make sure they are not passing an 'image_url' variable to PayPal. This will prevent my custom payment page from showing correctly. Please advise. Thanks in advance :)

    Best regards,
    Ethan
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Logo doesn't show up on PayPal checkout page

    /includes/modules/payment/paypal.php
    around line 191 or so (v1.3.6), you'll see:
    Code:
                                 zen_draw_hidden_field('image_url', MODULE_PAYMENT_PAYPAL_IMAGE_URL) .
    add 2 slashes in front of it like this:
    Code:
    //                             zen_draw_hidden_field('image_url', MODULE_PAYMENT_PAYPAL_IMAGE_URL) .
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    Idea or Suggestion Re: Logo doesn't show up on PayPal checkout page

    Hi DrByte,

    Thanks for your quick response. I am using zencart 1.2.7. I did what you suggested to comment out the following in the specified file:
    zen_draw_hidden_field('image_url', MODULE_PAYMENT_PAYPAL_IMAGE_URL) .
    However, the logo still doesn't show up. What's the problem?

    Regards,
    Ethan
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Logo doesn't show up on PayPal checkout page

    Quote Originally Posted by dealbyethan.com View Post
    However, the logo still doesn't show up. What's the problem?
    I don't know, but Zen Cart is no longer sending the image_url parameter if you commented it out as instructed.


    near the bottom of the file, around line 256, you'll see:
    Code:
    //         'MODULE_PAYMENT_PAYPAL_PAGE_STYLE' ,
    If you *remove* the // from the beginning of that line, then you'll have another option in your PayPal screen of Zen Cart Admin, called "Page Style". In this field, you can specify which PayPal page-style to use. By default it uses "paypal". You probably want to change this to "primary", or some other specific name you used when creating the layout on the PayPal site.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: Logo doesn't show up on PayPal checkout page

    I'm having a similar problem in Zen Cart 1.3.7. I have a custom style set up in my Paypal account, but when I enter the style name into the module in the Zen Cart admin I don't see my logo on checkout.

    When I preview in Custom Payment Page Styles in the Paypal admin, I can see the logo, so I know that the URL is good. The url is to a file on the secure server, so that's not the problem.

    I don't see "MODULE_PAYMENT_PAYPAL_IMAGE_URL" anywhere in /includes/modules/payment/paypal.php. I do see 'MODULE_PAYMENT_PAYPAL_PAGE_STYLE', but it isn't commented out.

    Any ideas about what else could be causing this?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Logo doesn't show up on PayPal checkout page

    The paypal module doesn't send the image URL. It relies entirely on the page-style name that you enter. Does your page-style name contain any spaces or uppercase letters ? Does it match exactly between your PayPal profile and your Zen Cart settings?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Aug 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: Logo doesn't show up on PayPal checkout page

    Does your page-style name contain any spaces or uppercase letters ? Does it match exactly between your PayPal profile and your Zen Cart settings?
    The style name is exactly the same, all lowercase, no spaces. Odd!

  8. #8
    Join Date
    Aug 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: Logo doesn't show up on PayPal checkout page

    Any more ideas on what could be causing this? We haven't been able to find the problem.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Logo doesn't show up on PayPal checkout page

    Do a test transaction ... and go all the way to the checkout-confirmation page.
    But before you click "Confirm" (where it normally takes you to PayPal), use your browser menu to View Source.
    Search the source for 'page_style'.
    What's the full content of that field? It should start <input ... type="hidden" name="page_style" value = "something".... /> etc.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Aug 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: Logo doesn't show up on PayPal checkout page

    Do a test transaction ... and go all the way to the checkout-confirmation page.
    But before you click "Confirm" (where it normally takes you to PayPal), use your browser menu to View Source.
    Search the source for 'page_style'.
    What's the full content of that field? It should start <input ... type="hidden" name="page_style" value = "something".... /> etc.
    It says:
    <input type="hidden" name="page_style" value="flipflopsoriginal" />

    "flipflopsoriginal" is the correct page style name.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to Change PayPal Logo on Checkout Page
    By nlo4888 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 15 Oct 2013, 09:23 PM
  2. v139c Checkout page doesn't show items
    By jimweinberg in forum General Questions
    Replies: 7
    Last Post: 30 Jul 2012, 07:11 PM
  3. Manufacturers logo and Info doesn't show on product page anymore
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2010, 01:20 PM
  4. Paypal TEXT instead of Logo at Payment Page in checkout
    By Best Price Accessori in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 31 Mar 2009, 05:49 PM
  5. PayPal site doesn't show the order and the amount with express checkout
    By koolos.com in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 7 Jan 2008, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg