- Issue created by @Axael
- Status changed to Needs review
over 1 year ago 3:31pm 18 June 2023 - πΊπΈUnited States john.oltman
Please try the attached patch and let me know if that solves the WSOD. Thanks!
- π§πͺBelgium Axael
So, I tested this patch and it actually doesn't solve the whole issue.
As far as I tested, the order confirmation email is correctly sent to the order contact email, but I still get the WOSD and the following error in the Watchdog:
InvalidArgumentException: Invalid step ID "" passed to redirectToStep(). in Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowBase->redirectToStep() (line 214 of /var/www/web/modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php).
- πΊπΈUnited States john.oltman
If the email is being sent, then you are past the original issue, and hitting a new problem that appears to be unrelated to commerce registration. Your new issue is with your checkout flow. Review your checkout configuration and any custom code to see where the problem lies. Maybe you need to add a payment or completion step at /admin/commerce/config/checkout-flows/manage/{checkout-flow-id}.
I'll go ahead and commit the patch since it is solves the original issue.
-
john.oltman β
committed 42985fb9 on 3.0.x
Issue #3365740: Allow anonymous checkout to use Order contact email.
-
john.oltman β
committed 42985fb9 on 3.0.x
- Status changed to Fixed
over 1 year ago 12:46pm 2 July 2023 - First commit to issue fork.
Automatically closed - issue fixed for 2 weeks with no activity.