Example Shopping Cart using PayPal Express Checkout
This shopping cart is just a basic PHP website with MySQL database attached to it. The payment portal can be used with no real money being exchanged. There will be a login and password for the Sandbox account displayed on the checkout page for you to use. Explaination throughout this website is in italics and can be hidden by clicking Close/Open Information button on each page if you just want to see the shopping cart not the details of the creation of it.
How is this website put together?
- Using PHP to code the work with version PHP 7.0
- MySQL Database
- The shopping cart relies on the session id to tie all the pages togther. After thirty minutes of no activity on the website form the bowser the session will time out and the cart items be removed from the shopping cart.
That is all that is required. Here is the database that is in .sql format for download for the tutorial shoppinginventory.sql.
If you find any issues, suggestions, comments, or would like to have a shopping cart on your website please send an email to josh(at)compassprogramming.com. If you would like to see parts of the code for better clarification I can send it to you on an individual basis also. I am consistantly improving the code and implementing changes so I am not posting everything on the website.
I will be adding a administrative panel tutorial shortly. This will show you how to enter your items into the store and see the items you need to ship.Start Shopping