Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer name not filled when created as guest from draft order #7110

Open
gempain opened this issue Apr 21, 2024 · 0 comments
Open

Customer name not filled when created as guest from draft order #7110

gempain opened this issue Apr 21, 2024 · 0 comments

Comments

@gempain
Copy link
Contributor

gempain commented Apr 21, 2024

Bug report

Describe the bug

Customers created from draft orders don't have a first and last name.

System information

Medusa version (including plugins):

"@medusajs/admin": "7.1.11",
"@medusajs/cache-inmemory": "^1.8.9",
"@medusajs/cache-redis": "^1.8.9",
"@medusajs/event-bus-local": "^1.9.8",
"@medusajs/event-bus-redis": "^1.8.11",
"@medusajs/file-local": "^1.0.3",
"@medusajs/inventory": "^1.11.6",
"@medusajs/medusa": "1.20.2",
"@medusajs/medusa-cli": "^1.3.22",
"@medusajs/stock-location": "^1.11.5",

Node.js version: 18

Steps to reproduce the behavior

  1. Create a draft order without selecting a customer.
  2. Fill in the first and last name and the email with any value
  3. Once the order is created, go to the customer list
  4. Search for the first or last name used to create the order -> nothing is found
  5. Search with the email used for the order -> you find the customer
  6. Open the customer found by emaik
  7. Notice that their first and last name are not filled

Expected behavior

The customer first and last name, including other fields like phone, should be filled.

Screenshots

Draft order mark as paid:
Screenshot 2024-04-21 at 15 16 36
Screenshot 2024-04-21 at 15 16 44

Customer created:
Screenshot 2024-04-21 at 15 16 16
Screenshot 2024-04-21 at 15 16 24

Code snippets

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant