Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Why are "paypal" table records not deleted when an order is deleted?

    In my testing, I create a test/sandbox order via PayPal. Once my testing is completed, I use my Zen Cart admin to delete those test orders.

    I recently noticed that the records in my database's "paypal" table aren't removed when the order is deleted ... is this working as intended?

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

    Default Re: Why are "paypal" table records not deleted when an order is deleted?

    One could argue either way: keep it all because it's relevant to true order history; or delete it because there's no corresponding order record anymore. Auditors prefer the former; purists prefer the latter.

    At the present time it's working as intended.
    .

    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
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Re: Why are "paypal" table records not deleted when an order is deleted?

    Thanks, DrByte, best to keep the auditors happy.

 

 

Similar Threads

  1. v151 Images deleted when entire category deleted
    By jghogue in forum Customization from the Admin
    Replies: 1
    Last Post: 3 Oct 2013, 04:20 PM
  2. how to prevent image from being deleted when a product is deleted?
    By denniszc in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 7 Mar 2013, 03:01 PM
  3. v151 Deleted product still showing under "New Products!"
    By Fly130 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 6 Dec 2012, 02:03 AM
  4. I deleted the "log in" on home pg, how to get it back?
    By georgia in forum General Questions
    Replies: 1
    Last Post: 27 Jul 2011, 12:55 AM
  5. Replies: 3
    Last Post: 6 May 2009, 09:59 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