Results 1 to 8 of 8

Threaded View

  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.

 

 

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