XFileSharing Pro - paypal mass pay small typo

Message
Author
PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

paypal mass pay small typo

#1 Postby PowerChaos » Dec 27, 2010 12:57 am

hi,
i was wondering if some1 could fix this small typo for me
as i am not able to find it :s

if you select the mass payment button then it export it a txt file where you see numbers like

Code: Select all

17.48
it need to be

Code: Select all

17,48
or to show the typo

Code: Select all

. need to be ,
else paypal will give a error

it would be nice if i can get a small fix for it , not sure if it is the same for every1 , but for me it need to be a "," or it refuse to work

Thank you
Greets From PowerChaos

snc
Posts: 43
Joined: Oct 14, 2010 12:51 pm

#2 Postby snc » Dec 27, 2010 1:06 pm

i have a question, to use mass paypall file i should have extended account on paypal or basiec is enough

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#3 Postby PilgrimX182 » Dec 28, 2010 9:28 am

Well it's clearly that they've used dot in their docs:
https://www.paypal.com/us/cgi-bin/websc ... at-outside

Probably this depends on your PayPal settings or currency used.

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#4 Postby PowerChaos » Dec 28, 2010 12:01 pm

it is possible that it is for the american paypal ( paypal.com or so ) but not for the dutch paypal ( paypal.be )

as it give me errors if i use dots

it probaly depends on what kind of paypal you use (usd or eur or any other currency has nothing to do with it , its the country that have to do with it , like the date , for me is 2 januari 2010 = 02/01/2010 , when for you is it 01/02/2010 , its differend , same as currency delimiter , for us are it "," when for you are it dots "." )


for that reason i like to ask if there is a smal fix for it ??

as it is probaly only for me at this moment

if a small fix is possible , then i like to have it

if it is not posisble, then it is not a big problem , then i manual change them if needed


Thank you
Greets From PowerChaos

ps: i only need to know where i need to change it so i can manual change it :D

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#5 Postby PilgrimX182 » Dec 29, 2010 2:54 pm

In index.cgi find this line

Code: Select all

print"$x->{usr_pay_email}\t$x->{amount}\t$c->{currency_code}\tmasspay_$x->{usr_id}\tPayment\r\n";
and add above:

Code: Select all

$x->{amount}=~s/\./,/;