order matters
This commit is contained in:
parent
75778344ec
commit
548f052218
|
@ -282,13 +282,13 @@ class EpayCallbackView(View):
|
||||||
)
|
)
|
||||||
|
|
||||||
if 'orderid' in request.GET:
|
if 'orderid' in request.GET:
|
||||||
order = get_object_or_404(Order, pk=query.get('orderid'))
|
|
||||||
query = dict(
|
query = dict(
|
||||||
map(
|
map(
|
||||||
lambda x: tuple(x.split('=')),
|
lambda x: tuple(x.split('=')),
|
||||||
request.META['QUERY_STRING'].split('&')
|
request.META['QUERY_STRING'].split('&')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
order = get_object_or_404(Order, pk=query.get('orderid'))
|
||||||
|
|
||||||
hashstring = (
|
hashstring = (
|
||||||
'{merchant_number}{description}11{amount}DKK'
|
'{merchant_number}{description}11{amount}DKK'
|
||||||
|
|
Loading…
Reference in a new issue