forgot the most important bit lol
This commit is contained in:
parent
c1203db188
commit
f62a4dd8a3
|
@ -23,6 +23,6 @@ def validate_epay_callback(query):
|
||||||
for key, value in query.iteritems():
|
for key, value in query.iteritems():
|
||||||
if key != 'hash':
|
if key != 'hash':
|
||||||
hashstring += value
|
hashstring += value
|
||||||
hash = hashlib.md5(hashstring).hexdigest()
|
hash = hashlib.md5(hashstring + settings.EPAY_MD5_SECRET).hexdigest()
|
||||||
return hash == query['hash']
|
return hash == query['hash']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue