Paid node checkout plus membership plans for a Drupal site
Being a great fan of Drupal Commerce, I will suggest you to use it in your instance for this need.

You can use Commerce Node Checkout module for your pay to publish requirement.

For membership requirement, you can set product for each membership type &amp; set rules for it. Create rules on event completing checkout process &amp; put some condition like - product SKU match to membership product SKU, current user type etc. &amp; then add usertype to the user.

You will get many payment related modules with Commerce, so you don't have to worry about any ecommerce feature.