- πΊπΈUnited States rszrama
We may also want to accommodate the new settings in Commerce 2.36 that support the automatic creation of a user account on checkout completion in this issue.
- Assigned to karengrey
- π¬π§United Kingdom karengrey
Created issue for Commerce Core to create the new Event for registration during checkout: https://www.drupal.org/project/commerce/issues/3388613 π Create Event for registration during checkout Active
- Merge request !9Issue #3146682 Created new EmailEvent for registration during checkout. β (Merged) created by karengrey
- Status changed to Needs review
about 1 year ago 4:02pm 20 September 2023 - π¬π§United Kingdom karengrey
Once the Commerce Core issue has been committed, this MR will be unblocked and will add a new EmailEvent for registration during checkout.
- πΊπ¦Ukraine marchuk.vitaliy Rivne, UA
@rszrama
Note that when the commerce_checkout.checkout_register event is fired, the order has not yet been placed. So, certain information such as [commerce_order:total_paid] will not be available yet.
This is because in extractEntityFromEvent() we return the order but not the account that was just created. But in this case, we can get the account from the order [commerce_order:uid:entity] and also use some information available for the order. If we return the account, we will not be able to access the order information.
But it looks like the purpose of this issue is to work with the account, so probably we shouldn't think about the order and just return the account in extractEntityFromEvent()? -
vmarchuk β
committed b1317af4 on 8.x-1.x authored by
karengrey β
Issue #3146682 Created new EmailEvent for registration during checkout.
-
vmarchuk β
committed b1317af4 on 8.x-1.x authored by
karengrey β
- Status changed to Fixed
10 months ago 8:03am 6 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.