Is there a way to modify the text "Paid on" in the backend order details page of WooCommerce? I have already implemented this for BACS and local pickup payment methods.
Replace a specific word for BACS payment method in Woocommerce order edit pages
I am looking for a solution to hide the "Paid on" message when the shop manager changes the status back to "wait for payment" after setting it to "processing" where payment details are displayed.
Attached Image: Even though Order status is Deleted, it still shows payment details from the Completed status that was set previously.
https://i.sstatic.net/7dnD4.png
Thank you
Update:
I have blacked out some fields to protect customer information while sharing the screenshot :D
To better understand the issue, here is the replication process:
- Customer places an order
- Order initially has a custom status called "Verifying Stock"
- Shop manager checks stock availability and changes the status to "Wait for payment" (BACS or local payment at local pickup)
- Upon changing the status to "Processing", the header displays payment information like "Paid on" and "IP: ..."
- If the shop manager reverts to a previous status like "wait for payment" from "processing", the "paid on" information remains unchanged and cannot be removed or updated again.
I need a solution to remove these details if the order status is different from processing or completed order status.
Thanks