You have no items in your shopping cart.

Saturday, November 23, 2024 6:40:44 AM

Is there a Tracking Update Event?

Posted: 7 years ago

#3145 Quote

Figmo

Posted: 7 years ago

#3145 Quote
Here is my scenario:

I have a custom plugin I wrote that automatically adds new orders placed on eBay to nopCommerce.   This works very nice combined with your plugin.   These orders are treated just like any order in nopCommerce.  They are automatically transferred to ShippingEasy.com and when I create shipments the tracking number comes back and a shipment is added to nopCommerce for them.     All is perfect here.

My problem is:  I need to update eBay when an order ships.    To mark the eBay order as shipped and update the tracking number.

Is there an Event or something that I can subscribe to that either nopCommerce or your plugin fires to tell me that a new shipment has been added for an order?     So I can respond to that event and then update eBay also?

-Figmo


Posted: 7 years ago

#3146 Quote

Support

Posted: 7 years ago

#3146 Quote
Add support this event in your Ebay plugin


        //event notification
        _eventPublisher.EntityInserted(shipment);

Posted: 7 years ago

#3147 Quote

Figmo

Posted: 7 years ago

#3147 Quote
Exactly what I needed!   Thank you very much.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved