.total not .amount

This commit is contained in:
Thomas Steen Rasmussen 2016-05-17 07:13:10 +02:00
parent 67cbe33e3a
commit 7932302e42

View file

@ -8,7 +8,7 @@ def calculate_epay_hash(order, request):
).format(
merchant_number=settings.EPAY_MERCHANT_NUMBER,
description=order.description,
amount=order.amount*100,
amount=order.total*100,
order_id=order.pk,
accept_url = order.get_epay_accept_url(request),
cancel_url = order.get_epay_cancel_url(request),