Support » Plugin: WooCommerce Moip » Caracteres estranhos

  • Resolved astartar


    Na hora do pagamento, a validação retorna as seguintes mensagens com caracteres estranhos:
    Informe o código de segurança do cartão
    Informe o número do cartão

    Isso já aconteceu para vocês? já pesquisei em todos os arquivos não encontrei essas mensagens em nenhum, deve ser um retorno do Moip mas não sei como corrigir esse caracteres.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Claudio Sanches


    This is coming from Moip.
    What is the charset of your website?
    Post the link of the site, please.

    The charset is UTF-8.
    My website is

    Thank you

    Plugin Author Claudio Sanches


    Strange, because it was to work then.
    But it can still be a problem coming from your theme.

    I have the same problem. I already tried to change the charset to ISO-8859-1 on the “transparent-checkout.php”, at the lines that call the Moip javascript (almost on the last code lines). Doesn’t worked.

    Did you solved this issue? Please, share the fix if you can.

    My bests.


    I think I’ve found the solution. On the “transparent-checkout.php”, at the lines that call the Moip Javascript, the Charset is written wrong. See:

    <?php if ( 'yes' == $this->sandbox ) : ?>
    	<script type="text/javascript" src="" charset="UFT-8"></script>
    <?php else : ?>
    	<script type="text/javascript" src="" charset="UFT-8"></script>
    <?php endif; ?>

    The letters are inverted. Just change the UFT-8 to UTF-8. Hope can help anyone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Caracteres estranhos’ is closed to new replies.