Support » Plugin: Video Sales for Woocommerce with Vimeo » No video when password protected

  • Resolved svijany

    (@svijany)


    Hi – this connects ok and any videos that are not password protected are visible, but you need to remove the password from the required video for the plugin to access it.
    As soon as you password protect it, it is gone!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Vincent

    (@vincentastolfi)

    @svijany I will try to get this fixed for you if you can provide me a little more information. What version of WordPress are you running and what version of PHP?

    Thread Starter svijany

    (@svijany)

    Hi
    Wordpress: 5.4.2
    PhP: 7.4.8

    Plugin Author Vincent

    (@vincentastolfi)

    @svijany I haven’t tested this on anything higher than PHP 7.2 unfortunately.

    I’m hearing some people having issues with 7.3 so there’s a potential you’re in the same boat.

    I’ve updated dependency libraries of the Vimeo API that this plugin uses in my Github repo. WordPress won’t let me upload the updates, I haven’t fully deduced why yet. Something in Vimeo APIs libraries it doesn’t like.

    Anyway, try this:

    https://github.com/vastolf/woocommerce-vimeo

    I have the same problem. I downloaded and installed your github.com files. The plugin works great until I put a password on the video. Then it disappears from the list. Do you have any suggestions? I’ve tried it in PHP 7.0 > 7.3

    Thanks!

    There is a bug in:

       163	    public function getToken(): ?string
       164	    {
       165	        return $this->_access_token;
       166	    }

    I removed “?” and it worked.

    I’m not quite sure how the user accesses the video after he has purchased it? I tried everything and I dont see the video.

    Plugin Author Vincent

    (@vincentastolfi)

    @robertdoets I’ll have to get back to you on that.

    @vegetablesalad You’d have to make a custom email template or thank you page to deliver the link to the user after purchase. This requires adding an email/thank you template to your theme. You can see how to do that in the FAQ on the main plugin page.

    • This reply was modified 1 year, 9 months ago by Vincent.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No video when password protected’ is closed to new replies.