.total not .amount
This commit is contained in:
parent
67cbe33e3a
commit
7932302e42
|
@ -8,7 +8,7 @@ def calculate_epay_hash(order, request):
|
||||||
).format(
|
).format(
|
||||||
merchant_number=settings.EPAY_MERCHANT_NUMBER,
|
merchant_number=settings.EPAY_MERCHANT_NUMBER,
|
||||||
description=order.description,
|
description=order.description,
|
||||||
amount=order.amount*100,
|
amount=order.total*100,
|
||||||
order_id=order.pk,
|
order_id=order.pk,
|
||||||
accept_url = order.get_epay_accept_url(request),
|
accept_url = order.get_epay_accept_url(request),
|
||||||
cancel_url = order.get_epay_cancel_url(request),
|
cancel_url = order.get_epay_cancel_url(request),
|
||||||
|
|
Loading…
Reference in a new issue