Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2004
    Location
    Iowa
    Posts
    95
    Plugin Contributions
    0

    Default Delete CVV from database

    zv 1.3.8a

    I was wondering if there is a way to remove CVV numbers from the database in a more global fashion. I recently took over managing a zen store and there are hundreds of sales that still have the CVV number stored. I'd like to delete all those whos status is "delivered (4)" or something like that.

    Right now it looks like the only option I have is to open each and every order individually to click on the delete CVV link.

    If no other way, can someone direct me in using phpmyadmin perhaps? I just have to believe there is a way that would be faster than editing every order.

    Any help or suggestions would be welcomed.

    Thanks.
    elltx.com ELLTX Computer Services
    hostingwithservice.com Designing Results Hosting Services
    designingresults.com Designing Results Web Design Services

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Delete CVV from database

    You could run the SQL command:
    Code:
    UPDATE orders SET cc_cvv ='';
    NOTE: Always first backup your database before making changes like this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Delete CVV from database

    will that only update orders that are set to delivered or will that delete them all
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Delete CVV from database

    Good point that is for ALL orders ... to restrict them for those that are delivered us:
    Code:
    UPDATE orders SET cc_cvv ='' WHERE orders_status = 4;
    where the Delivered orders_status is 4 ...

    NOTE: be sure to check the orders_status value to be removed ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2004
    Location
    Iowa
    Posts
    95
    Plugin Contributions
    0

    Default Re: Delete CVV from database

    Thanks Ajeh!

    As always, your answer to my question has saved me from arduous and tedious work. You're the best!
    elltx.com ELLTX Computer Services
    hostingwithservice.com Designing Results Hosting Services
    designingresults.com Designing Results Web Design Services

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Delete CVV from database

    Thanks for the update that this was able to help you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Products Won't Delete From Database
    By TesterServers in forum General Questions
    Replies: 1
    Last Post: 6 Dec 2009, 01:39 AM
  2. Delete a categrory from database
    By caroline08 in forum General Questions
    Replies: 1
    Last Post: 18 Oct 2009, 11:15 PM
  3. Delete all CVV Numbers At Once?
    By IllusionGuy in forum General Questions
    Replies: 2
    Last Post: 30 Jun 2009, 07:46 PM
  4. Delete All from Database
    By jojohi in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Sep 2006, 04:29 AM

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