fix: DATA query passed as array in the response

This commit is contained in:
Mathieu Comandon 2012-06-13 13:31:10 +02:00
parent 277e53d7c4
commit 2ce287cf97
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class Payment(PaymentCommon):
def response(self, query_string):
form = urlparse.parse_qs(query_string)
params = {'message': form[DATA]}
params = {'message': form[DATA][0]}
result = self.execute('response', params)
d = dict(zip(RESPONSE_PARAMS, result))
# The reference identifier for the payment is the authorisation_id