Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2006
    Posts
    20
    Plugin Contributions
    0

    Default Prevent credit card number from clearing when selecting different shipper

    When a customer lands on the check out page and they enter their credit card number BUT then they change their shipping method, the page refreshes and the credit card number field is cleared (not the name and the exp date though).

    We used to have this problem a lot because our version of Zen cart did not pre-select a shipping method and a lot of customers filled out the CC fields only to get an error when continuing and they had to enter their CC# again. A bit annoying.

    I have made a small change to the php code and now the Payment method is pre-selected and I think it will curtail future errors like this, but I noticed that any error on the checkout page and some operations such as choosing a different shipping method refresh the page and delete the CC# and the CSV number.

    I think this is actually by design, but I was wondering if there was a way to have the CC# and CSV to remain persistent even if the checkout page was reloaded or if that is a built in behavior that can't be changed.

    I hope I explained my problem properly.

    Edit: I have actually found anotehr post where the poster is actually looking for the opposite behavior. His problem was that the CC field "remembered" the CC# even after the page was refreshed. We would like it to "remember" the CC number after a page refresh but it "forgets" it.

    here is the link to that post: http://www.zen-cart.com/forum/showthread.php?t=65568

    Thank you
    Last edited by corrado444; 13 May 2011 at 12:41 AM.

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

    Default Re: Prevent credit card number from clearing when selecting different shipper

    What version of Zen Cart are you using? What payment module are you using?
    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 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: Prevent credit card number from clearing when selecting different shipper

    Hi, I wish I knew. This shop was built by someone else a few years ago. I tried looking in the files if there was a version number, but so far I haven't found it. Is there a place where that info may be?

    As far as the payment module, it's the regular built in credit card module ad s far as I can tell, linked to authorized.net

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

    Default Re: Prevent credit card number from clearing when selecting different shipper

    ... if it was a "few years ago" you need to upgrade ASAP
    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.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Prevent credit card number from clearing when selecting different shipper

    Your version number is displayed in the footer of your admin home page, as well as by clicking the "Version" link in the upper right corner of your admin menu.
    If it doesn't say v1.3.9h, you need to do some upgrading for security reasons.

    And, you can determine which payment modules are enabled by going to Admin->Modules->Payment menu and seeing which ones have green dots next to them. Same with shipping, 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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Prevent credit card number from clearing when selecting different shipper

    Quote Originally Posted by corrado444 View Post
    I think this is actually by design
    Yes, it is.
    Quote Originally Posted by corrado444 View Post
    but I was wondering if there was a way to have the CC# and CSV to remain persistent even if the checkout page was reloaded or if that is a built in behavior that can't be changed.
    Not intended to be changed, for PCI Compliance reasons.
    .

    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.

  7. #7
    Join Date
    Aug 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: Prevent credit card number from clearing when selecting different shipper

    Quote:
    Originally Posted by corrado444
    I think this is actually by design

    Yes, it is. Quote:
    Originally Posted by corrado444
    but I was wondering if there was a way to have the CC# and CSV to remain persistent even if the checkout page was reloaded or if that is a built in behavior that can't be changed.

    Not intended to be changed, for PCI Compliance reasons.
    ##############################___
    Thank you, that's exactly what I told them most likely was the case. I needed some confirmation from someone a bit more familiar with Zen Cart than I am.

    Incidentally, this shop used to belong to a friend, but he has since sold it. The new owner contacted me yesterday, after probably a couple of years, because he was having a problem with customers leaving without purchasing because the CC payment was not pre-selected.

    I fixed that so now the CC is pre-selected but I certainly have not had time to check on the general health and status of the store.

    Naturally, the version number is in the footer of the stock template, but this store uses a custom template sans Zen Cart footer. I can probably get it from the administration footer, now that I think of it, but I haven't had reason to gothere yet (but I know where the payment modules are).

    Thank you very much. I really appreciate the help.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Prevent credit card number from clearing when selecting different shipper

    Quote Originally Posted by corrado444 View Post
    I fixed that so now the CC is pre-selected
    That is a built-in feature of v1.3.9. Upgrading will take care of that for you.
    .

    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. Replies: 5
    Last Post: 29 Nov 2010, 06:28 AM
  2. Replies: 5
    Last Post: 15 Nov 2010, 07:19 PM
  3. 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
  4. Credit card number from last order reused
    By DataDeskGuy in forum Managing Customers and Orders
    Replies: 1
    Last Post: 18 Oct 2006, 07:00 PM

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