Jump to content

Get user by id at backend?


Recommended Posts

How can I get the customer object by user id?


I hooked my module to "actionOrderStatusPostUpdate" and want to send a mail after payment is done.


I have the customer id but not the customer mail address I want to send to.


Context::getContext->customer will not work bcause you need a user logged in...


Appreciate any help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...