PHP script to write to MySQL and integrate with PayPal

I am seeking an HTML form / PHP script that can write to a MySQL database and integrate with PayPal for secure payments to improve the functionality on my web site.

Currently, each time a website user completes the existing form, the existing script writes the data to a .CSV file and also sends me an email with the data. I want this replaced (or modified if that's easier) so that the data is written to a MySQL database instead of the .CSV file and I still want to be sent an email with the data. I also need to keep all the other functionality of the PHP script (please review the included PHP script to see the extensive functionality, retention of which forms a part of the description of this project).

Importantly, I want to integrate the script with PayPal and particularly with PayPal Instant Payment Notification and I want the form data to be saved in MySQL and emailed to me ONLY if the PayPal payment has been successful.

It should work like this:

- - - - 1 - - - - A website user completes the form and presses the "Submit Application" button.


- - - - 2 - - - - The PHP script checks that all required data has been entered. If all required data has NOT been entered, the website user receives an error message (just like the existing script) and clicks "BACK" in their browser to correct the form.


- - - - 3 - - - - When all required data has been entered, the website user is redirected to my PayPal account to make payment (as much data that can be used by PayPal as HTML Variables for Filling Out PayPal Checkout Pages Automatically should be sent at this time).



- - - - 4 - - - - If the website user successfully makes payment via PayPal, they should be redirected to a "Success" page on my website (that I will create) and the form data saved in MySQL and also emailed to me (note that I should be able to adjust the email address and subject in the script).


- - - - 4 - - - - If the website user does not make payment via PayPal (if the attempted payment fails), they should be redirected to a "Failure" page on my website (that I will create) and, no data should be saved in MySQL and I should receive an email with a subject "Failed Application Attempt" including all the data (note that I should be able to adjust the email address and subject in the script).


- - - - 4 - - - - If the website user does not make payment via PayPal (if they cancel the process themselves) then no data should be saved in MySQL and no email should be send to me.


(a) This is an urgent project that the successful Freelancer must have completed before1st June 2012.

(b) The successful Freelancer will have very good written and spoken English.

(c) The existing PHP script is protected by international copyright and may not be copied or distributed, in part of in whole.

Ownership and copyright of all code delivered through this project will be owned by me. If any GPL code or CopyLeft code is used in the delivery of this project I must be notified of the same and/or of any derivative works, and provided copies of the base code.

(d) The successful Freelancer will provide the MySQL initialisation scripts (mysqldump) of all tables required.

(e) The PHP script must be written in simple functional blocks to match the workflow. Include files are preferred over large code segments.

(f) The PHP script must be well documented (preferably using remarks inside the script in the same way the existing PHP script is).

(g) Integration with Paypal should use the standard APIs and Paypal includes as provided on the Paypal development site / sandbox. The only modification to the includes should be the configuration variables and efforts should be made to keep as much as possible to Paypal's example use of the APIs for future maintainability.

(h) A copy of the existing HTML form and PHP script is attached.

Compétences : HTML, MySQL, API PayPal, PHP

en voir plus : can write paypal php, write to freelancer, write a website review, work notes freelancer, workflow web development, when to use freelancer, website api integration freelancer, want to works as freelancer, want to create account on freelancer, to create freelancer account, the international freelancer, successful freelancer, subject php, see review freelancer, php works at freelancer, php mysql freelancer required, php integration with html, php gpl, php freelancer works, php form freelancer, pending payment through paypal, paypal to freelancer, paypal still pending, paypal pending review, paypal pending payment

Concernant l'employeur :
( 3 commentaires ) Chatswood, Australia

Nº du projet : #1656325

Décerné à:


Please view pmb

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% AUD en 4 jours
(55 Commentaires)

13 freelance font une offre moyenne de $64 pour ce travail


quick pro help. ftp and escrow required.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 3 jours
(539 Commentaires)

Dear Customer! I am an expert web developer with over 6 years of experience and very interested in this project. Ready to start immediately and finish as soon as possible. My bid is for fast professional service exc Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 0 jours
(148 Commentaires)

**** Hi sir, I am ready to start working on your project right away. I'm an experienced Web Developer having worked for 4+ years with PHP, Java, Solr/Lucene, Sphinx Search, Smarty, MySQL, SQL Server, ASP, JavaScript, A Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 2 jours
(48 Commentaires)

Hi, ready to make my best for this task, please check PMB

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 3 jours
(21 Commentaires)

lets do it

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 5 jours
(10 Commentaires)

Hi, I'm German, living in Bangkok and would like to do this job for you. Please look at you PM as I send you some further information..

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 6 jours
(6 Commentaires)

I have Paypal API ready with me, expert in PHP, let's start

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(14 Commentaires)

hi,paypal,php,mysql expert [url removed, login to view] do [url removed, login to view] inbox for [url removed, login to view]

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 2 jours
(1 Évaluation)

paypal api ready !!check pmb

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(0 Commentaires)

i am ready for this [url removed, login to view] Private Message

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 4 jours
(0 Commentaires)

Hi, I have over 12 years of Experience in software design, development and implementation of various commercial applications in Client/Server environment, Web and ERP applications using C# 1.1/2.0/3.5, ASP.Net, VB.N Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(0 Commentaires)

Please see personal message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 4 jours
(0 Commentaires)