Adding frontend submit form with paid packages wordpress

From 6.0 version of Rehub framework, we added bonus plugin RH Frontend PRO, which is free for all buyers of Rehub Theme. You can find plugin in Rehub->Plugins tab (you must register your license to see download link).

Now, I want to write how you can add paid function to form, so, users must pay some value to post something on your site.

First of all, you need to install Rh Frontend PRO version > 3.18. If you already installed plugin and have old version – delete plugin, download current version from Rehub->Plugins and install it. Also, you must have enabled Woocommerce plugin which will be used to get payment.

Now, go to RH Frontend PRO – Settings – Payment and enable option Support Payment Submit in Woocommerce. This will add new type of product in woocommerce.

Create new product. You can add name, for example, Post Payment package. User will see this name in list of available submit packages before he can add post from frontend form. You need also add some description and price. Then, choose next product type

paid frontend form wordpress

Here you can add number of posts for package. This is limit of posts which user can do from form. Also you can add number of days. After this limit, package will be expired even if there are some available posts in post limit.

Next parameter is form ID from Frontend PRO plugin where this package will be used. You can find ID on the page where you create forms (RH Frontend PRO – forms)

I also recommend to set old date for such product, especially if you use woocommerce for your store on site. You can do this in right top corner

set date of post woocommerce

You can add several paid packages for one form with different limits.

Important! Successful payment will be only if order will have status – completed. Woocommerce have different integrated payment systems and there is no matter which of them you will use, just remember that order must be completed before user can access to form.

Next step is to add paid parameter to form. By default, your form shortcode (which you can get when you create frontend form) will be like

You need to modify it to

Now, if you set everything correctly, your users will see list of available paid packages before they can access to form. After payment he will see form and available limits.

 Adding post to special category

Imagine situation when you want to have paid submit only for special featured category. For example, you can use this category on homepage or in featured area. You can do this inside frontend form. For this, when you configure fields in form, you can add fallback hidden value. Just disable this field and set category ID in fallback field

Adding paid submit to featured category

You can do the same not only for categories, but also for any field.

Here also video

Adding frontend submit form with paid packages wordpress
4 (80%) 3 votes

Want to get unique wordpress tips?

We won't rent or sell or spam your email. We promise!

Leave a Reply

1 Comment on "Adding frontend submit form with paid packages wordpress"

Notify of
Sort by:   newest | oldest | most voted