✨ | Commerce Order auto-validation | Free orders are considered fully paid and should be autovalidated
Thank you for the clarification. I could not apply this patch since this patch is only for version 2.x-dev. Is it possible to change this version to the latest version 2.0.1?
✨ | Commerce Order auto-validation | Free orders are considered fully paid and should be autovalidated
Thank you for this patch. This is helpful for free orders. I have tested this and it does not work because free orders (in my case) does not have any payment state. This patch seems to work only if
+ ->condition('co.total_price__number', 0)
+ ->condition('cp.state', 'completed')