Zen Cart Logo
Forums / PayPal Express Checkout support / Credit Card Logos to Paypal Option

Credit Card Logos to Paypal Option

Locked

Views: 19,111

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
27 Oct 2007, 2:24 PM
#1
rich_li_ny avatar

rich_li_ny

New Zenner

Join Date:
Aug 2007
Location:
New York State & Cape Town
Posts:
76
Plugin Contributions:
0

Credit Card Logos to Paypal Option

Page 2 of 3 of the checkout shows PayPal as a payment option.

Unfortunately, there is nothing there that really describes what PayPal is.

Currently there is just a little yellow rectangle with the word PayPal and next to it it says: "Checkout with Paypal"

I would like to add my credit card images there with the Paypal logo.

This way people without a PayPal account know (or reminded) that by choosing the PayPal option they can pay with Visa, MasterCard, etc..

How do I add my credit card pics to this area?

Can this be done or must I stitch all of my credit card pics together as one and replace the gif that is already there?? Being able to add them separately would be ideal.

27 Oct 2007, 3:05 PM
#3
rich_li_ny avatar

rich_li_ny

New Zenner

Join Date:
Aug 2007
Location:
New York State & Cape Town
Posts:
76
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

Thanks for the reply,

Kim:

Your could replace the current image with another from Paypal https://www.paypal.com/cgi-bin/webscr?cmd=xpt/cps/general/PayPalNewLogoAnnouncement-outside

That's an option.. but, the current size of the PayPal logo is nice 37x23.

The other Paypal images available that show Visa, Master, Amex, and Discover are 210x80 (being the smallest) which is absolutely massive, ugly and just terrible looking when displayed on the payment page.

Is there a way I can add multiple images here instead?

This way I can have the existing PayPal gif, as well as normal size credit card logos? Or, must I stitch all my gifs together with gimp or photoshop and make my own single image?

Rich

2 Nov 2007, 11:49 AM
#4
rich_li_ny avatar

rich_li_ny

New Zenner

Join Date:
Aug 2007
Location:
New York State & Cape Town
Posts:
76
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

Problem Solved

What I did:

  1. Using GIMP, I took the existing paypal_mark_37x23.gif, added my credit card logos along side it and saved it as a new image file.

  2. Uploaded to file to my server.

  3. Changed the link to the new image location.

Done

I now have the Following Images on my payment page for PayPal:
PayPal, Visa, Master, Amex, Discover

Now it just a matter of doing something similar for all my other payment options.

If anyone would like a copy of the image I'll be glad to send it to you to save you some work.

Also if you would like to manipulate or make any of your own image files for use in Zencart you can download the GIMP at: http://www.gimp.org It's a free open source program similar to Adobe Photo Shop.

Rich

12 Jan 2008, 9:19 PM
#5
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

Hey Rich,

So you kept the file the same size as the old one?

What file did you edit to change the link?

JP

12 Jan 2008, 11:42 PM
#6
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

Nevermind, I found it.

I also changed the logo to a larger paypal approved logo.

This is the page to change. Using ZC 1.3.8a.

/includes/languages/english/modules/payment/paypal.php

Lines 19 through 21.
Here are my changes.

19: define('MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_IMG', 'https://www.paypal.com/en_US/i/bnr/horizontal_solution_PP.gif');

20:  define('MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_ALT', 'Pay with your credit card via Paypal checkout!');

21:  define('MODULE_PAYMENT_PAYPAL_ACCEPTANCE_MARK_TEXT', 'Save time. Check out securely. <br />Pay with Credit Cards via Paypal or use your Paypal account.');

You can see it at birdersbinoculars.com

13 Jan 2008, 6:58 AM
#7
rich_li_ny avatar

rich_li_ny

New Zenner

Join Date:
Aug 2007
Location:
New York State &amp; Cape Town
Posts:
76
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

Great. Glad you got it !!!

Rich

10 Mar 2008, 2:51 AM
#8
supplyman avatar

supplyman

New Zenner

Join Date:
Feb 2008
Location:
Alabama
Posts:
12
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

I would like to add the CC logo's but I am using 1.3.7.1 and the file sturcture seems to be different. Can you tell me what file to change?

Thanks

14 Mar 2008, 11:28 PM
#9
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

I made the change in red to my /includes/functions/payment/paypal.php file and now the paypal option is no longer on step 2 page of the checkout process.

define('MODULE_PAYMENT_PAYPAL_TEXT_ADMIN_TITLE', 'Paypal IPN');
define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', '<img src="https://http://www.shoppingcart.acountrycupboard.com/zencart/includes/templates/countrycupboard/images/icons/pp1.gif" alt="Checkout with PayPal" align="middle" />');
if (function_exists('zen_catalog_href_link')) {
define('MODULE_PAYMENT_PAYPAL_TEXT_DESCRIPTION', '<strong>PayPal IPN</strong><br /><font color=green>Configuration Instructions:</font><br />On https://www.paypal.com, under "Profile",<ul><li>set your <strong>Instant Payment Notification Preferences</strong> URL to:<br />'.str_replace('index.php?main_page=index','ipn_ma in_handler.php',zen_catalog_href_link(FILENAME_DEF AULT, '', 'SSL')) . ' </li><li>in <strong>Website Payments Preferences</strong> set your <strong>Automatic Return URL</strong> to:<br />'.zen_catalog_href_link(FILENAME_CHECKOUT_PROCESS , '', 'SSL',false).'</li>' . (defined('MODULE_PAYMENT_PAYPAL_STATUS') ? '' : '<li>... and click "install" above to enable PayPal support... and "edit" to tell Zen Cart your PayPal settings.</li>') . '</ul><font color=green><hr /></font>' );

I'm also now getting the following error when I select the /modules/payment on the admin console:

Warning: include(/var/www/domains/shoppingcart.acountrycupboard.com/docs/zencart/includes/languages/english/modules/payment/header.php) [function.include]: failed to open stream: No such file or directory in /var/www/domains/shoppingcart.acountrycupboard.com/docs/zencart/admin/modules.php on line 188

Warning: include() [function.include]: Failed opening '/var/www/domains/shoppingcart.acountrycupboard.com/docs/zencart/includes/languages/english/modules/payment/header.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/domains/shoppingcart.acountrycupboard.com/docs/zencart/admin/modules.php on line 188

Michael
:frusty:

17 Mar 2008, 12:41 AM
#10
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: Credit Card Logos to Paypal Option

retrieved it ... and then upgraded to 1.3.8