Foliovision › Forums › FV Player Pay Per View › Troubleshooting › Emails with no video links in woocommerce
-
I just bought FV player, Pro, and that is working fine with vimeo as my source test. However with PPV for woocommerce, player pro creates the playlist item and a product. I don’t see the trailer on the product page. After the product is purchased, I get the text message for the button but no button link for the user. Also email sent to user has bad links: http://?order=317&payment_key=wc_order_isWfBJ2OhVKpm
Shouldn’t it be https://mydomain.com/whatever-you-created-link
Do these links point to some post never created? or back to the playlist player short code or product item? Nothing looks like the document showing a trailer, several buttons available before purchase (does woocommerce override the product?) Thank you.php 7.02, wp at 5.6
I am running woocommerce 4.0 (my theme uncode 2.3.3 from undsgn.com has some overrides in woocommerce at 4.0 to support different size devices but it does not override email directory for example.
-
-
I should be precise woocommerce is sending html emails as worded by FV PPV for woocommerce: just that the video links are bad and the time should be 72 hours.
New Order: #330
You’ve received the following order from :[Order #330] (January 8, 2021)
Product Quantity Price
Pay Per View: Never Alone Interview – Rent video 1 $1.00
Subtotal: $1.00
Payment method: PayPal Checkout
Total: $1.00Dear ,Thank you for supporting Altruism Media. Your video ‘Pay Per View: Never Alone Interview’ is available to you for the next 38879700 days and 0 hours on up to three different devices.
Here’s the viewing link: Pay Per View: Never Alone Interview
Don’t hesitate to let us know if you run into any issues viewing ‘Pay Per View: Never Alone Interview’. We appreciate all feedback.
Thank you again for your support of our efforts for family friendly films and TV shows.
Yours sincerely,
The Publisher
Altruism MediaBilling address
N/A
iam.ron.michael@gmail.com
Congratulations on the sale.Hello Ron,
could you please use the Export function to send over the player data to us? First look up the player on wp-admin -> FV Player screen and click the “Export” for it. It should bring up a lightbox popup with data like this:
{"ab":"","ad":"","ad_height":"",...
I wonder if it will have the post_id value in it.
Could you please send a screenshot of the post editing screen where the player in inserted?
I think the issue occurs as the player is not associated to any post – we do check that when saving the player or the post. But perhaps you use some page builder where it fails to connect the player to post properly.
Thanks,
MartinDear Martin,
You hinted at the design. I created a post and in that I added a new video via FV player and if I use a higher level https://altruism-media.com/2021/01/08/ instead of the actual post, I see the preview and the email send me the correct link after I purchased the product. I wasn’t aware of this design. I assumed if I went to wp-admin > FY player and added a video in the play list and it created a product it would link correctly. Yes it would be nice if the product had the trailer on it unless I just put it there manually for now. I just need to test if the email link fails after the time expires for the user.For now I’m using vimeo and a public api token since I needed to understand before I allow private access, if I purchase the FV vimeo security piece would that protect my private vimeo files or do I need to jump ship and go with coconut. Thanks for the help. This is an exciting product for us.
My correction on my last note, the actual post also works as designed and pages also. The only thing on the email issue is how do I fix the erroneous time given to the user:
Thank you for supporting Altruism Media. Your video ‘Pay Per View: Never Alone Interview’ is available to you for the next 38880000 days and 0 hours on up to three different devices.Thank you.
Hello Ron,
adding a Pay Per View player on wp-admin -> FV Player is causing the issue as you found out. It doesn’t know where (in which post) you put that FV Player instance.
However when saving any post we check for presence of FV Player in it and if it’s found we add that link which Pay Per View requires. So my question is if you are using any page builder or if you are posting the player outside of the standard editor. Do you put it into a custom field perhaps?
I see that if we show the video on the WooCommerce product page it could work as a failsafe
Regarding that “38880000 days”. Could you please provide screenshots of WooCommerce Product page with the Variations visible as well as the FV Player PPV settings page? A quick workaround would be to put in a fixed text in place of {fv_ppv_rent_duration}.
Thanks,
MartinFor now I got around by hardcoding my duration in the email.
I use undsgn.com uncode 2.3.3 as my theme which installs backend editor by WPBakery Page builder. It looks like everything is working well and I’ve gotten FV Pro Coconut to work including learning to upgrade the coconut plan for videos beyond 5minutes.Here is the variations info on the product page you asked for:
Default Form Values:
No default Click here to Donate to Watch… (Thanks for this info as I’ve now selected “Donate to Watch” as my default value).Add variation
Go2 variations (Expand / Close)
1 variation does not have a price. Variations (and their attributes) that do not have prices will not be shown in your store.Remove
#444 Donate to watch
#445 Donate to buy
Save changes Cancel
2 variations (Expand / Close)and the ppv settings:
License key
fv-SerialNumbersLeftOffRental duration
72
Preview text in the player
This is just a short preview of the full video.
Purchase text in the player
You have to Donate to watch this video.
Purchase text below the player
The above is just a short preview of the full video.
Watch full video button text
Watch full video
Rent / Buy checkout text
Click here to Donate to Watch
Rent video
Donate to watch
Buy video
Donate to buy
Purchased text
Thank you for your Donation! You can enjoy the full-length video below:
Purchase expired text
Thank you for your Donation! Unfortunately you run out of time to watch this video.
Confirmation E-Mail duration info
Debug mode
Append ?fvpp_debug to the URL to see <!–fvppv_debug…–> debug messages in HTML source.Thank you for this variation clue. I found I can upload an image to each variation which solved that issue I saw in the cart for cross sell. I don’t need the buy variation since I’m using Coconut encrypted for online streaming for 72hrs. Can that buy variation be removed without damaging the PPV product? Also both variations have download checked but that isn’t necessary either right? these three checkboxes are checked: Enabled: Downloadable: Virtual: Thank you for a great plugin and the help!
Hello Ron,
thank you for your cooperation. I do not see anything suspicious that might yield that “38880000 days” text unfortunately. It’s starange as it works without issues for the other users. Could you perhaps send over an export of the WooCommerce product? You should be able to get that in wp-admin -> Tools -> Export -> Choose what to export -> Products.
The Buy variation from the WooCommerce Product can be removed if you want that video to only be available for renting. But since something it acting a bit weird on your website please check how does it appear for buyers after the change to ensure everything is fine.
These “Virtual” and “Downloadable” checkboxes are important. These disable the stock processing in WooCommerce.
Thanks,
MartinDear Martin, You can take this thread offline and just post your answer, I don’t know where else to send info you want, and no need for this stuff to clutter up a forum. I did read all the docs you had but I guess I fell into a learning curve with the plugin but your response and clues let me resolve my issues. I want to thank you for that. The last and final issue resolved was when I set the rent variance as the default that cleared up needing the user to specify the only option before they can place it in their cart. Thank you again for your support.
I do have one question. In Woocommerce My Account I see my order and there is a link to watch the video. Is there a way to get that link to be bold and color blue so they click on it instead of watch the video part or don’t realize there is a link there? The links in the email sent look fine as they are underlined. Thanks!
Hello Ron,
I made a little improvement there – I changed that “Watch full video {post title}” link to just show “Watch full video” and look like a button – using the standard button class which is already styled to look like a buton in core WooCommerce.
To get the improvement please reinstall FV Player Pay Per View for WooCommerce from a fresh ZIP file which you download from https://foliovision.com/my-licenses
Before we do a next release I would like to check the issue with WPBakery Page builder – why doesn’t FV Player realize the player is located in any given post. This missing link caused the malfunction which you were reporting – creating PPV video on wp-admin -> FV Player causes the player to fail to understand which WPBakery post does it belong to.
However I see WPBakery Page builder is a paid plugin. I tried to opt for the free preview version.
Thanks,
MartinHello Ron,
if you have a minute try to add a new FV Player with Pay Per View on wp-admin -> FV Player screen. Then put the shortcode to a page created with WPBaker Page Builder and see if you see that post mentioned in the WooCommerce Product editing page in the “FV Player Pay Per View Access” box as “Player and Posts”.
If not, could you please send an WordPress XML export of that page? You can get that in wp-admin -> Tools -> Export by selecting the right post type and the author or date.
Thanks,
MartinDear Martin,
Everything worked fine. I tested as follows: Within Wpadmin fvplayer(videos playlist) I “add new” I also specified the PPV info and it created a product post. I then created a page for the video and copied in the shortcode into a textblock of wpbaker pagebuilder (I could have used your nice fvplayer widget but I already had the shortcode). Back in fvplayer playlist it now shows embedded in that new page I published. I followed the links from that page and I purchased the product and the email sent had the correct page. The return from paypal (see attached) had a correct working “Watch full video” link (I just wish that had some link indicator (color or underline like the email or button but I’m sure its my uncode theme issue but I see no way to change it in the theme settings). see attached image that shows both links (product and page) looks like normal type. The email is fine with color and underline links.Hello Ron,
so it seems there are no issues when using WPBaker Page Builder.
I get a nicer Watch button please upgrade the FV Player Pay Per View WooCommerce plugin, we added the generic “button” class to it so that the WooCommerce styling should apply to it.
Actually it seems you do have version 7.4.38.727 so that link should have some styling on it now.
Thanks,
MartinDear Martin,
do you mean this code where it says class “button 2” in the latest release ?
because it is in a table it picking up the theme’s “shop_table and order_details” classes in the uncode “woocommerce.css” style sheet
see abbreviated html code below:<h3>Order details</h3> <table class="shop_table order_details"> <thead> <tr> <th class="product-name">Product</th> <th class="product-total">Total</th> </tr> </thead> <tbody> <tr class="woocommerce-table__line-item order_item"> <td class="woocommerce-table__product-name product-name"> </td> <td class="woocommerce-table__product-total product-total"> </td> </tr> <tr> <td colspan="2"> <a href="https://altruism-media.com/never-alone-interview/">Watch full video</td> </tr></tbody>
I added a theme css override to at least get it to turn bluish:
.shop_table td .button { color:#3083D7 !important; }
At least now it looks more like a link, I could finish styling it into a button.
Btw, I’ve updated the Non-PPV ticket about it now sending out a PPV style email…. yikes.