mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Stripe and PayPal: Issue warning on payments for paid orders
This commit is contained in:
@@ -48,6 +48,8 @@ def pretixcontrol_action_display(sender, action, request, **kwargs):
|
||||
template = get_template('pretixplugins/paypal/action_refund.html')
|
||||
elif action.action_type == 'pretix.plugins.paypal.overpaid':
|
||||
template = get_template('pretixplugins/paypal/action_overpaid.html')
|
||||
elif action.action_type == 'pretix.plugins.paypal.double':
|
||||
template = get_template('pretixplugins/paypal/action_double.html')
|
||||
|
||||
ctx = {'data': data, 'event': sender, 'action': action}
|
||||
return template.render(ctx, request)
|
||||
|
||||
Reference in New Issue
Block a user