Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • K.Garrein 164 posts 629 karma points
    May 21, 2014 @ 14:52
    K.Garrein
    0

    Weird membership basket problem "Basket does not belong to customer"

    Hey, I'm back ;-)

    We are experiencing a weird problem with persistent shopping baskets and user login/logout.

    1. login and put something in shopping basket.
    2. close the browser and wait 20 minutes (=default session timeout)
    3. start a new session, the products will still be in the shopping basket (persists by cookie I guess)
    4. go to checkout and login/register with another user (not the one that put the product in the shopping basket in the first place)
    5. we get an error "Basket does not belong to customer"

    Does anybody know a fix for this?
    Maybe I can change the Customer for the Basket in some way?

    Thank you.
    Regards.
    Kris

  • Jesper Nielsen 141 posts 498 karma points
    May 22, 2014 @ 10:16
    Jesper Nielsen
    0

    Hello Kris,

    Do you have a stacktrace for the error?

    The Customer is a property on the basket PurchaseOrder. So you could maybe change it there.

    More correct could be to catch the exception, and in that case clear the basket.

    Kind regards,
    Jesper

Please Sign in or register to post replies

Write your reply to:

Draft