This topic is currently pending, awaiting moderation.

Custom use of Download Key

Posted by: Mathias Madsen

19th December 2019, 10:34 am

Mathias Madsen

@kpx

19 Dec 2019
10:34 am

Hi,

I am trying to copy the functionality of the shop page onto a custom page. It basically works as it should, but right now I need to manually update the following field every 24 hours:

<input type="hidden" name="somdn_download_key" value="MTU3Njc1MDg4OA==">

I have tried to use the functionality of somdn_get_download_key() but the code I generate does not work for the downloads. I understand that I could change the $expiration_time, but I guess there is a reason for this part of the code 🙂

Can you provide me with more documentation on the download_key function?

Thank you in advance.