summaryrefslogtreecommitdiff
path: root/postgresqleu/stripepayment
diff options
context:
space:
mode:
authorMagnus Hagander2019-11-20 10:59:32 +0000
committerMagnus Hagander2019-11-20 10:59:32 +0000
commite4862ab733fc95a96d6501acfc6ecac2666e224b (patch)
tree0a0b84972106e5739b198edd2300748b9ce387a7 /postgresqleu/stripepayment
parentde857e0cac908f3f121812d4161c21dc4f33ad84 (diff)
Fix reversed amount of stripe refunds
Diffstat (limited to 'postgresqleu/stripepayment')
-rw-r--r--postgresqleu/stripepayment/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/stripepayment/views.py b/postgresqleu/stripepayment/views.py
index e251cec3..bc07376a 100644
--- a/postgresqleu/stripepayment/views.py
+++ b/postgresqleu/stripepayment/views.py
@@ -198,7 +198,7 @@ def webhook(request, methodid):
manager = InvoiceManager()
manager.complete_refund(
refund.invoicerefundid,
- -refund.amount,
+ refund.amount,
0, # Unknown fee
pm.config('accounting_income'),
pm.config('accounting_fee'),