on 2016 May 10 1:47 PM
We are facing an issue in which ongoing cart is deleted when the response is received from payment gateway.This behavior is random and is happening for 5 % cases. All OOB jobs related to cart removal is inactive in production system.Also the property session.remove.cart.on.close=false is maintained in local.properties.
We get below message in log while processing the payment response. [DefaultCartService] Session Cart no longer valid. Removing from session. hasSessionCart will return false. item 8803454124075 no longer valid (was removed): object no longer valid Please suggest if anybody else has faced similar issue.
Request clarification before answering.
Hi,
I've faced the similar problem. The root cause for the session cart invalidation was that we were throwing CommerceCartModificationException in the custom code for adding entries to the cart which invalidated the session cart. The fix that we did is that we've replaced the exception with the logging and the session did not get removed. But beware that the root cause might be hidden in the code base eg. why the entry did not pass the validation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
We are facing same issue, any clue what was wrong? Please suggest.
Regards,
Priya Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everybody, any clue on this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, We are facing the same issue: when the response is received from payment provider, the payment transaction entry and the cre not existing anymore in the database. It happens for a few cases. Did you find any solutions for this issue?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.