Forum  Discuss AliComm...  New Feature and...  Consider adding "Custom Action" support for orders
Previous Previous
 
Next Next
New Post 10/13/2008 12:31 PM
  LarryD
15 posts
No Ranking


Consider adding "Custom Action" support for orders 

One feature that I use in a competitive product (Active Purchase from Active Modules) is their "Custom Action" support. Basically, this allows a developer like me to hook into the "Order Paid" event before the user's email is sent out and access the order's object model to tweak the email and save stuff in the database, etc. 

The store admin UI is pretty simple. Just one text edit field per product where you specify a Class and Assembly name, for example:

GenerateLicenseKey, CompanionSoftware.ActivePurchase.CustomActions

The class implements one method:

public void ProcessOrderAction(int ModuleId, int PortalId, Guid OrderId)

Specifically, I use this to dynamically create a license key for the products that a user has purchased based on their name and email address. I add this information to a a Note field on their confirmation email and store the information in a database table so users can retrieve their keys themselves from my website without any help from me.

A feature similar to this in AliCommerce would be a welcome addition.

Larry Daniele
Companion Software
 

 
New Post 10/14/2008 6:21 AM
  AliCommerce
1156 posts
1st Level Poster


Re: Consider adding "Custom Action" support for orders 

Actually this can be easily done in alicommerce. We will write some developer documentation on this in the next major release.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
Previous Previous
 
Next Next
  Forum  Discuss AliComm...  New Feature and...  Consider adding "Custom Action" support for orders
Copyright 2008 by CandoSuite Terms Of Use Privacy Statement