Comments

Aerzas created an issue. See original summary.

aerzas’s picture

Here is a proposed patch based on the "commerce_checkout.account_create" event.

aerzas’s picture

Status: Active » Needs review

Status: Needs review » Needs work
aerzas’s picture

My patch implies a dependency to commerce_checkout which might not always be the case, I'll have a look to a conditional event listener.

aerzas’s picture

I've added the EventSubscriber conditionally in the CommerceShippingServiceProvider to avoid the dependency.

aerzas’s picture

  • Removed explicit reference to a yet non-existing class to pass the test.
  • Fixed patch name
aerzas’s picture

Status: Needs work » Needs review
bojanz’s picture

Title: Implement registration after guest checkout » React to order assignment, and assign the shipping profile
Category: Support request » Task
Status: Needs review » Needs work

We need to use the OrderAssignEvent, that's what it's for.

giuseppe87’s picture

The attached patch uses OrderAssignEvent

finex’s picture

Hi, is this patch still needed with the new commerce? I've done a couple of test and now the profiles are correctly assigned to the user account. What do you think about?

bojanz’s picture

Status: Needs work » Closed (outdated)

No longer needed with Commerce 2.14 / Shipping beta7. Thanks, everyone!