Actions
Bug #8790
closedWorkaround novel PayPal.com bug: basket item name fraud check fails if name contains special characters
Description
This fraud check probably isn't necessary and might be better to use a better method for detecting authenticity of a payment (or not doing so at all and instead verifying the IPN signature and accepting the data).
Updated by beat about 3 years ago
As reproduced on Paypal Sandbox:
Error returned is like:
Payment notification mismatch: currency, item name or number or quantity mismatch: IPN item_name (Donation for test2 uk) does not match basket item_name (Donation for test2 Łuk) nor their trimmed sizes for IPN (Donation for test2 uk) and basket (Donation for test2 Łuk) nor their url-decoded form (Donation for test2 uk).
This is a Paypal.com bug:
It is due to PDT callback "_notify_synch" returning results in Windows-1252 charset instead of UTF-8 as before, so incompatible characters are transformed into %1A (SUB - subtitute) encoding.
Working on workaround.
Updated by beat about 3 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed in commit 314f25a0d02b8a23bbd67cced34a7243ea082785
Updated by beat about 3 years ago
- Subject changed from PayPal: basket item name fraud check fails if name contains special characters to Workaround novel PayPal.com bug: basket item name fraud check fails if name contains special characters
Actions