forcedotcom / forcedotcom/commerce-on-lightning

B2C Store Creation Buyer Email error

Open
#279 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
84
Forks
84
Avg merge
1m
Merged PRs (30d)
1

Description

When creating a buyer user email from current os's user name and adding buyer email from command, the replace function only replaces the first instance only and not all of them.
So when
Os's username is: abc@xyz.com
and buyer user email from command is: buyyer@gmail.com

the final email becomes abcATxyz.com+buyyer@gmail.com@salesforce.com

and gives the error that invalid email address

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.