help with Pag Seguro
I created an account at Pag Seguro do UOL
for the site.
I have the form below
<form method="post" target="pagseguro"
action="https://www.pagseguro.uol.com.br/v2/checkout/payment.html">
<!-- Campos obrigatórios -->
<input name="receiverEmail" type="hidden" value="[email protected]">
<input name="currency" type="hidden" value="BRL">
<!-- Itens do pagamento (ao menos um item é obrigatório) -->
<input type="hidden" name="itemId1" value="70">
<input type="hidden" name="itemDescription1" value="Publica">
<input type="hidden" name="itemAmount1" value="55.77">
<input type="hidden" name="itemQuantity1" value="1">
<!-- Itens do pagamento (ao menos um item é obrigatório) -->
<!-- Código de referência do pagamento no seu sistema (opcional) -->
<input name="reference" type="hidden" value="42">
<!-- Informações de frete (opcionais) -->
<input name="shippingType" type="hidden" value="1">
<input name="shippingAddressPostalCode" type="hidden" value="36880000">
<input name="shippingAddressStreet" type="hidden" value="Rua JB">
<input name="shippingAddressNumber" type="hidden" value="0">
<input name="shippingAddressComplement" type="hidden" value="Lote 06">
<input name="shippingAddressDistrict" type="hidden" value="São Francisco">
<input name="shippingAddressCity" type="hidden" value="Muriaé">
<input name="shippingAddressState" type="hidden" value="MG">
<input name="shippingAddressCountry" type="hidden" value="BRA">
<!-- Dados do comprador (opcionais) -->
<input name="senderName" type="hidden" value="Carlos Rocha">
<input name="senderAreaCode" type="hidden" value="32">
<input name="senderPhone" type="hidden" value="22222222">
<input name="senderEmail" type="hidden" value="[email protected]">
<!-- submit do form (obrigatório) -->
<input class="formularios" type="image" name="submit" src="https://p.simg.uol.com.br/out/pagseguro/i/botoes/pagamentos/120x53-pagar.gif"alt="Pague com PagSeguro">
</form>
When I submit the form, it gives timeout error.
Are there any errors?
Is anything missing?
I know you can send via cUrl
. But you understand that in this way the Website Client will have to enter their data on the store's own site and not on the Pague Seguro website, which may generate mistrust.