• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

NO options nor a valid ID was provided for DB player meta data item.

[Solved]

Foliovision › Forums › FV Player Pay Per View › Troubleshooting › NO options nor a valid ID was provided for DB player meta data item.

  • Ron 4 years, 3 months ago

    I get the above message at woocommerce checkout for all my non-ppv added products. These products used to go to paypal at checkout but now the paypal button doesn’t work, we get this error message instead. Orders in woocommerce show pending on paypal payment but the user can’t get there. Please help unable to sell any other products except ppv products work well.

Viewing 20 replies - 1 through 20 (of 20 total)
  • Ron 4 years ago

    Checkout on cart page
    Checkout on cart page (not checked) Enable PayPal Checkout on the cart page

    Single Product Button Settings
    Checkout on Single Product (not checked) Checkout on Single Product

    I preferred to have the ppv customers go through the same process as the regular products. However if I do set these on, it allows the customer to go to paypal but when it comes back to place the order:
    /checkout/?woo-paypal-return=true&token=
    I get the same error above error again this way. I definately don’t want them to use their credit card at paypal only to be denied by this error when they return to place the order. So, I will continue to not allow these options.

    Ron 4 years ago

    Dear Martin,
    You have a fine product. If it helps maybe add some conditional code that checks for a attribute or tag you installed in the product since PPV creates the product post. Or if you allow by settings, I can specify a category that I already use in my shop page like “online” for the code to check for before looking for meta data as the other products have categories like DVD etc.
    I’m not sure but I assume it has to do with this:
    add_action( ‘woocommerce_checkout_update_order_meta’, array($this, ‘checkout_add_player_ids’), 10, 1 );
    Again, Not sure if I’m helping but I thought I would make a suggestion….

    Martin 4 years ago

    Hello Ron,

    I tried to purchase a non-PPV item. I hit the PayPal button right on the product page. I was able to enter the PayPal login information into the popup window and then click “Place order” when back on the website checkout page.

    And I got that exact error. So I’m working on a fix.

    Thanks,
    Martin

    Ron 4 years ago

    Dear Martin,
    Thanks a lot. I really appreciate this.

    Martin 4 years ago

    Hello Ron,

    if you have a moment, could you please reinstall FV Player from this link: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip ?

    To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.

    That will prevent that stange error from appearing, but you will have to reinstall FV Player Pay Per View for WooCommerce too. Please geta fresh ZIP file from https://foliovision.com/my-licenses and use the same procedure.

    Once both are updated it should all work fine and we can include these fixes in the next releases too.

    Thank you for your cooperation!
    Martin

    Ron 4 years ago

    Dear Martin,
    It works thank you very much for the prompt attention.

    Ron 4 years ago

    Does look like we got a side effect from this as the Non-PPV order (they ordered a blu-ray as a separate product post from the PPV product) and had the following:
    I marked the order complete and I got a PPV email with links in the completed order info sent to the customer.
    Pointing them to the admin page with order number see below:

     
    Your video 'Donate + Never Alone Blu-Ray Gift or DVD - Blu-Ray' is available to you on up to three different devices.
    
    Use this viewing link: Donate + Never Alone Blu-Ray Gift or DVD - Blu-Ray so you can view the video without having to login.
    You have up to 72 hours to watch as many times as you wish.
    
    Don't hesitate to let us know if you run into any issues viewing 'Donate + Never Alone Blu-Ray Gift or DVD - Blu-Ray'.
    
    
    Ron 4 years ago

    Sorry I thought the links would copy. here is a snippet of the link sent: to customer
    ourwebsite.com/wp-admin/admin.php?order=324&payment_key=wc_order_WX362ZeDBr

    Martin 4 years ago

    Hello Ron,

    I see, this bug was occurring if the user purchased a PPV item and then a non-PPV item. Please reinstall FV Player Pay Per View for WooCommerce from a fresh ZIP file from https://foliovision.com/my-licenses and it will be fixed.

    Thank you for all your cooperation!
    Martin

    Ron 4 years ago

    Dear Martin,
    I created a new user and purchased a PPV product, however when I return back to merchant the page shows I purchased the product but now the link “watch full video” is not there. I think it thinks the product is a Non-PPV for some reason. I’m also testing it a second time another ppv product and again no video link including the email sent to the user.

    Ron 4 years ago

    I’ve included the email and return to merchant page showing no vid links for PPV products.
    It is good that the NON-PPV products don’t have links!

    ppv-nofull-link
    ppv-nofull-link
    ppv-novid-link
    ppv-novid-link
    Ron 4 years ago

    My correction, it appears I grabbed the wrong email. The email does have the correct link to the video. It is just the merchant page lost the full video link (it had the button class at one time).

    ppv-email-ok
    ppv-email-ok
    Ron 4 years ago

    Just on a hunch,

    I deleted my player videos and the products and re-added them back. I’m seeing the Watch Full Video link on the return page. Email also has link.

    I’ll double check that non-PPV works as too.

    Martin 4 years ago

    Hello Ron,

    sorry about not replying earlier. I see that I lost an interesting test case where you did run into some issue.

    Did you check the WooCommerce Product editing page to chec what’s in the the “FV Player Pay Per View Access” box in “Player and Posts” section?

    Thanks,
    Martin

    Ron 4 years ago

    Dear Martin,
    Actually the problem came back. I no longer see the Watch Full Video on the Sale Return page.

    However for me its gotten worse….

    The first issue I saw was trying to update PPV section on the video player to try and update the product as I had to try to do this since I changed the PPV setting message Rent / Buy checkout text as you can’t update this and see the change you have until you recreate your product or hopefully update it. I got this message:

    Pay Per View Error: Failed to update WC variation: array ( ‘woocommerce_rest_product_variation_invalid_id’ => array ( 0 => ‘Invalid ID.’, ), )
    I assumed more likely caused by deleting the buy variance on the existing product…. (normally I just delete the product …)

    However now my PPV link buttons for all videos in the player on pages are gone. The messages “short preview …” are there. but not the links to the product.
    I thought it was this product that might of messed it up. https://wordpress.org/plugins/wc-custom-add-to-cart-labels/
    at first it didn’t seem to. Until the above error and then I went to delete my video and product to recreate one after the error.

    So I deactivate the new plugin and delete. Didn’t fix player. Finally I deactivated and deleted player and PPV and reinstalled that plugin and even recreated the videos and products yet no Product link buttons on the player, no Watch Full Video button on sale return. Good news, I still have the email link!

    I’m getting by on the page to watch the video by creating a button to send the user to buy the video product for now….

    I added that plugin only because I need to say “Donate Now” in the store instead of “add to cart” as I wanted to streamline the purchase.

    Here is an example of a $1 donate page:

    https://altruism-media.com/never-alone-interview/

    I would like to get back the sale return “Watch Full Video” button back on that return to merchant page…

    Martin 4 years ago

    Hello Ron,

    thank you for the test page! I tried to donate for the video and the “Watch Full Video” appeared just fine on the https://altruism-media.com/checkout/order-received/954/?key=wc_order_…&utm_nooverride=1 page after the payment .

    It was also present on the order details page: https://altruism-media.com/my-account/view-order/954/ And in the email.

    But the buttons on top of the videos to buy the video were missing.

    That “Failed to update WC variation” error must be the reason why this fails. I was not able to run into that issue on my test site though.

    But I see that adjusting the price is what causes the buy buttons to disappear from the video. Also changing the button labels causes them to disappear.

    We are working on a fix.

    Thanks,
    Martin

    Ron 4 years ago

    Dear Martin,
    If you need it I can get you certain tables or entries in sql from my db…

    Martin 4 years ago

    Hello Ron,

    we have fixed how the price variations (rent and buy) are stored in the WooCommerce Products. The “FV Player Pay Per View Access” and “FV Player Pay Per View” meta boxes on WooCommerce orders and products were improved too. They now also highlight errors like missing player ID or post ID.

    Please geta fresh ZIP file from https://foliovision.com/my-licenses and reinstall from that.

    Thanks,
    Martin

    Ron 4 years ago

    Dear Martin,
    Thank you so much. I really appreciate it.

    Ron 4 years ago

    Martin,
    The updates are really cool. I was trying to streamline the checkout and now the ppv player link takes me direct to my checkout/cart and no need to go to the product. Wonderful. Also I liked the price on the button. Very nice and immediate info for the customer before they press the button. Great product. Great Support. Thank you again for everything.

Viewing 20 replies - 1 through 20 (of 20 total)
Reply To: NO options nor a valid ID was provided for DB player meta data item.



Please Sign in or Register to upload files.

Related Posts

  1. PPV requires Paypal Checkout gateway activated to allow access to settings

    PPV requires Paypal Checkout gateway activated to allow access to settings

  2. How to use FV Player Pay Per View for WooCommerce

  3. How to move meta data at the start of video ?

    How to move meta data at the start of video ?

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!