User Submitted Posts Payments Add-on - How To - Charge for Submitting Posts With WooCommerce
How To - Charge for Submitting Posts With WooCommerce
Note: the base plugin WordPress User Submitted Posts should be installed and activated on your site.
The payment setting of User Submitted Posts Payments add-on allows you to set a product to the registration process. This way, users who want to submit a post will have to complete a payment through the chosen payment system - either WooCommerce or Easy Digital Downloads (EDD).
This guide covers the process of charging for submitting posts using WooCommerce plugin. The WooCommerce plugin must be installed and activated on your site.
Configure Payment Plugin
Don't forget to configure the payment plugin! This way you can connect it to payment providers such as PayPal or credit card companies. And make sure that your payment plugin has the correct Checkout and Cart pages set up. They are used by the plugin.
WooCommerce - Cart and Checkout Pages:
WooCommerce - Payment Methods:
External Resource:
Creating Product
First of all, you need to create a WooCommerce product which will be used for paying for submitting a post. To do this, navigate to Admin Dashboard → Products → Add New or Admin Dashboard → Products → All Products → Add New.
On the page for adding new product, you need to do the following:
- Add a product name.
- Choose Simple product in the Product data option.
- Mark the product as Virtual.
- Define the price in the field Regular price.
- Click the button Publish.
Choosing Product for Submitting Posts
Now when the product is created, we need to specify it as a payment product for submitting post.
Navigate to Admin Dashboard → CM User Submitted Posts → Settings → Payments tab.
Even though the plugin can show all payment systems which are activated on your site (either WooCommerce, EDD or MicroPayments Plugin), they can't work all together at the same time - you need to choose only one of them.
In our case we need to choose the relevant WooCommerce product, then click the button Save Changes.
Now, the submission form will charge users for submitting a post.
TIP
Learn more about how to configure and publish the form for submitting posts:
Payment Process
First, the user needs to add content and click Publish Article.
After that the user will see a message that he will be redirected to the checkout page.
And there will be a WooCommerce cart, where the user needs to click Proceed to checkout.
And the final step - WooCommerce checkout page. After purchasing, the post will be published on your site.
Displaying Forms With Different Prices
Since the add-on version 1.0.8, it is possible to override the price which is set in the plugin settings, so you can place a few different forms with different prices. It can be done with the shortcode [add_post_form]
. It has a parameter woo_product_id, where you need to pass the WooCommerce product ID.
Example:
[add_post_form woo_product_id="7840"]
It can be useful for membership sites, so you can create a few more products and prepare a few pages for different user roles which are supposed to pay different price for submitting posts.
How to Find a Product ID?
Navigate to Admin Dashboard → Products → All Products. Hover on the needed product - there you will see its ID.
More information about the User Submitted Posts Payments add-on Other WordPress products can be found at CreativeMinds WordPress Store |
|
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |