Recurring Packages and Expirations

This topic contains 42 replies, has 4 voices, and was last updated by  Kiran 4 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #528495

    Kiran
    Moderator
    Post count: 7069

    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 using

    User can see expired listings on dashboard page. Can you provide example listing which not displayed on user’s dashboard?

    Kiran

    #528496

    laurence anthony
    Expired Member
    Post count: 293

    Ok, 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?

    #528497

    Kiran
    Moderator
    Post count: 7069

    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?

    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

    #528499

    laurence anthony
    Expired Member
    Post count: 293

    Thanks.
    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?

    #528502

    Kiran
    Moderator
    Post count: 7069

    On 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

    #528512

    laurence anthony
    Expired Member
    Post count: 293

    I 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?

    #528593

    Alex Rollin
    Moderator
    Post count: 27815

    GD 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.

    #528799

    Alex Rollin
    Moderator
    Post count: 27815

    Also, 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

    #528802

    laurence anthony
    Expired Member
    Post count: 293

    The 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]
    #528824

    Alex Rollin
    Moderator
    Post count: 27815

    I will ask the developers if that is possible.

    #528838

    laurence anthony
    Expired Member
    Post count: 293
    This reply has been marked as private.
    #528842

    Kiran
    Moderator
    Post count: 7069

    Hi @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

    #528846

    laurence anthony
    Expired Member
    Post count: 293

    The 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.

    #528847

    Kiran
    Moderator
    Post count: 7069

    Hello,

    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,
    Kiran

    #528849

    laurence anthony
    Expired Member
    Post count: 293
    This reply has been marked as private.
Viewing 15 posts - 16 through 30 (of 43 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket