naroxx
New Member
- Joined
- Sep 10, 2013
- Messages
- 22
- Reaction score
- 2
Hallo again
I have a problem with my Znote Acc shop system.
When i bought a Coins using a Paypal i dont get this coins in IN-Game shop, i just got this coins in webside shop. I dont know how to change ipn.php ;/
In my DB i have a catalog Account and inside i have table Coins, when i bought coins engine change onli table Points in catalog znote_accounts not table Coins in catalog account.
Someone know how to change this?
I have a problem with my Znote Acc shop system.
When i bought a Coins using a Paypal i dont get this coins in IN-Game shop, i just got this coins in webside shop. I dont know how to change ipn.php ;/
Code:
// Process payment
$data = mysql_select_single("SELECT `points` AS `old_points` FROM `znote_accounts` WHERE `account_id`='$custom';");
// Give points to user
$new_points = $data['old_points'] + $paidPoints;
mysql_update("UPDATE `znote_accounts` SET `points`='$new_points' WHERE `account_id`='$custom'");
In my DB i have a catalog Account and inside i have table Coins, when i bought coins engine change onli table Points in catalog znote_accounts not table Coins in catalog account.
Someone know how to change this?