Recurring Packages and Expirations
This topic contains 42 replies, has 4 voices, and was last updated by Kiran 5 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: listing expiration
-
AuthorPosts
-
February 3, 2020 at 11:47 am #528495
Hi @laurence,
Now we’re seeing some recurring listings being renewed properly with authorize.net and the expiration date not changing to next year. Is this expected behavior? Are they supposed to receive payment receipt or reminder emails?
Listings which are running with recurring package will not have any impact of expire date. Because recurring listings only expires when recurring cycles are completed or subscription is cancelled from gateway site(ex: paypal).
—
when a package does get set to Expired Status, the author of the listing cannot see his listing on our dashboard page. It doesn’t display any options to renew their expired listing because it’s not visible.
I’ve tried usingUser can see expired listings on dashboard page. Can you provide example listing which not displayed on user’s dashboard?
Kiran
February 3, 2020 at 11:52 am #528496Ok, thanks. So the expiration date of recurring packages does not change unless the payment fails? and are they supposed to receive reminder emails or invoice receipt?
What shortcode should we be using for the dashboard page?
February 3, 2020 at 11:58 am #528497So the expiration date of recurring packages does not change unless the payment fails? and are they supposed to receive reminder emails or invoice receipt?
Yes, user/admin will receive invoice email on renewal payment.
When gateway site receives renewal payment it sends IPN notification to to the website. At website end it generate new invoice for the renewal payment and sends notifications to the admin/user for the same.What shortcode should we be using for the dashboard page?
Dashboard page can be accessed from “My Dashboard” widget or shortcode [gd_dashboard].
Kiran
February 3, 2020 at 12:22 pm #528499Thanks.
I see the status and renew link is only displayed on the author page? It’s not possible to display status and renew link on other pages via the loop or listing shortcode?If so, is it possible to create dynamic link without using the dashboard shortcode?
February 3, 2020 at 12:39 pm #528502On author page those actions are displayed via shortcode [gd_author_actions author_page_only=1] from GD Archive Item template.
Set author_page_only=0 to show actions everywhere.Let me know where & which link you want to generate, so i can provide snippet if easily feasible.
Kiran
February 3, 2020 at 1:27 pm #528512I have this in the archive item template
[gd_author_actions author_page_only=0 ]
I am using this on the /profile page
[gd_listings post_type="gd_place" post_author="current_user" character_count="0"]
But this only displays Edit and Delete links. If I’m on author page, it shows Status, Edit, Delete, and Renew.
I’d like to see Status and Renew links in all places for admin and listing owner. Is this possible? Or to overwrite the author archive template with elementor template?
February 3, 2020 at 8:59 pm #528593GD Listings uses the Archive Item template.
If you change author_page_only=1 -> author_page_only=0 then the links will show anywhere the listing owner can see the listing in the Archive Item format.
February 4, 2020 at 10:30 pm #528799Also, here is a snippet to show ‘status’ on a non-author page.
add_filter( 'geodir_post_status_is_author_page', function( $is_author_page ) { return true; }, 20, 1 );
Also check out the options for display with GD Post Meta
February 4, 2020 at 10:45 pm #528802The snippet does show status, thank you.
But we’re also looking for the renewal link to be displayed on non-author pages.I tried creating an Author page template using Anywhere Elementor but for some reason it’s not overriding.
Also, this is what works to display the edit and delete links
[gd_author_actions author_page_only=0]
February 4, 2020 at 11:55 pm #528824I will ask the developers if that is possible.
February 5, 2020 at 4:13 am #528838This reply has been marked as private.February 5, 2020 at 5:02 am #528842Hi @laurence,
To display renew / upgrade link along with status on non-author page, try following things.
1) Use PHP snippet provided at here https://wpgeodirectory.com/support/topic/recurring-packages-and-expirations/page/2/#post-528799
2) Use [gd_author_actions author_page_only=0] in Archive Item template.I have tested on my test site and it worked as expected.
Let us know if you still issue after doing this.
Kiran
February 5, 2020 at 5:16 am #528846The listing is not displayed on non-author pages if the listing is Expired or Drafted.
If it is Published, I can see the Status (using provided snippet), Edit, and Delete, but no Renewal/Upgrade link.
February 5, 2020 at 5:28 am #528847Hello,
Any one of following condition must be validated to show “Renewal” link.
– Listing must be in draft or expired
or
– Listing expire date must be within pre-expiry notification period and listing must have status other than trash, pending and closed.All following conditions must be validated to show “Upgrade” link.
– Listing must have status other than trash, pending and closed.
– Listing current package must have upgrade enabled from package setting.Provide user credentials and page url if you still have issue.
Regards,
KiranFebruary 5, 2020 at 5:49 am #528849This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket