Amount not passed as integer in params

This commit is contained in:
Mathieu Comandon 2012-06-13 14:38:52 +02:00
parent e5f644101d
commit 7b231b5ed3
1 changed files with 1 additions and 1 deletions

View File

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