Listings Expire After Renewal

Hi, I am testing a simple directory website with paid listings and subscriptions via WooCommerce Subscriptions and Paid Listings extension. I have created some subscription plans that auto-renew unless a user cancels their subscription. I noticed that listings don’t renew with the plan and I’m stumped as to why that’s happening.

For testing purposes I created a 1 day plan and auto-renewal payments are working fine, but the listing still expires after the plan is renewed. I have seen a few topics about the Membership plugin but the description of that plugin doesn’t make it sound like it has anything to do with paid listings being renewed. What am I doing wrong?

Hi @ryanUDHQ,

The integration with WooCommerce Subscriptions requires the HivePress Marketplace extension. Unfortunately, it isn’t compatible with the Paid Listings extension as all of its functionality was recently merged with the Memberships extension, and so, it will soon be deprecated.

Tldr: You’ll need the Marketplace extension to integrate with WooSubscriptions.

Cheers,
Chris :victory_hand:

2 Likes

Just to be clear, the goal is for listings to be renewed in sync with plan renewal. I am only selling business listings. Like your classic premium directory model. Isn’t the Marketplace intended to have site users sell their own listings?

Hi,

Please note that the Paid Listings plugin doesn’t support subscription functionality. This feature is available in the Memberships plugin when used together with the WooCommerce and WooCommerce Subscriptions plugins.

As previously mentioned, Paid Listings will be deprecated in the future in favor of Memberships. Please consider switching to the Memberships extension.

So the Membership extension adds support for subscriptions. Are listings automatically renewed when a Membership plan is renewed or do I need to set that up? Apologies there really isn’t much documentation for this extension. It doesn’t even mention paid listings or subscriptions.

Yes, but please note that for recurring billing, the WooCommerce Subscriptions extension is also needed. By default, memberships can be renewed manually if expired. We also plan to add integration with other subscription extensions for WooCommerce.

Currently, the listings are not in sync with the membership, but if you set the listing expiration then an active membership will be required in any case to renew the listing (this decreases the active membership limit). We can also provide a sample code snippet to expire all the listings automatically if the membership is canceled, as a temporary solution before we release this feature.

Wait so listings aren’t renewed automatically when Membership renews? I do have Woocommerce Subscriptions but that sounds like the same issue I ran into with Paid Listings.

I’d be more interested in a snippet that syncs listing renewal with plan or membership renewal. I purchased the Membership extension because people made it sound like that was possible with the upgrade. Might just go back to Paid Listings and try to figure out some code to update the listings. :frowning:

Hey @ryanUDHQ,

This sounds a lot like what I’m trying to achieve.

Here’s the snippet Ihor previously provided for me:

https://community.hivepress.io/t/automatically-publish-or-expire-all-listings-depending-on-the-membership-status/16122

I hope this helps!

Cheers,
Chris :victory_hand:

1 Like

Thanks Chris. I read through the thread you had posted about this. It seemed to end with Membership extension being the solution but it doesn’t seem to be. So I take it you don’t have listing renewals automated yet?

Hi @ryanUDHQ,

The snippet I linked to before achieves that, I’m just yet to launch my site. (I’ve run into separate customisation issues, but I may have just thought of a new approach! :slight_smile:)

Check out this page, then add the snippet I shared previously. This will essentially link the membership status to listing visibility.

“How to add custom code snippets - HivePress Help Center” How to add custom code snippets - HivePress Help Center

I hope this helps!

Cheers,
Chris :victory_hand:

Yes, unfortunately there’s no such sync feature yet, but we’re working on it in addition to the existing memberships logic with the listing limits for submissions/renewals. As a temporary fix, please try the linked code snippet suggested above https://community.hivepress.io/t/automatically-publish-or-expire-all-listings-depending-on-the-membership-status/16122 It basically keeps the listings in sync with the membership plan, if you leave the Expiration Period empty then listings will be restricted in the way you described (they’ll be published as long as the membership is not cancelled).

I recommend keeping Memberships because we’ll eventually deprecate Paid Listings, we decided to move all the restriction-related monetization features into a single extension to avoid confusion and speed up the development.

Hope this helps

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.