You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a use case for our shop where we have to purge inactive carts really fast, because having an item in the cart reserves an outsourced stock. Like ~15-30 minutes. But the purge removes carts with attempted payments also, and since someone may pay per bank transfer, this cart can't be deleted.
It would be great if we can have a setting to exclude carts with attempted payments from the purge.
Since attempted payments includes both still-in-progress-payments and failed payments, there maybe has to be a check if the latest transaction status is just "redirect" or "pending", etc.
If none of this is possible, it would be great if you could introduce an event where I can populate this query:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a use case for our shop where we have to purge inactive carts really fast, because having an item in the cart reserves an outsourced stock. Like ~15-30 minutes. But the purge removes carts with attempted payments also, and since someone may pay per bank transfer, this cart can't be deleted.
It would be great if we can have a setting to exclude carts with attempted payments from the purge.
Since attempted payments includes both still-in-progress-payments and failed payments, there maybe has to be a check if the latest transaction status is just "redirect" or "pending", etc.
If none of this is possible, it would be great if you could introduce an event where I can populate this query:
commerce/src/services/Carts.php
Lines 418 to 422 in ff3994c
Beta Was this translation helpful? Give feedback.
All reactions