Hi,
As a newbie, my question is about EventHandler mechanism.
I searched almost all posts but still can't figure out.
What we want to accomplish is:
Whenever a visitor creates an account (and becomes a customer) on storefront, we want to detect this situation, get the new customer id and customer details and insert them into the ERP database.
Using EventHandlers it seems to be an easy task but so far it's not..
What we did is:
- We created a folder (WSI) and an aspx page (NewAccount.aspx) inside under storefront project.
- We wrote the listener code in Page_Load method of this aspx file.
- Using admin page, we edited CreateAccount eventhandler.
- As callout url, we entered: http://localhost/WSI/NewAccount.aspx
- We also set Active and Debug properties to true
However, when an account is created our URL is not invoked by storefront.
What did we do wrong?
Thanks in advance.