I customize basket page include checkout address form in basket page. When user input customer code and click checkout button, it will create umbraco member with billing address. But currently, if I clear all cache and checkout with customer code, it save invoice with no customer key.
If i logged in with another account and log out and check out with customer code, it save invoice with previous customer key.
Is it posible to create umbraco member and set to invoice at basket page?
Create member at check out page
I customize basket page include checkout address form in basket page. When user input customer code and click checkout button, it will create umbraco member with billing address. But currently, if I clear all cache and checkout with customer code, it save invoice with no customer key. If i logged in with another account and log out and check out with customer code, it save invoice with previous customer key.
Is it posible to create umbraco member and set to invoice at basket page?
You may be creating the Umbraco member but not logging in as that member and thus the previously logged in member is still in the UmbracoContext ...
How i change CurrentCustomer to new Customer created in basket page?
is working on a reply...