diff options
author | Magnus Hagander | 2019-11-20 10:59:55 +0000 |
---|---|---|
committer | Magnus Hagander | 2019-11-20 10:59:55 +0000 |
commit | 5064b2a2cf5fc33ba5529495e74e5ab47922bd1b (patch) | |
tree | 09cca4d0d7e80cc22573697c18039147b9bb1f3f /postgresqleu/stripepayment/api.py | |
parent | e4862ab733fc95a96d6501acfc6ecac2666e224b (diff) |
Pass id and not object for invoicerefund objects
Diffstat (limited to 'postgresqleu/stripepayment/api.py')
-rw-r--r-- | postgresqleu/stripepayment/api.py | 2 |
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() |