jimmydunphy
New Member
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
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: