My biggest hangup

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

My biggest hangup

Post by AbleMods » Sun Oct 14, 2007 4:42 am

Guys,

Tell me about this "Default Serial Key Provider" choice in Digital Goods. There's another field that allows a Fullfillment Mode of "Automatic".

Is that a way to hook my code into the order fullfillment process within AC7?!

My biggest hangup right now is that my most important product is dynamic for every order, and it's digital delivery because the resulting product is emailed to the customer as an attachment. I have to take the parameters provided by the customer, generate a text or PDF file and then provide it to the customer either through the storefront or via email delivery.

I don't mind requiring them to return to the site to retrieve it - that actually resolves a big thorn with my product delivery emails getting spam-filter blocked.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Post by Shopping Cart Admin » Sun Oct 14, 2007 4:08 pm

Hello Joe,

Sounds like this is going to take some customization. What kind of information are you collecting to generate the file?
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sun Oct 14, 2007 4:48 pm

I use the GoogleMap API to give the user a graphical interface. The Google Map returns the latitude and longitude of the location the user desires.

In total, I have to collect the following:
Latitude
Longitude
Time Zone
Starting Month
Starting Year
Starting Day of Week
File Format (PDF or TXT)
Total Months

I have a test product set up now that can collect everything but the lat and long. I imagine with a custom product page, the Google Map could be tied in but...I don't have a clue how to feed the lat/long from the map into the fields AC7 uses to store with the order.

Once the order is taken, a subroutine is called that pulls up the order from the database, reads the values, generates the actual digital product and emails it to the customer as an attachment.

My thinking is, if there's a "license key generator" hook into the digital product portion of AC7, I could replace that with my code that generates the product. But alot of questions remain like how to deposit the product into the customers download, how to trigger AC7 to make it active and notify the customer etc.

That's why I'm dead-in-the-water right now. What I don't want is to have to fill every order one-by-one. The ability to automatically generate the final product is what makes my existing site so strong (and hands-off).

I sniffed around the AC 5.5 document but didn't see much that would point me in the right direction.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Post by Shopping Cart Admin » Sun Oct 14, 2007 4:52 pm

Hello Joe,

You could use the product template system to capture the lat/lon data, it's carried though in the orders. Is the system that generates the file a web application? If it is then this wouldn't be a terrible difficult customization.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sun Oct 14, 2007 5:05 pm

Oh yeah the generation and transmission processes comes from a class I developed. The generation class accepts the order number as a parameter. When called, it looks up the order in the orders table, builds the product and returns the generated product as a string.

The transmission class just writes the returned string to a file, attaches it to an email and shoots it off to the customer.

I've got product templates set up now, and I could add a couple of text boxes for lat and long. But the user would have to type them in themselves - I need those populated by the Google map.

I figured customization would be required. My original question was how to hook into the Manage Digital Goods/Serial Key Provider portion.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply