Write a PHP script that processes a form I have, emails the contents to me, BUT only if and when a paypal transaction is made, with IPN status = confirmed + the script would have an increment counter (into mySQL database) from 0-49, and disable itself after 50? in other words, take 50 orders, first come first serve, only send me the order details if they are confirmed paid for. Any order that came up "pending" (person had no money in there Paypal account) would then have an email that rejected that order, and politely ask them to re-order when they had sufficient funds - that order would not increment the amount in the database.
This is a service work order online offer. No tangible goods. No need for a cart or quanities. No multiple offers, or multiple purchasing.
Must be PHP, MySQL
HTML Form will be supplied
Form Processor to interact with Paypal and MySQL database and Email