Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
eceronv
eceronv
Can somebody help me?.
Let me explain my easy need.
I have created a payment option linked to gateway system. I get all the correct fields filled out but currently this site needs a custom field. This field is a string you get after a applying the SHA1 algorith over a string made concatenating some predifined fields. PHP has this function but I don't know where to put it (how to call it or where to place it). Let me show where I am:
 
Payment System;
 
List of paramethers:
# Nombre del Parámetro Tipo de Parámetro Fuente del Parámetro No Aprobado Borrar
1
2
3
4
5
6
7
8
9
 
It seems it doesn't let me copy the paramethers, but basically are order_id, total amount, etc, etc.
 
The last field “Firma” should be the concatenated string after applying the SHA1 command in PHP:
 
$resultado = sha1($resultado1=$_POST["clave"] .$_POST["account_id"] .$_POST["order_id"] .$_POST["amount"] .$_POST["currency"] ."SHA1" .$_POST["ok_url"] .$_POST["nok_url"]);
 
For that reason I created a custom field {field_29} but I can made external operations on it. Is there a way to get this? If so, where it should be place?
 
Thanks in advance.
Enrique