The download file URL that the customer sees is not meant to be the same as the one you input for the product. Otherwise the URL could be shared, and that would also mean it’s publicly available for Google to index, etc.
Is the download not working, or are you just concerned that the link is different?
The link looks correct as intended. Are you logged into the account that has purchased the downloadable product when trying to download?
In Woocommerce, I changed the Settings | Products | Downloadable Products | File download method — from Force Downloads to Redirect only. The Redirect does not change the shareable link name to the Google Drive file, and as you pointed out, the link can be shared with the whole world.
That works for me because my products are free; however, that might not work if products are not free or need more protection.
What this means is the Force Downloads method was not working for me.
Thank you for your response.
I’m not sure I understand still. All of the download methods are working correct for me, the download URL is meant to be obscured – and it is only downloadable when you are logged into the account that purchased the product.
Sounds like you got this working to fit your need though? So I am going to go ahead and mark as solved.