Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Paid for digital pay per view content still hidden
Tagged: cookies
- This topic has 25 replies, 4 voices, and was last updated 5 years, 11 months ago by wzp.
-
AuthorPosts
-
November 20, 2014 at 2:03 pm #11811alexzakherMember
Hello, I’m trying to get the digital pay per view setup implemented on my website:
[http://www.commercetutoring.com/?page_id=2430]
The URL above is my test page. I’m not using pretty permalinks, just the default. Does that affect the functionality?
I just can’t seem to get it to work. Any help would be appreciated. I’ve turned on debug logs, but the download_manager_debug.log isn’t logging anything, filesize is still 0KB.
November 20, 2014 at 2:27 pm #66915wzpModeratorPlease review the PPV setup steps here:
https://www.tipsandtricks-hq.com/ecommerce/using-wordpress-permalinks-as-digital-products-apr-1217
I’ve turned on debug logs, but the download_manager_debug.log isn’t logging anything, filesize is still 0KB.
If you go to the eStore Admin Functions, and manually generate a link to your product; what does the “download link” look like?
November 20, 2014 at 2:51 pm #66916alexzakherMemberJust did that and here’s what I get:
ECON110 – Exam Preparation Videos – [http://www.commercetutoring.com/?enc_dl_action=process&file=2xOa%2BysFVv2Vhanp]
It works when I use the link above! Why doesn’t it work for the links in the emails?
November 20, 2014 at 3:12 pm #66917wzpModerator[http://www.commercetutoring.com/?enc_dl_action=process&file=2xOa%2BysFVv2Vhanp]
That is not what an eStore encrypted download link should look like.
Do you have the “Downloadable” option set in the Digital Products Details section?
November 20, 2014 at 3:21 pm #66918alexzakherMemberI have Digital Product URL set to: aprtp://www.commercetutoring.com/?page_id=2474
and
Downloadable (unchecked)
November 20, 2014 at 3:23 pm #66919wzpModeratorDownloadable (unchecked)
It must be checked.
November 20, 2014 at 3:31 pm #66920alexzakherMemberNo that didn’t work either. Any other suggestions?
I may have jumped the gun earlier when I said it worked…. I forgot that I had removed the shortcode for APR. I put it back in and the content in between the shortcodes doesn’t load.
[wp_eStore_APR expiry=0 status=unexpired]
[s3bubbleVideo bucket=”queensvideos” folder=”” height=”300″ autoplay=”false” desc download=”false”/]
[/wp_eStore_APR]
November 20, 2014 at 3:53 pm #66921wzpModeratorOk, we need to separate this into 2 areas…
1. Getting the APR to work.
2. Getting the content to work.
When you manually generate a download link, it should look something like:
[http://example.com/download.php?file=989dai4533ks] (without the square brackets)
Did you change the “Download Validation Script Location” setting, from what the default was?
Now that you have “Downloadable” checked, what does the manually generated link look like?
And after trying the link, do you have anything in the Download_Manager_Debug.log file?
November 20, 2014 at 5:01 pm #66922alexzakherMemberFair enough, I agree with your troubleshooting strategy.
[11/20/2014 4:59 PM] – Status : Authorizing APR request for: [http://commercetutoring.com/?page_id=2430]
[11/20/2014 4:59 PM] – SUCCESS : $_COOKIE[c980cc8a16603258cc24a3861ea7cf5a] => 21ua%2BS8DUPOYhA%3D%3D
[11/20/2014 4:59 PM] – Status : Authenticating APR request for: [http://commercetutoring.com/Index.php?page_id=2430]
[11/20/2014 4:59 PM] – Status : $_COOKIE[65d4024de6ef6858dcf4f4f7d7d44b36] not found.
November 20, 2014 at 5:24 pm #66923wzpModeratorThis is after the APR shortcode is executed. Notice the URL and cookie do not match the URL and cookie in the previous entry.
The Product URL must exactly match. Otherwise, APR will not work.
Try setting the Product URL to: [http://commercetutoring.com/Index.php?page_id=2430]
Please reset the debug logs and then try again.
November 20, 2014 at 5:35 pm #66924alexzakherMemberYou are awesome! Such a small detail, but that fixed the issue. Thank you so much.
November 20, 2014 at 6:00 pm #66925wzpModeratorI’m not using pretty permalinks, just the default. Does that affect the functionality?
September 19, 2018 at 2:50 am #66926daya.shukla1987MemberHidden content not working.
I have added “Digital Product URL” into “Digital Content Details (Click to Expand)”
I have set url “aprtp://terranovafilms.staging.wpengine.com/testsept”
=>Downloadable is also check
Go to “Admin Functions”
Generate an Encrypted download link for a Product
But is not working
Page content
[wp_eStore_APR expiry=0 status=unexpired]
Display secure content
[/wp_eStore_APR]
[wp_eStore_APR expiry=0 status=expired]
You DO NOT have access to this page.
[/wp_eStore_APR]
1. Debug.
2. Find these issue when aprtp url page content authentication
September 19, 2018 at 5:47 am #66927adminKeymasterLooks like you are using HTTPS pages. So use “aprtps://” instead of “aprtp://”
In your case, the correct value for the “Digital Product URL” field is the following:
aprtps://terranovafilms.staging.wpengine.com/testsept
Let me know how you go after you change it.
October 6, 2018 at 2:58 pm #66928daya.shukla1987MemberHidden content not working.
URL:https://terranova.org/?enc_dl_action=process&file=01mTsysGUfyYhqvsjDw%3D
I have added “Digital Product URL” into “Digital Content Details (Click to Expand)”
=>Downloadable is also check
Go to “Admin Functions”
Generate an Encrypted download link for a Product
But is not working without login admin panel.
Page content
[wp_eStore_APR expiry=0 status=unexpired]
Display secure content
[/wp_eStore_APR]
[wp_eStore_APR expiry=0 status=expired]
You DO NOT have access to this page.
[/wp_eStore_APR]
1. Debug.
[10/06/2018 2:55 PM] – Status : Authenticating APR request for:https://terranova.org/on-demand/dementia-with-dignity/
[10/06/2018 2:55 PM] – Status : $_COOKIE[1d351b5b290a88f2b54e1995480acf6b] not found.
-
AuthorPosts
- You must be logged in to reply to this topic.