- Joined
- Dec 21, 2008
- Messages
- 233
- Reaction score
- 4
It says wrong IP, because only notify.paypal.com has valid IPs. After payment paypal server opens that page all tells acc. maker to add points. Of course players can't open that page
Show me your custom_scripts/paypal/config.php
PHP:
<?php
$paypal_report_url = 'http://chimera.sytes.net/paypal_report.php';
$paypal_return_url = 'http://chimera.sytes.net/?subtopic=shopsystem';
$paypal_image = 'https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif';
$paypal_payment_type = '_xclick'; // '_xclick' (Buy Now) or '_donations'
$paypals[0]['mail'] = '[email protected]'; // your paypal login
$paypals[0]['name'] = '50 premium points on server Chimera for 5 EURO';
$paypals[0]['money_amount'] = '5';
$paypals[0]['money_currency'] = 'EUR'; // USD, EUR, more codes: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_currency_codes
$paypals[0]['premium_points'] = 50;
Also Bans.php trying to fetch something i do not have in my database, i get this error.
PHP:
Fatal error: Call to a member function fetch() on a non-object in C:\xampp\htdocs\pages\bans.php on line 6
Line 6
PHP:
$players_banned = $SQL->query('SELECT `bans`.`value`, `bans`.`comment`, `bans`.`admin_id`, `bans`.`expires`, `bans`.`added`, `bans`.`reason` FROM `bans`, `players` WHERE `players`.`account_id` = `bans`.`value` AND `bans`.`type` = 3 AND `bans`.`active` = 1 GROUP BY `bans`.`value` ORDER BY `bans`.`expires`')->fetchAll();
Last edited: