You have no items in your shopping cart.

Monday, December 23, 2024 4:15:00 PM

Don't send orders from second store

Posted: 7 years ago

#3097 Quote

Figmo

Posted: 7 years ago

#3097 Quote
I have multi-store, single domain.
I have gone through the Configure page for each store and set the same values for ApiKey, ApiSecret and StoreApiKey

My main nopCommerce web site is:  http://suzuki.RoadlessGear.com      
Orders placed in this store are being copied to ShippingEasy OK.  
Everything is working

I also have 2 other stores that are what I call “pseudo” stores.  
Meaning, they do not have a web site that can be browsed or purchase products from.  
But they are configured as “stores” in nopCommerce.  
They share products with the main store above.    
These are named “Phone-In Order” store and “eBay” store.

I have a custom WinForms app in my office that the secretary uses to take orders from customers over the phone.   This app adds orders to the “Phone-In Order” store by connecting to the nopCommerce database and adding the appropriate rows to the tables.

I also have a nopCommerce plugin that runs as a scheduled task.  
It scans eBay for new orders and imports them into nopCommerce (to the nopCommerce “eBay” store)

All of the orders placed by any of the methods above appear in the nopCommerce orders list.    
But only the orders placed via nopCommerce are copied over to ShippingEasy.

I have the foxnetsoft scheduled task set to run every 900 seconds.  
And I do see that it is running without error.

Can you offer some advice as to why my orders placed in my 2 “pseudo stores” are not copying over?      

Posted: 7 years ago

#3098 Quote

Support

Posted: 7 years ago

#3098 Quote
>But only the orders placed via nopCommerce are copied over to ShippingEasy.

I understood you.
ShippinEasy plugin waits for two notifications from nopCommerce:
IConsumer<OrderPaidEvent>
IConsumer<OrderCancelledEvent>


If your order was paid plugin sent this order to ShippingEasy.
Can you ask developer of plugin for Ebay add this code to its plugin?

 //raise event
_eventPublisher.Publish(new OrderPaidEvent(order));


If your developed can't add this code you can use our plugin for reading orders from eBay.
We developed this plugin and tested it now.

If you don't want to use our plugin and can't change old eBay plugin you can send eBay order to ShippingEasy manually.
Open the order in nopCommerce in admin mode and select tab "ShippingEasy", Press the button "Send order".

Posted: 7 years ago

#3106 Quote

Figmo

Posted: 7 years ago

#3106 Quote
IConsumer<OrderPaidEvent>  was exactly what I needed to add.   Works perfectly now.  Thank you very much for the information.  

-Figmo

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved