I am not aware of any recommended way to do this, however, doing this your app will likely not be allowed to be uploaded to the Google Play Store.
This would be against Google's Terms of Service as a developers apps is not allowed to make money through other means and other purchases that are made within the app have to go via the Google Play.