July 27th, 2013, 01:27 PM
PHP Order Form
I am attempting to create an order form for my school's website that will allow users to pay through PayPal. While I have experience with HTML and CSS, PHP is not something that I have played with much. That being said, I found a PHP order form that looks like what I want. It allows the user to enter quantities of items to purchase and totals the amount for them.
They have two examples on their website, one that sends the order to email and another that sends the total to PayPal. However, I need a form that will send the order details to an email AND one that allows for payment through PayPal.
Does such a thing already exist somewhere? I mistakenly thought that this would be much simpler. I messed around with PrestaCart and Zen Cart, but they are both way too bulky for what I'm looking for, which is simply an order form.
Thank you for your time and assistance!
July 27th, 2013, 01:50 PM
July 28th, 2013, 01:28 AM
Sending out the order details is something you would do as part of an IPN handler. After the user goes to the PayPal site and pays, you can write a script that will be notified by PayPal of the payment. That script can then handle your email sending.
If you look up "IPN" you can find the details on the PayPal documentation.
July 28th, 2013, 02:30 PM
Thank you for the resources - I think that is just what I needed!