an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Download Only products
Last Post 9/6/2012 7:48:21 AM By lukezy. 6 replies.
7/26/2012 3:51:28 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Download Only products
Hi Luke,
 
We have some download only/Software products that when purchased, and the paypal confirms the payments, A completion email is sent to customer, however the customer will not recieve anything (until a serial number sent to him). We have the serial-number generator which is a C# code or dll, and would like to invoke it and append the serial number within the Completion email tamplate. 
 
My Question are :
 
1- Can we use external dll and use method calls in the DSC code
2- If yes then where in the DSC code I can touch and put dll method calls
 
 
Thanks,
 
8/1/2012 9:38:41 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Download Only products
As long as you can call into the external dll and get serial number back you can hook it up wiht DSC. You probably need to hook it up in OrderPipeline service.
DotShoppingCart Staff
8/1/2012 10:24:29 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Download Only products
I would rather not hook into Orderpipeline but the main source. I can send an email (with Serial#) after the OrderpipelineService finished successfully for the DownloadOnly product.
In this case where is the best touch point in the source?
 
 
8/13/2012 2:48:08 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Download Only products
There is no automated way to hook up sending email in the main source. Remember the main source is just website which is triggered by user browsing. You could have it send email upon the button click in the store admin. It requires your store admin to trigger email manually.
DotShoppingCart Staff
8/14/2012 11:40:07 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Download Only products
We want to isolate the process from staff. How about final checkout button triggerred by user.
9/5/2012 5:16:00 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Download Only products
Hi Luke,
 
Ineed guide on the solution and ready to buy a service ticket,
 
 
We can use the submit button of Checkout as the trigger for sending email. if the product has the right flag (download) and price was 0$ then this code will be executed.
 
I have the code for sending email What is code to forward the order as completed or shipped.
 
Thanks,
 
9/6/2012 7:48:21 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Download Only products
You can put your code in CheckoutComplete.ascx.cs .
DotShoppingCart Staff