Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eStore – Amazon S3 problems and multiple file download

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Amazon S3 problems and multiple file download

Tagged: as3tp versus aprtp, Digital downloads versus Pay Per View setpus

  • This topic has 10 replies, 6 voices, and was last updated 11 years, 3 months ago by admin.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • April 13, 2012 at 11:58 pm #6088
    Artisantopia
    Member

    HI. I have 2 related issues I need help with.

    Firstly – I cannot get downloads from Amazon S3 to work. I want to sell videos – they are big (200Mb to 600Mb) so weren’t working using the default setup so I’ve moved them to S3.

    I have triple checked the set up and I have the right keys entered and am following the naming requirements.

    When I generate a download link to this file:

    [as3tp://hmcas3.s3.amazonaws.com/videos/working_with_crystal_grids_mp4.mp4]

    I get nothing on pasting the download link into a browser. I just get a blank browser window (no blue page with error details) and the download doesn’t start.

    The download log shows the following (edited for privacy):

    [04/13/2012 11:36 PM] – Status : AS3TP URI request = ….crystal_grids_mp4.mp4

    [04/13/2012 11:36 PM] – Status : Dispatching AS3TP URL = ….crystal_grids_mp4.mp4?AWSAccessKeyId=[removed]&Expires=1334360511&Signature=[removed]

    What am I doing wrong?

    Second issue – once I have this fixed I want to know if I can distribute multiple files using digital variation.

    The scenario is – I sell classes that consist of a pdf and video file. Buyer can choose to receive video in either AVI or MP4 format. I have tested having 1 file in the digital variation field and it works – for example:

    Video Format|MP4::http://www.domain.com/downloads/Video.MP4|AVI::http://www.domain.com/downloads/Video.AVI

    But if I put 2 files in separated by a comma it doesn’t work.

    I know I can use zip files to bundle the 2 files, but I’d prefer not to as this adds another level of complexity that some buyers just can’t cope with!

    So – can I have 2 files for each variation?

    Thanks for your help!

    April 14, 2012 at 3:58 am #44076
    wzp
    Moderator

    Please use the Admin Functions to generate a new encrypted link, and send it to me via my contact form at http://TheAssurer.com/contact

    April 17, 2012 at 11:04 pm #44077
    wzp
    Moderator

    Update:

    It was determined that S3 was properly setup, but the media disposition of some object types, like PDF, MP4 and AVI would cause the browser to try and open, instead of download. The solution is to force the media disposition of S3 objects to download; as discussed in…

    https://support.tipsandtricks-hq.com/forums/topic/force-a-file-to-download-instead-of-showing-up-in-the-browser

    April 17, 2012 at 11:18 pm #44078
    wzp
    Moderator

    If you want to have multiple files for each variation, you could use the following procedure:

    1. For each digital product variation, create ONE WordPress page, containing Download Now buttons for each of the files associated with that particular variation. Download Now buttons are preferred over links, because the buttons will obfuscate the download location of the files, and links will expose them.

    2. Use the APRTP shortcodes to protect the Download Now buttons…

    http://www.tipsandtricks-hq.com/ecommerce/using-wordpress-permalinks-as-digital-products-apr-1217

    3. Enter the path, using the APRTP scheme, to the product variation pages in the digital product variation filed:

    License|Single::aprtp://yourdomain.com/single|Business::aprtp://yourdomain.com/business

    November 21, 2013 at 12:51 am #44079
    StarCircleAcademy
    Member

    I’m assuming that “APRTP” is something unique to Amazon.com?

    So far all I’ve found from googling is information about protecting the rainforest. :-)

    November 21, 2013 at 5:13 am #44080
    wzp
    Moderator

    APRTP stands for “Authenticated Page Redirect Transfer Protocol.”

    https://support.tipsandtricks-hq.com/forums/topic/using-wordpress-permalinks-as-digital-products

    WP eStore’s Pay Per View – Using WordPress Permalinks as Digital Products (APR)

    It is an RFC-3986 compliant URI that is proprietary to the eStore product. The PHP class can be found in the eStore_classes/eStore_aprtp.php file.

    December 30, 2013 at 8:39 am #44081
    jeremyers1
    Member

    Another genius solution from Wp eStore! I will try to implement this now.

    January 9, 2014 at 11:45 pm #44082
    george@lvv
    Spectator

    Because this exchange refers to – “APRTP “, I’m posting here to try to get help understanding the distinction between APRTP and AS3TP. I searched the Forum for “AS3TP” but found no results.

    I’m using WP Lightbox Ultimate to setup a webpage using wp_lightbox_embed_protected_s3_video” code references.

    I have WP LightBox Ultimate, WP eStore and WP eMember, but WP eMember is not currently installed. For a variety of reasons, I cannot use WP eMember for the websitge I’m building.

    The site is selling Pay Per View products (on-page videos), not downloable digital files.

    I’m follow instructions for “Method 2” in this tutorial PDF

    http://www.tipsandtricks-hq.com/wp-affiliate-link-manager/wp-content/uploads/wp-lightbox-stuff/docs/wp-lightbox-ultimate-s3-private-video-integration.pdf

    Using these instructions, I’ve created a prototype page that will display several parts of content separately, but all on one page. The videos are sourced to AWS S3.

    [http://www.learningviavideo.com/foreclosed-homes-for-sale-ful/]

    From this instruction:

    http://www.tipsandtricks-hq.com/ecommerce/using-wordpress-permalinks-as-digital-products-apr-1217

    … it’s my understanding I need to surround this “APR target”

    [http://www.learningviavideo.com/foreclosed-homes-for-sale-ful/]

    with APR Shortcode, right?

    I guess my question is, when I set up the web page using “Method 2” mentioned above, do I also need to use the “as3tp” replacement for http in the AWS S3 embed code references within the APR Target page?

    Hope this make sense.

    Last question. Whoever replies to this inquiry, what time zone in the world are you in.

    THANK YOU!!!!

    January 10, 2014 at 11:01 pm #44083
    admin
    Keymaster

    AS3TP is for when you want to sell digital downloads (videos, mp3, pdf etc) from your amazon s3 account as downloadable files via eStore plugin. You are not selling them as downloads. You are selling access to a page where they can view whatever video you have on that page. So you only need to use the pay per view feature on WP eStore plugin side:

    http://www.tipsandtricks-hq.com/ecommerce/using-wordpress-permalinks-as-digital-products-apr-1217

    For your scenario, please setup the pay per view page first (the embedding of the video on that page comes later).

    Here is what you do to setup a WordPress page with pay per view feature:

    1) Use the APRTP URL in eStore’s digital url field. So you would use the following:

    [aprtp://www.learningviavideo.com/foreclosed-homes-for-sale-ful/]

    2) Now in the above WordPress page, add your content inside the shortcode. Here is an example of how that page structure will look like:

    [wp_eStore_APR expiry=0 status=unexpired]

    Whatever content goes inside this shortcode will only be view-able after payment.
    Video 1 embedding code goes here
    Video 2 embedding code goes here
    Video 3 embedding code goes here

    [/wp_eStore_APR]

    The above completes your basic pay per view setup.

    Now, the video embedding part. You can use many different methods to embed your videos inside those APR shortcodes (so they are only visible after payment). In your case, you will be using the lightbox plugin to embed videos from your amazon s3 account. So add the lightbox plugin’s shortcode to put the video inside those APR shortcode. You can embed as many videos as you want inside that APR shortcode (they will all be protected).

    January 15, 2014 at 5:22 pm #44084
    george@lvv
    Spectator

    This is very helpful!!! I’ve printed this out for future reference to avoid further confusion related to “as3tp” versus “aprtp”

    Your explanation prompted another question, which I think I already know the answer to, but don’t want to make a dangerous assumption.

    Your note mentions this:

    “Here is what you do to setup a WordPress page with Pay Per View feature:

    [wp_eStore_APR expiry=0 status=unexpired]

    Whatever content goes inside this short code will only be view-able after payment.

    Video 1 embedding code goes here

    Video 2 embedding code goes here

    Video 3 embedding code goes here

    [/wp_eStore_APR]”

    Question: If I have a page with embedded code like below, do I also surround all that with the standard eStore content protection short code?

    ==========

    [wp_eStore_APR expiry=0 status=unexpired]

    >>>>> Do I / Can I / Should I put the embedded content using short code like below here? <<<<<

    [wp_lightbox_embed_protected_s3_video name=”Internet Marketing Seminar_qtp.mp4″ bucket=”smnrfullpaid” width=”480″ height=”360″]

    (Within the standard eStore protection short code)

    [/wp_eStore_APR]

    ==========

    … or does the lightbox short code “[wp_lightbox_embed_protected_s3_video name=”… ” provide the same protection as this >>>> [wp_eStore_APR expiry=0 status=unexpired] content [/wp_eStore_APR]?

    ===============

    Sample page with embedded code

    [wp_lightbox_embed_protected_s3_video name=”Internet Marketing Seminar_qtp.mp4″ bucket=”smnrfullpaid” width=”480″ height=”360″]

    Text line: Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

    [wp_lightbox_embed_protected_s3_video name=”Internet Marketing Seminar_qtp.mp4″ bucket=”smnrfullpaid” width=”480″ height=”360″]

    Text line: Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

    [wp_lightbox_embed_protected_s3_video name=”Internet Marketing Seminar_qtp.mp4″ bucket=”smnrfullpaid” width=”480″ height=”360″]

    Text line: Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

    [wp_lightbox_embed_protected_s3_video name=”Internet Marketing Seminar_qtp.mp4″ bucket=”smnrfullpaid” width=”480″ height=”360″]

    January 15, 2014 at 10:50 pm #44085
    admin
    Keymaster

    Yes, you put the lightbox shortcode inside the APR shortcode. The lightbox shortcode protects the video but the APR shortcode protects the content inside the page.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ