Open michaelbeil opened 1 year ago
"Feature not a bug" situation.
In the orders list we are not showing the order status; we are showing Paid, which means that it's paid in both success/cancelled status.
I agree that we should rollback and show the order status though.
I'll leave this open for discussion in case some intermediate solution comes up.
This is a "subs table fixes this" situation. We currently track both the status of the order AND the subscription in the order status (long story, old code). When we merge the subs table work for version 3.0, this will show the order status (which will be success whether the sub was cancelled or not) and have an extra column I believe to mention the relation subscription.
I agree it's confusing now to not show "cancelled" when that is the literal status of the order, but we do similar adjustments to values to make them more legible in the table view. People are equally confused when an order says "cancelled" but that really means the sub is cancelled and the order is okay.
Another way to think about it is that it's the edit order page that is incorrect. The status there should be success, but we need subs table to manage the sub before we can do that.
I think we should leave it as "paid" here since that's closest to how it's going to work with PMPro 3.0+
I'm sympathetic to hearing workflows where this is confusing (I can't find the cancelled subscription) and trying to figure out ways to address that.
Is there any way to change this not to say "paid" if it really is a canceled order? It's very confusing. Another setting? something?
In my setup I changes the label color to gray in that case. This may become a snippet at least.
Still a fan on changing this behaviour somehow until we have the subs table.
It seems if you mark an incomplete order to ERROR you will get the desired result.
Describe the bug If you cancel an order, it will show as canceled from that specific page for the order, but if you visit the Memberships > Orders page, it will have the old status.
To Reproduce Steps to reproduce the behavior:
Screenshots
![image](https://user-images.githubusercontent.com/4752949/190014457-59b955d8-fee7-4900-9013-06dad8f12fd5.png)
Expected behavior The status should be updated on the Memberships > Orders page.
This came up in ticket 446025 and I was able to replicate.
WordPress Environment