Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Paymenth module integration help
 
vichuNakamura
Jr. Member
 
Total Posts:  4
Joined:  2008-05-02
 

Hello,

I use magento for this online shop: http://www.antury.com, and i have to implement the payment system http://www.pagosonline.com (In Colombia), I already put the module, but it dont have the code for the php file, idont understand how to get the vars.
I have to model 3 pages, one for send the info (this is my big problem), and must content something like this:

<?php
   $clave_secreta 
"1111111111111111";
   
$usuarioId=2;
   
$refVenta=0001;
   
$valor=116000;
   
$iva=16000;
   
$moneda=COP;
   
$descripcion "Pruebas de Generacion de Firmas";
   
$firma"$clave_secreta~$usuarioId~$refVenta~$valor~$moneda";
   
$firma_codificada md5($firma);
?>


<form name="form1" method="post"
  
action="https://gateway2.pagosonline.net/apps/gateway/index.html">
  <
table width="500" border="0" cellpadding="0" cellspacing="2">
    <
tr bgcolor="#000099">
      <
th width="119">Campo</th>
      <
th width="375">Valor</th>
    </
tr>
    <
tr bgcolor="#CCCCCC">
      <
td>Usuario:</td>
      <
td><input name="usuarioId" type="text"
            
value="<?php echo($usuarioId) ?>"></td>
    </
tr>
    <
tr bgcolor="#DEDEDE">
      <
td>Descripci&oacute;n:</td>
      <
td><input name="descripcion" type="text"
            
value="<?php echo $descripcion ?>"></td>
    </
tr>
    <
tr bgcolor="#CCCCCC">
      <
td>RefVenta:</td>
      <
td><input name="refVenta" type="text"
            
value="<?php echo $refVenta ?>"></td>
    </
tr>
    <
tr bgcolor="#DEDEDE">
      <
td>Valor:</td>
      <
td><input name="valor" type="text"
            
value="<?php echo $valor ?>"></td>
    </
tr>
    <
tr bgcolor="#CCCCCC">
      <
td bgcolor="#CCCCCC">IVA:</td>
      <
td><input name="iva" type="text"
            
value="<?php echo $iva ?>"></td>
    </
tr>
    <
tr bgcolor="#DEDEDE">
      <
td bgcolor="#DEDEDE">Moneda:</td>
      <
td><input name="moneda" type="text"
            
value="<?php echo $moneda ?>"></td>
    </
tr>
    <
tr bgcolor="#CCCCCC">
      <
td>Firma:</td>
      <
td><input name="firma" type="text"
            
value="<?php echo $firma_codificada ?>"></td>
    </
tr>
    <
tr bgcolor="#CCCCCC">
      <
td>&nbsp;</td>
      <
td><input name="Submit" type="submit" value="Enviar"></td>
    </
tr>
  </
table>
</
form>

I dont know where to put that, i how get the vars with the post method.

The other pages, are the answer page, and the confirmation page, but i think this is more easy.

Thanks for help!!!!

SeeYa.

 
Magento Community Magento Community
Magento Community
Magento Community
 
camilosierra
Jr. Member
 
Total Posts:  1
Joined:  2008-09-24
 

hola, buenos días,

tengo exactamente el mismo problema, y ya vi su página antury.com, me gustaria saber somo solucionó el problema de la integración con Pagos on line.

Muchas gracias,

Camilo Sierra

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top