Verotel requires some data to be hashed with sha1_hex function. What exactly is it? No info about it in the whole internet. They say “SHA-1 hash is used (hexadecimal output)”. Sha1 with hex output?
Heres one example which I can’t seem to reproduce:
sha1_hex(“abc777X:description=some description of product:priceAmount=51.20:priceCurrency=EUR:shopID=60678:version=1”)
= 04d87d2718767ea0bef259c436ec63e3cde05be2
Actually, that
sha1_hexis namedsha1()in php. Here is an example, working on your input: http://codepad.org/9fLlr9VJ