Dekodi export: Deal with raw Stripe sources

Fix PRETIXEU-14B
This commit is contained in:
Raphael Michel
2019-06-03 09:59:51 +02:00
parent f25bb571b9
commit 52e072e68f

View File

@@ -93,7 +93,7 @@ class DekodiNREIExporter(BaseExporter):
'PTNo15': p.full_id or '',
})
elif p.provider.startswith('stripe'):
src = p.info_data.get("source", "{}")
src = p.info_data.get("source", p.info_data)
payments.append({
'PTID': '81',
'PTN': 'Stripe',