From 1d9ee2f0ed254c8d799f0b8db1a047f01b6dab4e Mon Sep 17 00:00:00 2001 From: Lasha Gogua Date: Thu, 27 Jan 2022 23:16:09 +0400 Subject: [PATCH] fixed type of amount cast to string --- geopayment/providers/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geopayment/providers/utils.py b/geopayment/providers/utils.py index 98c2467..ac5b05b 100644 --- a/geopayment/providers/utils.py +++ b/geopayment/providers/utils.py @@ -343,7 +343,7 @@ def wrapped(*args, **kwargs): raise ValueError( f'Invalid params, `amount` is a required parameter.' ) - data['amount'] = kwargs['amount'] + data['amount'] = str(kwargs['amount']) if 'client_id' not in kwargs: data['client_id'] = klass.client_id