Forums / Addon Payment Modules / Logo doesn't show up on PayPal checkout page

Logo doesn't show up on PayPal checkout page

Locked

Views: 7,662

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
8 Nov 2006, 5:14 AM
#1
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

8 Nov 2006, 6:05 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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:

                             zen_draw_hidden_field('image_url', MODULE_PAYMENT_PAYPAL_IMAGE_URL) .
```add 2 slashes in front of it like this:```
//                             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.

8 Nov 2006, 6:31 AM
#3
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

8 Nov 2006, 6:36 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

dealbyethan.com:

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:```
// 'MODULE_PAYMENT_PAYPAL_PAGE_STYLE' ,

.
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.

2 Aug 2007, 4:24 AM
#5
lemuria avatar

lemuria

New Zenner

Join Date:
Aug 2005
Posts:
59
Plugin Contributions:
0

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?

2 Aug 2007, 5:41 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

3 Aug 2007, 6:14 AM
#7
lemuria avatar

lemuria

New Zenner

Join Date:
Aug 2005
Posts:
59
Plugin Contributions:
0

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!

21 Aug 2007, 6:13 PM
#8
lemuria avatar

lemuria

New Zenner

Join Date:
Aug 2005
Posts:
59
Plugin Contributions:
0

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.

21 Aug 2007, 6:22 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

28 Aug 2007, 6:37 AM
#10
lemuria avatar

lemuria

New Zenner

Join Date:
Aug 2005
Posts:
59
Plugin Contributions:
0

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.

28 Aug 2007, 12:48 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

lemuria:

It says:
<input type="hidden" name="page_style" value="flipflopsoriginal" />

"flipflopsoriginal" is the correct page style name.

You'll have to talk to PayPal tech support about why they're not honoring the page_style setting.
Be sure to quote that same information to them.

.
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.