Return to AspDotNetStorefront.com

Go Back   AspDotNetStorefront Community | ASP.NET eCommerce Shoppingcart Software > Customization > WSI (Web Service Automation Interface)
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old   
Amazing {Offline}
Senior Member
 
Join Date: Nov 2008
Posts: 104
Default Trigger Email Tracking# - 02-01-2010

Using v8.0.0.0

We have created a WSI application which uploads the tracking information, and marks the orders as shipped, but have not figured out how to have it auto send the tracking emails.

Any pointers?
Reply With Quote
  #2  
Old   
ssgumby {Offline}
Senior Member
 
Join Date: Feb 2009
Posts: 560
Default 02-01-2010

We've found it easier to have UPS/Fedex send the emails for us. In UPS World Ship its just a flag they set that tells them to email the customer.
Reply With Quote
  #3  
Old   
AspDotNetStorefront Staff - Scott {Offline}
Administrator
 
Join Date: Mar 2007
Posts: 2,029
Default 02-02-2010

You could probably use the OrderShipped Event Handler to do that pretty easily as well.
__________________
ECommerce Shopping Cart
Reply With Quote
  #4  
Old   
jmdjmd {Offline}
Junior Member
 
Join Date: Jul 2008
Posts: 3
Default 02-11-2010

Has anyone been able to accomplish this?
Reply With Quote
  #5  
Old   
alp {Offline}
Junior Member
 
Join Date: Feb 2010
Posts: 2
Default This might work for you - 02-25-2010

Referencing the WSI, I created a class with a function for processing the "OrderManagement" feature. All of the options for this feature are documented online under the WSI Master Doc Reference...way at the bottom.

My function accepts parameters for each of the possible attributes (OrderNumber, Action, RefundReason, TrackingNumber, ShippingCarrier, Notes, and NewEMail.)

Important Note: The "ShippingCarrier" attribute is actaully "ShippedCarrier." Had to dig that out of the source code after I realized it was not working. Make sure the XML Attribute in the OrderManagement node is titled "ShippedCarrier."

In my function I used a StringBuilder to build up the XML for the call to the WSI. If a parameter is passed in a empty string, I exclude it from the XML string.

I call this function from my code and pass in "MarkAsShipped" for the Action Attribute, along with the OrderNumber, TrackingNumber, and ShippedCarrier.

That is pretty much it. My function processes the WSI call and the Order record is updated in the database and the email goes to the Customer just like it would if you were to mark something as shipped from the StoreFront Admin interface.

I hope this helps someone.
Reply With Quote
  #6  
Old   
jdudley {Offline}
Member
 
Join Date: Oct 2007
Posts: 43
Default 06-10-2010

Can you post your function? I am running into an issue where I need to send the shipped email after updating the shipping using the WSI. I just realized that it doesnt do this automatically...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vBulletin Style by: vBskincenter.com
Copyright © 2008, AspDotNetStorefront. All rights reserved.