importers.stripe: Generate payment entries for refunded payments.
In order to be refunded, the payment had to be paid in the first place, so we should still generate an entry for it.
This commit is contained in:
parent
4796932cb7
commit
68a0a9625c
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class PaymentImporter(_csv.CSVImporterBase):
|
|||
DATE_FMT = '%Y-%m-%d'
|
||||
|
||||
def _read_row(self, row):
|
||||
if row['Status'] != 'Paid':
|
||||
if (row['Status'] != 'Paid') and (row['Status'] != 'Refunded'):
|
||||
return None
|
||||
else:
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue