A repeat customer should be able to buy online and have the order land under the right Unleashed account. Email can help make that connection. It still needs rules for shared addresses, old accounts, guest orders and access to company records.
Start with an established relationship
Once a WooCommerce user has been linked to an Unleashed customer, that saved relationship is the first point of reference.
The link matters when a business changes its contact details or has several people buying on its behalf. Review changes in responsibility and customer ownership deliberately. A new spelling of an email address is not, on its own, a reason to merge two ERP customers.
Use exact matching when the relationship is missing
Without a saved link, STS ERP Connect Pro looks for the intended customer using an exact normalised email match. It does not match a person merely because part of the address or company name looks similar. Dots and “+” suffixes are preserved rather than stripped to guess an identity.
If that lookup identifies one appropriate customer, the connector can create a new sales order under the existing Unleashed account. It does not append the new purchase to an unrelated old order.
A simple example
Imagine a customer checks out with purchasing@example.com. That address belongs to one Unleashed customer, ACCOUNT-104. The integration selects ACCOUNT-104, saves the relationship where applicable and creates the new order for that customer.
Now imagine the same email appears on ACCOUNT-104 and an old account, ACCOUNT-OLD. The result is ambiguous. The order waits for an operator to resolve the customer relationship. Choosing the first result or the most familiar company name would conceal a decision your sales team needs to make.
Decide what a genuinely new buyer should create
If no existing customer matches, the configured policy determines what happens next. Suitable workflows can create a new Unleashed customer before creating the order. Other businesses may want to review customer setup first.
Agree the required company details, address and currency when defining the customer-creation policy. The connector keeps stable customer and order identities so an interrupted response can be investigated before the same create operation is attempted again.
Give guest orders an explicit policy
Guest checkout does not create the same relationship as an approved business login. You may want separate ERP customers for guests, a shared guest customer, or a rule that blocks guest export until it has been reviewed.
The right choice depends on your fulfilment, reporting and sales process. A shared ERP customer can simplify some retail workflows, but it should not make unrelated guests eligible to see one another’s history. Decide that policy before the first automated guest order.
Keep company documents behind a separate decision
Matching a sales order and granting access to historical documents solve different problems. A buyer may know or enter a company email without having permission to download its invoices or view its negotiated prices.
Portal history and private customer pricing therefore use verified relationships. Company and finance scopes, together with approved parent relationships, determine the available access. Checks apply to document details, PDF and CSV downloads, and reorder actions. Revocation needs to remove the access rather than merely hide a menu link.
Make the exceptions visible to your team
A paused order with a clear customer conflict is useful information. Assign someone to investigate duplicate addresses, choose the correct customer, correct the source data where appropriate and retry the queued work.
Keep a record of existing mappings. Deleting them to clear an error can remove the information that helps identify a previous export. Where a customer changes account or company, review the customer link and historical access together.
Give your team a clear account policy
Define the outcome for each type of buyer before enabling the automated flow. An established customer should keep their existing account. A new buyer should follow your creation or approval policy. A shared email should have a named person responsible for resolving the match.
Document access follows its own policy. Give purchasing and finance contacts the appropriate scope, and remove access when their responsibilities change. This keeps repeat ordering convenient while maintaining a clear company-account structure.
- One matching ERP customer: create the new order under that account.
- Several matching customers: hold for your team to choose the relationship.
- No matching customer: follow the configured creation policy.
- Guest purchase: follow the individual, shared-customer or blocked-export rule.
- Company history: grant the verified relationship and relevant document scope.
Useful questions
Will the same email always mean the same Unleashed customer?
Not when the address appears on several customer records. Existing mappings take priority; an ambiguous lookup requires review before the integration chooses a customer.
Does placing an order unlock past company invoices?
No. An order can be associated with the right sales customer without granting company-history access. That access requires a separately verified relationship and scope.
What happens if the ERP response is interrupted?
The connector checks the intended customer or order result before retrying an uncertain create operation. An unresolved case remains visible for investigation rather than being treated as a confirmed new record.
