Hi, I am expert with wordpress and available to work right now.
If both codes are in that way, I can add a JS patch that will trigger that button of login popup when user click on pay per view button. It will only trigger that even if user is not logged in.
Let's talk to discuss more about your work. I will not disappoint you, try me once.
Thanks, Talk soon. :)