Skip to content

Fix customer assigned to wrong store view on order import#284

Open
Marvin-Magmodules wants to merge 2 commits into
masterfrom
fix/customer-store-id
Open

Fix customer assigned to wrong store view on order import#284
Marvin-Magmodules wants to merge 2 commits into
masterfrom
fix/customer-store-id

Conversation

@Marvin-Magmodules

Copy link
Copy Markdown
Member

Summary

  • Sets storeId on newly created customers during Channable order import, so customers are assigned to the correct store view instead of defaulting to the admin store (ID 0)
  • Adds E2E test that creates an order on a second store view and verifies the customer's store_id matches

Test plan

  • E2E test: order import on second store view → customer store_id matches
  • Manual: import order on non-default store view, verify customer grid shows correct store

Set storeId on newly created customers during Channable order import.
Previously only websiteId was set, causing customers to default to the
first store view of the website instead of the intended store view.
Also stop feed tests from overwriting the Channable token in Magento
config, which broke all subsequent order/webhook tests with Invalid token.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant