Last post Aug 13, 2008 12:20 PM by Lee Dumond
Aug 12, 2008 04:00 AM|tango2310|LINK
What would be the best way to implement a system where a user would like to put their purchase on their account.
Thanks in advance
Aug 12, 2008 10:42 AM|Lee Dumond|LINK
You mean, on their credit card account? The book goes over how to set up a shopping cart to take credit cards.
Aug 12, 2008 07:23 PM|tango2310|LINK
thanks for your response Lee
i mean they have credit terms with the store owner.
so they order goos say its on account & complete the sale
Aug 12, 2008 08:29 PM|Lee Dumond|LINK
Yes, this is very possible, but it would involve setting up, if not a whole new separate module in the application, at the very least an Account table in the database, an Account business object in the BLL, and new data access methods in the DAL to call
stored procedures that would do things like get lists of accounts (either paged, unpaged, or both), get a single account by user, create accounts, update account information, add a charge (debit) to the account, apply a payment (credit) to an account, delete
an account, and so on.
In other words, it's a fairly involved thing. It's not something you could easily do in a few lines of code someone could toss you in a post.
Aug 12, 2008 08:34 PM|tango2310|LINK
as a matter of interest is this something you could do & whatwould be the cost?
im trying to decide if this way or purchasing some software is the way to go
Aug 12, 2008 08:47 PM|Lee Dumond|LINK
Um, to answer you directly, "Yes" and "A lot". [;)]
Actually, it's not something I could contemplate taking on right now, but maybe someone else here is game. Sorry.
Aug 12, 2008 08:50 PM|tango2310|LINK
Aug 12, 2008 08:53 PM|Lee Dumond|LINK
On the other hand, you could investigate the many pre-built ASP-based storefronts out there.
This is a pretty good one.
Aug 12, 2008 09:02 PM|tango2310|LINK
do you know of any other free alternatives like the beer house?
Aug 13, 2008 12:20 PM|Lee Dumond|LINK
You get what you pay for. Anything that's free is likely to be pretty basic, like this Starter Kit.
Of course, the idea of a Starter Kit is to get you "started", isn't it? It demonstrates the architecture and the basic functionality. Once you have a very good understanding of that, one can go about extending it to include more features. That's pretty much
the idea of these free kits -- to provide a basic framework upon which to build, not to provide a full-blown, highly-customized solution out of the box.