forked from CGM_Public/pretix_original
Apply suggestion from @pajowu
Co-authored-by: pajowu <engelhardt@pretix.eu>
This commit is contained in:
committed by
GitHub
parent
da97be5194
commit
384c83fffb
@@ -1866,7 +1866,7 @@ class OrderCreateSerializer(I18nAwareModelSerializer):
|
||||
)
|
||||
elif payment_provider:
|
||||
order.payments.create(
|
||||
amount=order.pending_sum,
|
||||
amount=order.total,
|
||||
provider=payment_provider,
|
||||
info=payment_info,
|
||||
state=OrderPayment.PAYMENT_STATE_CREATED
|
||||
|
||||
Reference in New Issue
Block a user