nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   Software Development (http://www.nvnews.net/vbulletin/forumdisplay.php?f=53)
-   -   Building a shopping cart (http://www.nvnews.net/vbulletin/showthread.php?t=91956)

DiscipleDOC 05-22-07 04:18 PM

Building a shopping cart
 
I am looking into building a web page to accept credit cards and paypal accounts. I want to be able to itemize things so that a customer can insert items into a shopping cart. Are there any "howto's" on getting this up and running? Thanks for the help.

superklye 05-22-07 04:26 PM

Re: Building a shopping cart
 
If you want, I can just do it for you.

My prices start at $10,000 USD

DiscipleDOC 05-22-07 06:39 PM

Re: Building a shopping cart
 
Quote:

Originally Posted by superklye
If you want, I can just do it for you.

My prices start at $10,000 USD

You're just trying to get enough money to buy Venturi's pc! :p

ViN86 05-22-07 11:11 PM

Re: Building a shopping cart
 
the way i would do it... (cheap and quick, like Gib's mom :bleh:)

1. MySQL database to store info on products
2. PHP front to display data, and you can store the cart contents in either a cookie or in a session variable

idk how to make the credit card/paypal thing... sorry :o
im just learing MySQL and PHP, so feel free to check out my thread in here for some noob mistakes and info. also, ill probably be posting my code eventually to prevent malicious scripts from being run.

gl. also, what is this for? (if you dont mind me askin)

t3hl33td4rg0n 05-22-07 11:40 PM

Re: Building a shopping cart
 
You can use sessions to store basic information of logged in users with accounts and a MySQL db for storing cart data. Its been so long since I made my first (and only) primitive cart. I learned the concept from macromedias site had little tutorials on stuff. It might still be laying around somewhere on adobes site. I think it was called "persistant shopping cart", but i modified it to not use cookies.

You may also want to check www.devshed.com - they have tons of PHP tutorials.

Theres also a shopping cart extension for dreamweaver if you want to go that route. Its called WA eCart; its a full featured cart.

DiscipleDOC 05-23-07 09:15 AM

Re: Building a shopping cart
 
Quote:

Originally Posted by ViN86
the way i would do it... (cheap and quick, like Gib's mom :bleh:)

1. MySQL database to store info on products
2. PHP front to display data, and you can store the cart contents in either a cookie or in a session variable

idk how to make the credit card/paypal thing... sorry :o
im just learing MySQL and PHP, so feel free to check out my thread in here for some noob mistakes and info. also, ill probably be posting my code eventually to prevent malicious scripts from being run.

gl. also, what is this for? (if you dont mind me askin)

I'm going to start doing some websites for a few places, and they are going to pay me to push their product online. I want to do everything from scratch, and I need to learn some php and mySQL in order to cut down the cost of paying a programmer to do some things...

fivefeet8 05-23-07 10:59 AM

Re: Building a shopping cart
 
Quote:

Originally Posted by DiscipleDOC
I'm going to start doing some websites for a few places, and they are going to pay me to push their product online. I want to do everything from scratch, and I need to learn some php and mySQL in order to cut down the cost of paying a programmer to do some things...

There are many pre-scripted php/mysql shopping carts out there. If you're only a beginning php/mysql programmer, I wouldn't recommend a shopping cart as your first project. There are many things to consider including security of all credit card transactions to and from the site. It will probably involve some type of SSL encryption to be enabled on the server for the site.

evilghost 05-23-07 11:29 AM

Re: Building a shopping cart
 
Quote:

Originally Posted by fivefeet8
There are many pre-scripted php/mysql shopping carts out there. If you're only a beginning php/mysql programmer, I wouldn't recommend a shopping cart as your first project. There are many things to consider including security of all credit card transactions to and from the site. It will probably involve some type of SSL encryption to be enabled on the server for the site.

+1

Not to mention if you're storing any customer data in the database it should be strongly encrypted and secure. Also all of your code should be very secure and not allow for CSRF, XSS, SQL inection, etc.

It's a huge undertaking and something I would even think twice about before entertaining.

ViN86 05-23-07 02:04 PM

Re: Building a shopping cart
 
Quote:

Originally Posted by fivefeet8
There are many pre-scripted php/mysql shopping carts out there. If you're only a beginning php/mysql programmer, I wouldn't recommend a shopping cart as your first project. There are many things to consider including security of all credit card transactions to and from the site. It will probably involve some type of SSL encryption to be enabled on the server for the site.

yes. most sites that allow online credit card transactions have crazy security measures.

evilghost 05-23-07 02:09 PM

Re: Building a shopping cart
 
You'll need to be PCI (Payment Card Industry (PCI) Compliance) compliant too which is big.

https://www.pcisecuritystandards.org...he_pci_dss.htm


All times are GMT -5. The time now is 11:29 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.