Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2016
    Location
    Toronto
    Posts
    23
    Plugin Contributions
    0

    Default Payment Slam = lost cart. Intentional or no?

    When there are too many payment attempts (failures), the code
    sends the customer to a TIMEOUT PAGE after destroying the session.

    Is it intentional to also destroy the contents of the shopping cart?

    The timeout page indicates that the cart has been saved, however carts that could easily have a hundred items in them are forever lost.

    I'm not understanding the reasoning behind destroying the cart also, but I do know
    why sending to a timeout and requiring a new login.

    Dan
    www.beadfx.com

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Payment Slam = lost cart. Intentional or no?

    Ya, it was written that way intentionally because if someone's slamming cards then destroying the cart requires yet another step to put something in the cart before they can begin checkout with fake cards again.

    Why are your customers regularly putting in invalid card numbers more than 5 times in a row?
    .

    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
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Payment Slam = lost cart. Intentional or no?

    Good question, but I don't think that there would be a definitive answer, because it would (I suspect) depend on how far the processing got to before whatever caused the timeout occurred.

    Under normal conditions, yes it is normal for the cart contents to be destroyed after the payment. Customers would get quite confused (and even annoyed) otherwise.

    A timeout isn't 'normal conditions' though so all bets are off, so rather than worry about what to expect, you should be far more concerned about the cause of the timeouts in the 1st place.

    Just my view.

    Cheers
    RodG

    ps. As usual, DrBytes response (posted while I was writing mine) is almost certainly the more accurate answer.
    Last edited by RodG; 7 Nov 2016 at 05:20 AM.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: Payment Slam = lost cart. Intentional or no?

    Quote Originally Posted by DrByte View Post
    Ya, it was written that way intentionally because if someone's slamming cards then destroying the cart requires yet another step to put something in the cart before they can begin checkout with fake cards again.

    Why are your customers regularly putting in invalid card numbers more than 5 times in a row?
    Just a note that on Zen Cart 1.5.5b, this operation occurs after 3 (not 5) failed checkout attempts.

  5. #5
    Join Date
    Jan 2016
    Location
    Toronto
    Posts
    23
    Plugin Contributions
    0

    Default Re: Payment Slam = lost cart. Intentional or no?

    I'll agree for many sites that this is good and probably the best way for most public websites.

    However anyone working with CC companies who have strict address checking -
    and MoneyMart's handing out prepaid cards with wrong addresses and zip codes is a nightmare!

    It should be there, but it should be a disable-able option IMO

    Dan

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Payment Slam = lost cart. Intentional or no?

    If you want to have it keep the cart, you can comment-out line 40 in includes/modules/checkout_process.php:
    Code:
      $_SESSION['cart']->reset(TRUE);
    .

    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. Lost payment methods
    By summit gear in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 May 2009, 09:30 AM
  2. Lost right-hand info window in payment module
    By Tasti1 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 26 Oct 2008, 06:22 PM
  3. Payment info page has lost Gift Certificate entry area
    By jeffmic in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 28 Nov 2006, 04:23 AM
  4. PayPal Payment / Lost Order
    By cslewis@craigs-attic in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Oct 2006, 09:13 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