...

View Full Version : Would this be an easy thing to do with paypal shopping cart



nikos101
10-08-2008, 12:49 PM
If some one had a order form that looked like this, would it be an easy thing to do with paypal shopping cart?


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive">
<title>Emage order form</title>
</head>

<body bgcolor="#ffffff">
<form id="emage order form" action="" method="get" name="emage order form">
<table width="716" border="0" cellspacing="2" cellpadding="0">
<tr>
<td><img src="../images/emageorder.gif" alt="" height="52" width="233" border="0"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><b>Your Details for Delivery</b></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
Title<input type="text" name="textfieldName" size="9">First Name<input type="text" name="textfieldName" size="31"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
Surname<input type="text" name="textfieldName" size="56"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
Address<input type="text" name="textfieldName" size="56"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
<input type="text" name="textfieldName" size="72"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
<input type="text" name="textfieldName" size="72"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
Area Code<input type="text" name="textfieldName" size="56"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
Country<input type="text" name="textfieldName" size="56"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<div align="right">
Telephone number<input type="text" name="textfieldName" size="52"></div>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><img src="../images/white.gif" alt="" height="10" width="54" border="0"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><b>Paypal Online Payment</b></td>
<td>
<div align="center">
Unit Price</div>
</td>
<td>
<div align="center">
Quantity</div>
</td>
<td>
<div align="center">
Price</div>
</td>
</tr>
<tr>
<td></td>
<td>
<div align="center">

</div>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Sparky and the Magic Garden </td>
<td>
<div align="center">
&pound;15.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>The Sparky Book of Hours</td>
<td>
<div align="center">
&pound;15.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>The Second Sparky Book of Hours</td>
<td>
<div align="center">
&pound;15.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>The Sparky Book of Hours CD Collection<br>
<i>Free when purchasing both Books of Hours</i></td>
<td>
<div align="center">
&pound;10.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td><img src="../images/white.gif" alt="" height="10" width="54" border="0"></td>
<td></td>
<td>
<div align="center">

</div>
</td>
<td>
<div align="center">

</div>
</td>
</tr>
<tr>
<td><b>Postage and Packing (Recorded Delivery)</b></td>
<td></td>
<td>
<div align="center">

</div>
</td>
<td>
<div align="center">

</div>
</td>
</tr>
<tr>
<td><img src="../images/white.gif" alt="" height="10" width="54" border="0"></td>
<td></td>
<td>
<div align="center">

</div>
</td>
<td>
<div align="center">

</div>
</td>
</tr>
<tr>
<td><b>UNITED KINGDOM</b></td>
<td></td>
<td>
<div align="center">

</div>
</td>
<td>
<div align="center">

</div>
</td>
</tr>
<tr>
<td>1 Book</td>
<td>
<div align="center">
&pound;3.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>2 Books</td>
<td>
<div align="center">
&pound;3.50</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>3 Books<br>
Add &pound;0.50 for every extra book</td>
<td>
<div align="center">
&pound;4.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>
<div align="right">
Total</div>
</td>
<td></td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td><b>EUROPE</b></td>
<td></td>
<td>
<div align="center">

</div>
</td>
<td>
<div align="center">

</div>
</td>
</tr>
<tr>
<td>1 Book</td>
<td>
<div align="center">
&euro;8.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>2 Books</td>
<td>
<div align="center">
&euro;11.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>3 Books<br>
</td>
<td>
<div align="center">
&euro;14.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td> Add &euro;3.00 for every extra book</td>
<td></td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>
<div align="right">
Total</div>
</td>
<td></td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td><img src="../images/white.gif" alt="" height="10" width="54" border="0"></td>
<td></td>
<td>
<div align="center">

</div>
</td>
<td>
<div align="center">

</div>
</td>
</tr>
<tr>
<td><b>REST OF THE WORLD</b></td>
<td></td>
<td>
<div align="center">

</div>
</td>
<td>
<div align="center">

</div>
</td>
</tr>
<tr>
<td>1 Book</td>
<td>
<div align="center">
$15.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>2 Book</td>
<td>
<div align="center">
$22.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>3 Book</td>
<td>
<div align="center">
$28.00</div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>Add $6.00 for every extra book</td>
<td></td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td>
<div align="right">
Total</div>
</td>
<td></td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
<td>
<div align="center">
<input type="text" name="textfieldName" size="9"></div>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td>
<div align="center">
<input type="submit" name="submitemagebutton"></div>
</td>
</tr>
<tr>
<td><b>Contact Details for Payment by Post</b></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><i>UK Cheques or International Banker's Draft should be made payable to <b>EMAGE</b></i></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><img src="../images/white.gif" alt="" height="10" width="54" border="0"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><b>Postal Address:</b></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><b><img src="../images/white.gif" alt="" height="10" width="54" border="0"></b></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>EMAGE</td>
<td></td>
<td></td>
<td></td>
</tr>

</table>
</form>
</body>

</html>

mlseim
10-08-2008, 06:19 PM
I would say no, and here's why ...

With PayPal, you have two methods of doing a shopping cart.

1) You display items with an "add to cart" button for each item.
When the user clicks on a button, it jumps to PayPal and adds the
item to a virtual shopping cart on PayPal. There is a link to go back
to your store. When they are ready to pay, they click to go back
to PayPal and pay securely with their credit card (on PayPal).

2) You have your own PHP scripting that handles the shopping cart.
Using cookies or whatever, the user adds items to their cart without
going to PayPal. You need to maintain the cart contents yourself.
When they are ready to check-out, they go to PayPal as a transaction
where all of the cart contents are sent over to PayPal using a PHP script.
They then pay securely with their credit card (on PayPal).

It looks like you're setting yourself up for option 2.
You have a form where they add items to a cart on your own site.
You have a ton of scripting ahead of you to maintain your own cart.

===================

Here's where I would actually head with this project.

Find a free shopping cart script, like OSCommerce or CubeCart.
Install and configure (PHP MySQL database) and use their script
for an online store. They already have the gateways in place
for PayPal (or any other CC merchant).

You only need to customize the "look" of the shopping cart to make
it look like the rest of your web site.

By having a pre-made shopping cart script, the script has the admin
portion done for you ... uploading photos, item, description, prices,
shipping costs, inventory control, order invoices, and a database of
customers (if they need to register). It's all done for you.

So, what you're doing now is hard because you will need to manage
all of the items and photos by hand? Not sure if you have a database.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum