PHP code or WP plugin for WooCommerce or Other Subscription
Hi, I am creating a Roku app that gives users the option to subscribe through our website. The user would go to a page such as mysite.com/roku There the user would enter the token code generated by the app. If the user is logged into the commerce site and an active subscsriber, the site would call the Roku API and authorize the device.
Does anyone know of sample code for this for the Wordpress side? A plugin would be ideal but even just a PHP snippet would be amazing!