Jump to content

​domain_renewal_url merge field wrong value


Recommended Posts

In the Upcoming Domain Renewal Notice email, there's a link for the client to renew the domain:

Quote

To renew your domain, <a href="{$domain_renewal_url}">click here</a>

It seems that the value of the {$domain_renewal_url} merge field sometimes isn't correct though. In an email which was generated by the cron the link destination is https://(mydomain)/whmcs/www/html/whmcs/index.php?rp=/domain/(domain)/renew rather than https://(mydomain)/whmcs/index.php?rp=/domain/(domain)/renew as it should be. I subsequently tried sending the email by using the Send Message button on the Domains tab, and this email had the correct link URL. 

I forced the DomainRenewalNotices cron task to run and the resulting email had the wrong URL again.

I can see that a similar thing has happened to others in the past:

https://whmcs.community/topic/293317-domain-renewal-url-incorrect/
In this case it was a friendly URL issue but we have those turned off (set to Basic URLs)

https://whmcs.community/topic/289121-domain-renewal-url-formatting-link-incorrectly/
According to this it was apparently fixed as #CORE-12253 in v7.6.0 https://docs.whmcs.com/Changelog:WHMCS_V7.6

Any ideas on what could be still causing this to happen when the emails are generated by cron but not when manually requested?

 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated