forked from CGM_Public/pretix_original
Stripe: Fixed typo
This commit is contained in:
@@ -140,7 +140,7 @@ class Stripe(BasePaymentProvider):
|
||||
def order_control_render(self, request, order) -> str:
|
||||
if order.payment_info:
|
||||
payment_info = json.loads(order.payment_info)
|
||||
if 'amout' in payment_info:
|
||||
if 'amount' in payment_info:
|
||||
payment_info['amount'] /= 100
|
||||
else:
|
||||
payment_info = None
|
||||
|
||||
Reference in New Issue
Block a user