I have some issues with paid listing. First is when user pay to feature their listings did not get featured (sometimes it does) and some users were double charged. I have both membership and paid listing plugin activated. How do i fix this?
Note that i do not have any paid listings option added to any membership plans. My setup requires both paid listing and membership for separate uses
sometimes it double charge and sometimes it doesnt . sometimes it features and other times it doesnt
Hi,
Thanks for the request. Please clarify whether you have both Paid Listings and Memberships extensions enabled. If so, we recommend using only Memberships, as Memberships have inherited almost all of the features of Paid Listings and may cause this issue if both extensions are enabled.
I hope it helps
I have both paid listing and membership activated but i did not add any options for featured listing on membership. There was no issue previously. The only change i made was update woocommerce. So would this have caused the double charge etc. What should i do to fix this. I am working to use membership only however i need to make other customizations before i am able to do this. For now i have to stick with both
Hi,
Thanks for the details. We were unable to reproduce this issue locally. Also, please note that according to our code, orders cannot be duplicated in any way. Therefore, this is most likely a specific WooCommerce setting, and we recommend checking it.
Additionally, we recommend considering using only the Memberships extension, without Paid Listings, as the featuring option is available in Memberships.
I think i will focus on getting the other customizations completed as soon as possible to be able to use solely membership plugin without paid listings. thanks for your reply
Hello i have made the customization and ready to switch to membership only. But i have these questions before i am able to proceed.
-Is it possible to hide/show membership package depending on the category they choose?
-Is it possible that for some categories it will just submit the listing without showing the membership page
-When user clicks on an attribute that is restricted by membership is it possible to show only relevant packages?
another question is can a user have multiple memberships at a time? I will require this as different membership plans unlock different attributes. So a user might decide to unlock attribute 1 today and attribute 2 the next day.
Could this be the culprit? user gets redirected after they submit a listing. if user paid for a listing (using paid listing, not membership). Will user gets redirected twice first after submitting a listing and a second time after the user made payment causing double payment?
add_action('publish_hp_listing', function($post_id, $post) {
// Only proceed on front-end (skip admin actions like manual approvals)
if (is_admin()) return;
// Check if the published listing has category term ID 35 or 36
if (has_term(array(35, 36), 'hp_listing_category', $post_id)) {
wp_safe_redirect('https://rentify.sg/listing-live/');
exit;
}
}, 10, 2);
Hi,
- Unfortunately there’s no option for category-specific plans yet, but we plan to add it to the next Memberships update.
- Skipping is not possible in the current version, but it’s possible to add a limited free plan as a workaround.
- It should work this way by default, only plans that restrict viewing attributes should be displayed after the redirect.
- Yes, it’s possible to have multiple memberships.
- If it’s a custom code snippet please try disabling it to check if it causes the issue. There should be no double payment and HivePress can’t charge users the second time without explicit consent (redirect to the payment service or via another option in WooCommerce checkout). User can see another redirect if the order is not marked as Processing or Completed yet, but this should occur automatically if the payment method is set up correctly in WooCommerce checkout settings.
Hope this helps
i disabled redirection and there are no double charge now. Using my code above how do i set it so that it redirects only if user chooses the free package
Please describe the required changes, do you want to redirect users to a custom landing page created in WordPress/Pages when the listing is submitted (as the final step)?
Yes i would like them to be sent to a custom landing page after they have submitted their listing. however as said earlier the snippet has caused double charges if a user choose a paid package.
if user purchase a paid listing they will not be redirected. it seems that only free listings are redirected properly. and for users who purchase a paid listing they will not be redirected. and sometimes double charged. so i need to trigger the redirection after the user has paid
There are 2 possible workaround that may not need coding:
- Customizing the WooCommerce’s “Thank you” page (if you use WooCommerce for Paid Listings only), or redirecting it Thank You Page for WooCommerce – WordPress plugin | WordPress.org
- Customizing the “Listing Submitted” template in HivePress/Templates, it can be edited in the same way as a regular landing page.
Also, if you’re familiar with coding, here’s where the redirect URL is set after checkout is completed hivepress-paid-listings/includes/components/class-listing-package.php at master · hivepress/hivepress-paid-listings · GitHub
Hope this helps
Hi there. i found out the issue by doing my own testing. User sees this after making a payment and the payment actually went through. And they try paying again and the 2nd time it shows payment completed. This occur only for paid listings not membership. This is the reason for the double payment. How do i fix this?
Please clarify if this is the WooCommerce cart page, if so please try using the checkout page instead (instead of express checkout embedded into the cart page, if this is the case) – this may be the reason of the issue. By default, the Select Package button should redirect users to the checkout page directly.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.