Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Customers cart not clearing after purchase

    I've noticed about 50% of customers carts are not clearing after they make a purchase. I think this may be because they are not redirecting back to the checkout success page after completing payment. PayPal are putting a sign up page for customers that are paying by card.
    This is resulting in customers returning to the site, seeing the items are still in their cart and completing checkout and second and sometimes even a third time!

    This seems quite recent so I don't know when PayPal added the sign up page. Nor an I totally sure if it is the fact they don't redirect to the checkout success page that the cart doesn't clear, maybe someone could advise?

    Using payments standard. Always have done and this problem has only just surfaced. Anyone else experiencing this problem?

    Many thanks,

    Phil
    Phil Rogers
    A problem shared is a problem solved.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Customers cart not clearing after purchase

    Switch to PayPal express

  3. #3
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Customers cart not clearing after purchase

    So predictable... Lol

    That will be my last resort however express has never show line items on my instal 1.5.1 even when no discounts are being applied and I want my customers paypal receipt to show what they bought.

    Cab you confirm, is it the fact they are not redirecting back the reason why the cart doesn't clear down? Does it need the success page to load to do this?

    Of I use express I take it that it doesn't ??
    Phil Rogers
    A problem shared is a problem solved.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Customers cart not clearing after purchase

    Can't confirm this - as I have not encountered this at this time

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Customers cart not clearing after purchase

    Quote Originally Posted by philip937 View Post
    So predictable... Lol
    Yup, describing the same common problem will usually elicit the same suggested solution.

    As I understand it, the issue you're describing results from a failure in communication between Paypal's server and yours. Switching to Express will fix that problem. I'll have to run a test transaction to see if the line item issue is universal.

  6. #6
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Customers cart not clearing after purchase

    its not a problem with communication at all. that would be orders not being completed.

    My problem is customers not following paypal buttons after making payment by card to manually redirect them back to the site, therefore the order completes but instead they see paypal trying to get them to sign up and probably hit the back button a few times and end up with a full cart in checkout again.

    so would express clear the cart without the customer even returning to the checkout sucess page? so if they did hit the back button when they got back the cart would be empty?
    Phil Rogers
    A problem shared is a problem solved.

  7. #7
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Customers cart not clearing after purchase

    Can anyone answer this?

    When using Website Payments Standard, Does the customer need to redirect back to checkout_sucess.php in order for their shopping cart to be cleared????????
    Phil Rogers
    A problem shared is a problem solved.

  8. #8
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Customers cart not clearing after purchase

    can I simply add this after send order confirmation email code in the order.php file:

    $_SESSION['cart']->reset(true);

    ? or does it need to know the customers_id?
    Phil Rogers
    A problem shared is a problem solved.

  9. #9
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Customers cart not clearing after purchase

    so I have checked and

    $_SESSION['cart']->reset(true);

    is in the header of the checkout_process.php file which the user has to be redirected/navigate to.

    so I would defiantly need a way to clear this session during the order.php processing bit after the order is created but im pretty sure only the user can clear the session with $_SESSION['cart']->reset(true);

    is there a way I can force this session reset using the customers_id at all? I am happy with where I can put the code just wouldnt know what the code needs to be?

    other seesion based stuff also wont reset unless the customer goes via the redirect so if these can be forced I would appreciate to know how also:
    unset($_SESSION['sendto']);
    unset($_SESSION['billto']);
    unset($_SESSION['shipping']);
    unset($_SESSION['payment']);
    unset($_SESSION['comments']);

    thanks in advance.
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Customers cart not clearing after purchase

    Do your Orders include a lot of Discount Coupons or GVs?
    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!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Move customers automatically to defined pricing group after first purchase
    By mybaby in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 24 Oct 2014, 03:07 PM
  2. Replies: 3
    Last Post: 17 Jul 2012, 07:15 AM
  3. Replies: 1
    Last Post: 27 Feb 2011, 01:35 PM
  4. certain customers not able to view cart after upgrading
    By volks65 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 7 May 2010, 06:10 PM
  5. Paypal payment not clearing shopping cart
    By davek in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 19 May 2007, 10:10 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