RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
paypal mass pay small typo

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Dec 27, 2010 12:57 am    Post subject: paypal mass pay small typo Reply with quote

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:

17.48


it need to be
Code:

17,48


or to show the typo
Code:

. 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
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
snc



Joined: 14 Oct 2010
Posts: 43

PostPosted: Dec 27, 2010 1:06 pm    Post subject: Reply with quote

i have a question, to use mass paypall file i should have extended account on paypal or basiec is enough
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Dec 28, 2010 9:28 am    Post subject: Reply with quote

Well it's clearly that they've used dot in their docs:
https://www.paypal.com/us/cgi-bin/webscr?cmd=_batch-payment-format-outside

Probably this depends on your PayPal settings or currency used.
Back to top
View user's profile Send private message Visit poster's website
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Dec 28, 2010 12:01 pm    Post subject: Reply with quote

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 Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Dec 29, 2010 2:54 pm    Post subject: Reply with quote

In index.cgi find this line
Code:
print"$x->{usr_pay_email}\t$x->{amount}\t$c->{currency_code}\tmasspay_$x->{usr_id}\tPayment\r\n";

and add above:
Code:
$x->{amount}=~s/\./,/;
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group