%%[
var @url_factura, @documento_id
set @url_factura = Concat(@entornoDescargaFactura,@downloadInvoice,'?id=',@urlDescargaFactura,@eml,@fechaEnvio,@nad,@descargafactura)
set @documento_id = AttributeValue("CIF_FACTURA")
set @password = "e2a80fe9-5ad6-4e94-8c35-481ae69b8a7a"
set @saltVal = "77a43623-feb2-4c41-99d9-54ea77cd424b"
set @initVectorVal = "2d6ed376-b312-4b1e-9545-5c7c0e71134a"
set @factura_encriptada=EncryptSymmetric(@url_factura,"AES",@password,@null,@saltVal,@null,@initVectorVal,@null)
set @documento_encriptado=EncryptSymmetric(@documento_id,"AES",@password,@null,@saltVal,@null,@initVectorVal,@null)
SET @encFactura = URLEncode(@factura_encriptada, 1, 1)
SET @encDocumento = URLEncode(@documento_encriptado, 1, 1)
SET @LandingURL = Concat("https://cloud.dev.notificaciones.endesaclientes.com/validacion-doc-aviso-ml-es?f=",@encFactura,"&d=",@encDocumento)
]%%
<a target="_blank" href="%%=Redirectto(@LandingURL)=%%" title="descargar factura" alias="">DESCARGAR FACTURA</a>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter