Bug #8790
closed
Workaround novel PayPal.com bug: basket item name fraud check fails if name contains special characters
Added by krileon almost 3 years ago.
Updated almost 3 years ago.
Start date:
01 December 2021
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.
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed in commit 314f25a0d02b8a23bbd67cced34a7243ea082785
- 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
- Status changed from Resolved to Closed
Also available in: Atom
PDF