From ae359c180d408e07c1a0a65b5ddb01aea750644a Mon Sep 17 00:00:00 2001 From: Jisse Reitsma Date: Tue, 22 Oct 2024 13:45:22 +0200 Subject: [PATCH] Add new-state to order states for purchase event as well --- DataLayer/Event/Purchase.php | 1 + etc/config.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DataLayer/Event/Purchase.php b/DataLayer/Event/Purchase.php index f71cc58..21428d8 100644 --- a/DataLayer/Event/Purchase.php +++ b/DataLayer/Event/Purchase.php @@ -93,6 +93,7 @@ private function getOrderStates(): array private function getDefaultOrderStates(): array { return [ + Order::STATE_NEW, Order::STATE_PENDING_PAYMENT, Order::STATE_PAYMENT_REVIEW, Order::STATE_HOLDED, diff --git a/etc/config.xml b/etc/config.xml index abf14fc..f9d0b2d 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -14,7 +14,7 @@ everywhere 0 product_first_category - payment_review,pending_payment,holded,processing,complete + new,payment_review,pending_payment,holded,processing,complete