|
-
Apr 3rd, 2003, 08:04 AM
#1
Thread Starter
Hyperactive Member
Online store
I'm trying to build my own little web site - an online store in ASP/MS Acess
First of all please let me know if someone has some sample application of this kind.
As I'm trying to write my own code I'm particularly interested in knowing how do we do:
1) e-mail verification - how do we know if that e-mail actually exists
2) credit card verification - How do we know that the customer's
credit card# is valid etc. Is it done in code or a third party does it.
Please suggest
-
Apr 3rd, 2003, 10:34 AM
#2
Frenzied Member
1) e-mail verification - how do we know if that e-mail actually exists
2) credit card verification - How do we know that the customer's
credit card# is valid etc. Is it done in code or a third party does it.
1) There's really no way of knowing if the email account is valid, as in it actually exists, without sending an email to it. Such as sending a receipt of the order to the persons email address. If the email is returned "Undeliverable" then you can always try contacting them by phone.
2) There are several credit card verification services. Versign, etc...The way I generally do it, is call or email the individual who placed the order, to verify that it is a legitimate order, then process the card myself.
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Apr 3rd, 2003, 10:44 AM
#3
Frenzied Member
1) You would not know if an e-mail exists. You are just checking if it is a valid (pattern: [email protected]) e-mail address.
I didn't mean that valid as actually exists. Then you just say to the user that you'll send your login information (password) for the first time use to the customer. Customer may want to change it later at next time login. By doing that you will be sure that new user entered an e-mail address that is exists. It always better to make user name as his/her e-mail address.
here is JavaScript function to check valid pattern for e-mail address:
Code:
function validateEmail(email) {
var re_mail = /^[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,3}$/;
return re_mail.test(email);
}
2) There is now way that you could validate a credit card by yourself. The numbers are changing, and thousands new cards issued every day. There are few companies that provide this kind of service to the people like you and me. It's not that expensive as you may think.
-
Apr 3rd, 2003, 10:59 AM
#4
Thread Starter
Hyperactive Member
thanks for the help.
BTW is there a web site or book you could recommend me where
I could get some sample code for online inventory store
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|