From 532214263c158cce4cc4ef18d9af2ed8e6a56fc0 Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Sun, 17 Jun 2018 17:38:01 +0200 Subject: [PATCH] Faire payer le bon prix, c'est mieux --- cotisations/payment.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cotisations/payment.py b/cotisations/payment.py index 5a9f5432..48411c35 100644 --- a/cotisations/payment.py +++ b/cotisations/payment.py @@ -136,11 +136,11 @@ def comnpay(facture, request): 'action': 'https://secure.homologation.comnpay.com', 'method': 'POST', 'content': p.buildSecretHTML( - "Rechargement du solde", - facture.prix(), + "Paiement de la facture "+str(facture.id), + facture.prix_total(), idTransaction=str(facture.id) ), - 'amount': facture.prix, + 'amount': facture.prix_total(), } return r