order matters

This commit is contained in:
Thomas Steen Rasmussen 2016-05-16 21:57:52 +02:00
parent 75778344ec
commit 548f052218

View file

@ -282,13 +282,13 @@ class EpayCallbackView(View):
)
if 'orderid' in request.GET:
order = get_object_or_404(Order, pk=query.get('orderid'))
query = dict(
map(
lambda x: tuple(x.split('=')),
request.META['QUERY_STRING'].split('&')
)
)
order = get_object_or_404(Order, pk=query.get('orderid'))
hashstring = (
'{merchant_number}{description}11{amount}DKK'