Register  FAQ  Search  Memberlist  Profile  Log in to check your private messages  Log in  Main Site 

Donations
Goto page Previous  1, 2, 3
 
Post new topic  Reply to topic   Infectionist Machinima Forum Index » Infectionist Machinima News
View previous topic :: View next topic  
Author Message
HaLo2FrEeEk
Overlord Extraordinaire

Joined: 15 Aug 2006
Posts: 5782
Status: Offline
Style: Xbox 360
Location: Trying really hard to do something

PostPost subject: Reply with quote
Oh damn, I had this math all figured out and I can't remember it. Dreamhost takes out 5% + $0.30, I used to have a script lying around that would accept a number (how much you wanted to donate after the fees) and figure out how much you needed to actually donat. I remember that to donate $10, you have to actually donate $10.84, because 5% of 10.84 is $0.54, and the $0.30 makes $0.84, leaving the $10. I'll see if I can find it somewhere now.

Edit: I refigured it out, it's pretty simple, here is the math:

Code:
x = amount after fee (desired donation)
y = fee

y = ((x * .05) + .30) + (((x * .05) + .30) * .05)

total = x + y


I wrote a little script to make it easier (of course I did):

http://infectionist.com/misc/testing/ol...s&x=##

replace the ## at the end with the amount you want to donate AFTER the fees are taken out, so for example if you want me to get $10 after fees are taken out, replace it with 10. For 10 it will give you this return:

To donate $10 after fees, you'll need to donate $10.84.

(I just use 10 because it's a simple, even number. It's just an example : )
_________________
This user has made more than 500 posts on the Infectionist forums!

~HaLo2FrEeEk

I wrote:
I'm sexy, admit it.


Are you?
Monday, October 4, 2010 3:48:26 pm
View user's profile Send private message Visit poster's website
Author Message
KJdog23
Honorary Member

Joined: 17 Oct 2006
Posts: 1969
Status: Offline
Style: Xbox 360
Location: IL eating Portillos...

PostPost subject: Reply with quote
Ok exactly what I wanted.

And you should get 10.95, make sure you do.

I don't trust paypal.
_________________
This user has made more than 500 posts on the Infectionist forums!


H2F wrote:
There's this newfangled invention called the internet. Its great for getting things that you don't currently have.
Tuesday, October 5, 2010 8:28:10 am
View user's profile Send private message Visit poster's website AIM Address
Author Message
HaLo2FrEeEk
Overlord Extraordinaire

Joined: 15 Aug 2006
Posts: 5782
Status: Offline
Style: Xbox 360
Location: Trying really hard to do something

PostPost subject: Reply with quote
I did indeed. And I sent you an email back.

Thanks again, you're awesome.
_________________
This user has made more than 500 posts on the Infectionist forums!

~HaLo2FrEeEk

I wrote:
I'm sexy, admit it.


Are you?
Tuesday, October 5, 2010 9:17:49 am
View user's profile Send private message Visit poster's website
Post new topic  Reply to topic   Infectionist Machinima Forum Index » Infectionist Machinima News

Page 3 of 3
All times are GMT - 8 Hours
Goto page Previous  1, 2, 3

Display posts from previous:

  

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
Xbox 360 by Scott Stubblefield