From f62a4dd8a3afbf37077ef38cea98e44ee6afbd12 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Tue, 17 May 2016 07:46:36 +0200 Subject: [PATCH] forgot the most important bit lol --- shop/epay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/epay.py b/shop/epay.py index 52876280..b5234d28 100644 --- a/shop/epay.py +++ b/shop/epay.py @@ -23,6 +23,6 @@ def validate_epay_callback(query): for key, value in query.iteritems(): if key != 'hash': hashstring += value - hash = hashlib.md5(hashstring).hexdigest() + hash = hashlib.md5(hashstring + settings.EPAY_MD5_SECRET).hexdigest() return hash == query['hash']