[spplus] use the hmac computation method which always works

This commit is contained in:
Benjamin Dauvergne 2011-12-12 17:18:52 +01:00
parent d21df94b11
commit 107bd14b1b
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ next_url=%s' % (montant, email, next_url))
fields['urlretour'] = next_url
LOGGER.debug('sending fields %s' % fields)
query = urllib.urlencode(fields)
url = '%s?%s&hmac=%s' % (SERVICE_URL, query, sign_ntkey_query(self.cle,
url = '%s?%s&hmac=%s' % (SERVICE_URL, query, sign_url_paiement(self.cle,
query))
LOGGER.debug('full url %s' % url)
return reference, URL, url