• Normally the cart should not be cleared if payment does not succeed?

    Right now, when we go to pay with Vipps then go back or cancel it. Cart is empty.

    This is just happening to me or something wrong?

    Thanks.

Viewing 16 replies (of 16 total)
  • Plugin Author Iver Odin Kvello

    (@iverok)

    Yes, you should end up there. If the filter there doesn’t return another URL, no redirect will happen – you will just get a printout with “order cancelled” and so forth at the /vipps-betaling place.

    But the sesson isn’t destroyed at that point (nor is the cart modified). It would be interesting to learn if you hit the branch starting at line 1582 – but if so, your session will already be gone.

    ’empty_cart()’ is never called in the code (anymore) and the only other code that deletes sessions is in the shipping callback – and thats not the customers session, and furthermore only happens in the express checkout path.

Viewing 16 replies (of 16 total)
  • The topic ‘Cart is empty after go back or cancel from Vipps page’ is closed to new replies.