Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PayPal Fees

  • 27-04-2011 7:52pm
    #1
    Closed Accounts Posts: 2,828 ✭✭✭


    I am scratching my head with this one, I need to work out PayPal fees for a given amount the idea is that the customer will pay the fee but I just can't seem to work it out consistently.

    Let's say customer owes me €60 and domestic PayPal fees are 3.4%+€0.35 of that amount, the customer would have to send €62.47 from there account according to this calculator http://www.gregledet.net/ppfcm.html

    Now if I work it out manually 60/100*3.4+0.35 it equals 62.39, what am I missing here?


Comments

  • Closed Accounts Posts: 3,357 ✭✭✭Beano


    justryan wrote: »
    I am scratching my head with this one, I need to work out PayPal fees for a given amount the idea is that the customer will pay the fee but I just can't seem to work it out consistently.

    Let's say customer owes me €60 and domestic PayPal fees are 3.4%+€0.35 of that amount, the customer would have to send €62.47 from there account according to this calculator http://www.gregledet.net/ppfcm.html

    Now if I work it out manually 60/100*3.4+0.35 it equals 62.39, what am I missing here?

    but they wont be giving you 60 they will be giving you 60 plus the paypal fees.


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    Nope, ideally on my end I'll receive €60 after PayPal have deducted the fees for processing the transaction.

    I found this formula for calculating reverse fees, it seems to be what I am after
    http://blogs.planetcloud.co.uk/mygreatdiscovery/post/Reverse-PayPal-fee-calculator-formula.aspx

    According to that article the calculation should look like this

    (60+0.35)/1-(3.4/100) = Amount to send


  • Moderators, Politics Moderators Posts: 41,230 Mod ✭✭✭✭Seth Brundle


    That online calculator appears to be incorrect.

    60 * 3.4% = 2.04
    60 + 2.04 + 0.35 = 62.39


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    Found the solution, the formula should look like

    A = (B+C)/(1-D/100)

    B = the total we want after fees in this case €60
    C = the transaction charge of 0.35
    D = the percentage charge 3.4

    If the formula is followed correctly you'll end up with 62.47, now to translate this into PHP :rolleyes:


  • Closed Accounts Posts: 1,864 ✭✭✭Daegerty


    Is there any decent alternative to paypal that doesnt cost as much?


  • Advertisement
  • Moderators, Politics Moderators Posts: 41,230 Mod ✭✭✭✭Seth Brundle


    Its misleading to claim that the rate is
    3.4% + €0.35 EUR (from here)
    as it suggests that the 35 cent is added after the 3.4% is applied but is actually applied beforehand


  • Closed Accounts Posts: 3,357 ✭✭✭Beano


    justryan wrote: »
    Nope, ideally on my end I'll receive €60 after PayPal have deducted the fees for processing the transaction.

    I found this formula for calculating reverse fees, it seems to be what I am after
    http://blogs.planetcloud.co.uk/mygreatdiscovery/post/Reverse-PayPal-fee-calculator-formula.aspx

    According to that article the calculation should look like this

    (60+0.35)/1-(3.4/100) = Amount to send

    you misunderstood me. you assumed that in order for you to get 60 after the fees are deducted that they would have to send 60 + 3.4 + 0.35. i was just pointing out your assumption was incorrect


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    Ok yes they will send my fee plus an additional PayPal charge, in any case I found the solution to my problem now I have to somehow code this formula into the invoicing software


  • Closed Accounts Posts: 3,357 ✭✭✭Beano


    Beano wrote: »
    you misunderstood me. you assumed that in order for you to get 60 after the fees are deducted that they would have to send 60 + 3.4 + 0.35. i was just pointing out your assumption was incorrect

    rereading what i wrote it seems that it made no sense at all. apologies.


  • Registered Users, Registered Users 2 Posts: 3,181 ✭✭✭bryaner


    justryan wrote: »
    Found the solution, the formula should look like

    A = (B+C)/(1-D/100)

    B = the total we want after fees in this case €60
    C = the transaction charge of 0.35
    D = the percentage charge 3.4

    If the formula is followed correctly you'll end up with 62.47, now to translate this into PHP :rolleyes:

    Why the :rolleyes:

    Edit: Sorry I see now


  • Advertisement
  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    Working with open source software called Simple Invoices, I've hit a wall now as the code doesn't allow parentheses, I thought I could hack this one together but it seems I'll have to go a little deeper :(

    Edit: It's coded in Smarty http://www.smarty.net/docsv2/en/language.basic.syntax, it's going to be a long night :D


  • Registered Users, Registered Users 2 Posts: 3,181 ✭✭✭bryaner


    Just stick on 4% sorted..


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    bryaner wrote: »
    Just stick on 4% sorted..

    I'm all for quick and easy solutions, care to elaborate? :D


  • Closed Accounts Posts: 2,828 ✭✭✭Reamer Fanny


    Problem solved with just 3 lines of code, finished code looks like this
    /* PayPal Fees */
    $fee1 = $params['amount']+0.35;
    $fee2 = 1-3.4/100;
    $params['amount']=$fee1/$fee2;
    


Advertisement