mirror of
https://github.com/pretix/pretix.git
synced 2026-08-05 09:57:49 +00:00
return empty object instead of info_data
This commit is contained in:
@@ -772,7 +772,8 @@ class PaymentDetailsField(serializers.Field):
|
||||
try:
|
||||
return pp.api_payment_details(value)
|
||||
except Exception:
|
||||
return value.info_data
|
||||
logger.exception("Failed to retrieve payment_details")
|
||||
return {}
|
||||
|
||||
|
||||
class OrderPaymentSerializer(I18nAwareModelSerializer):
|
||||
|
||||
Reference in New Issue
Block a user