Changed package page to template, now listings not coming through

I just changed from using the standard package page to using a template with the HivePress Packages block as part of the page.

I’d prefer to stick with this, as it has allowed me to add text around the packages, which I’m hoping will improve conversion.

The flow works correctly, with people selecting a package and being taken to checkout.

However, since making this change, job details have stopped coming through as pending after payment is made. They’re also not coming through as draft or published. They’re just not there.

I know that some customers are submitting their listings, as I receive them via email (due to them completing the form and Hubspot notifying me).

I tried turning off caching and purging the cache, but that didn’t help.

I’m currently testing switching off ‘manually approve listing’ and waiting to see if this helps. However, it’s not ideal even if it does, as I would like to manually approve listings, ideally.

Thank you in advance for any help.

Hi,

Thanks for the details.

Could you please describe the steps to reproduce the issue in more detail?

For example, what membership packages do you have configured, how is the custom page set up, as a vendor, should we purchase a package via the dedicated or is the purchase initiated through an action button such as Post a Listing?

This will help us reproduce the issue locally and determine whether it is a bug or something specific to your environment.

The more details you can provide, the more efficiently we’ll be able to investigate and assist you.

Thanks for your reply.

The website is a jobs website, so recruiters are puchasing listings.

Before, they signed in, clicked post a job, entered the job details, were presented with packages, then the checkout. The package options are standard, enhanced or featured listing offering different benefits and listing durations.

I changed this slightly by going to HivePress/Templates and setting up a template for ‘Job Packages (Submit Listing)’. That page includes a heading, some intro text, and then the Job Packages HivePress block.

Now, when someone clicks post a job, add their job details, and clicks next, they’re taken to my template page, instead of the standard package page.

This appears to all work fine, they can choose a package as normal, click next, be taken to checkout and pay.

However, before, listings would immediately show as pending if they pay by credit/debit card. And if they paid by invoice, they would show as pending once I marked the WooCommerce order as complete.

Now, i’m receiving the order, but no listings are pulling through as pending, draft or published.

I had Siteground caching on (tried switching off and purging, but didn’t help) and ‘manually approve listings’ checked. I’m currently testing unchecking manually approve listings.

Hope that helps. Please do just let me know if you need more info. Thanks again!

Thanks for the details. I was able to reproduce the issue, and the bug is confirmed. We’ll fix it in the next maintenance update.

As a temporary solution, please replace the code on line 160 in Paid Listings > Includes > Blocks > class-listing-packages with the following code:

} elseif ( 'renew' === $this-›mode || hivepress()->router->get_current_route_name() ==='listing_renew_package_page' ) {

If needed, you can change the heading using the Loco Translate plugin.

P.S. Please note that the Paid Listings plugin is deprecated and now receives maintenance updates only. We recommend switching to the Memberships plugin instead, as it is actively developed and receives regular feature updates, improvements, and long-term support.