En cours

Paypal IPN script - PHP - MySQL

Timeframe: Needs to be finished by 20th May

We need a new IPN script that also works for recurring subscriptions. Paypal send notifications similar to the standard but with more info everytime a user pays.

The end use is for a small gaming community so I hope the cost won't be to high. For someone with Paypal API and PHP knowledge I should imagine it will be a quick script.

Paypal Payment received

if the item name = 'VIP' then

$GID = 4

$SID = 0

$Expiration = CURDATE() + 5 years

else

$GID = 3

If the item name was "Server 1 - 1 month" you need to make ($SID = 1) and ($Experation = CURDATE() + 1 Month). I'm sure you get the idea.

If the name was "Server 2 - 3 month" you need to make ($SID = 3) and date ($Experation = CURDATE() + 3 Months).

Decide if it's a new user: Unique ID will be SteamID. If the SteamID is already in the database do NOT re-add.

New user:

add this information to a MySQL table.

insert into sb_admins

user = Going to use SteamID for this, as names are variables that users change very frequently in roleplay enviroments.

authid = SteamID (We convert it to remove some symbols, so will need reversing. I can give the formula for this, fairly simple)

password = user (fb1b849336f95b81b6d2495bde25636fc08077f9) (User will NOT be given the password and this is some random hash)

gid = 3

email = paypal email

validate = 0

extraflags = 0

immunity = 0

Run this query to add new users to the user tables.

Once created they will have a Autogenerated ID in a table called 'aid'. You need this number to add them to the other tables.

insert into sb_admins_severs_groups

admin_id = [url removed, login to view]

group_id = 3

srv_group_id = -1

server_id = $SID

expires = $Experation

Done, save to a log file saying who was added to what/where/any errors etc.

Compétences : MySQL, API PayPal, PHP

Voir plus : php mysql paypal ipn subscriptions, mysql paypal steamid, php save as, paypal payment pending, paypal payment is pending, paypal email id, ipn script mysql, what is a paypal email, what can i use paypal for, use paypal, send paypal, paypal make payment, paypal change email, make paypal payment, make paypal, log into paypal, it symbols, ipn number, change paypal email, change email paypal, what paypal, sid m, Paypal IPN, need a quick mysql script, send email php mysql

Concernant l'employeur :
( 1 commentaire ) Brinsworth, United Kingdom

N° du projet : #1058798

Décerné à :

mipblackhawk

Only need less than 2 hours, not until May 20th. Please check PM

30 $ USD en 0 jours
(7 Commentaires)
4.5

5 freelance ont fait une offre moyenne de 103 $ pour ce travail

toinnisfree

quick pro help. ftp and escrow required.

100 $ USD en 1 jour
(549 Commentaires)
7.9
dinhtoan

let me hep you finish it.

200 $ USD en 2 jours
(59 Commentaires)
6.2
cedricve

Hey, I have experience with the PayPal Api. I've been in the gaming scene myself so I know the scene. Please check my profile & ratings to know more about my skills. I can help you Cedric

60 $ USD en 0 jours
(17 Commentaires)
4.5
terwelu

Why did you reposted this similar project? Any problem?

125 $ USD en 0 jours
(13 Commentaires)
4.3