PPV payment not registering. How do I provide manual access?

I have clients who have receipt for payment to pay per view content (live stream video)

After paying, video link shows, but on clicking, takes them back to re-subscribe (pay).

is there a way to manually approve access without having to create site membership/sign in?

  • Vinod Dalvi

    Hi Kevin,

    I hope you are well today and thank you for your question.

    There isn't the plugin setting for manually approving user access but you can achieve this by editing the following Pay Per View plugin file on line number 560 as displayed below.

    Pay Per View plugin file:
    pay-per-view/pay-per-view.php

    Before Editing :
    function is_authorised() {

    After Editing :

    function is_authorised() {
    			if( is_user_logged_in() ){
    				$authorised_users = array(22, 3); // Add user IDs here
    				if( in_array(get_current_user_id(), $authorised_users ) ){
    					return true;
    				}
    			}

    Add the comma separated user IDs in the array $authorised_users in the above code for which users you want to provide access.

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.