• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Paypal Gesior 1.2

jimmydunphy

New Member
Joined
Aug 9, 2007
Messages
68
Reaction score
3
Location
Nova Scotia Canada
How do I change the paypal script so instead of just one option for points there can be multiple?
I.e .50 usd = 100 pts, 5 usd = 1000 pts ect? Right now shows only one and when I add more it just takes the last table and disregards the first one?

$paypals[0]['name'] = '500 premium points on HatsOT for just 2.5 EURO!';
$paypals[0]['money_amount'] = '2.5';
$paypals[0]['money_currency'] = 'EUR'; // USD, EUR, more codes: https://cms.paypal.com/us/cgi-bin/?...t_ID=developer/e_howto_api_nvp_currency_codes

$paypals[0]['premium_points'] = 500;

EDIT: solved by changing [0] to [1] and so on for new payments. Sorry :)
 
Last edited:
For each choice you need to change the number inside the bracket:

Choice 1:
$paypals[0]['name']
$paypals[0]['money_amount']
$paypals[0]['money_currency']

Choice 2:
$paypals[1]['name']
$paypals[1]['money_amount']
$paypals[1]['money_currency']
 
Thank you :) Could you tell me how to fix my guild issue? It let's me create the guild then this on the next page The Following Errors Have Occurred:
  • Guild with ID 0 doesn't exist. ;/? Gesior
 
dot.gif
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0056 seconds.)
SELECT * FROM `guilds`
Profiling
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Query results operations Create view
 
Back
Top