Closed jb510 closed 11 months ago
Howdy @jb510,
Thanks for raising this issue!
You noted the following:
These are simple subscriptions marked as a virtual products.
Unless custom code is used, orders will only be automatically marked as Completed
if all of the products in the order are both virtual and downloadable.
Are the orders where you're seeing this issue comprised of only products that are both virtual and downloadable?
@csmcneill thank you. That's very strange though. This store has been live for 5 years and simple subscriptions marked only as virtual products have always transitioned from processing to completed until this week when HPOS was enabled. I reviewed all the custom code and there isn't anything currently to do that. I'll programmatically transition them.
Describe the bug
Orders used to automatically transition from professing to completed and no longer are. These are simple subscriptions marked as a virtual products.
This is definitely happening with renewals, but I think this also happens with new orders.
To Reproduce
Create an order for a simple subscription for a virtual product Enable HPOS Wait for the subscription to renew. Not that the order status no longer automatically transitions from processing to completed even though payment has succeeded (and this automatic transition was working before enabling HPOS).
Expected behavior
Order transition to happen the same as they did before HPOS was enabled.
Actual behavior
Automattic Order transitions do not occur and are complicated by bulk editing also not working.
Product Impact
Management of orders is significantly impacted. Additional work necessary is necessary by store owners to manually transition them, which is then exacerbated by #472