From 50af1b00c9a0a137c3af51dc019054b1315cbafe Mon Sep 17 00:00:00 2001 From: Anne Limoges Date: Sun, 6 Oct 2013 21:11:42 +0200 Subject: [PATCH] Fix payment commission. --- modules/payment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/payment.php b/modules/payment.php index 877627a..9a878dd 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -1005,7 +1005,7 @@ class PaymentLogsImporter extends CSVImporter { static public function compute_systempay_commission($line, $key, $relation) { static $EEE_countries = array( - 'France', 'Allemagne', 'Autriche', 'Belgique', 'Bulgarie', 'Chypre', 'Suisse', + 'France', 'Allemagne', 'Autriche', 'Belgique', 'Bulgarie', 'Chypre', 'Croatie', 'Danemark', 'Espagne', 'Estonie', 'Finlande', 'Grèce', 'Hongrie', 'Irlande', 'Islande', 'Italie', 'Lettonie', 'Liechtenstein', 'Lituanie', 'Luxembourg', 'Malte', 'Norvège', 'Pays-Bas', 'Pologne', 'Portugal', 'Roumanie', 'Royaume-Uni', 'Slovaquie', 'Slovénie', 'Suède', 'République Tchèque' @@ -1018,7 +1018,7 @@ class PaymentLogsImporter extends CSVImporter { if (in_array($line['pays carte'], $EEE_countries)) { return -0.20 - round($amount * 0.005, 2); } else { - return -0.20 - round($amount * 0.005, 2) - 0.76; + return -0.20 - round($amount * 0.005, 2) - 0.75; } } -- 2.1.4