My client has asked me to make a WordPress Plugin that people must purchase. Therefore, it is not put into the WordPress.org plugin repository and is not updatable by default from the Plugins menu in wp-admin.
Is there a best practice way for making the plugin updatable? As in, showing an update on the dashboard, plugin options panel, and Plugins page. When clicked, it automatically upgrades the source code without one having to go through a series of steps. How would you suggest this would work, and do you have any code snippets to explain the process?