Jump to content

PHP Order Form


AnalyticalAda

Recommended Posts

I am attempting to create an order form for my school's website. While I have some experience with HTML and CSS, PHP is a not something that I've played with much before. What I would like to do is use this order form code:

 

http://www.dyn-web.com/code/order_form/example1.php (source files are attached)

 

but I would like to integrate that code with this:

 

http://www.evoluted.net/thinktank/web-development/paypal-php-integration

 

so that the order placed will actually be stored in a database or emailed. Anyone able to help? Know of a solution to this problem that already exists? Know of a company that will do this for me for a small one-time fee?

 

Thanks!

dw_order_form.zip

Link to comment
https://forums.phpfreaks.com/topic/280645-php-order-form/
Share on other sites

What you are asking for is fairly involved to build.  You basically need a simple shopping cart and paypal IPN integration.  Here is a tutorial for the shopping cart http://www.youtube.com/playlist?list=PL0A34371AA1BE4FEF and one for the paypal IPN http://www.youtube.com/playlist?list=PLC121B382EC5F372C

The paypal specific code in the IPN tutorial is old paypal code that no longer works for them, I answered another post on here about that http://forums.phpfreaks.com/topic/280248-paypal-ipn-doesnt-update-database/

You'll need to combine the 2 tutorials to make the kind of system you need.

Link to comment
https://forums.phpfreaks.com/topic/280645-php-order-form/#findComment-1442691
Share on other sites

Thank you both for your responses. I've tried a few shopping carts like PrestaShop and Zen Cart, but they don't really do what I want them to. I would like a simple order form in which the user inputs the quantity of each item they would like to purchase (this is a lunch order form), the total goes to PayPal, IPN tells my site that the user has paid, and my site emails me the order. The first link I posted is so close to what I need, except that it simply sends the total to PayPal, without providing a way for me to see what the user has actually ordered.

Link to comment
https://forums.phpfreaks.com/topic/280645-php-order-form/#findComment-1442694
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.