Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.