Skip to content

Commit 1d9ee2f

Browse files
committed
fixed type of amount cast to string
1 parent d5f6286 commit 1d9ee2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geopayment/providers/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def wrapped(*args, **kwargs):
343343
raise ValueError(
344344
f'Invalid params, `amount` is a required parameter.'
345345
)
346-
data['amount'] = kwargs['amount']
346+
data['amount'] = str(kwargs['amount'])
347347

348348
if 'client_id' not in kwargs:
349349
data['client_id'] = klass.client_id

0 commit comments

Comments
 (0)