I’m not trying to do some shameless advertising here, but have you looked at https://wordpress.org/plugins/woocommerce-pay-per-post/ ?