summaryrefslogtreecommitdiff
path: root/postgresqleu/stripepayment/api.py
diff options
context:
space:
mode:
authorMagnus Hagander2019-11-20 10:59:55 +0000
committerMagnus Hagander2019-11-20 10:59:55 +0000
commit5064b2a2cf5fc33ba5529495e74e5ab47922bd1b (patch)
tree09cca4d0d7e80cc22573697c18039147b9bb1f3f /postgresqleu/stripepayment/api.py
parente4862ab733fc95a96d6501acfc6ecac2666e224b (diff)
Pass id and not object for invoicerefund objects
Diffstat (limited to 'postgresqleu/stripepayment/api.py')
-rw-r--r--postgresqleu/stripepayment/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/stripepayment/api.py b/postgresqleu/stripepayment/api.py
index ba688b68..738b7621 100644
--- a/postgresqleu/stripepayment/api.py
+++ b/postgresqleu/stripepayment/api.py
@@ -131,7 +131,7 @@ class StripeApi(object):
refund = StripeRefund(paymentmethod=co.paymentmethod,
chargeid=chargeid,
- invoicerefundid=refundid,
+ invoicerefundid_id=refundid,
amount=amount,
refundid=r['id'])
refund.save()