Viewing 10 replies - 16 through 25 (of 25 total)
  • Stef

    (@serafinnyc)

    And your definitely clearing cache? All that fun stuff?

    Thread Starter tom80550

    (@tom80550)

    no cache plugins on the site

    and I do not understand the second sentence my cache and empty

    Stef

    (@serafinnyc)

    Sorry. Not talking about a cache plugin. All sites are cached in a browser almost always by default. You need to clear the cache to make sure you’re not constantly just refreshing an admin page.

    Then you need to rerun the shopping process over

    Thread Starter tom80550

    (@tom80550)

    it still does not work, can we use a cron spot or something else?

    Thread Starter tom80550

    (@tom80550)

    I may be a simpler solution.

    you have to change the status from failed to cancel

    Thread Starter tom80550

    (@tom80550)

    your code works but not correctly:

    Currently if the customer does not finalize the order it goes into status: failed. if I modify myself the status of the order status: canceled the order and directly remove.

    Here’s what to do for orders: failed

    1 – detected failed commands
    2 – remove them completely from the site

    Stef

    (@serafinnyc)

    When you say finalized are you saying it’s NOT updating it to “failed”?

    Thread Starter tom80550

    (@tom80550)

    finalized = paid = order validated / completed

    Stef

    (@serafinnyc)

    No I get that part. That’s by default anyway.

    However, you stated that “my code” works but not correctly. So I’m trying to assess and understand that statement. Is my code impeding on the default flow of a completed sale at all? Is it not placing it in the trash?

    Thread Starter tom80550

    (@tom80550)

    it automatically deletes the command with the cancel status.

    Now it should be possible to automatically change the status of orders: failed -> cancel -> your code -> delete

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘how to remove failed orders auto’ is closed to new replies.