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.
Re: Credit Card Logos to Paypal Option
Your could replace the current image with another from Paypal https://www.paypal.com/cgi-bin/websc...cement-outside
Re: Credit Card Logos to Paypal Option
Thanks for the reply,
Quote:
Originally Posted by
Kim
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
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
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
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.
Code:
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
Re: Credit Card Logos to Paypal Option
Great. Glad you got it !!!
Rich
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
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 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:
Re: Credit Card Logos to Paypal Option
retrieved it ... and then upgraded to 1.3.8