Vote up!
Vote down!

Why does Drupal Commerce change an original username to the full billing name?

I've noticed that if a customer with username of, say 'jd' comes to a Drupal Commerce sites and purchases an item with his credit card, entering 'John Doe' as his full billing name, that Drupal Commerce will from that point on, consider and list his username as 'John Doe'. If one looks at the list of users (/admin/people), his username will be listed as 'John Doe' but if you edit his account, his username then appears as 'jd'.

Beside being non-intuitive, this is proving to be very problematic because the 'Add an Order' feature will always ask for their original username but if you look in the /admin/people list, you won't find it. So how can site managers find the original? This is bizarre and confusing behaviour.

How can I change this to prevent the system from swapping names for the same account, or at least how can I access the original username?

I'd appreciate any help or insight into this as it's becoming a compounding problem.


Asked by: Raj
on November 19, 2013


Anyone (echo echo echo...)?

This is becoming an increasingly problematic issue. For manual orders, a person's username can be used to set the owner of a transaction but the usernames are not matching the actual user because they are getting changed from the billing address. A fix for this, an explanation why it's happening, or a workaround would be really appreciated. Thanks.

- Raj on February 28, 2014

2 Answers

Vote up!
Vote down!

I have the same problem. Anyone?

Answer by: gpitoulias
Posted: Jan 8, 2014