List of all Events for Event Handlers

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Is there a list somewhere of all Events published by IEventPublisher?
8 years ago
Here is a list of all Events that are published by NopCommerce. It might be a good idea to put in the developer wiki

ProductSearchEvent      
ProductReviewApprovedEvent
EntityInserted      
EntityUpdated    
EntityDeleted
EmailSubscribedEvent  
EmailUnsubscribedEvent
EntityTokensAddedEvent
MessageTokensAddedEvent    
PublishNewsletterSubscribe      
PublishNewsletterUnsubscribe      
OrderPaidEvent      
OrderPlacedEvent      
PublishShipmentSent      
PublishShipmentDelivered    
OrderCancelledEvent            
OrderRefundedEvent      
ShipmentSentEvent    
ShipmentDeliveredEvent            
ProductReviewApprovedEvent
8 years ago
Thanks. Just included in FAQ
6 years ago
Tecnofin wrote:
Thanks. Just included in FAQ


Can you update the list. I found this ones on version 3.90:

AdditionTokensAddedEvent
BlogCommentApprovedEvent
CampaignAdditionTokensAddedEvent
CustomerLoggedinEvent
CustomerLoggedOutEvent
CustomerPasswordChangedEvent
CustomerRegisteredEvent
CustomUrlRecordEntityNameRequested (is also published)
EmailSubscribedEvent
EmailUnsubscribedEvent
EntityTokensAddedEvent
MessageTokensAddedEvent
MessageTokensAddedEvent
NewsCommentApprovedEvent
OrderCancelledEvent
OrderPaidEvent
OrderPlacedEvent
OrderRefundedEvent
ProductReviewApprovedEvent
ProductSearchEvent
ShipmentDeliveredEvent
ShipmentSentEvent

Plus all the ones used in: EntityInserted, EntityUpdated and EntityDeleted. Wich is called in many scenarios.

Thanks
6 years ago
Glad to see the Events...

as per as Event handlers are concerned ... the Rest Web Api has some readymade IConsumer  handlers for the following events

  IConsumer<EntityInserted<Product>>,
  IConsumer<EntityUpdated<Product>>,
  IConsumer<EntityInserted<Category>>,
  IConsumer<EntityUpdated<Category>>,
  IConsumer<EntityInserted<Order>>,
  IConsumer<EntityUpdated<Order>>,
  IConsumer<EntityInserted<StoreMapping>>,
  IConsumer<EntityDeleted<StoreMapping>>,
  IConsumer<EntityInserted<GenericAttribute>>,
  IConsumer<EntityUpdated<GenericAttribute>>,
  IConsumer<EntityUpdated<Store>>,
  IConsumer<EntityInserted<ProductCategory>>,
  IConsumer<EntityUpdated<ProductCategory>>,
  IConsumer<EntityDeleted<ProductCategory>>,
  IConsumer<EntityInserted<Language>>,
  IConsumer<EntityDeleted<Language>>
  IConsumer<EntityUpdated<Language>>,


the Customer Log out event is missing tho :p
6 years ago
Just a correction....

I did some research and found the CustomerLoggedinEvent/CustomerLoggedOutEvent  are associated with the following action

"customers/update";


check this page for all action names
\Plugins\Nop.Plugin.Api\Constants\WebHookNames.cs
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.