CakePHP-Paypal-IPN-Plugin
CakePHP-Paypal-IPN-Plugin copied to clipboard
Paypal form utf8 encoding issue
The Paypal form created by the helper does not include the "accept-charset" tag nor the charset input field. That causes problems with the correct encoding of special characters like accents and the like.
Line 116 of PaypalHelper should be:
$retval = "<form action='{$options['server']}/cgi-bin/webscr' method='post' accept-charset='utf-8'>
";
instead of:
$retval = "<form action='{$options['server']}/cgi-bin/webscr' method='post'>
";
Can't see the difference between the "search" and the "replace" string :(