CakePHP-Paypal-IPN-Plugin icon indicating copy to clipboard operation
CakePHP-Paypal-IPN-Plugin copied to clipboard

Paypal form utf8 encoding issue

Open AngelVillanueva opened this issue 12 years ago • 1 comments

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'>

";

AngelVillanueva avatar Jun 26 '12 09:06 AngelVillanueva

Can't see the difference between the "search" and the "replace" string :(

Daaaaad avatar May 27 '13 11:05 Daaaaad