Orders And Payments Flow

Hi,

We have issues with orders which we’re created let us say 2 months ago under “Wire transfer” payment method, or just incomplete. Then customers are coming back, login into there account and complete the payment for the outdated order and they successfully comes through with the initial order date which creates a lot of confusion for accounting, customer service, etc.

How can it be prevented? Or can order date be changed or updated to reflect the real “processed/paid” time instead of order creation time to avoid confusion?

Since order details does not have any timeline (like Shopify, it is very hard to catch this type of orders.



Any suggestions are highly appreciated.

Thanks.

You can use the repay_order hook (app/controllers/frontend/orders.php) to set new value for the $update_order['timestamp'] variable