| You are here: Home > Scripts > PHP Free Shopping Cart Scripts > PHP Simple Shopping Cart Script |
| ||||||||||||||||||
|
Back to Shopping CartSimple Shopping Cart(Requirements: PHP and a MyPaySystems merchant account)See also: Web Hosting Shopping Cart (PaySystems) Web Hosting Shopping Cart (PayPal) An easy to install and configure shopping cart software. It is pre-configured for credit card processing using MyPaySystems, just replace the company id with your own company id. This script is used at Web Hosting Canada.ORG's sign up page. Below we create the script in steps, slowly expanding on it. To download the full free package go to page 2 and download both sample scripts. (Before we start if you had just gotten your PaySystems account create a support ticket and request the PaySystems-PRO). Correction: For recurring billing the amount was $0.00, beacause the parameter 'repeatamount' was not set. The 'total' varaible essentially sets up the initial payment but the recurring amount needs to be set seperately. Add ... &repeatamount=<?php echo $total;?> ... to the scripts. Credit Card Processing In the past if you wished to accept online credit card transactions you would go to your bank and request a merchant account. A deposit, and a monthly service charge usually applied, around $50 CDN a month. Also most banks only accepted a single major credit card (often it was either MasterCard or Visa). With an account like MyPaySystems, there are no monthly fees, a low rate and a flexible API to create your own shopping cart solution. In the script below we demonstrate how to create a merchant account using MyPaySystems. Shopping cart software Simple Shopping Cart: <center> <table width="300"> <tr><td bgcolor="A4E39F"> <table width="100%"> <tr><td>Donate $5 CDN</td></tr> <tr><td align="center" bgcolor="DFFADA"> <a href="https://secure.paysystems1.com/cgi-v310/payment/onlinesale-tpppro.asp? product1=donation&companyid=253540&total=$5.00 &formget=N&redirect=http://www.elouai.com/success.php &redirectfail=http://www.elouai.com/fail.php&reoccur=N"> <img border=0 src="images/butcc.gif"></a> </td></tr> </table> </td></tr> </table> </center>
As highlighted above, you should modify the companyid to your id issued to you otherwise the wrong merchant will the receive the money. (No forms or PHP is required for a single choice shopping cart). References: myPaySystems Frequently Asked Questions |
|
contact us: elouai@gmail.com ©2003-2008 eLouai.com, All rights reserved |