Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Posts
    71
    Plugin Contributions
    0

    Default Credit Card Module Label Issues

    Greetings,

    Client is running fully patched Zencart 1.38. There are two instances of his cart running on the server, one for retail customers and one exclusively for wholesale customers. The retail store (www.shopinhisimage.com) has been up and running for a couple of years. Client came to me a few months ago and asked me to create a clone of the retail site for his wholesale customers. Per the instructions on this site, I (thought I) successfully copied the cart to a new subdomain. However, I am now encountering some issues.

    Upon checkout, the appropriate credit card labels do now show. Here's an example of what is seen in the source of wholesale site with the probrlem:

    Code:
    <label for="cc-cc-owner" class="inputLabelPayment">Card Owner's Name:</label><input type="text" name="cc_owner" value="Red E. Shopper" id="cc-cc-owner" onfocus="methodSelect('pmt-cc')" /><br class="clearBoth" />
    <label for="cc-cc-number" class="inputLabelPayment">Card Number:</label><input type="text" name="cc_number" id="cc-cc-number" onfocus="methodSelect('pmt-cc')" /><br class="clearBoth" />
    <label for="cc-cc-expires-month" class="inputLabelPayment">Expiration Date:</label><select name="cc_expires_month" id="cc-cc-expires-month" onfocus="methodSelect('pmt-cc')">
    Code:
    <label for="cc-cc-owner" class="inputLabelPayment">MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_OWNER</label><input type="text" name="cc_owner" value="Red E. Shopper" id="cc-cc-owner" onfocus="methodSelect('pmt-cc')" /><br class="clearBoth" />
    <label for="cc-cc-number" class="inputLabelPayment">MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_NUMBER</label><input type="text" name="cc_number" id="cc-cc-number" onfocus="methodSelect('pmt-cc')" /><br class="clearBoth" />
    <label for="cc-cc-expires-month" class="inputLabelPayment">MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_EXPIRES</label><select name="cc_expires_month" id="cc-cc-expires-month" onfocus="methodSelect('pmt-cc')">
    I have done a Developer's Toolkit search on the retail site for "Card Owner's Name" and come up with 0 results? I also have reinstalled the cc.php file thinking it might have something to do with a file corruption, but no success there either. I'm really scratching my head...

    I'll post my other issue in the appropriate forum.

    Thanks in advance for any assistance you can provide.

    Christopher
    Deer Creek Design Company

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

    Default Re: Credit Card Module Label Issues

    What exactly is the "problem"? You've said "labels do now show". So, I'm uncertain whether you're saying that "now" things are better? or whether you've made a typo and meant to say "not show" instead of "now show"?
    Or whether you dislike the "Red E. Customer" showing as the customer's name (which comes from their logged in first and last name).
    etc.
    You've posted 2 sets of code, one with values which looks like it came from the browser, and one with constants which looks like it comes from a PHP file?
    .

    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
    Feb 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Credit Card Module Label Issues

    Dr. Byte,

    Thanks for the quick response. If you look at the code I posted, on the retail site the labels are correct "Card Owner's Name", "Card Number", "Expiration Date". However, the wholesale site, the labels are now rendered as:

    MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_OWNER
    MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_NUMBER
    MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_EXPIRES

    In fact, when I look under the payment modules section, the option to turn on or off the CC module is labeled:

    MODULE_PAYMENT_CC_TEXT_TITLE

    I'll fix my original post if I can... I see what there is confusion... I inadvertently removed on my sentences...

    I hope that clears up what my issue is.

    Thanks...

    Christopher

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

    Default Re: Credit Card Module Label Issues

    If you're missing the NAMES_OF_THE_CONSTANTS, then your language file for that module has probably not uploaded completely, or is missing significant portions of the file.
    .

    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
    Feb 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Credit Card Module Label Issues

    Thanks, Dr. Byte...

    So, just to make sure I'm understanding the other forum entries correctly, I *should* be fine if I completely reload the language files for 1.38 (backing up first, of course). I'm guessing a similar reload will take care of the other php error I described on the other thread as well?

    Thanks,

    Christopher

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

    Default Re: Credit Card Module Label Issues

    It sounds like you're suffering from an incomplete FTP upload, where perhaps multiple files may have timed out or not uploaded properly.

    The other thread may or may not be a different issue.
    .

    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.

 

 

Similar Threads

  1. v151 Changing font size of "Credit Card" radio button label during checkout
    By Pickman in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 14 Apr 2013, 08:56 AM
  2. Credit Card Module disabled, yet order placed with "Credit Card"
    By retrobec in forum Built-in Shipping and Payment Modules
    Replies: 17
    Last Post: 2 Apr 2010, 03:22 AM
  3. Replies: 1
    Last Post: 26 Oct 2009, 03:30 AM
  4. Why do I have credit card fields when the credit card module is not enabled?
    By RayDube in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 8 Jan 2009, 07:39 PM
  5. How to Change Label from 2Checkout to Credit Card on Cart Checkout
    By KRW Knitwear in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 1 May 2007, 09:24 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