BuddyDev

Search

[Resolved] Pay Per Post by selling access with WooCommerce

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #42768

    Hi Tosin,
    Thank you.

    Your questions about classified/listing from an earlier topic was the motivation for planning a more feature rich solution.

    I am not sure how do we handle repaying(may be add the configuration to unpublish posts on expiration of time), this leads to complexity though(what happens if a user unpublished themselves ).

    For the time being, Ravi will be sharing the old version which we had developed(allows paying while posting, not the best experience). I will update the new plugin time line here once we are done with the intial phase.

    Regards
    Brajesh

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #42778
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #42783
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #42784
    This reply has been marked as private.
  • Participant
    Level: Guru
    Posts: 900
    Tosin on #42785

    Hello Brajesh

    Kindly see the screenshot below for some ideas

    https://ibb.co/jhqnK8D
    https://ibb.co/s1QYtJW

    If a user unpublished a post that is already published then that woocommerce order should be cancelled automatically. This will be stated as part of the terms of service in the woocommerce (featured post) product page.

    The feature would be kind of similar to how facebook users can boost their old post.

  • Participant
    Level: Master
    Posts: 196
    Niculae Constantinescu on #42786
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #42796

    Hi Tosin,
    Thank you for the suggestion.
    Though it seems like a great idea, I am not sure if the pay per post will be able to handle it. We need to explore these ideas.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #42797

    Hi Niculae,
    Thank you for reporting the issue with GamiPress point.


    @ravisharma
    will test with it and let you know.

    Regards
    Brajesh

  • Participant
    Level: Guru
    Posts: 900
    Tosin on #42972

    Good day Brajesh,

    Please whats the update on the Pay Per Post plugin.

    Thanks

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #42984

    Hello Niculae,

    Please try the following code:

    
    add_action( 'woocommerce_order_status_completed', function () {
    	add_filter( 'gamipress_user_deserves_trigger', '__return_true' );
    }, 9 );
    
    add_action( 'wp_ajax_bblpro_submit_post', function () {
    	add_filter( 'gamipress_user_deserves_trigger', '__return_false' );
    }, 9 );
    
    

    Please let me know if it helps or not

    Regards
    Ravi

The topic ‘ [Resolved] Pay Per Post by selling access with WooCommerce’ is closed to new replies.

This topic is: resolved