PDA

View Full Version : gathering sale details with no gateway


downloads336743
04-27-2009, 01:17 AM
Hi there,

I am setting up a shopping cart for my client. This is the first i've done. The client wants to process the sale offline (with no payment gateway) and so the stages are that the customer gets to confirm page, then to success page then an email to say that the sale has gone through. That all works just fine.

BUT, in terms of the processing side of things...

Firstly, i have borrowed the DB from the tutorial and modified (ie the blue sky music one that's included with ECART) but it doesn't have any table for the credit card details - not sure if it needs to and if so how would i link it up from the site?

Most importantly though is how does my client get the CC details to process the sale? I had thought about the info going to her email but this seems a bit unsecure...So please if someone can help, what do i do from here??

Is there any documetation anywhere that may help? I have taken a look at the WebAssist help docs but don't seem to be able to find anything that matches my query.

Would appreciate any assistance!!
Cheers
Nic

Ray Borduin
04-27-2009, 10:12 AM
The samples all involve immediate payment. This is an advantage because it doesn't require keeping credit card information which is a general bad practice and represents a liability. You can add CC fields to your database and store them, but you should also consider encryption and removal of the credit card data immediately after processing. You should never include credit card information in an email.

downloads336743
04-27-2009, 06:31 PM
thanks Ray,
Though i still have the problem of not knowing how does my client get the CC details to process the sale? - Is there any sort of training material that might help with this?? Although the CC info gets sent (in a xxxx xxxx 1234 type format) via email to the customer, how does my client get the proper details - ie the 1234 5678 9012 3456 format with expiry etc?
Many thanks
Nicholas

Ray Borduin
04-28-2009, 07:04 AM
You can store those values in the session using the same technique used to store everything else. Just look at the set session value server behaviors on the confirm page that sets everything else and set more session variables for anything that is not stored. Then you can refer to those session variables wherever you need to.

CC information is probably already stored in the session, I think a function is used to strip all but the last four digits, if you removed that function it would have the full card number or refer directly to the value in the session since that is what is passed to the vendor in an actual checkout scenario.

You can add cc info fields to your orders table in your database and inser the cc number and expiration data and cc value by updating the "Store cart Summary in Database" server behavior on the confirm page.

downloads336743
05-12-2009, 04:36 AM
Thanks Ray.
I ended up using datassist to create the backend - it worked out to be easier in the end!
Appreciate your help
Nic