Closed (fixed)
Project:
SOFORT Banking for Ubercart
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
27 Oct 2009 at 14:15 UTC
Updated:
11 Nov 2009 at 08:40 UTC
The newest version of the development release redirects the user to the Payment Network form. However, the user receives an input hash error (when input check is active).
Reason for this behaviour:
Instead of transmitting the [currency_id] parameter a [language_id] parameter is submitted.
Comments
Comment #1
Payment Network commentedUpdate: Error is caused by
variable_get('uc_currency_code','') on line 269 in uc_pnag.pages.inc
Function returned an empty string. Consequently the hash values did not match.
Default value must be 'EUR'
Comment #2
jurgenhaasFixed in the latest dev release
Comment #3
Payment Network commentedNote:
What is still missing: In the $data array there is no entry for the currency_id. In case the currency is not EUR (default), the hash check will fail because we assume the currency is EUR when not submitted explicitly.
I suggest adding the following:
'currency_id' => variable_get('uc_currency_code', 'EUR'),
Comment #4
jurgenhaasDone