Checkout Confirmation

 

On the order confirmation page we display the ordered items with the shipping and payment information provided earlier. You can't see it in the screenshot but you can be sure that the shipping and payment info is there as hidden inputs. If you don' believe just checkout the source code

Checkout Confirmation

If the customer want to modify the shipping/payment info she can click on the "Modify Shipping/Payment Info" and if everything is okay she click on the 'Confirm Order' button and so we begin saving the order to database.

First, we insert the shipping and payment info to tbl_order and the ordered items into tbl_order_item. We also modify the product quantity in stock. If you play with the demo you can see that this is disabled so the product quantity is always the same no matter how many items you ordered.

Next thing we do is remove the ordered items from cart table because they are no longer needed.


If the payment method is COD the customer will go immediately to the thankyou page. But when paypal is chosen the process is a bit longer. Next we'll start playing with the Paypal stuff

Get custom programming done at ScriptLance.com!

 

 

 

Online Shop - Shipping And Payment Info PHP MySQL Shopping Cart Tutorial : Online Shop - Checkout Confirmation Page Online Shop - Using Paypal
Google
 
Web www.phpwebcommerce.com
 

At long last i'm finally able to update this site. Now the shopping cart can handle payment through paypal. As always you have any critiques, questions, comments or problems about this tutorial please tell me. Click here to send your feedback. And if you like this tutorial please link to this site. It will really help a lot :-)

 

 

My Experimental Lenses



PHP MySQL Shopping Cart Tutorial
Copyright © 2005 - 2008 www.phpwebcommerce.com