Support » Plugin: ExchangeWP: Simple WP Ecommerce » Errors when storing files on S3

  • Resolved Todd

    (@toddneufeld)


    Exchange works perfectly when product files are stored on my server, but I get an error when storing them on Amazon S3:

    ‘Download Error: Invalid response: 403’

    I pasted in the full URL of the S3 file per the instructions — is there anything I need to do, such as tweak the permissions on the bucket, or is there a setting I missed somewhere?

    I’m really hoping this is another dumb user error on my part . . . .

    https://wordpress.org/plugins/ithemes-exchange/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ecalley

    (@ecalley)

    Hi toddneufeld,

    Your permissions for the actual file in S3 should be set so that anyone can download. How do you have your permissions set?

    Thanks,

    Elise

    Todd

    (@toddneufeld)

    I just looked at my S3 console, and it looked like only I had full permission. I added “everyone” as a grantee with open/download permission and it is working!

    Should I be worried about keeping that open? Doesn’t that mean that anyone with the URL can download it without a problem?

    Plugin Author ecalley

    (@ecalley)

    Hi toddneufeld,

    Yes, if someone has the URL, they will be able to download it. However, you’ll notice in Exchange that the customer never sees the file’s URL, whether you are using a file from the Media Library or from an offsite location like S3. For instance, you’ll see something like: yourdomain.com/?it-exchange-download=1403555592888654a88f0bf7d68

    Let us know if you have any additional questions.

    Thanks,

    Elise

    Todd

    (@toddneufeld)

    That scares me a bit, but it will work for now. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors when storing files on S3’ is closed to new replies.