Tagged: Buddyblog Pro Pay Per Post
Hi Nancy,
Thank you for your interest in the plugin.
Since you have a membership with us, you don’t need to purchase this plugin.Please visit Your account->Membership->Plugins and you will find Pay Per Post under BuddyBlog Pro.
Please download and install it. Here is a link to the documentation(it’s a work in progress).
We will be making a public announcement next week but the plugin is available in all accounts having access to BuddyBlog Pro plugin.
https://buddydev.com/docs/buddyblog-pay-per-post/getting-started-with-buddyblog-pay-per-post/
Regards
BrajeshThank you so much for the quick reply! If I am understanding correctly this allows users to purchase access to read a users posts?
I was looking for a solution that paid bloggers for every post they created.
Thank you again!
Hello Brajesh,
I just tested the plugin 8 times now but users aren’t redirected to cart or checkout even when product pricing has been selected. They aren’t redirected to cart or checkout even if the option (Enable Force Purchase) is enabled or disabled.
All posts are being submitted freely
Just in case i have this code enabled
/*Auto Complete Paid WooCommerce Orders*/ function wc_autocomplete_processing_orders() { return 'completed'; } add_filter( 'woocommerce_payment_complete_order_status', 'wc_autocomplete_processing_orders', 9999 );
Thanks
- This reply was modified 2 years, 1 month ago by Tosin.
Hi Nancy,
The plugin allows site admins to monetise the blog posting functionality. Users can purchase the ability to have their post featured/published for certain duration.You will need some kind of membership plugin that allows purchsing access to view content.
Regards
BrajeshHi Tosin,
I am sorry for the experience.
@ravisharma will be assisting you with it today.Regards
BrajeshHi,
It seems to be working very well.
However I would need to remove all old items in cart when a user purchase an article product.
I have this code in the function.php Child Theme, but it does not have effect on it.
Is there any other solution for achieving this?// remove old items in cart when new items added woocommerce
add_filter(‘woocommerce_add_to_cart_validation’, ‘remove_cart_item_before_add_to_cart’, 1, 3);
function remove_cart_item_before_add_to_cart($passed, $product_id, $quantity) {
if (!WC()->cart->is_empty()) {
WC()->cart->empty_cart();
}Thank you
CristiHello Niculae,
I solved this problem using the code to empty cart on (create-new-post) page load.
/* Empty woocommerce cart on a specific page to avoid conflict with buddyblog pay per post */ add_action( 'template_redirect', 'woocommerce_clear_post_cart_url' ); function woocommerce_clear_post_cart_url() { global $post; $slug = $post->post_name; if($slug == 'create-new-post') { global $woocommerce; $woocommerce->cart->empty_cart(); } }
@brajesh I’ll like to ask regarding the code above. what effect will the code have when multiple users load the (create-new-post) page. I hope it would not affect site performance, if it will, can the code be refined for better optimisation.
Maybe adding a condition not to run the code when user cart is empty
Thanks
The topic ‘ [Resolved] Pay Per Post by selling access with WooCommerce’ is closed to new replies.