Paid submissions with WooCommercePro
Charge users for every submitted post: link a form to a WooCommerce product and publish the post after payment.
You can ask users to pay for each post they submit. The plugin uses WooCommerce for the payment. This is a Pro feature and needs the WooCommerce plugin to be active.
How it works
- The user submits the form.
- The post is saved as a Draft, and the product you chose is added to the WooCommerce cart.
- The user pays at checkout.
- When the order status becomes Processing or Completed, the post gets the Post Status of the form (Publish or Pending).
The cart and the order show the post title, so you see which post was paid. A post that already has a paid order is not charged again when the user edits it. Clicking Save Draft never adds the product to the cart.
Set it up
- Install and activate WooCommerce.
- Create a product for the submission fee, for example “Listing fee”, with a price. A virtual product works best.
- Open your form and go to Settings → Payment Settings.
- Fill in the settings below and click Save.
| Setting | What it does |
|---|---|
| Payment Options → Enable Payments | Turn payments on for this form |
| Select The Product | The WooCommerce product the user must buy |
| Direct Checkout → Go direct to checkout | Send the user straight to the checkout page instead of the cart |
| Product Added | Message shown when the product is added to the cart (used when direct checkout is off). Default: “Product added to the cart. Check the cart.” |
| Redirect To | Where the user goes after payment: No Redirect (stay on the WooCommerce thank-you page), Same Post (back to the form to edit the paid post) or WooCommerce user admin (the My Account page) |
If WooCommerce is not active, the tab shows “WooCommerce is not activated. Please install and activate WooCommerce.”
Good to know
- Each submit empties the cart and adds only the submission product.
- If the selected product is deleted, users see an error when they submit. Choose another product.
- Mark orders as Completed (or use a payment method that sets Processing) to publish the post.