Yea this is an annoyance that none of the examples on the paypal forum seems to fix 100%
You can try this:
1. EDIT: catalog/controller/payment/pp_standard.php
2. FIND 2 OF THESE:
Code: Select all
$request .= '&' . $key . '=' . urlencode($value);
3. CHANGE BOTH TO:
Code: Select all
$request .= '&' . $key . '=' . urlencode(html_entity_encode($value, ENT_QUOTES, 'utf-8');
if you still get the error then try:
Code: Select all
$request .= '&' . $key . '=' . urlencode(html_entity_decode($value, ENT_QUOTES, 'utf-8');
If you still get the error then try:
Code: Select all
$request .= '&' . $key . '=' . urlencode(html_entity_encode($value, ENT_NOQUOTES, 'utf-8');
If you still get the error then try
Code: Select all
$request .= '&' . $key . '=' . urlencode(html_entity_encode($value, ENT_QUOTES, 'iso-8859-1');
To be honest I get confused by all these character encodings so I just try a bunch until it works