If you do not want to use the digital product features in the script and want to use external download links, you can use the secure content feature for it.
Create a new custom page for the Digital Content, insert your link in the page content, and configure the page availability, so only active or paid members to have access to the page.