Amount not passed as integer in params
This commit is contained in:
parent
e5f644101d
commit
7b231b5ed3
|
@ -133,7 +133,7 @@ class Payment(PaymentCommon):
|
|||
params[MERCHANT_ID])
|
||||
params[TRANSACTION_ID] = transaction_id
|
||||
params[ORDER_ID] = str(uuid.uuid4()).replace('-', '')
|
||||
params['amount'] = str(Decimal(amount) * 100)
|
||||
params['amount'] = str(int(Decimal(amount) * 100))
|
||||
if email:
|
||||
params['customer_email'] = email
|
||||
if next_url:
|
||||
|
|
Loading…
Reference in New Issue