Stripe: Fixed typo

This commit is contained in:
Raphael Michel
2015-08-15 13:02:53 +02:00
parent 5d3572fa7b
commit 1687dbf6fa

View File

@@ -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