Update paypal fee
This commit is contained in:
@@ -990,12 +990,12 @@ function _booking_amount_owing($person, $amount_paid = 0, $include_paypal_fees =
|
|||||||
$amount_owing = $total_due - $amount_paid + 0.3;
|
$amount_owing = $total_due - $amount_paid + 0.3;
|
||||||
//and the 2.4 percent transaction fee
|
//and the 2.4 percent transaction fee
|
||||||
if ($person->booking_country === "Australia")
|
if ($person->booking_country === "Australia")
|
||||||
$amount_owing = $amount_owing / (1 - 0.024);
|
$amount_owing = $amount_owing / (1 - 0.026);
|
||||||
//paypal charges 3.4 percent if they're doing a currency conversion
|
//paypal charges 3.4 percent if they're doing a currency conversion
|
||||||
//assume that everyone not based in Australia will be doing a currency conversion
|
//assume that everyone not based in Australia will be doing a currency conversion
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$amount_owing = $amount_owing / (1 - 0.034);
|
$amount_owing = $amount_owing / (1 - 0.036);
|
||||||
//watchdog('booking', "This is an international registration.");
|
//watchdog('booking', "This is an international registration.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user