You are here:   Home > Scripts > PHP Free Shopping Cart Scripts > PHP Web Hosting Shopping Cart Script > Paypal Web Hosting Cart Script
What's
New
Doll
Makers
Room
Makers
Puzzle
Makers
Roiworld Stardoll Smilies Links

Back to Scripts

PayPal Shopping Cart

(Requirements: PHP and a PayPal Business account)


See also:
Introduction to Shopping Cart
WebHosting Shopping Cart (PaySystems Payment Processor)


The shopping cart below is essentially a webhosting shopping cart using paypal as the credit card processor.


PayPal WebHosting Shopping cart

Below we use php to build the shopping cart, Easy to update the options, recalculate when necessary, and checking out (Go to Paypal) to pay the final sum. Whenever you hit the recalculate button, this webpage reloads, and the php script updates the shopping cart variables.

Summary:
You can directly modify the parameters in the url string to match the parameters to of your shopping cart to your payment processor (PayPal).

We fill in a url string which we pass to paypal (since the size of this url string is small we use the GET http protocol).

https://www.paypal.com/subscriptions/business=email@yourdomain.com&..

email@yourdomain.com - this would be your paypal business account, which will be used to identify you when you send a subscription notification to paypal.

At the end of the page you would have a few paypal reference guide links.

Lets create the following fields, the recalculate and checkout buttons.
  1. Domain name
  2. Webhosting plan
  3. Additional accessories
  4. Taxes
  5. Subtotal


Domain Name


Hosting Service
Additional Options
diskspace
bandwidth
Add JSP
Taxes
I live in Quebec (PST)
I live in Canada (GST)
Subtotal
Setup$0
Domain$2
Hosting$10
Diskspace$0
Bandwidth$0
JSP$0
Subtotal$12
Federal tax$0.84
State tax$0.96
Total (per month)$13.80
All funds in Canadian dollars
$5/month Basic Hosting
$10/month Professional
$25/month Enterprise
$2/month for managed domain name
$2/month each additional 100MB diskspace
$2/month each additional 1GB transfer
$10/month JSP
Minimum 1 year contract ($24 domain name buyout)
Script by eLouai.com
Download the above script



Reference:
Paypal's Technical Overview to subscriptions and recurring payments



About     Privacy Policy     Hosting by Web Hosting Canada

Except where otherwise noted, this site is licensed under a Creative Commons License



contact us: elouai@gmail.com
©2003-2009 eLouai.com, All rights reserved