Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default PayPal ...unsupported characters for this field.

    I have just upgraded to version 1.3.5 and am trying to get PayPal to work with a second language, Japanese.

    I have a two language site, English and Japanese.

    I am getting the following error when the order is directed to the PayPal site when using Japanese:

    You have entered unsupported characters for this field. Current available language character types are: European, Chinese, Korean, Japanese, and Thai. Please try again.

    I have read several threads, including:

    http://www.zen-cart.com/forum/showthread.php?t=33050

    My charset in store/includes/languages/mytemplate/english.php is iso-8859-1

    and for japanese.php it is EUC-JP

    I can place a PayPal order from the English side using English, but not from the Japanese side. If I try to use Japanese on the English side, that results in the above error message too...

    Can any one suggest any possible fixes?

    Thank you in advance!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal ...unsupported characters for this field.

    Did you add the CHARSET change suggested in the post you quoted ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Re: PayPal ...unsupported characters for this field.

    Hello Dr. Byte,

    Yes, in

    /includes/modules/payment/paypal.phpn

    and /includes/modules/payment/paypal/paypal.php

    I have those two lines as copied to here:

    zen_draw_hidden_field('country', $order->customer['country']['iso_code_2']) .
    zen_draw_hidden_field('charset', CHARSET) .
    zen_draw_hidden_field('email', $order->customer['email_address']) .
    zen_draw_hidden_field('night_phone_a',substr($telephone,0,3)) .

    Hmmm!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal ...unsupported characters for this field.

    Can you provide a screen-shot of the page where you're seeing this error?

    Can you obtain View Source from your browser on that same page, and post the contents here? (perhaps remove personal address details if any are present)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Re: PayPal ...unsupported characters for this field.

    Hello Dr. Byte,

    I hope these will help!

    *****************

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--
    Script info: script: webscr, cmd: _ext-enter, template: xpt/webaccept/Login, date: Sep. 26, 2006 11:39:32 PDT; country: JP, language: en_US, xslt server:
    web version: 42.0-252929 branch: EBF_live-420_int
    content version: 42.0-249796
    pexml version: 42.0-251981
    page XSL: /default/en_US/webaccept/Login.xsl
    -->
    <title>Enter Payment Information - PayPal</title>
    <meta http-equiv="keywords" content="">
    <meta http-equiv="description" content="">
    <link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/xpt.css">
    <link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/xptInvoice.css">
    <link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/xptObsolete.css">
    <link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/paymentFlow.css">
    <link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/xptlive.css">
    <link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/default.css">
    <!--[if IE 6]><link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/ie60win.css"><![endif]-->

    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/ie70win.css"><![endif]-->
    <link rel="stylesheet" type="text/css" href="https://www.paypalobjects.com/css/en_US/lang.css">
    <style type="text/css"></style>
    <link rel="shortcut icon" href="https://www.paypalobjects.com/en_US/i/icon/pp_favicon_x.ico">
    <script type="text/javascript" src="https://www.paypalobjects.com/js/pp_main.js"></script><script type="text/javascript" src="https://www.paypalobjects.com/js/paymentFlow.js"></script>
    </head>
    <body onload="clearEmailRecovery()">
    <div id="headerMerchant">
    <table align="center" border="0" cellpadding="0" cellspacing="0"><tr>
    <td><span class="cobrand">[email protected]</span></td>
    <td align="right" width="115"><img border="0" height="45" width="115" src="https://www.paypalobjects.com/en_US/i/logo/logo-xclick2.gif" class="logo" alt=""></td>
    </tr></table>
    <div class="sectionBreak"></div>

    </div>
    <div class="containerWide"><ul id="progressMeter">
    <li class="current">Login</li>
    <li class="incomplete">Review</li>
    <li class="incomplete">Done</li>
    </ul></div>
    <div id="xptContentMain"><table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
    <tr><td><div id="xptTitle"><table align="center" border="0" cellpadding="0" cellspacing="0" class="main">
    <tr><td class="heading" width="100%"><h1>Enter Payment Information</h1></td></tr>
    <tr><td><img alt="" border="0" height="4" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1"></td></tr>
    </table></div></td></tr>
    <tr><td><div class="messageBox error"><p>You have entered unsupported characters for this field. Current available language character types are: European, Chinese, Korean, Japanese, and Thai. Please try again.</p></div></td></tr>

    <tr><td valign="top">
    <div class="contentArea">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" class="small" valign="top">PayPal is the authorized payment processor for <span class="emphasis">[email protected]</span>. To continue, please enter the required information below. <a href="#" onClick="javascript:openWindowATC('https://www.paypal.com/row/cgi-bin/webscr?cmd=p/pop/about_paypal_wa-outside','','400','440','', windowNamer('https://www.paypal.com/row/cgi-bin/webscr?cmd=p/pop/about_paypal_wa-outside'));return false;">Learn more</a> about PayPal. </td></tr></table>
    <br>
    </div>
    <table align="center" border="0" cellpadding="0" cellspacing="0" id="requiredWithSecure" width="100%"><tr><td align="right">
    <a href="#" onClick="javascript:openWindowATC('https://www.paypal.com/row/cgi-bin/webscr?cmd=xpt/popup/WaxAboutPaypal-outside','','400','480','', windowNamer('https://www.paypal.com/row/cgi-bin/webscr?cmd=xpt/popup/WaxAboutPaypal-outside'));return false;"><span class="small">Secure Transaction</span></a> <img align="top" src="https://www.paypalobjects.com/en_US/i/icon/secure_lock_2.gif" border="0" alt="">
    </td></tr></table>
    <form method="post" action="https://www.paypal.com/row/cgi-bin/webscr">

    <input type="hidden" id="" name="cmd" value="_xclick-flow"><input type="hidden" id="" name="id" value=""><input type="hidden" id="" name="close_external_flow" value="false"><input type="hidden" id="" name="external_close_account_payment_flow" value="payment_flow"><input type="hidden" id="myAllTextSubmitID" name="" value=""><input type="hidden" name="CONTEXT" value="o5HR-eOI6GhGicukbmvDUlFgfWELl6iU2Us4V_xgNTPGAX-ycBKRbyfckUpdUmbIAFJEqU4BDYVkDwSzGfkerkNg42s8mXs8j5I2DvqEeKER83cn_QKfLUoXSfpXzRi e7-avBCRDpRe2xFDsZRdko8ZDnHDldlFLOJQZzTGwm1dBLJoazOtx1cdgJYO1Z1sryN5WhsrgzfTPkWFx1I XlJHAjYDS7QL2QJ417c644txfmoHgX0Y-7m6fEjzIONznDUvmpxwQaULV0_C-H9o9B9d1w8c59GESiAz63XmgoV5HBhN8KhCctsQQiCnJR2veBW2k6nBSuo3bMzsBo9QC0Ko7xAqpXThU j9Fj2SdoQYi41S6HUF45enq16VTY3iHtLZtWp2j-roGlnstN5OjG5HrTrXOzfbTXw-cqckci41hb33FIbFWW1BHoZqULK8F0nSs0lOn040rYKHFS0TnmX_in9O9hOZ32nOEWKxjVIKRko23XKX LdidxWc_g003UvpEECz8mQaU_09nIxD8vqW27yanEXhTY1q4I9HarQ2EFCOgPBWMmwWfHJNH89GIPlsb XkqnEKf2MKGwjh-sfw6rHb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HF8a7KjN26wGUJaHiGApONH9JRY8PO32uCN5BLYhMFUIqNb_R82-

    Section removed from here as it was too long to be uploaded...

    zmwJAqe1wbNgLlcaw1gVgazVfYlX17Pt_Lh760f3lXa2lOAbiqpjnPP6-kqWqqze28o8jmB_gFBQzJm7_oKD2z7iTDZKmg49g4aZ_wcQV6Dv7_NGKzK_j7Bt_Hu-1ImEx8pXpklHnvJRA85VnPbJSDoXtEmbjpAljAcdhWE7gWuKyz2RHWERQymvZi8xknGUvz3R-nUj7I7Fb1aBlzGgze3x_zNGK1gLZxLP8VmYM8q_q0vN8qnR98ymfpfyPYaUwSzpmL_B_d51CBDaEO2O9 EB_CPpa6pmRKPYQgwbmVA_Nmk4Ik9ywVMR1_oWDfhDhIlcFR8-xR7B76NIS60C57ALnDtip-1PSRAjvMaiYsltgsyTwjdbqm9hW9suTAkoaruKvRzl15WGJ1rQzxBuxWL8nPwB2c62RoxfoKk6rVH6E4 IGgv7K9zCCJPFKWothDye-VsXZ4cdkBWvY-Ml4xJErtYci79jCNKBDFc4sqfz4fqo0X8bdL1SiybswO1KVtTKNy4TvA6gie7oWGvlGzDPbgRW5mDJZ3 E4RKRzxdUkpXkrQFGCRBJW4Hwqby6wvNwc-Zvor7R2qYNVneZnJ0YfgBEIC40I3mK2urJXGAspfn6HZYL75RpNQO9yLbwnznqd3x3vqid2ADapfHM2a sEY_HlkSWshSMF6TQ_kowqtOGdaB1D-NJlvWZeknwvXEa5ocTj2Mq-X2jXB5S2CNVlNZXKc6iA8VpRGZnbaEqkA5EF0VdNADB3ty_DU7Q86W3sGT3kuQuIT7DQ3pAPo7pHYjqw Dzh1p21gOJq"><input border="0" type="image" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" id="" name="login" value="login" onClick="" class="" alt=""><div id="orderDetailsArea"><table align="center" border="0" cellpadding="0" cellspacing="0" class="dataTable" width="100%">
    <tr valign="top">
    <td class="header">Payment For</td>
    <td class="header" width="80">Quantity</td>
    <td class="headerMoneyColumn" width="140">Amount</td>
    </tr>
    <tr valign="top">
    <td>GPC Store Purchase</td>
    <td width="10%">1</td>
    <td class="moneyColumn" width="15%">¥410 JPY</td>
    </tr>

    <tr class="summary">
    <td colspan="2">Subtotal:</td>
    <td class="moneyColumn">¥410 JPY</td>
    </tr>
    <tr class="summary">
    <td colspan="2">Shipping &amp; Handling:</td>
    <td class="moneyColumn">¥0 JPY</td>
    </tr>
    <tr><td class="spacer" colspan="3"></td></tr>
    <tr class="summary">
    <td class="smallEmphasis" colspan="2">Total Amount:</td>

    <td class="moneyColumnEmphasis">¥410 JPY</td>
    </tr>
    </table></div>
    <div id="modularContent">
    <h2>PayPal Checkout</h2>
    <div class="modularContentArea"><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td><table align="left" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td rowspan="4"><img alt="" border="0" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="12"></td>
    <td rowspan="4"><img src="https://www.paypalobjects.com/en_US/i/logo/PayPal_std.gif" border="0" alt=""></td>
    <td rowspan="4"><img alt="" border="0" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="22"></td>
    <td bgcolor="#cccccc" rowspan="4"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"></td>
    <td rowspan="4"><img alt="" border="0" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="20"></td>
    <td><span class="small">Log in securely.</span></td>

    </tr>
    <tr><td><img alt="" border="0" height="10" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1"></td></tr>
    <tr><td><table align="center" border="0" cellpadding="0" cellspacing="0">
    <tr><td>
    <input type="hidden" id="" name="email_recovery" value="false"><table align="center" border="0" cellpadding="2" cellspacing="1">
    <tr>
    <td align="right" class="labelIndicator"><label for="login_email"><span class="label">Email Address:</span></label></td>
    <td><input type="text" id="login_email" class="smallInputWidth" name="login_email" value="myeamailaddress######################"></td>
    <td> <a href="https://www.paypal.com/row/cgi-bin/webscr?cmd=#" onClick="document.forms[0].email_recovery.value='true';document.forms[0].submit();return false;"><span class="small">Forgot your email address?</span></a>
    </td>
    </tr>
    <tr>
    <td align="right" class="labelIndicator"><label for="login_password"><span class="label">PayPal Password:</span></label></td>

    <td><input type="password" id="login_password" name="login_password" class="smallInputWidth" maxlength="40"></td>
    <td> <a href="#" onClick="javascript:openWindowATC('https://www.paypal.com/row/cgi-bin/webscr?cmd=_forgot-password','','640','700','', windowNamer('https://www.paypal.com/row/cgi-bin/webscr?cmd=_forgot-password'));return false;"><span class="small">Forgot your password?</span></a>
    </td>
    </tr>
    </table>
    </td></tr>
    <tr><td colspan="3">
    <span class="small">Don't have a PayPal account? </span><script type="text/javascript">var myText = '<span class="smallEmphasis">Click here</span>';
    var myid = 'myAllTextSubmitID'; var myname = 'new_user_button.x';document.write('<a href="#" onclick="javascript:document.getElementById(myid).name=\'new_user_button.x\';doc ument.getElementById(myid).value=\'\';document.forms[0].submit();return false;">');
    document.write(myText);
    document.write('</a>');
    </script><noscript><input type="submit" name="new_user_button.x" value="Click here" class="transparentButton" alt=""></noscript>
    </td></tr>
    </table></td></tr>
    </table></td></tr>
    <tr><td></td></tr>

    </table></div>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" class="verticalSpacerHigh" width="1" height="1"></td></tr>
    <tr><td class="separationLine"><img alt="" border="0" height="2" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1"></td></tr>
    <tr><td><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" class="verticalSpacerMedium" width="1" height="1"></td></tr>
    </table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"><tr>
    <td align="left" nowrap class="globalButtonsLeft"></td>
    <td align="right" width="100%" class="globalButtons"><input type="submit" name="login.x" value="Continue"></td>
    </tr></table>
    </div>
    <input name="form_charset" type="hidden" value="UTF-8">
    </form>
    </td></tr>
    </table></div>
    <div id="xptWAXFooter"><table align="center" border="0" cellpadding="0" cellspacing="0">
    <tr><td align="center" class="greyNote">PayPal protects your privacy and security.<br>For more information, read our <a href="#" onClick="javascript:openWindow640('http://www.paypal.com/row/cgi-bin/webscr?cmd=p/gen/ua/ua_pop-outside&amp;popup=1&amp;country.x=JP');">User Agreement</a> and <a href="#" onClick="javascript:openWindow640('http://www.paypal.com/row/cgi-bin/webscr?cmd=p/gen/ua/policy_privacy_pop-outside&amp;popup=1&amp;country.x=JP');">Privacy Policy</a>.</td></tr>Copyright © 1999-2006 PayPal. All rights reserved.<br>Consumer advisory- PayPal Pte. Ltd., the holder of PayPal’s stored value<br>facility, does not require the approval of the Monetary Authority of Singapore. <br>Users are advised to read the <a href="https://www.paypal.com/row/cgi-bin/webscr?cmd=p/gen/ua/ua">terms and conditions</a> carefully.</table></div>

    </body>
    </html>
    Attached Images Attached Images  

 

 

Similar Threads

  1. Replies: 11
    Last Post: 4 Oct 2015, 09:50 AM
  2. Replies: 0
    Last Post: 13 Jan 2015, 09:59 PM
  3. Paypal IPN - "unsupported characters for this field"
    By Pulsatilla in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 30 Oct 2010, 05:08 PM
  4. Replies: 6
    Last Post: 2 Jun 2010, 09:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR