Closed (fixed)
Project:
SOFORT Banking for Ubercart
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2011 at 11:07 UTC
Updated:
14 Nov 2011 at 19:30 UTC
This notification of a successful transaction was regarded invalid:
Received notification with invalid POST data: Array ( [transaction] => 27925-xxxxx-4D64D8F5-xxxx [user_id] => 2xxxx [project_id] => 7xxxx [sender_holder] => Kxxx Exxxxx /Place d' Eglise [sender_account_number] => [... left out ...] [verified] => )
This possibly happens because the sender_holder string contains a special character which is escaped by check_plain() before the hash value of the data is calculated?
Comments
Comment #1
janton commentedi have the same problem? did you find a solution???
Perhaps i'm doing something wrong..
i see this simular thing, perhaps because i use the development version?
error in /cart/uc_pnag/payment/notify
also the payment stays pending.
I use a test account
I hope somebody knows what causes this...
Comment #2
janton commentedor could this maybe a problem that my https site has no "payed" ssl certificate?
also just tested the release version 1.4 i have the same issue?
Comment #3
jurgenhaasThis looks a bite strange and as it doesn't happen in other installations I wonder if the 2 passwords are set correctly. There is a project password defined and a notification password. Please check them both and make sure they are the same at both ends - in your Drupal installation and in your settings at Payment Network.
If you have cross checked and the error still occurs, please try to avoid special characters - althought I don't think they are causing the error. But it's worth a try.
Comment #4
janton commentedOk i just tested on the real site (instead of the development site)
because i don't have a signed(payed) SSL certificate on the other one.. and also allow access with htaccess.
So now on the real site it works correct, or atleast i think because payment was set to complete!
But i still see a warning in the log? is this normal:
*i replaced somethings with 11111 and xxxx
Type uc_pnag
Date Monday, October 31, 2011 - 12:09
User Anonymous
Location https://www.xxxx.com/cart/uc_pnag/payment/notify
Referrer
Message Received notification with POST data: Array ( [transaction] => 11116-114453-4EAE819E-9FA2 [user_id] => 11111 [project_id] => 111111 [sender_holder] => Warnecke Hans-Gerd [sender_account_number] => 12345678 [sender_bank_code] => 88888888 [sender_bank_name] => Testbank [sender_bank_bic] => PNAGDE00000 [sender_iban] => DE62888888880012345678 [sender_country_id] => DE [recipient_holder] => XXXX [recipient_account_number] => 111111111 [recipient_bank_code] => [recipient_bank_name] => ABN Amro Bank N.V. [recipient_bank_bic] => ABNANL2A [recipient_iban] => NL23ABNA0596657137 [recipient_country_id] => NL [international_transaction] => 1 [amount] => 7.95 [currency_id] => EUR [reason_1] => Order No. 12601-0 [reason_2] => XXXX [security_criteria] => 1 [user_variable_0] => 12601 [user_variable_1] => [user_variable_2] => [user_variable_3] => [user_variable_4] => [user_variable_5] => Shop-System Name v.2.0 [created] => 2011-10-31 12:09:02 [project_password] => testpass1111 [verified] => 1 )
Severity warning
Hostname 193.104.32.100
Operations
Comment #5
jurgenhaasThat's good news. And the entry in dblog i not a warning, just an info to log when you've received which notification.
Comment #6
janton commentedI think the main problem was my htaccess OR my SSL certificate
Thx for the help! i'm very glad i can do some payments now :)