ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Problem with downloadable file locations
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with downloadable file locations

 Post Reply Post Reply
Author
Message
kcramer View Drop Down
Newbie
Newbie


Joined: 08-November-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote kcramer Quote  Post ReplyReply Direct Link To This Post Topic: Problem with downloadable file locations
    Posted: 29-June-2012 at 10:41pm
Hi everyone,
 
We want to use Amazon S3 to store the files for some of the downloadable products we sell through ProductCart, but it seems like ProductCart doesn't play nicely with the links to files stored on Amazon S3.
 
We currently have the files stored on the same server where our site is hosted, so right now the HTTP path to the file looks something like this:
 
But, files located on Amazon S3 have paths that look like this instead:
as3tp://oursite.s3.amazonaws.com/ourMP3products/product-name.zip
 
When we try to use the Amazon S3 path to the file, ProductCart won't find the file and simply shows an error message instead. (We've verified the file path a half-dozen times to make sure we typed it into ProductCart correctly, and it works fine when we try to download it through a different cart.)
 
Does anyone know how to fix this? Is there a way to force ProductCart to accept the as3tp path as a valid path?
 
Thanks in advance for any help or suggestions!
 
~ Kristen
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 29-June-2012 at 11:04pm
It is almost certainly due to an incompatibility with the security features for downloadable products that are built in to productcart such as temporary and hidden urls. See the wiki for more details. If you place them on s3 or anywhere off your site then they would be outside the control of productcart and AFAIK the link to the downloadable product could be shared with any and everyone!
Back to Top
kcramer View Drop Down
Newbie
Newbie


Joined: 08-November-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote kcramer Quote  Post ReplyReply Direct Link To This Post Posted: 29-June-2012 at 11:14pm
Hi Hamish,
We have a few downloadable product files stored on a different site (completely different domain and server) and have been linking to their HTTP paths through ProductCart for several months without a problem, so I don't think it's necessarily an issue of placing the files off the site. In every test we've done in every browser so far, ProductCart still hides the actual HTTP path to the file on the other site and gives the customer a masked URL the same way it would if the file was located on the same site as ProductCart.
 
I think the problem is twofold: first, ProductCart doesn't recognize a path that starts with "as3tp" instead of "http", and second, there's no place in ProductCart to enter the API/authentication info for our Amazon S3 account (so even if it recognized the as3tp path, it still couldn't access the file).
 
~ Kristen
Back to Top
kcramer View Drop Down
Newbie
Newbie


Joined: 08-November-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote kcramer Quote  Post ReplyReply Direct Link To This Post Posted: 30-June-2012 at 11:46am
I found out we can get https links to our files on Amazon S3, so half the problem is solved. The only problem now is finding a way to get ProductCart to pass the authentication info for our Amazon S3 account so it can get access to the files. I don't even know where to start with something like that.
 
~ Kristen
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.