Temporary Download link in email?

by 5 replies
8
Hey all,

I want to see a digital product via PayPal. Once the payment has been confirmed I want to trigger an auto-responder email that provides a temporary download link that will only last for a certain amount of time, and will be unique to each download.

How can I set this up using aWeber?

Thanks
#programming #download #email #link #temporary
  • In my very quick research, it looks like aWeber does not have any sort of API that would allow you to send special commands like this. (passing a unique URL and triggering the email)

    One very quick solution (though not integrated with aWeber) is this lovely little site from a fellow Warrior member: Sell eBooks, Files, Downloads, Digital Products with Paypal - UPLOADnSELL.com

    -Ryan
    • [2] replies
    • You can do like this.

      1> Set up your own page. example: wwwdotyourdomaindotcom/download.php
      2> Once you got paid, add temp download link in download.php for the specific user.
      3> Trigger your autoresponse email which includes the download.php page.

      Hope this helps.
    • Thanks for the mention Ryan.
  • Why does it have to be aWeber?

    Just use regular PHP Send function to give users temp download link.

    If you're experience programmer, you can do following, UPON successful payment

    1 you already have yourdomain.com/downoad/ directory

    now automatically script would:

    2 copy original file (from password protected directory) to download directory with UNIQUE random ID attached to the name (i.e. download/1354324322341product.exe)
    3 create same unique download page "1354324322341get.html" with link to 1354324322341product.exe file in same directory (yourdomain.com/download/).
    4 send email with link to http://www.yourdomain.com/download/1...322341get.html that has link to your 1354324322341product.exe copy of original file (you could send link to actual file but it's cleaner and nicer way to send link to a page that has download link)
    5 setup cron job to remove files older than 48 hours in download/ directory except for blank index.htm file

    Rinse wash repeat for every purchase.
  • Well wait - there is no reason you can't do this with awebers custom fields/tokens (whatever they are called).

    Add a custom field and put their session id in.

    At same time put session id in database with time stamp.

    Use token in first message message to include a page with session.

    Have download page 'expire' if it's been to long.

    I use it to change out affiliate links when someone opts into my sites so I know they get credit instead of me getting credit so tokens are certainly possible with aweber. And there isn't a reason you couldn't use it how I outlined above if you have just a wee bit of php skill (nothing complicated there).

Next Topics on Trending Feed

  • 8

    Hey all, I want to see a digital product via PayPal. Once the payment has been confirmed I want to trigger an auto-responder email that provides a temporary download link that will only last for a certain amount of time, and will be unique to each download.