Php Paypal Script Needed 08.02.09
Needs to be written in PHP and use a MYSQL DB or Flat file. Needs to use cookies/sessions for logged in users.
I need a script that does the following:
1) collects the users info via a form:
First Name
Last Name
Address1
Address2
City
State
Zip
Phone
Email
2) It submits and stores this info to my database (MYSQL), and also creates a “member id” number for this entry. (a 5 digit number, the last number in the ID number must be a number between 1 and 5)
3) It passes the relevant address and email info to PAYPAL via a BUY NOW button or some other method.
4) uses Paypal’s IPN to verify the name and address information.
5) updates my DB with correct name and address when purchase was completed successfully. It also notates that the payment was made for that user in the DB. (maybe sets a “approved” field to “1″?)
6) the script then needs to send the user an email asking them to click a link to verfiy their email address.
7) when the email is verfified, and creates a random password and displays it for the user, along with their “member ID” number.
updates the DB that the email address has been verified. (perhaps it sets the “approved” field to “2″ or something like that)
9) Then…
Anyone (website visitor) can view SOME of the members info by going to www. mysite .com/profile/XXXXX (XXXXX is the members id number)
By “SOME” info, for example, I mean that they can see the members name and email info ONLY.
10) There needs to be a login form, and once members are logged in, they can then see ALL the members info.
For example, they can now see the members name, email, address and phone.
*****************
MUST BE ABLE TO GIVE ME A DEFINITE START AND COMPLETION TIME. PREFER ONE DAY…DO NOT TELL ME “ONE DAY” IF YOU WILL NOT BE ABLE TO COMPLETE IT ON TIME.