Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problemas Para Criar O Xml Do Checkout Transparente

Featured Replies

Postado

Olá amigos, estou usando a função writeElement() para gerar meu xml com o header em UTF-8, está quase tudo certo...

O Grande problema é na instrução Valor Moeda="BRL", não estou conseguindo colocar neste padrão em meu código está assim:

$xml->writeElement("ValormoedaBRL", ''.$valortotal.'');

$xml->endElement();

se utilizo espaço ou dupla aspas da erro, por favor, alguem pode me dizer como contonar este erro.

O que já tentei:

  • $xml->writeElement("Valor moeda=\"BRL\"", ''.$valortotal.'');
  • $xml->writeElement("Valor moeda="BRL"", ''.$valortotal.'');
  • $xml->writeElement('Valor moeda="BRL"', $valortotal);

Desde já muito obrigado! smile.png


Postado

Lembrando que antes do elemento Valor moeda deve existir:

<Valores>

<Valor moeda="BRL">X</Valor>

</Valores>

A primeira e terceira instrução serviriam.


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.