[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 07-10-2003, 12:52 AM   #1 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 6
9.00 NP$ (Donate)

kydlynx is an unknown quantity at this point


Shopping Cart / Secure CC checkout

I am making a site for a friend, and she wants to sell post cards. Does anyone know how to make shopping carts and secure credit card checkouts?

Or do i have to buy the scripts from some place?
and if so, where at?

thanks in advance
kydlynx is offline  
Old 07-10-2003, 01:04 AM   #2 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


Your best option would probably be to either buy the scripts from someone else or use a free one. There's a ton of them out there.

For payment processing one option is to use a third party payment processor, alot of them have shopping cart scripts that they'll let you use for free on your site and will work with their services.

Probably one of the best, if not the best free shopping cart type script:
http://www.oscommerce.com/

A paid shopping cart type script:
http://www.miva.com/

A few payment processing companies that I know of:
http://paysystems.com
http://2checkout.com
http://paypal.com

To get credit card processing set up without using a third party payment processor like one of the ones above you will have to get a merchant account.
deadserious is offline  
Old 07-10-2003, 09:55 AM   #3 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 6
9.00 NP$ (Donate)

kydlynx is an unknown quantity at this point


cool. thanks for the info.

the lady has a credit card machine at her little shop. You know they one you slide CC's through or just punch in the numbers.

Therefore, I assume that she has a merchant account cause she has the manual one? Correct? If so, how would I set up an account with someone that already has an existing merchant account?
kydlynx is offline  
Old 07-10-2003, 10:36 AM   #4 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


Yes, if they have the manual card swiper then I think they would have a merchant account.

They will need to contact their merchant provider to find out how they can get set up to process credit cards online from their website.

You can usually find a list of shopping carts and other scripts that will work with the merchant providers set up on their website.

If you're going to be setting it up, then you'll really want access to all of the documentation for the merchant/gateway account.

The merchant provider may also provide some plug and play (copy and paste) code that wil work right away, once you get things enabled, but it will most likely be basic and not have any type of shopping cart functionality.

Most shopping cart type software that you will use directly with your own merchant account will require you to do certain things like change certain settings, possibly enter your merchant number in the config and some stuff like that.

One other thing is you'll want to run all the transactions from an SSL Secure Server and purchase a valid SSL certificate.

So I think your first step would be to have them find out about getting the online processing enabled on their account. Once you're sure that they're able to do online transactions, you'll need to know which merchant account/gateway they will be using for it, so when you're out searching for shopping carts to use you'll be able to look at which payment processors they support and know if you'll be able to use it or not.

Well I hope that explains it a little bit Feel free to ask if you have more questions.
deadserious is offline  
Old 07-11-2003, 10:35 PM   #5 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 6
9.00 NP$ (Donate)

kydlynx is an unknown quantity at this point


ok, so I have been flooding myself with php for the last couple days.

Thanks for the info by the way.

I went with osCommerce. I set up a local host with EasyPhp and have been playing with the shopping cart for a few days now.
I just cant seem to get the email to work locally. I dont know whats going wrong. osC has a forum also. But I couldnt get help there.

After I get the email thing figured out, I am on to figuring out the Secure Server site thing. That is gonna be a pain I bet.
kydlynx is offline  
Old 07-11-2003, 11:29 PM   #6 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


You can try changing these settings in your php.ini to see if you can get the mail() function to work on your windows machine.


Search for this in your php.ini file
PHP Code:
[mail function]
; For
Win32 only.
SMTP = localhost

; For Win32 only.
sendmail_from = me@localhost.com
Change them to:
PHP Code:
[mail function]
; For
Win32 only.
SMTP = your_isps_smtpserver.ext

; For Win32 only.
sendmail_from = youremail@yourdomain.ext
Replace your_isps_smtpserver.ext with your ISP'S actual smtp server and youremail@yourdomain.ext with the actual email you want it to send mail from. Don't forget that you would need to be connected to your isp in order for it to work that way.
deadserious is offline  
Old 07-11-2003, 11:37 PM   #7 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 6
9.00 NP$ (Donate)

kydlynx is an unknown quantity at this point


this is what i have:


[mail function]
SMTP = smtp.west.cox.net
;for win32 only

sendmail_from = myname@cox.net
;for win32 only

;sendmail_path =
;for unix only, may supply arguments as well (default is 'sendmail -t -i')



It says it send the email successfully at the top, but I never recieve anything.
kydlynx is offline  
Old 07-11-2003, 11:59 PM   #8 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


Try sending it to a different email address. It may just be the address you're sending it to is rejecting it. Try sending it to your email that you have with your isp if you haven't already.

Here's a little code to try it out if you need it:
PHP Code:
<?php
mail
("toyourmail@yourdomain.ext", "Mail Test", "This is a php mail test");
echo
"Mail Sent!";
?>
deadserious is offline  
Old 07-12-2003, 12:05 AM   #9 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 6
9.00 NP$ (Donate)

kydlynx is an unknown quantity at this point


ok i will send it to a diff address.
I was sending it to a hotmail address.
that is a big problem though if i cant send mail to hotmail users.

where do I put that code you wrote?
kydlynx is offline  
Old 07-12-2003, 12:09 AM   #10 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


Copy it to a blank text file, save the file as mailtest.php, make sure it ends with a .php extension and not .php.txt.

Put it where ever you have your other html and php scripts (most likely in your "htdocs" folder if you're using apache) and call it up in your browser.
deadserious is offline  
Old 07-12-2003, 12:12 AM   #11 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


By the way, don't forget to change toyourmail@yourdomain.ext to the actual email address you're trying to send it to.
deadserious is offline  
Old 07-12-2003, 12:15 AM   #12 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 6
9.00 NP$ (Donate)

kydlynx is an unknown quantity at this point


you are godly.

i got the email.

that is weird.
kydlynx is offline  
Old 07-15-2003, 01:23 AM   #13 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


Cool! Glad you got it working! :webdev:
deadserious is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 04:17 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85