Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – APR page: admin encrypted link – Content between shortcode is hidden
Tagged: digital product, download limit count, Encrypted APR Cookie, encrypted link, pay per view content, Pretty Permalink
- This topic has 6 replies, 3 voices, and was last updated 12 years, 5 months ago by wzp.
-
AuthorPosts
-
June 25, 2012 at 7:07 am #6645spunkebusinessMember
Hello,
1. I am selling a PPV video, and have set up the page with the streaming video according to the instructions at http://www.tipsandtricks-hq.com/ecommerce/using-wordpress-permalinks-as-digital-products-apr-1217
The code on my page is as follow:
[wp_eStore_APR expiry=0 status=unexpired]
[pro-player width=’614′ height=’345′ type=’video’] url/to/my/vidoe.mp4 [/pro-player]
[/wp_eStore_APR]
When I generate an encrypted link via Admin, or when I try a test purchase, the encrypted link sends me to the right page, however the content (proplayer video code) between the shortcode is HIDDEN!
Could you please assist? Am I doing something wrong?
2. When the link has expired, is there a way to redirect to another page which explains that the link has expired? Or is the only option to add text on the actual page saying “If you can’t see the video, …”?
Thank you in advance.
June 25, 2012 at 7:24 am #46428PeterMemberCan you send a link to the page containing the APR codes?
Double check that you used the “aprtp” prefix in the “Digital Product URL” field?
June 25, 2012 at 1:26 pm #46429wzpModeratorThis is an example of how to check for proper APR cookie authorization. Notice the conditional testing that is taking place. The conditional shortcode can be used to handle expired links.
[wp_eStore_APR expiry=0 status=unexpired]
Now you see me!
[/wp_eStore_APR]
[wp_eStore_APR expiry=0 status=expired]
Now you don’t!
[/wp_eStore_APR]
Reasons for why APR would not work include:
1. The product URL does not specify the APRTP protocol.
2. The specified URI used with the APRTP protocol does not ***EXACTLY*** match the “pretty permalink” format used for the non-APR URL.
Example, if the non-APR URL is “http://site.com/page/” the APR URI must include the trailing “/” or it will not work.
3. The browser is not accepting cookies.
June 26, 2012 at 11:15 am #46430spunkebusinessMemberThank you so much!
“Example, if the non-APR URL is “http://site.com/page/” the APR URI must include the trailing “/” or it will not work.”
I believe this was causing the problem! Missing the “/” at the end of the URL.
Thanks for your help.
June 26, 2012 at 1:00 pm #46431wzpModeratorThe reason that happens is: When the encrypted APR cookie is issued, it is based upon what you previously entered into the product database. When the APR shortcode is encountered, the encrypted cookie is compared to the actual WordPress URL that appears in the browser’s address bar. No exact match, no content!
This doesn’t means that everyone should automatically add the trailing slash. It’s a function of what you’ve setup as the format for your WordPress “pretty permalink” format.
June 27, 2012 at 6:29 am #46432spunkebusinessMemberI have one more question regarding the setting for digital products…
I want to use the ‘Download Limit Count’. When the encrypted link has reached the limit, it sends the visitor to the blue page with the message “The secure download manager ran into a problem that it couldn’t handle, and is unable to process your download request.”
Is it possible to change this to another page?
In the ‘pay per view content’ settings, I have included a page URL there for ‘Redirection Page for Unauthorized Access’ (a page I created to deliver the message that the link has expired), however it doesn’t seem to apply to my product, even though it is set up as a pay per view product?
Thank you for your help
June 27, 2012 at 1:12 pm #46433 -
AuthorPosts
- You must be logged in to reply to this topic.