Incompleted orders V4.17

I noticed a lot of incompleted - failed orders after upgrade to v4.17.
I had been told by a dev that it looks like CS cart previously in 4.16, that CS when an order is failed ir incomplete, the cart used to “overwrite” the exisiting order number when payment was attempted again.
But now on failed or customer changes order before payment (incomplete) that CS cart now creates a new order with new order number , resulting in more incomplete (duplicate) orders in admin,

can anyone from @CS-Cart_team confirm please, that this is correct expected behaviour, which now means many orders needing deleteing in admin.

Hi!

What payment processor is used in these orders?

sagepay

credit card, Sagepay…
sagepay are making changes, maybe this has something to do with it,
I added a support ticket regards this a while back#103940990
and also posted here

Thank you for the reply.

Although this payment will require changes to be made in order to continue operating in April 2024, it should not currently affect the proper functioning of the store.

At the moment I can’t see any reason why multiple orders have been created, you’ll need to check directly in your installation. Please contact us via Help Desk on this case.

1 Like

Hi @johnbol1 and @CS-Cart_team - I just saw this thread. We too are seeing “duplicate” Incomplete and Failed orders since upgrading (just like you show it - it creates a new order with new order number, exact same info within mostly), although I’m not sure at which version it started since we did the updates all at once to get caught up to the latest full version (4.18.1) with no orders in between - then we added all of our custom modifications back in. I just thought that was how the cart was now functioning.
So has this been determined to be a payment processor issue or something within cs-cart? I guess we prefer the “old” way where Incomplete and Failed orders over-write themselves if eventually “Processed”, saving on additional order numbers and extra duplicate data.
One good thing with many versions of the same order is you can see the incremental steps (different cards tried and such) the customer took when trying to pay to maybe find where things went off track, but I’m not sure it is worth all the extra duplicates most of the time… :wink:
I also didn’t see a way to re-authorize a credit card payment on “Incomplete” or “Failed” orders (both as an Admin and as the Customer) to try to re-use that order number and all the information that went along with those orders. I thought we used to be able to re-process a payment (either with a new card, different payment method, or with the correct card information) to make the order a valid sale, but maybe not(?)
Thanks!

no, as you say they all create new order numbers now, sometimes we get customers creating 5 or 10 “incomplete” orders before finally completing. We just delete them

1 Like

I’m returning back to this topic :slight_smile:

I think the following change from the blog post for the 4.17.1 may give you the answer on how it works now:

Logic of order placement changed

Previously, multiple failed attempts to place an order (for example, when the customer left the payment page and then returned) used the same order ID. Essentially, an order could be overwritten, but was listed in the log as deleted.

Now, every attempt to place an order doesn’t overwrite it, but rather leads to a new order with the “Failed” status. This keeps all the attempts to place an order visible to administrators.

Orders with the “Incomplete” status (assigned until the payment is confirmed by the payment processor) are now also searchable by their ID in the admin panel.

1 Like

When using Paypal Checkout (it never happens with Stripe checkout) I’m getting some incomplete order status and payment doesn’t go through. This happens on a daily basis. Some complete just fine though. What can I look for to fix this? Using version 4.18.2

Have a look in the paypal addon setting for the change statuses on order completion.

I don’t see anything in the paypal addon about order status at all

Im.looking at the paypal legacy version.
https://dev.demo.cs-cart.com/stores/ef2ffac7fba6586e/admin.php?dispatch=addons.update&addon=paypal

IPNs Explained: How CS-Cart Interacts with PayPal — CS-Cart 4.18.x documentation.

Maybe the settings have been moved in the new one

I’m using the latest Paypal Checkout