If using the “file cart add-on” with “form lock” (in our case contact form 7) it is not possible to see who downloaded what. In our case we want to see the data that the user filled out in the form (name, e-mail, terms of use) and the files they downloaded. It is possible to send an E-Mail Notification via Contact form 7 with all the data to our admin but the files that have been downloaded are not shown there.
Our File Cart with Form Lock
https://tinyurl.com/2bhx5rk8
This reply has been marked as private.
I’m having an issue with the embedded links to a download. When I put the link to a download onto a post, it embeds it, however when you try and go to the download or click he download button, nothing happens and it doesn’t go to the Download page.
Below is the Chrome console errors when I click either of the links to go to the download page and I’ve included a post URL as an example:
Post Page with link to download page: https://techygeekshome.info/2024/04/java-8-411/
Download Page: https://techygeekshome.info/wpdm-package/java-8-update-411/
Error Log:
wp-embed.min.js?screx=1&sxcb=280a&ver=6.5.2:2 Uncaught TypeError: Failed to construct ‘URL’: Invalid URL
at l.querySelector.d.addEventListener.d.wp.receiveEmbedMessage.d.wp.receiveEmbedMessage (wp-embed.min.js?screx=1&sxcb=280a&ver=6.5.2:2:659)
l.querySelector.d.addEventListener.d.wp.receiveEmbedMessage.d.wp.receiveEmbedMessage @ wp-embed.min.js?screx=1&sxcb=280a&ver=6.5.2:2
postMessage (async)
b @ embed/?ez_iframe=1:9
(anonymous) @ embed/?ez_iframe=1:9
This reply has been marked as private.
I’m currently using Download Manger Pro 6.5.3. When I add more than 10 short codes to any page to embed the download links the page will then time out and I give a 502 error. When I deactivate the Plugin the page loads without issue. What could be causing this? See URL for affected page.
https://www.alvaradomfg.com/resources/sec-resources/.
I’m using Stripe Add-on for WP Download Manager Pro. After successfully paying for an item, I am returned to the cart where it says the “Order Status: Processing” and “If you still want to complete the order, Pay Now (with green button).”
Endpoint URL seems connected. And webhooks are listening for payment_intent.payment_failed and payment_intent.succeeded
How can I get WPDM to recognize successful payment?
This reply has been marked as private.
Thank you so much! I checked the REST API and it seems like this would be the way to go.
However I have 2 concerns that maybe you could help me with:
1- In the documentation I cannot see how to add the file itself in the package. Do you have an example of how this is done? Do you need to provide a url for the file to be uploaded or is it encoded somehow?
2- There is a bug reported in Github related to WordPress 6.3.2 and above. Has this been fixed? https://github.com/imsas/wpdm-rest-api-docs/issues
Thanks in advance for your help!
Hello enric gustems,
For now, to get the requested mail in the message too in the email you can add this code portion from this directory wp-content\plugins\download-manager\src\Package\PackageLocks.php
file in line number 291
changing
$message = __MailUI::panel("Your have a new pending download request for:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";
to
$message = __MailUI::panel("Your have a new pending download request for email: ".$_POST['email']." and Package:", ["<a href='".get_permalink($packageID)."'>".get_the_title($packageID)."</a>"])."<a href='".admin_url('edit.php?post_type=wpdmpro&page=wpdm-subscribers')."' class='button full green'>".__('Review the request', WPDM_TEXT_DOMAIN)."</a>";
by adding this only,
email: ".$_POST['email']." and Package:"
please check and let me know, if it works for you.
Thank you and regards
Hello Susan Colao,
Hope you are well. And thanks for writing to us. For Woocommerce alternatives, you can also use our WordPress Digital Store Solution – Premium Package add-on that helps you to set up prices for your digital products and sell them easily from your WordPress site.
Premium Package – WordPress Digital Store Solution
But if you still want to use woocommerce, You can try copying the master download URL of your file from WPDM and then attach the URL to the Woocommerce product as I image attached,


please check and let me know, if you have any queries.
Thank you and regards
Hello Nayeem,
thank you so much for your help. Unfortunately, it seems do not work. If I paste the string onto a web page in the browser it works, but if I put that url as the URL of the woocommerce product, it gives me the ‘File not Found’ error. In addition to not working, this system would still force me to create a product on Download Manager with a URL, which I don’t need and don’t want to do. Isn’t it possible to get a URL ofa PDF file uploaded somewhere that is good for WooCommerce and also stamped?
Thank you so much for your help.
This reply has been marked as private.
Hi Nayeem
We are using W3 Total Cache. I have set items_per_page = 20. We are still having problems on this page and also on the following pages:
Recommended Practices
Business Practices
When you look at the source code the image is loaded multiple times. We are using a custom template where the package icon is displayed. The template looks as follows:
<div class=”well c2a3″>
<div class=”media”>
<div class=”mr-3″ align=”left”>
[icon]
</div>
<div class=”media-body”>
<h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt; “>
[title]
<span style=”font-size:8pt;font-weight:300″ class=”text-muted ml-4″>
<i class=”fas fa-hdd mr-1″></i> [file_size]
<i class=”ml-3 far fa-arrow-alt-circle-down mr-1″></i> [download_count] downloads
<i class=”ml-3 far fa-clock mr-1″></i> [create_date]
</span>
</h3>
[excerpt_200]</br>
</div>
<div class=”ml-3″ align=”right”>
[download_link]
</div>
</div>
</div>
Regards, Eva
Hello Ries Caroline,
Hope you are well. And thanks for writing to us. Can you please elaborate more and let me know which custom fields you are trying to add? please share the related URL. if possible, can you please, give your temporary wp-admin login details in a private reply to check the issue?
Thank you and regards
Hello Mariusz G,
Hope you are well. Thanks for writing to us. For changing the text on the download button you shall find for it from certain packages from Package Settings
as I image attached,

For template editing, you can clone the template as I image attached,

And change the [download_link]
template tag to <a href="[download_url]" class="btn btn-info">Download Now!</a>
For changing text on the download button at once for all packages, you can check this add-on,
WPDM Default Values
And for your Polish translation, you can use any translation plugin for example Loco Translate, you can check the beginner doc here,
https://localise.biz/wordpress/plugin/beginners
please check and let me know, if you have any queries more.
Thank you and regards
Hello Justin,
Sorry for your inconvenience. For individual packages, you can try the below code putting in your theme functions.php
file,
add_filter("wpdm_audio_play_button", function($play_button, $play_url, $package, $fileID) {
if(in_array($package->ID, [10, 20, 30])) $play_button = "";
return $play_button;
}, 10, 4);
Here, 10, 20, 30 is your package ID. And for the option to turn off the audio player, we shall add it to our next updates. I hope you have understood. please check and let me know.
Thank you and regards
Hi Nayeem,
Thanks for this, and just to confirm my thinking. Currently there isn’t an option to apply if/then logic within the template manager/editor itself, correct? I will need to copy files from src into my child theme and edit those and then address any changes as new updates role out with the WPDM plugin?
Also, I’m using ACF so that’s good to know I can add the field and access it with the template tool.
Again, I basically want to combine a video and corresponding PDF document that compliments that video. I don’t think there is an option natively within WPDM to do that (correct me if I’m wrong), so I’m hoping to make something work with the templates. However, at times there might not be a video, only the PDF, thus my interest in some if/then capabilities in the template layout to only display the video button if the link is defined (in an ACF field) on the package.
Another option, separate from the ACF field, it seems I can add a youtube URL to the package. In the same package I’d have PDf file and the Youtube link. Is there a function in the link templates tool that will let me select files within the package? I see I can pull the [file_list], I’m not seeing if there is an option that lets me pull file_1, file_2, etc.
Be well!
-Scott
This reply has been marked as private.
Yes, possible. You are also able to add the image to the download button as the code here from your page/link template,
<a href="[download_url]" class="btn btn-info"><img src="Image_URL" /></a>
please check and let me know
Thank you again and regards
Hi there,
I have added the ‘wpdmdl’ in the ‘Drop Query String’ as said in the article.
But I still have the problem with the [#donwload_url#] tag.
Thank you
Hello MAXIM MIRONOV,
I have checked your issue. When you attach Box.com files, it attaches with a URL so while downloading it redirects to the URL. However, you can also use the WPDM - Google Drive add-on
, it is downloading as you are expecting https://game-tales.ru/download/wpdm-test. please check and let me know
Thank you and regards
WPDM Block Hotlink add-on will help you to be redirected to the item/package details page or any other page specified by you. The external sites can only place the link to your item/package details page, not the direct download URL. Thus, there is no redirect to the box.com. Please also check the add-ons details page, https://www.wpdownloadmanager.com/download/wpdm-block-hotlink/. Please check and let me know
Thank you and regards
Hi, team,
I added the line below to crontab, but it doesn’t work. Maybe I have wrong syntax, please help me.
0 0 1 * * wget -q -O - https://mydomain.com/?cpc=wpdmcc&cronkey=mKNVRCdbJr1DiedHE18N >/dev/null 2>&1
Hello Sini,
Hope you are well. Can you please share with me where or you can also share the URL where you have added the translations? Please check and let me know
Thank you and regards
Hello,
Thanks for contacting us.
You can do it by adding custom css.
Please provide related url to check the issue further.
Thanks
Tanvir