mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Fixed a KeyError in the banktransfer plugin
This commit is contained in:
@@ -53,7 +53,6 @@ class BankTransfer(BasePaymentProvider):
|
|||||||
def order_control_render(self, request, order) -> str:
|
def order_control_render(self, request, order) -> str:
|
||||||
if order.payment_info:
|
if order.payment_info:
|
||||||
payment_info = json.loads(order.payment_info)
|
payment_info = json.loads(order.payment_info)
|
||||||
payment_info['amount'] /= 100
|
|
||||||
else:
|
else:
|
||||||
payment_info = None
|
payment_info = None
|
||||||
template = get_template('pretixplugins/banktransfer/control.html')
|
template = get_template('pretixplugins/banktransfer/control.html')
|
||||||
|
|||||||
Reference in New Issue
Block a user