Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2007
    Location
    New York State & Cape Town
    Posts
    76
    Plugin Contributions
    0

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

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default 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
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

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

    Default Re: Credit Card Logos to Paypal Option

    Thanks for the reply,

    Quote Originally Posted by Kim View Post
    Your could replace the current image with another from Paypal https://www.paypal.com/cgi-bin/websc...cement-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

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

    Default 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

  5. #5
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default 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

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

    Default Re: Credit Card Logos to Paypal Option

    Great. Glad you got it !!!

    Rich

  8. #8
    Join Date
    Feb 2008
    Location
    Alabama
    Posts
    14
    Plugin Contributions
    0

    Default 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

  9. #9
    Join Date
    Mar 2008
    Posts
    37
    Plugin Contributions
    0

    Default 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

  10. #10
    Join Date
    Mar 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Credit Card Logos to Paypal Option

    retrieved it ... and then upgraded to 1.3.8

 

 

Similar Threads

  1. Paypal/Credit Card Payment option
    By jordan8201 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 May 2009, 02:01 AM
  2. credit card logos with paypal?
    By birdoasis in forum General Questions
    Replies: 2
    Last Post: 13 Jan 2008, 12:44 AM
  3. Paypal logo with Credit Card Logos
    By Stormshade in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 4 Sep 2007, 08:19 AM
  4. Paypal IPN v1.3.6 No Credit Card Option
    By squid in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 14 Jun 2007, 07:27 AM
  5. Accepted credit card + paypal logos in footer on 3 pages only
    By dharma in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 11 Jan 2007, 12:21 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR