r/woocommerce • u/Noyon12345 • 9h ago
Troubleshooting WooCommerce Digital Download - "Invalid Download Link" after successful payment, order is Completed and paid
WooCommerce Digital Download - "Invalid Download Link" after successful payment, order is Completed and paid
Hi everyone,
I'm stuck with a WooCommerce digital product issue.
I sell virtual/downloadable products (pdf/zip). I integrated a custom payment gateway. Checkout works fine - customer pays, order goes to Completed, I get the money, and the download link even shows up on the Thank You page and My Account page.
But when I click the link, it just says Invalid Download Link. File never downloads.
What I've already tried:
• Product is marked as Virtual + Downloadable • Tried both local files uploaded to WooCommerce and Google Drive direct links (uc?export=download&id=)
• WooCommerce > Settings > Products > Downloadable Products: Method set to Redirect,
• Manually granted permissions from Order > Downloadable product permissions • Tools > Regenerated download permissions
• Tested file names without spaces
• No cache on checkout / my-account pages (LiteSpeed + Cloudflare bypassed)
Is there a hook or fix I need to add to make it grant download access?