WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Caracteres estranhos

[Resolved] Caracteres estranhos

  • 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.

    Obrigada

    https://wordpress.org/plugins/woocommerce-moip/

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

    @claudiosanches

    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 http://goo.gl/mvJZJH.

    Thank you

    Plugin Author Claudio Sanches
    Participant

    @claudiosanches

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

    BrunoSousa
    Member

    @brunosousa

    @astartar,
    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.

    BrunoSousa
    Member

    @brunosousa

    Hi,

    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="https://desenvolvedor.moip.com.br/sandbox/transparente/MoipWidget-v2.js" charset="UFT-8"></script>
    <?php else : ?>
    	<script type="text/javascript" src="https://www.moip.com.br/transparente/MoipWidget-v2.js" 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 ‘[Resolved] Caracteres estranhos’ is closed to new replies.