Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/01/2013, 14:39
Avatar de Middrel
Middrel
 
Fecha de Ingreso: abril-2005
Mensajes: 835
Antigüedad: 19 años
Puntos: 27
Respuesta: Boton de pago PayPal con importe variable

Si por alguna razón no te funciona bien, este otro código te puede ayudar más :)

Código HTML:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 
   <!--  Identify your business so that you can collect the payments. --> 
   <input type="hidden" name="business" value="[email protected]"> 
   <!-- Specify a PayPal Shopping Cart Add to Cart button. --> 
   <input type="hidden" name="cmd" value="_cart"> 
   <input type="hidden" name="add" value="1"> 
   <!-- Specify details about the item that buyers will purchase. --> 
   <input type="hidden" name="item_name" value="<?php echo $rowSelectArticulo['gbvj_articulo']; ?>"> 
   <input type="hidden" name="amount" value="<?php echo $rowSelectArticulo['gbvj_precio']; ?>"> 
   <input type="hidden" name="currency_code" value="MXN"> 
   <!-- Display the payment button. --> 
   <input type="image" name="submit" border="0" src="img/buttons/carritodecomprasnegro.png" alt="PayPal - The safer, easier way to pay online"> 
   <!--<img src="imagenes/btn_agregar_carrito.png" alt="" id="btn_agregar_carrito_h" />-->
</form> <!--<div class="carrito-boton"><strong>Agregar al carrito</strong></div></a>-->