• Resolved johndoe01

    (@johndoe01)


    Greetings.
    I’m having a problem. I need that by Default all ads gets moderated. I set the shortcode [adverts_add moderate=”1″] on the add page, but after passing through Paypal it gets automatically posted, despite this setting is on, because the ad needs to be reviewed before posting. Before testing Paypal i used bank deposit and the ad gets on hold until payment is set to completed.
    Am I missing something on the procedure?

    Thanks in advance.

    PS: Moderation requires that some additional settings from administration should be done (Exclusive Admin fields to be set).

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    I’m chiming in as I’m experiencing the exact same issue: the ad gets published once the paypal payment goes through, even though moderation is set in the shortcode.

    How can we keep the post_status as pending for admin review?

    Thanks,
    Matt

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    the Ads are automatically published when the payment is marked as completed (as the payment itself is usually enough to be sure that the user is serious about posting the Advert), so the moderate param is actually for the free ads only.

    With Bank Transfer, the payment needs to be approved manually but with the PayPal payment, it happens instantly after the payment.

    If for some reason you do not want the Ad to be published instantly then you can disable this feature by adding the code below in your theme functions.php file

    
    add_action( "init", function() {
      remove_action("adverts_payment_completed", "adext_payment_completed_publish");
    }, 1000 );
    

    Hi Greg,

    Thank you very much! ??

    Cheers,
    Matt

    Thread Starter johndoe01

    (@johndoe01)

    Greetings. The piece of code works as intended. Now I have to see if the new workflow works for the client.

    Thanks.

    Thread Starter johndoe01

    (@johndoe01)

    Greetings, I’m back to this topic since some mechanics changed.

    My client wanted to set specific prices for specific tiers, which with help of the Paid addon of Custom fields i managed to do for custom Forms. Then i placed Woocommerce support in order to allow the specific pricing to work. But what happens?

    It results that the payment through wocommerce passes andf the ad gets posted but in the backend remains the tag “Pending Payment”. IS there a way to extrapolate that same mechanics or that is Woocommerce Specific?

    Thanks in advance

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    in the WooCommerce integration settings (wp-admin / Classifieds / Options / WooCommerce panel) you can select which type of Ad posting you want to moderate.

    If you want the paid ads to be moderated just check the checkbox next to them.

    Thread Starter johndoe01

    (@johndoe01)

    Thanks for the tip. Definitively it was the setting.
    What i still don’t get used to is for the pending payment status but that is what i need.

    Plugin Author Greg Winiarski

    (@gwin)

    I’ll add it to our issue tracker, in one of the next releases it will show either “pending payment” or “pending review” status.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Moderating Ads by Default – Not Working’ is closed to new replies.