mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Fixed a bug with unpaid stripe payments
This commit is contained in:
@@ -140,6 +140,7 @@ class Stripe(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)
|
||||||
|
if 'amout' in payment_info:
|
||||||
payment_info['amount'] /= 100
|
payment_info['amount'] /= 100
|
||||||
else:
|
else:
|
||||||
payment_info = None
|
payment_info = None
|
||||||
|
|||||||
Reference in New Issue
Block a user